wood burning stoves*
The moose likes Distributed Java and the fly likes Connecting to Visibroker server from Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Connecting to Visibroker server from Tomcat" Watch "Connecting to Visibroker server from Tomcat" New topic
Author

Connecting to Visibroker server from Tomcat

Dan Murphy
Ranch Hand

Joined: Mar 29, 2005
Posts: 126
Hi,

I'm running a Visbroker CORBA server which I can connect to just fine when I start a client using Visibroker's "vbj" program. My understanding is that this program calls java, but first adds a *lot* of properties (-D) to the command-line and libraries to the classpath.

However, if I try to access the same server from within a web application (which is started by Tomcat), I get an exception:



I'm using the same code in each case to connect to the server, so my guess is that Tomcat doesn't have all the libraries (and/or properties) it needs in order to connect, whereas these are automatically configured when vbj is used.

Currently, the only Visibroker libraries I've got on Tomcat's classpath are vbjclientorb.jar and vbjorb.jar. Any ideas what else I need in order to fix this?

Thanks in Advance,
DM
[ December 08, 2006: Message edited by: Dan Murphy ]

SCJP, SCJD, SCWCD
 
 
subject: Connecting to Visibroker server from Tomcat
 
Similar Threads
Ant's classpath vs Eclipse's classpath
javax.naming.Communication exception :SerialContextProvider not found
CORBA : Problem Starting the Name Service
exception =org.omg.CORBA.BAD_PARAM: minor code: 0 completed: No
Naming Sever client