Article View: comp.lang.java.corba
Article #52Re: Connecting to Visibroker server without vbj
From: ke_jin
Date: Mon, 11 Dec 2006 19:12
Date: Mon, 11 Dec 2006 19:12
36 lines
2678 bytes
2678 bytes
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@yahoo.co.uk wrote: > 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:
<1165864337.939099.37300@j72g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!j72g2000cwa.googlegroups.com!not-for-mailReferences:
<1165621357.994019.12370@f1g2000cwa.googlegroups.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 108bbb,a20deaeab892285 X-Google-Thread: f753e,a20deaeab892285 X-Google-Thread: 109156,a20deaeab892285 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!j72g2000cwa.googlegroups.com!not-for-mail From: ke_jin@yahoo.com Newsgroups: comp.lang.java.corba,comp.object.corba,borland.public.visibroker Subject: Re: Connecting to Visibroker server without vbj Date: 11 Dec 2006 11:12:18 -0800 Organization: http://groups.google.com Lines: 37 Message-ID: <1165864337.939099.37300@j72g2000cwa.googlegroups.com> References: <1165621357.994019.12370@f1g2000cwa.googlegroups.com> NNTP-Posting-Host: 143.127.3.10 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1165864341 1904 127.0.0.1 (11 Dec 2006 19:12:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 11 Dec 2006 19:12:21 +0000 (UTC) In-Reply-To: <1165621357.994019.12370@f1g2000cwa.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Red Hat/1.7.10-1.1.3.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: j72g2000cwa.googlegroups.com; posting-host=143.127.3.10; posting-account=_aUhGQ0AAADkSgpSpiCR7HFoNCIKT9OO