Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-294

Tool.jar detection on some Windows installations stops server from booting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.0-M2
    • 1.0-M3
    • kernel
    • None

    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"

      Attachments

        Activity

          People

            jlaskowski Jacek Laskowski
            dain Dain Sundstrom
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: