You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "John Sisson (JIRA)" <de...@geronimo.apache.org> on 2004/11/04 07:00:38 UTC

[jira] Commented: (GERONIMO-334) cannot find tools.jar at server startup

     [ http://nagoya.apache.org/jira/browse/GERONIMO-334?page=comments#action_55022 ]
     
John Sisson commented on GERONIMO-334:
--------------------------------------

I noticed that the following issue has a patch to use the eclipse compiler for Jetty:

http://nagoya.apache.org/jira/browse/GERONIMO-414

Could the eclipse compiler also be used to get around the ToolsJarHack that is used by:

	/geronimo/modules/system/src/java/org/apache/geronimo/system/main/Daemon.java

	/openejb/modules/core/src/java/org/openejb/config/NovaAssembler.java



> cannot find tools.jar at server startup
> ---------------------------------------
>
>          Key: GERONIMO-334
>          URL: http://nagoya.apache.org/jira/browse/GERONIMO-334
>      Project: Apache Geronimo
>         Type: Bug
>     Versions: 1.0-M2
>  Environment: red hat linux 9, kernel 2.4.2
>     Reporter: karan singh malhi
>     Priority: Trivial

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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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