PK58662: BBOWMG3D PREUPGRD 2048, JAVA.LANG.NOCLASSDEFFOUNDERROR, WASPREUPGRADE FAILED, ICH408I FOR TMP/OSGI_INSTANCE_LOCATION/

 Fixes are available

6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for i5/OS
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Linux
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Solaris
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for HP-UX
6.1.0.17: WebSphere Application Server V6.1 Fix Pack 17 for Windows
6.1.0.17 WebSphere Application Server V6.1 Fix Pack 17 for AIX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for AIX
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for HP-UX
6.1.0.19 WebSphere Application Server V6.1 Fix Pack 19 for i5/OS
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Linux
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Solaris
6.1.0.19: WebSphere Application Server V6.1 Fix Pack 19 for Windows
Java SDK 1.5 SR8 Cumulative Fix for WebSphere Application Server



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 information
APAR number PK58662
Reported component name WEBSPHERE FOR Z
Reported component ID 5655I3500
Reported release 610
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2007-12-26
Closed date 2008-04-07
Last modified date 2008-07-02

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSN    UP
R601 PSN    UP
R610 PSY UK36750    UP08/06/10 P F806

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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