• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Documentation
  • foshea
  • Reporter: kkannaiy
  • November 14, 2007
  • 0
  • Watchers: 0
  • March 27, 2008
  • March 05, 2008

Description

Steps:

  1. Install the kit
  2. Launch the Session Configurator
  3. In the Session Configurator, Go to File -> Servers and select the Current webserver as BEA Weblogic 8.1
  4. Set the JAVA_HOME to C:\j2sdk1.4.2_13 and Set the BEA_HOME and Click OK
  5. check the Terracotta Sessions enabled
  6. Start all the servers

Actual: java.lang.UnsupportedClassVersionError: is thrown and server failed to start

2007-11-14 15:41:11,000 INFO - Terracotta 2.5-stable1, as of 20071113-191135 (Revision 6296 by [email protected] from 2.5) 2007-11-14 15:41:11,640 INFO - Configuration loaded from the file at ‘C:\terracotta-2.5-stable1\tools\sessions\configurator-sandbox\wls8.1\tc-config.xml’. java.lang.UnsupportedClassVersionError: com/tc/server/TCServerMain (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) Exception in thread “main”

Comments

Fiona OShea 2007-11-15

From Hung For this issue, I believe it’s because we now compile server code with 1.5 and when you specify jdk1.4 to run weblogic, it doesn’t match.

Not an easy fix unfortunately. To fix, you would need to specify both 1.4 and 1.5 in the session configurator to run the demo, which is currently not supported.

Fiona OShea 2008-02-25

Do we want to do anything about this? Or can we kill WL 8 support?

Fiona OShea 2008-02-25

Doc this as a known issue

Fiona OShea 2008-03-05

Documented in Known Issues 2.5 release notes in DocDraft http://www.terracotta.org/confluence/display/docdraft/Release+Notes+2.5

Fiona OShea 2008-03-05

The workaround is to use a later version of WL.