2010年6月8日星期二

Visibroker on Weblogic

I need to deploy an application on WebLogic, and this application acts as a visibroker client. But when connect it always has this error,

java.lang.Error: org.omg.CORBA.INITIALIZE: Could not initialize Invalid typecode kind org.omg.CORBA.TCKind@9bbe66 vmcid: 0x0 minor code: 0 completed: No

This is because WebLogic uses its own ORB. Configure the following system properties, it will be OK:

-Dorg.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB
-Dorg.omg.CORBA.ORBSingletonClass=com.inprise.vbroker.orb.ORBSingleton

没有评论: