Message:
The following issue has been closed.
Resolver: Jacek Laskowski
Date: Tue, 14 Sep 2004 2:22 PM
Yes, it's not working well.
$ java -jar bin/server.jar
23:16:12,821 WARN [ToolsJarHack] Could not all find java compiler:
lib\tools.jar file not found in C:\Program Files\Jav
a\j2re1.4.2_05 or C:\Program Files\Java
23:16:12,841 INFO [Daemon] Server startup begun
23:16:14,253 INFO [Kernel] Starting boot
23:16:14,904 INFO [MBeanServerFactory] Created MBeanServer with ID:
17ce4e7:fefecd836e:-8000:JLASKOWSKI:1
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/GERONIMO-294
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GERONIMO-294
Summary: Tool.jar detection on some Windows installations stops server from
booting
Type: Bug
Status: Closed
Priority: Blocker
Resolution: FIXED
Project: Apache Geronimo
Components:
kernel
Fix Fors:
1.0-M3
Versions:
1.0-M2
Assignee: Jacek Laskowski
Reporter: Dain Sundstrom
Created: Mon, 13 Sep 2004 9:51 AM
Updated: Tue, 14 Sep 2004 2:22 PM
Environment: $ 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"
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira