Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Connecting to V...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 469 of 534
Post > Topic >>

Connecting to Visibroker server without vbj

by donalmurtagh@[EMAIL PROTECTED] Dec 8, 2006 at 03:42 PM

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:

org.omg.CORBA.BAD_PARAM:   vmcid: 0x0  minor code: 0  completed: No
        at
surePay.idl2java.SMSSession.SessManagerHelper.bind(SessManagerHelper.java:71)
        at
surePay.idl2java.SMSSession.SessManagerHelper.bind(SessManagerHelper.java:62)

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




 2 Posts in Topic:
Connecting to Visibroker server without vbj
donalmurtagh@[EMAIL PROTE  2006-12-08 15:42:38 
Re: Connecting to Visibroker server without vbj
ke_jin@[EMAIL PROTECTED]   2006-12-11 11:12:18 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 23:52:50 CDT 2008.