AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connecting to Visibroker server without vbj

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and CORBA
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sat Dec 09, 2006 5:42 am    Post subject: Connecting to Visibroker server without vbj Reply with quote



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
Back to top
Guest






PostPosted: Tue Dec 12, 2006 1:12 am    Post subject: Re: Connecting to Visibroker server without vbj Reply with quote



It seems tomcat wasn't using visibroker. did you have follow property
setting?

org.omg.CORBA.ORBClass=com.inprise.vbroker.orb.ORB

Regards,
Ke

donalmurtagh (AT) yahoo (DOT) co.uk wrote:
Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and CORBA All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.