[ https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12497464 ]
Ted Kirby commented on GERONIMODEVTOOLS-146: -------------------------------------------- Yes, this patch is still valid. GD-148 changed the class to invoke to start the AG server. This patch adds various system properties to the command-line that were recently added to the geronimo start scripts: javaagent, java.ext.dirs, java.endorsed.dirs. > 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 > 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(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.