Server won't start nicely due to missing setting of java.endorsed.dirs for Yoko
-------------------------------------------------------------------------------
Key: GERONIMODEVTOOLS-146
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-146
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.0
Reporter: Ted Kirby
Priority: Critical
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(NameService.java:168)
at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:986)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
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 fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.