[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: xmlBlaster adapter

Dear Fred,

Here is Marcel's answer...

Pls let us know if it solve your problem.


At 11:58 PM 6/15/01 +0200, Marcel Ruff wrote:

> Fred trying to make XMLBlaster component for openadapter.
> Would you please to assist Fred ? If you don't mind....

> >I downloaded and played around - the simple examples work out of the box but
> >I am having a problem running an XmlBlasterSink that I threw together...
> >
> >It seems to be environment related but I can't see what I am doing
> >differently, when I run the clientSub example it connects to the ORB based
> >on defaults some defaults.
> >
> > > 15-Jun-01 09:15:56 INFO CorbaConnection-ClientSub: Accessing xmlBlaster
> >AuthServer IOR using builtin
> > > http connection, host and port 7609
> >
> >But when I run an adaptor with XmlBlasterSink if fails.
> >
> > > [01/06/15 09:26:55.822] FATAL: RunAdaptor: Failed to construct new
> >RunAdaptor with C2 failed to connect > to server org.omg.CORBA.INITIALIZE:
> >can't instantiate default ORB implementation jacorb.orb.ORB minor > code: 0
> >completed: No

It looks like as if the JDK delivered ORB classes are loaded
instead of the JacORB classes (from our INSTALL file):

   Copy xmlBlaster/config/orb.properties to JAVA_HOME/jre/lib
   (exactly 'java.home'/lib)
   or edit the existing orb.properties file.

   This switches off the default CORBA from JDK 1.2/1.3, and replaces it
   the JacORB CORBA implementation.

   If you want to avoid this, you need to specify on command line:
      java -Dorg.omg.CORBA.ORBClass=jacorb.orb.ORB

   If you use the delivered CorbaDrivers (Java helper classes)
   JacORB is set as the default ORB already and you need to do nothing.

Just my two Euros,


-- Marcel Ruff mailto:ruff at swand.lake.de http://www.lake.de/home/lake/swand/ http://www.xmlBlaster.org