Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.0-M2
-
None
-
$ uname -a
CYGWIN_NT-5.1 JLASKOWSKI 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT
$ java -version
java version "1.4.2_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)/geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT
$ type java
java is hashed (/cygdrive/c/WINDOWS/system32/java)$ uname -a CYGWIN_NT-5.1 JLASKOWSKI 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin /geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT $ java -version java version "1.4.2_05" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04) Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode) /geronimo/modules/assembly/target/geronimo-1.0-SNAPSHOT $ type java java is hashed (/cygdrive/c/WINDOWS/system32/java)
Description
When booting server using the default jvm executable installed into %WINDIR%/system32/bin the server throws a NullPointerException causing the server to immediately shutdown.
$ java -jar bin/server.jar
15:11:59,908 WARN [ToolsJarHack] Could not all find java compiler: tools.jar file not found at C:\Program Files\Java\j2
re1.4.2_05\lib\tools.jar
15:11:59,908 WARN [ToolsJarHack] Could not all find java compiler: tools.jar file not found at C:\Program Files\Java\li
b\tools.jar
java.lang.ExceptionInInitializerError
Caused by: java.lang.NullPointerException
at org.apache.geronimo.system.main.ToolsJarHack.findToolsJarFile(ToolsJarHack.java:97)
at org.apache.geronimo.system.main.ToolsJarHack.install(ToolsJarHack.java:59)
at org.apache.geronimo.system.main.Daemon.<clinit>(Daemon.java:54)
Exception in thread "main"