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

Re: Fwd: RE: xmlBlaster adapter

> Fred trying to 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