You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by de...@geronimo.apache.org on 2004/09/14 23:31:37 UTC

[jira] Commented: (GERONIMO-294) Tool.jar detection on some Windows installations stops server from booting

The following comment has been added to this issue:

     Author: Jacek Laskowski
    Created: Tue, 14 Sep 2004 2:30 PM
       Body:
s/not/now/

It's definitelly working well, thus closed.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/GERONIMO-294?page=comments#action_53095

---------------------------------------------------------------------
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:30 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