Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues

Bug 988

Summary: Class Not Found Java Error
Product: JacORB Reporter: Chris <cwilliams>
Component: ORBAssignee: Mailinglist to track bugs <jacorb-bugs>
Status: RESOLVED DUPLICATE    
Severity: major CC: jacorb
Priority: P5    
Version: 3.1   
Hardware: PC   
OS: Linux   

Description Chris 2014-06-20 14:28:33 UTC
I have had to comment out (#) one of two certain lines of code from a program in order to restore some functionalities:

-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton


I can comment out either one of these and the features will work. Once it is commented out, the program allows some of the features to be used but there are other issues which I believe are tied to JacORB. When it isn't commented out I get an error: "Unable to instatiate class...".  When looking at the error log it gives a chain of causes that starts with:

Caused by: java.lang.ClassNotFoundException: org.jacorb.orb.ORBSingleton
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:270)
	at org.omg.CORBA.ORB.create_impl_with_systemclassloader(ORB.java:305)
	... 91 more

JacORB was part of the install for the program so I don't know how to do any updates to the JacORB files. Any ideas for a fix? If an update is suggested, how should I go about it? Thanks in advance and if I find a solution I'll submit it in case anybody else has this issue.
Comment 1 Nick Cross 2014-06-20 16:08:37 UTC
This sounds like a duplicate of 984. Please retest with current development version (currently 3.5-SNAPSHOT). Or alternatively try downgrading your JDK version.

*** This bug has been marked as a duplicate of bug 984 ***
Comment 2 Chris 2014-06-20 17:11:40 UTC
(In reply to Nick Cross from comment #1)
> This sounds like a duplicate of 984. Please retest with current development
> version (currently 3.5-SNAPSHOT). Or alternatively try downgrading your JDK
> version.
> 
> *** This bug has been marked as a duplicate of bug 984 ***

Thanks Nick. I tried doing a search, but got Zarro Boogs. Glad to know I'm not the only one with this issue and to get pointed in the right direction.