From: Michael R. <mic...@en...> - 2003-03-13 07:09:10
|
Bill Littman wrote: >I have recently migrated from OpenORB 1.2.0 to 1.3.0 (on Win2K) and I am >generating a NoClassDefFoundError from the NameServer. I recompiled a >debug version of OpenORB and here is the stack trace that appears: > So the same was happening with the release build as well? Why is there no class name for the NoClassDefFoundError ? >java.lang.NoClassDefFoundError > at >org.openorb.net.AbstractServerRequest.handle_system_exception(Abstrac >tServerRequest.java:1138) > at >org.openorb.net.AbstractServerRequest.client_cancel(AbstractServerReq >uest.java:482) > at >org.openorb.iiop.IIOPServerChannel.close(IIOPServerChannel.java:426) > at >org.openorb.iiop.SocketQueue.process_or_enqueue(SocketQueue.java:272) > > at org.openorb.iiop.SocketQueue.receive(SocketQueue.java:201) > at >org.openorb.iiop.IIOPServerChannel.run_recv(IIOPServerChannel.java:56 >5) > at >org.openorb.net.ServerManagerImpl$ChannelRecvRunner.run(ServerManager >Impl.java:909) > > > at java.lang.Thread.run(Unknown Source) > The following problems may be possible: 1. A JDK conflict (Maybe you need to put ins and the orb jars on the bootclasspath so that the classes from those jars override the JDK classes) 2. Another OpenORB jar somewhere where it gets loaded automatically, e.g. %JAVA_HOME%\lib\ext 4. A corrupt jar file You are the first reporter of such a problem, so I think there is something going wrong on your side. I tested your script, but couldn't find a problem, but I needed xerces.jar on the classpath. Before I was getting a NoClassDefFound org/w3c/Node exception... Michael PS: Please use the openorb-users mailing list in the future. More people are subscribed there so you have a better chance of getting help... >This stack trace does not appear on start up, but rather it is later on. >It does not appear on every request and I do not have a good handle yet >on when the stack trace appears. Sometimes, I do get multiple >NoClassDefFoundError exceptions, so it is not crashing the NameServer. >From the code, it looks like it is choking on this line: > m_sending_system_exception_id = SystemExceptionHelper.id( ex ); >However, SystemExceptionHelper is in the OpenORB JAR. > >Here is my batch file to start the name server: > ><start batch file> >@echo off > >set nsClass=C:\Tomo\ds\OpenORB\openorb_ins-1.3.0.jar; >set ooClass=C:\Tomo\ds\OpenORB\openorb-1.3.0.jar; >set psClass=C:\Tomo\ds\OpenORB\openorb_pss-1.3.0.jar; >set tsClass=C:\Tomo\ds\OpenORB\openorb_ots-1.3.0.jar; >set >xtClasses=C:\Tomo\ds\OpenORB\avalon-framework.jar;C:\Tomo\ds\OpenORB\log >kit.jar; > >set classpath=%nsClass%%psClass%%ooClass%%xtClasses%%tsClass% > > >echo Starting NameServer on port %1 > >java org.openorb.ins.Server -ORBPort=%1 ><end batch file> > >Any ideas on this problem? > >-Bill Littman > Lead Software Engineer > TomoTherapy, Inc. > 1240 Deming Way > Madison, WI 53717 > Direct Phone: 608 824-2815 > Phone: 608 824-2800 > Fax: 608 824-2996 > Web address: http://www.tomotherapy.com > Email: bli...@to... > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! >Get cracking and register here for some mind boggling fun and >the chance of winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >openorb-general mailing list >ope...@li... >https://lists.sourceforge.net/lists/listinfo/openorb-general > > |