2 Replies Latest reply: Jan 10, 2014 2:24 AM by user8058501 RSS

    Unabl to upgrade Node Manager from WLS 11g to WLS 12g

    user8058501

      Hi,

       

       

      On a given machine, I have WLS 11g running with a domain and a node manager configured.

      I have installed software for WLS 12c on the same machine

       

      I wish to upgrade the node manager from WLS 11g to WLS 12c.

       

      I use the documentation from:

      Oracle® Fusion Middleware Upgrade Guide for Oracle WebLogic Server 12c Release 1 (12.1.1) E24497-02

       

      1) Both my WLS server and NN and stopped before performing the upgrade.

       

      2) As stated at p 2.6, I have set my environment variables:

       

      My WLS 12c software has been installed at:

      /u01/oracle/base/product/middleware/wls/wls12c

       

      export MW_HOME=/u01/oracle/base/product/middleware/wls/wls12c

       

      export CLASSPATH=$CLASSPATH:/u01/oracle/base/product/middleware/wls/wls12c/wlserver_12.1/server/lib/weblogic.jar

       

      /u01/oracle/base/product/middleware/wls/wls12c/wlserver_12.1/server/bin/setWLSEnv.sh

       

      export PATH=$PATH:/u01/oracle/base/product/middleware/wls/wls12c/wlserver_12.1/server/bin

       

      I have thus:

       

      oracle@weblogic11g ~]$ echo $CLASSPATH

      :/u01/oracle/base/product/middleware/wls/wls12c/wlserver_12.1/server/lib/weblogic.jar

      [oracle@weblogic11g ~]$ echo $MW_HOME

      /u01/oracle/base/product/middleware/wls/wls12c

      [oracle@weblogic11g ~]$ echo $PATH

      /u01/oracle/base/product/middleware/wls/wls12c/wlserver_12.1/server/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/NX/bin:/usr/NX/bin:/usr/NX/bin:/usr/NX/bin

      [oracle@weblogic11g ~]$

       

      3) Then I start the upgrade using the GUI, as explained p 4.3:

       

      java weblogic.Upgrade -type nodemanager

       

      But then, get the error:

       

      Exception in thread "main" java.lang.ClassFormatError: weblogic.Upgrade (unrecognized class file version)

         at java.lang.VMClassLoader.defineClass(libgcj.so.7rh)

         at java.lang.ClassLoader.defineClass(libgcj.so.7rh)

         at java.security.SecureClassLoader.defineClass(libgcj.so.7rh)

         at java.net.URLClassLoader.findClass(libgcj.so.7rh)

         at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh)

         at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

         at java.lang.ClassLoader.loadClass(libgcj.so.7rh)

         at gnu.java.lang.MainThread.run(libgcj.so.7rh)

       

       

      It seems that there is a problem with the definition of CLASSPATH.

       

      Can someone explain me what is going wrong with this?

       

      Thanks by advance .

      Kind Regards.