[jacorb-developer] JacORB and endorsed dirs, class loaders and logging
Nick Cross
jacorb at goots.org
Thu Mar 14 11:02:06 CET 2013
This isn't an error as such - its merely a warning. As this is
'overkill' and shouldn't cause any problems the logging information will
be moved to debug level for the next release.
Regards
Nick
On 14/03/13 09:34, Darryl wrote:
> 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
>
> _______________________________________________
> jacorb-developer maillist - jacorb-developer at lists.spline.inf.fu-berlin.de
> https://lists.spline.inf.fu-berlin.de/mailman/listinfo/jacorb-developer
>
More information about the jacorb-developer
mailing list