users@glassfish.java.net

Glassfish V 3.1 Nightly build fails to start

From: <forums_at_java.net>
Date: Thu, 18 Nov 2010 07:47:10 -0800

FOR INFO:

The nightly build of V3.1 won't start up from me, previous ones would and
still do (Java version 1.6.0_22), not sure how that error is possible given
the version of java ;-)  ...

18-Nov-2010 15:12:06 com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Successfully launched in 15 msec.
java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
4)
        at
java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)FATAL ER
ROR in native method: processing of -javaagent failed
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at
sun.instrument.InstrumentationImpl.loadClassAndCallPremain(Instrument
ationImpl.java:133)
Exception in thread "main" Command start-domain failed.
The DAS was stopped.
C:\glassfish3.1B3\glassfish3\glassfish\bin>java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)


--
[Message sent by forum member 'chrishurst']
View Post: http://forums.java.net/node/720184