Skip to main content

Problem:

  • Product Name: VisiBroker for Java
  • Product Version: 6.0 & above
  • Platform/OS version: Windows
  • JDK: JDK 1.4.2 & above
  • 3rd party component: BEA Weblogic Server 10

You would like to know how to integrate VisiBroker client orb with Weblogic servlet.

Resolution:

In the C:\\bea\\wls10\\wlserver_10.0\\samples\\domains\\wl_server\\bin\\setDomainEnv.cmd file, you need to set the PRE_CLASSPATH and JAVA_PROPERTIES environment variables.

set PRE_CLASSPATH=%VB_HOME%\\lib\\vbjorb.jar;%VB_HOME%\\lib\\vbjdev.jar;%VB_HOME%\\lib\\vbdev.jar;%VB_HOME%\\lib\\xmlrt.jar;%VB_HOME%\\lib\\log4j.jar;%VB_HOME%\\lib\\vbcdev.jar;%VB_HOME%\\lib\\vbsec.jar;%VB_HOME%\\lib\\lm.jar

As BEA Weblogic also implements the org.omg.CORBA.ORB interface, you need to ensure the VisiBroker libraries are loaded by the classloader first by appending the libraries in front of BEA libraries.

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

 


#Security
#weblogic
#Java
#VisiBroker