APAR status
Closed as program error.
Error description
backupConfig.sh script failed with below error. $ ./backupConfig.sh -nostop WSVR0019E: An exception occurred starting Eclipse. See the log file WAS_HOME/profiles/profile_name/configuration/1644936733604.log ERROR: An exception occurred while starting Eclipse: See the log file WAS_HOME/profiles/profile_name/configuration/1644936733604.log WAS_HOME/profiles/profile_name/configuration/1644936733604.log (reported above) shows below error causing the failure. !ENTRY org.eclipse.osgi 4 0 2022-02-15 09:52:13.667 !MESSAGE Startup error !STACK 1 java.lang.NoClassDefFoundError: org.eclipse.osgi.framework.log.FrameworkLog at java.lang.Class.getDeclaredField(Class.java:824) at org.eclipse.osgi.framework.internal.core.Framework.se tNLSFrameworkLog(Framework.java:274) at org.eclipse.osgi.framework.internal.core.Framework.<i nit>(Framework.java:185) at org.eclipse.core.runtime.adaptor.EclipseStarter.start up(EclipseStarter.java:263) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(E clipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.framework.log.FrameworkLog at java.net.URLClassLoader.findClass(URLClassLoader.java:610) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944) at java.lang.ClassLoader.loadClass(ClassLoader.java:889) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:872) at java.lang.Class.getDeclaredFieldImpl(Native Method)
Local fix
$CLASSPATH in the backupConfig.sh script causing the issue. Below work around can be used to fix the issue. 1) Take a backup of WAS_HOME/bin/backupConfig.sh 2) Edit backupConfig.sh, remove :$CLASSPATH as shown below and save the changes. From: #Common args... C_PATH="$WAS_CLASSPATH":$CLASSPATH To: #Common args... C_PATH="$WAS_CLASSPATH" 3) Run backupConfig.sh
Problem summary
**************************************************************** * USERS AFFECTED: All users of IBM WebSphere Application * * Server * * version 9 or later. * **************************************************************** * PROBLEM DESCRIPTION: backupConfig.sh script failed to * * execute * * with the error WSVR0019E: An exception * * occurred starting Eclipse. * **************************************************************** * RECOMMENDATION: * **************************************************************** The backupConfig.sh script fails with below error: $ ./backupConfig.sh WSVR0019E: An exception occurred starting Eclipse. See the log file WAS_HOME/profiles/profile_name/configuration/xxxxxxxxxx.log ERROR: An exception occurred while starting Eclipse: See the log file WAS_HOME/profiles/profile_name/configuration/xxxxxxxxxx.log The above log file shows the below error: !ENTRY org.eclipse.osgi 4 0 2022-02-15 09:52:13.667 !MESSAGE Startup error !STACK 1 java.lang.NoClassDefFoundError: org.eclipse.osgi.framework.log.FrameworkLog at java.lang.Class.getDeclaredField(Class.java:824) at org.eclipse.osgi.framework.internal.core.Framework.se tNLSFrameworkLog(Framework.java:274) at org.eclipse.osgi.framework.internal.core.Framework.<i nit>(Framework.java:185) at org.eclipse.core.runtime.adaptor.EclipseStarter.start up(EclipseStarter.java:263) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(E clipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.framework.log.FrameworkLog at java.net.URLClassLoader.findClass(URLClassLoader.java:610) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:944) at java.lang.ClassLoader.loadClass(ClassLoader.java:889) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:872) at java.lang.Class.getDeclaredFieldImpl(Native Method) It happens when a class which typically should be in the OSGI runtime is present in the system classpath and it tries to access another OSGi class (for instance, FrameworkLog) then it cannot see it and fails with java.lang.ClassNotFoundException.
Problem conclusion
The backupConfig.sh script was corrected to fix this problem. The fix for this APAR is targeted for inclusion in fix pack 9.0.5.13. For more information, see 'Recommended Updates for WebSphere Application Server': https://www.ibm.com/support/pages/node/715553
Temporary fix
Comments
APAR Information
APAR number
PH44727
Reported component name
WEBS APP SERV N
Reported component ID
5724H8800
Reported release
900
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-03-08
Closed date
2022-05-24
Last modified date
2022-06-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WEBS APP SERV N
Fixed component ID
5724H8800
Applicable component levels
[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0"}]
Document Information
Modified date:
15 June 2022