Article View: comp.lang.java.corba
Article #51Connecting to Visibroker server without vbj
From: donalmurtagh
Date: Fri, 08 Dec 2006 23:42
Date: Fri, 08 Dec 2006 23:42
27 lines
2325 bytes
2325 bytes
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
Technical Details
Message-ID:
<1165621357.994019.12370@f1g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f1g2000cwa.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 108bbb,a20deaeab892285,start X-Google-Thread: f753e,a20deaeab892285,start X-Google-Thread: 109156,a20deaeab892285,start X-Google-Attributes: gid108bbb,gidf753e,gid109156,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f1g2000cwa.googlegroups.com!not-for-mail From: donalmurtagh@yahoo.co.uk Newsgroups: comp.lang.java.corba,comp.object.corba,borland.public.visibroker Subject: Connecting to Visibroker server without vbj Date: 8 Dec 2006 15:42:38 -0800 Organization: http://groups.google.com Lines: 28 Message-ID: <1165621357.994019.12370@f1g2000cwa.googlegroups.com> NNTP-Posting-Host: 216.13.50.116 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1165621394 20277 127.0.0.1 (8 Dec 2006 23:43:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 8 Dec 2006 23:43:14 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: f1g2000cwa.googlegroups.com; posting-host=216.13.50.116; posting-account=S2ECIAwAAAAoNqiUN1QpoHiXo33plG9k