[jacorb-developer] JacORB and endorsed dirs, class loaders and logging
Darryl
dc7653 at virginmedia.com
Thu Mar 14 10:34:50 CET 2013
Hi,
Did you find out out to fix the following error ?
> Is there a way to get rid of the warning: WARNUNG: OMG.ORB classloader does
> not match JacORB ORBSingleton classloader. This may cause problems; see the
> ProgrammingGuide for further details? Will this cause any problems in
> practice?
I have a similar problem with in following code..
private static void startNameService()
{
class NamingThread implements Runnable {
public void run() {
String args[] = new String[] {
"-Djava.endorsed.dirs=\"C:\\Program Files\\jacorb-3.2\\lib\"",
"-Djacorb.home=\"C:\\Program Files\\jacorb-3.2\"",
"-Dorg.omg.CORBA.ORBClass=org.jacorb.orb.ORB",
"-Dorg.omg.CORBA.ORBSingletonClass=org.jacorb.orb.ORBSingleton",
"-DOAPort=2809"
};
org.jacorb.naming.NameServer.main(args);
}
}
Thread thread = new Thread(new NamingThread());
thread.start();
}
Which outputs the following to the debug window..
Mar 14, 2013 9:13:12 AM org.jacorb.config.JacORBConfiguration <init>
WARNING: no properties found for configuration jacorb
Mar 14, 2013 9:13:13 AM org.jacorb.orb.ORBSingleton <init>
INFO: created ORBSingleton
Mar 14, 2013 9:13:13 AM org.jacorb.orb.ORBSingleton <init>
WARNING: OMG.ORB classloader does not match JacORB ORBSingleton classloader.
This may cause problems; see the ProgrammingGuide for further details
Mar 14, 2013 9:13:13 AM org.jacorb.config.JacORBConfiguration <init>
WARNING: no properties found for configuration jacorb
Mar 14, 2013 9:13:13 AM org.jacorb.orb.ORBSingleton <init>
INFO: created ORBSingleton
Mar 14, 2013 9:13:13 AM org.jacorb.orb.ORBSingleton <init>
WARNING: OMG.ORB classloader does not match JacORB ORBSingleton classloader.
This may cause problems; see the ProgrammingGuide for further details
Mar 14, 2013 9:13:14 AM org.jacorb.naming.NameServer main
INFO: NS up
Mar 14, 2013 9:13:14 AM org.jacorb.orb.ORB run
INFO: ORB run
Thanks Darryl
More information about the jacorb-developer
mailing list