From: Wouter W. <wo...@xs...> - 2008-03-03 21:15:38
|
There's no real possibility of debugging it on the creme JVM :( And I know CrEme can find the openorb jar files, cause if I move them, I get a classdefnotfound error. I e-mailed NSIcom about it as well, this error leaves me kinda clueless. If only I knew why it can't instantiate the ORB implementation. - Wouter ----- Original Message ----- From: "Lars Kühne" <lak...@t-...> To: <ope...@li...> Sent: Monday, March 03, 2008 8:31 PM Subject: Re: [openorb-users] Using OpenORB with NSIcom CrE-ME VM for PDA's > Hmmm... I have no experience with mobile java so I can't really help, > but if they are saying "notably swing is [now] supported" maybe testing > CORBA is not on their priority list yet? Another possible pointer: Are > you sure that your bootclasspath setup is equivalent to the windows one? > > You should really try to debug this and find out where exactly the > init_orb call fails. > > Good luck, > Lars > > Wouter Wognum wrote: >> Hello, >> >> I'm trying to run an application using OpenORB on the CrE-ME virtual >> machine, >> but unfortunately, I can't get it to work, and I don't know why. >> I might be doing something wrong when using OpenORB, or there might be >> a problem with the VM. >> >> I am using OpenORB 1.3.0. >> I tested the application on windows, using JDK 1.3.1, >> this works fine. The application is able to initialize the ORB and >> contact the naming service. >> >> Some information about the CrE-ME VM, from the website ( >> http://www.nsicom.com/Default.aspx?tabid=138 ) >> >> >> /J2ME-CDC implementation. Compliant with J2ME CDC 1.0 //specification/ >> <http://java.sun.com/j2me/docs/index.html#cdc>/ - based on JDK 1.3.1./ >> /CrEme supports any Java package written entirely in Java, and >> supported by JDK 1.3.1 (or below). If the java package however relies >> on native methods, these native methods will have to be ported to the >> target platform./ >> >> >> Based on this information, I had good hope that it would work :) >> but when I try to run the application on the CrEme VM, it outputs the >> following error: >> >> // >> /org.omg.CORBA.INITIALIZE: can't instantiate ORB implementation >> org.openorb.CORBA.ORB / >> /org.omg.CORBA.ORBSingletonClass=org.openorb.CORBA.ORBSingleton >> at org.omg.CORBA.ORB.init_orb() >> at org.omg.CORBA.ORB.init()/ >> // >> // >> So basically it fails when trying to initialize the ORB. >> I assume the code to be correct, cause it works fine on jre 1.3.1. >> >> So what could cause an error like this? >> I made and placed the orb.properties file like instructed >> When I don't use place the orb.properties file in the lib directory, >> the error is similar: >> >> /org.omg.CORBA.INITIALIZE: can't instantiate ORB implementation >> org.openorb.CORBA.ORB >> at org.omg.CORBA.ORB.init_orb() >> at org.omg.CORBA.ORB.init()/ >> >> >> I hope someone will be able to give me some pointers here :) >> >> >> Regards, >> >> Wouter > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > openorb-users mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/openorb-users > |