Board index » off-topic » SunOne Application fail to ORB.init

SunOne Application fail to ORB.init


2005-10-15 12:00:13 AM
off-topic14
HI,
I have tried to use SunOne Application 8.1 as CORBA client to connect to
VisiBroker 6.5. However, when run at "ORB.init()" to instantiate ORB, it
throw the following exception.
Re: I have set orb.properties (ORBClass and so on) in order to use
VisiBroker ORB.
Do you have any idea and any missing procedures?
Exception
========
at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:123)
at
com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServantCorbaServerRequestDispatcherImpl.java:648)
at
com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1569)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:951)
at
com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
at
com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:721)
at
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
at
com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1262)
at
com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:409)
Caused by: java.lang.ClassCastException:
com.inprise.vbroker.PortableInterceptor.ORBInitInfoImplExt
at
com.sun.enterprise.iiop.FailoverIORInterceptor.post_init(FailoverIORInterceptor.java:96)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:1332)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:1556)
at org.omg.CORBA.ORB.init(ORB.java:337)
 
 

Re:SunOne Application fail to ORB.init

It is obvious that your setting of ORB.properties is not complete.
Looking from the stacktrace, it is obvious that you try to instantiate
a Visibroker, however, it comes into Sun ORB internal code.
You might need to seek help from Borland user manual or Borland tech
support.