Re: Xbootclasspath necessary?
David Weir <david.weir <at> iona.com>
2005-07-19 15:35:34 GMT
Hello Achim,
On Mon, Jul 18, 2005 at 04:42:07PM +0200, Achim Oehme wrote:
> Hello everybody
>
> I downloaded JOB-4.3.0 evaluation and tried to run it with an
> application which uses portable interceptors.
>
> First I specified 'java.endorsed.dirs' to overwrite Sun's CORBA package.
> The ORBInitializerClass, which is defined as a property (together with
> ORBClass) ...
>
> props.put("org.omg.CORBA.ORBClass", "com.ooc.CORBA.ORB");
> props.put("org.omg.CORBA.ORBSingletonClass","com.ooc.CORBA.ORBSingleton");
> props.put("org.omg.PortableInterceptor.ORBInitializerClass." +
> "com.adva.nlms.mediation.server.ServerInitializer", "");
>
> ...cannot be found:
>
> warning: ORB.init: initializer class
> com.adva.nlms.mediation.server.ServerInitializer not found
>
> Then I tried to use the -Xbootclasspath/p:$CLASSPATH option instead, as
> it is done in the portable interceptors demo of Orbacus. There is no
> problem finding the ORBInitializerClass anymore, but now a resource is
> missing (see exception below). I defined different orders within the
> CLASSPATH, but the result is always the same.
>
> Maybe this is not directly related to Orbacus, but I'm wondering, if
> there is a way to avoid specifying the Xbootclasspath, when working with
> portable interceptors.
>
> Thanks in advance!
>
> Regards
> Achim
Unfortunately you do have to use the Xbootclasspath option when using
portable interceptors.
As for the stack trace below, I don't think this has anything to do with
Orbacus.
> ---
>
> Mon Jul 18 15:08:38 CEST 2005
> Thread: LauncherMain
> javax.jdo.JDOFatalInternalException: No resources could be found to
> annotate error message key:"MSG_NestedThrowablesStackTrace"
> at javax.jdo.spi.I18NHelper.assertBundle(Unknown Source)
> at javax.jdo.spi.I18NHelper.msg(Unknown Source)
> at javax.jdo.JDOException.printStackTrace(Unknown Source)
> at
>
org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:50)
>
> at
> org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:333)
> at
> org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:295)
> at
> org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)
>
> at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
> at
> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
> at
>
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
>
> at org.apache.log4j.Category.callAppenders(Category.java:187)
> at org.apache.log4j.Category.forcedLog(Category.java:372)
> at org.apache.log4j.Category.error(Category.java:303)
> at
> com.adva.nlms.mediation.server.ServerCtrlImpl.selfInit(ServerCtrlImpl.java:387)
>
> at
> com.adva.nlms.mediation.module.SimpleContext.selfInit(SimpleContext.java:302)
>
> at
> com.adva.nlms.mediation.module.SimpleContext.getModule(SimpleContext.java:177)
>
> at com.adva.nlms.mediation.Launcher$1.run(Launcher.java:86)
> Exception in thread "LauncherMain" javax.jdo.JDOFatalInternalException:
> No resources could be found to annotate error message key:"MSG_Nest
> dThrowablesStackTrace"
> at javax.jdo.spi.I18NHelper.assertBundle(Unknown Source)
> at javax.jdo.spi.I18NHelper.msg(Unknown Source)
> at javax.jdo.JDOException.printStackTrace(Unknown Source)
> at com.adva.common.util.ErrorLog.log(ErrorLog.java:108)
> at com.adva.nlms.mediation.Launcher$1.run(Launcher.java:136)
Cheers,
Dave
--
--
David Weir
Team Orbacus - Your CORBA Source
E-Mail: david.weir <at> iona.com
WWW: http://www.orbacus.com
_______________________________________________
OB-Users Mailing List - ob-users <at> orbacus.com
http://mail.ooc.nf.ca/mailman/listinfo/ob-users
Visit our support FAQ before you send a message.
http://www.orbacus.com/faq/support.html