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

cannot find tools.jar at server startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 1.0-M2
    • 1.0-M4, 1.0-M5
    • None
    • None
    • red hat linux 9, kernel 2.4.2

    Description

      At server startup, i get a warning that tools.jar not found under JAVA_HOME/lib. My tools.jar is both under JAVA_HOME/lib as well as under JAVA_HOME/lib/ext. Why cant it find it. Please see the trace below:-

      [karan@j2ee geronimo-1.0-M2]$ java -jar bin/server.jar your/domain/name/Example
      21:02:04,037 WARN [ToolsJarHack] Could not all find java compiler: tools.jar file not found at /usr/local/share/install/j2sdk1.4.2_04/jre/lib/tools.jar
      21:02:04,045 INFO [Daemon] Server startup begun
      21:02:04,827 INFO [Kernel] Starting boot
      21:02:05,113 INFO [MBeanServerFactory] Created MBeanServer with ID: 1db7df8:ff4cdbab1a:-8000:j2ee:1
      21:02:05,316 INFO [Kernel] Booted
      21:02:05,432 INFO [ConfigurationManagerImpl] Loaded Configuration geronimo.config:name="org/apache/geronimo/System"
      21:02:06,088 INFO [Configuration] Started configuration org/apache/geronimo/System
      21:02:06,152 INFO [RMIRegistryService] Started RMI Registry on port 1099
      21:02:06,233 INFO [ReadOnlyRepository] Repository root is file:/home/karan/geronimo-1.0-M2/repository/
      21:02:06,304 INFO [ConfigurationManagerImpl] Loaded Configuration geronimo.config:name="your/domain/name/Example"
      21:02:06,338 INFO [ConfigurationManagerImpl] Loaded Configuration geronimo.config:name="org/apache/geronimo/Server"
      21:02:12,054 INFO [Configuration] Started configuration org/apache/geronimo/Server
      21:02:13,166 INFO [Configuration] Started configuration your/domain/name/Example
      21:02:14,214 INFO [LoginService] Login server has been started
      21:02:14,241 INFO [ThreadPool] Thread pool DefaultThreadPool started
      21:02:14,279 INFO [SecurityServiceMBean] Security service started
      21:02:14,284 INFO [HttpServer] Starting Jetty/5.0.RC0
      21:02:14,293 INFO [HttpServer] Started org.apache.geronimo.jetty.JettyServer@718242
      21:02:14,307 INFO [SocketListener] Started SocketListener on 0.0.0.0:8080
      21:02:16,210 INFO [HOWLLog] Initiating transaction manager recovery
      21:02:17,158 INFO [HOWLLog] In doubt transactions recovered from log
      21:02:17,252 INFO [PropertiesFileSecurityRealm] Properties File Realm - geronimo-properties-realm - refresh
      21:02:17,253 INFO [PropertiesFileSecurityRealm] Properties File Realm - geronimo-properties-realm - started
      21:02:17,414 INFO [Credential] Checking Resource aliases
      21:02:19,469 INFO [HttpContext] Started WebApplicationContext[/test,file:/home/karan/geronimo-1.0-M2/config-store/10/war/]
      21:02:19,663 INFO [JettyWebAppContext] JettyWebAppContext started
      21:02:19,950 INFO [RMIConnectorServer] RMIConnectorServer started at: service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
      21:02:19,952 INFO [server:name=localhost,role=JMXService] Started JMXConnector service:jmx:rmi://localhost/jndi/rmi:/JMXConnector
      21:02:19,957 INFO [Daemon] Server startup completed

      Attachments

        Activity

          People

            Unassigned Unassigned
            karan_malhi karan singh malhi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: