You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Radim Kolar <hs...@sendmail.cz> on 2010/12/19 20:10:28 UTC

Incorrect level of org.omg.CORBA classes found.

I have problems with starting server within eclipse. It worked before but now
it fails due to some corba library version problem. Can you give me hints
where to look?

Booting Server Kernel (in Java 1.6.0_22)...

Module 26/71 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car               
2010-12-19 20:05:14,364 ERROR [NameService] Incorrect level of org.omg.CORBA
classes found.
Likely cause is an incorrect java.endorsed.dirs configuration
2010-12-19 20:05:14,364 ERROR [GBeanInstanceState] Error while starting;
GBean is now in the FAILED state:
abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car,j2eeType=CORBANameService,name=NameServer"
org.apache.geronimo.gbean.InvalidConfigurationException: CORBA usage
requires Yoko CORBA spec classes in java.endorsed.dirs classpath

-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Incorrect-level-of-org-omg-CORBA-classes-found-tp2116656p2116656.html
Sent from the Users mailing list archive at Nabble.com.

Re: Incorrect level of org.omg.CORBA classes found.

Posted by txasmst <tr...@hotmail.com>.
Thanks for the post. I put the files in as "hmmm" suggestted.  The server is
up now.

=======================================
Secondly I had to put the jars : 
yoko-rmi-spec-1.0.jar 
yoko-spec-corba-1.0.jar 
in JRE_HOME/lib/endorsed to avoid the error mentioned 
=======================================



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Incorrect-level-of-org-omg-CORBA-classes-found-tp2116656p3985945.html
Sent from the Users mailing list archive at Nabble.com.

Re: Incorrect level of org.omg.CORBA classes found.

Posted by hmmm <pa...@gmail.com>.
Hi

I just wanted to post my experiences with this problem: 

First off I normally operate in a unix environment and the first thing I had
to do was re-install java in c:\progs to avoid the "space" problem in
c:\program files

That was number one (I think this is a geronimo / eclipse problem.)

Secondly I had to put the jars : 
yoko-rmi-spec-1.0.jar
yoko-spec-corba-1.0.jar
in JRE_HOME/lib/endorsed to avoid the error mentioned 

Hope this helps some other poor software developer.

Regards



-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Incorrect-level-of-org-omg-CORBA-classes-found-tp2116656p2174167.html
Sent from the Users mailing list archive at Nabble.com.

Re: Incorrect level of org.omg.CORBA classes found.

Posted by Radim Kolar <hs...@sendmail.cz>.
I start GE 2.1.5 rebranded as WASCE 2.1.1 via IBM WAS CE 2.1 plugin. It
worked before and if i start G outside eclipse, it works fine too. I tried
E3.5 and E3.6.

I just found solution to problem. It seems to be caused by pointing server
runtime to JDK version which i do not have longer installed. Starter
probably grabbed another JDK but forgot to redefine these corba classes.

I deleted WASCE from Server Runtime Environments, added it again and
everything works as before now.
-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Incorrect-level-of-org-omg-CORBA-classes-found-tp2116656p2119323.html
Sent from the Users mailing list archive at Nabble.com.

Re: Incorrect level of org.omg.CORBA classes found.

Posted by David Jencks <da...@yahoo.com>.
I have no idea how you are starting geronimo in eclipse.  however the yoko corba implementation needs its own spec classes rather than the jdk ones.  In geronimo this is accomplished by putting the appropriate spec jars in <geronimo-home>/lib/endorsed and setting the endorsed libs command line property to include that directory.  Perhaps this configuration is missing when starting within eclipse?

thanks
david jencks

On Dec 19, 2010, at 11:10 AM, Radim Kolar wrote:

> 
> I have problems with starting server within eclipse. It worked before but now
> it fails due to some corba library version problem. Can you give me hints
> where to look?
> 
> Booting Server Kernel (in Java 1.6.0_22)...
> 
> Module 26/71 org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car               
> 2010-12-19 20:05:14,364 ERROR [NameService] Incorrect level of org.omg.CORBA
> classes found.
> Likely cause is an incorrect java.endorsed.dirs configuration
> 2010-12-19 20:05:14,364 ERROR [GBeanInstanceState] Error while starting;
> GBean is now in the FAILED state:
> abstractName="org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car?ServiceModule=org.apache.geronimo.configs/j2ee-corba-yoko/2.1.5/car,j2eeType=CORBANameService,name=NameServer"
> org.apache.geronimo.gbean.InvalidConfigurationException: CORBA usage
> requires Yoko CORBA spec classes in java.endorsed.dirs classpath
> 
> -- 
> View this message in context: http://apache-geronimo.328035.n3.nabble.com/Incorrect-level-of-org-omg-CORBA-classes-found-tp2116656p2116656.html
> Sent from the Users mailing list archive at Nabble.com.