RE: OB-Users Digest, Vol 27, Issue 7

"Mohamad Karaki" <[email protected]> Thu, 21 Jul 2005 09:07:59 +0200
Newsgroups gmane.comp.corba.orbacus
Message-ID <[email protected]>

----------------------------------------------------------------------------
-----
Mohamad KARAKI
Sales Executive
Int'l Computer & Communication Systems
Postal Code 13-6007
Carlton House Building, Australia Street
Rawshe - Beirut
Lebanon
Tel: +961 1 785335 Ext: 108 
Fax: +961 1 860568
Mobile: +961 3 464899 
. your total solution provider


-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of [email protected]
Sent: Wednesday, July 20, 2005 4:31 PM
To: [email protected]
Subject: OB-Users Digest, Vol 27, Issue 7

Send OB-Users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://mail.ooc.nf.ca/mailman/listinfo/ob-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of OB-Users digest..."


Today's Topics:

   1. Re: Xbootclasspath necessary? (David Weir)


----------------------------------------------------------------------

Date: Tue, 19 Jul 2005 13:05:34 -0230
From: David Weir <[email protected]>
To: Achim Oehme <[email protected]>
Cc: [email protected]
Subject: Re: [OB-Users] Xbootclasspath necessary?
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>;
	from [email protected] on Mon, Jul 18, 2005 at 04:42:07PM +0200
References: <[email protected]>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 1

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(ThrowableInform
ation.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(Append
erAttachableImpl.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:3
87) 
> 
>        at 
>
com.adva.nlms.mediation.module.SimpleContext.selfInit(SimpleContext.java:302
) 
> 
>        at 
>
com.adva.nlms.mediation.module.SimpleContext.getModule(SimpleContext.java:17
7) 
> 
>        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: [email protected]
WWW: http://www.orbacus.com
------------------------------

_______________________________________________
OB-Users Mailing List
[email protected]
http://mail.ooc.nf.ca/mailman/listinfo/ob-users

End of OB-Users Digest, Vol 27, Issue 7
***************************************

_______________________________________________
OB-Users Mailing List - [email protected]
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