dev@glassfish.java.net

cannot startup b31 on WinXP

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Fri, 12 Jan 2007 09:21:06 -0800

Hi,
I downloaded b31 (glassfish-installer-v2-b31-winnt.jar
<http://java.net/download/javaee5/promoted/WINNT/glassfish-installer-v2-b31.jar>
) from https://glassfish.dev.java.net/downloads/v2-b31.html
follow the instructions to install, which is

java -Xmx256m -jar /filename.jar
/cd glassfish
ant -f setup.xml

then i start the server without changing anything.
Server failed to startup,

asadmin> start-domain
Starting Domain domain1, please wait.
Log redirected to
C:\Sun\9.1\EE\GF-b31\glassfish\domains\domain1\logs\server.log.
Redirecting output to
C:/Sun/9.1/EE/GF-b31/glassfish/domains/domain1/logs/server.log
Timeout waiting for domain domain1 to go to starting state.
CLI156 Could not start the domain domain1.
asadmin>

Server.log shows the following exception:

[#|2007-01-12T09:02:09.890-0800|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;|java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.enterprise.server.PELaunch.main(PELaunch.java:272)
Caused by: java.lang.ClassFormatError: Invalid index 2 in
LocalVariableTable in class file
com/sun/enterprise/resource/ResourceManagerImpl
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

I have attached entire server.log.
Someone reported that he cannot startup up GUI on build 31 on WinXP, so
i try to reproduce it. But i can't even startup the server.
Anyone sees the same problem ?
As shown in the log file, i am using JDK 1.5.0_06

thanks
Anissa.