PK58662: BBOWMG3D PREUPGRD 2048, JAVA.LANG.NOCLASSDEFFOUNDERROR, WASPREUPGRADE FAILED, ICH408I FOR TMP/OSGI_INSTANCE_LOCATION/ | |||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description When attempting to migrate to zWSAS 61, the migration job BBOWMG3D fails in PREUPGRD with CC 2048. BBOWMG3D PREUPGRD 2048 The job will have the following exceptions.. java.lang.NoClassDefFoundError: org.eclipse.emf.ecore.EFactory at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:223) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.de at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.define at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findCl at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLo at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLo at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fi at org.eclipse.osgi.framework.internal.core.BundleLoader.findL at org.eclipse.osgi.framework.internal.core.BundleLoader.findC at org.eclipse.osgi.framework.internal.core.BundleLoader.findC at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.lo at java.lang.ClassLoader.loadClass(ClassLoader.java:568) at java.lang.J9VMInternals.verifyImpl(Native Method) WASPreUpgrade failed You will also find the below errors in the syslog about insufficient access to /tmp/osgi_instance ICH408I USER(WP2ADM ) GROUP(WP2CFG ) NAME(WAS ADMINISTRATOR ) /tmp/osgi_instance_location/WP2ADM/191041354 CL(DIRSRCH ) FID(01E2E2F0F0F7F0001E1800E127B40000) INSUFFICIENT AUTHORITY TO LSTAT ACCESS INTENT(--X) ACCESS ALLOWED(OTHER ---) EFFECTIVE UID(0000031101) EFFECTIVE GID(0000031100) ICH408I USER(WP2ADM ) GROUP(WP2CFG ) NAME(WAS ADMINISTRATOR ) /tmp/osgi_instance_location/WP2ADM/191041354 CL(DIRSRCH ) FID(01E2E2F0F0F7F0001E1800E127B40000) INSUFFICIENT AUTHORITY TO MKDIR ACCESS INTENT(--X) ACCESS ALLOWED(OTHER ---) EFFECTIVE UID(0000031101) EFFECTIVE GID(0000031100) ICH408I USER(WP2ADM ) GROUP(WP2CFG ) NAME(WAS ADMINISTRATOR ) /tmp/osgi_instance_location/WP2ADM/191041354 CL(DIRSRCH ) FID(01E2E2F0F0F7F0001E1800E127B40000) INSUFFICIENT AUTHORITY TO REALPATH ACCESS INTENT(--X) ACCESS ALLOWED(OTHER ---) EFFECTIVE UID(0000031101) EFFECTIVE GID(0000031100)Local fix Run the BBOWMG3D migration job in two phases. 1. First Run through WRCONFIG - CRPROF steps. Comment the rest of the steps. 2. Stop the migration job. Update the WASPreUpgrade.sh and WASPostUpgrade.sh script files in the PRODUCT/bin directory (*not* in profiles/default/bin) to pass the was and user install root parameters as shown below: Insert the following into the java line of both scripts: -Dwas.install.root=$WAS_HOME \ -Duser.install.root=$USER_INSTALL_ROOT \ The OSGI instance information should then be in the product /profiles/default/configuration directory instead of the /tmp directory. 3. Comment the steps until CRPROF and run the rest of the job to execute the remaining steps from PREUPGRD - WRERR. Please contact IBM support If you've further questions regarding the workaround.Problem summary **************************************************************** * USERS AFFECTED: All users of WebSphere Application Server * * V6.1 for z/OS migrating multiple profiles * * with different userIDs on the same LPAR. * **************************************************************** * PROBLEM DESCRIPTION: The second profile to be migrated * * will fail with NoClassDefFound. * **************************************************************** * RECOMMENDATION: * **************************************************************** When migration runs, it defaults the OSGI location to the temp directory, and if a second profile is run from a userID that does not have sufficient permissions to access directories created by the first userID, then migration fails with missing classes exceptions because the OSGI information cannot be found.Problem conclusion Migration has been updated to put the OSGI information in the more standard profile/configuration directory. This will prevent multiple profiles from sharing the same directory for OSGI and remove the restriction on the userID compatibility. APAR PK58662 is currently targeted for inclusion in Service Level (Fix Pack) 6.1.0.17 of WebSphere Application Server V6.1 for z/OS.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros Publications Referenced
|
Document Information |
Current web document: swg1PK58662.html
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server for z/OS
Operating system(s):
Software version: 610
Software edition:
Reference #: PK58662
IBM Group: Software Group
Modified date: Jul 2, 2008
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.