geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sachin Patel (JIRA)" <>
Subject [jira] Commented: (GERONIMODEVTOOLS-146) Server won't start nicely due to missing setting of java.endorsed.dirs for Yoko
Date Mon, 21 May 2007 15:03:16 GMT


Sachin Patel commented on GERONIMODEVTOOLS-146:

Actually we already have getVMArgs on GeronimoServerDelegate so you can just override this
in GeronimoServer.class in the 2.0 plugin, but be sure to prepend it to super.

> Server won't start nicely due to missing setting of java.endorsed.dirs for Yoko
> -------------------------------------------------------------------------------
>                 Key: GERONIMODEVTOOLS-146
>                 URL:
>             Project: Geronimo-Devtools
>          Issue Type: Bug
>          Components: eclipse-plugin
>    Affects Versions: 2.0
>            Reporter: Ted Kirby
>            Priority: Critical
>         Attachments: GD146-2.patch, GD146.patch
> Here are console messages:
> Booting Geronimo Kernel (in Java 1.5.0)...
> 17:03:26,609 ERROR [NameService] Incorrect level of org.omg.CORBA classes found.
> Likely cause is an incorrect java.endorsed.dirs configuration
> 17:03:26,609 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED
state: abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.0-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.0-SNAPSHOT/car,j2eeType=CORBANameService,name=NameServer"
> org.apache.geronimo.gbean.InvalidConfigurationException: CORBA usage requires Yoko CORBA
spec classes in java.endorsed.dirs classpath
> 	at org.apache.geronimo.corba.NameService.doStart(
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(
> Need to set -Djava.endorsed.dirs="%GERONIMO_BASE%\lib\endorsed;%JRE_HOME%\lib\endorsed",
like in geronimo.{sh,bat}
> If I set this manually as a server VM argument for the server instance, the server starts

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message