Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

orb_r.dll for WAI not included in VisiBroker 3.4

6 views
Skip to first unread message

Hans Bergsten

unread,
Nov 1, 1999, 3:00:00 AM11/1/99
to
John Lacey wrote:
>
> Hans Bergsten wrote:
> >
> > Has anyone been able to get WAI running on iPlanet Enterprise Server 4.0?
> > It no longer bundles the VisiBroker ORB but the installation instructions
> > say that you can get VisiBroker 3.3 (or later) from Inprise instead.
> >
> > The problem is that the only version of VisiBroker available from Inprise
> > is 3.4 and it doesn't include the orb_r.dll that iES 4.0 is looking for
> > when staring th WAI services.
> >
> > Any ideas how to solve this version incompatibility problem?
>
> There are two different VisiBrokers, one for Java and one for
> C++. The latest version for C++ is 3.3 (not 3.4), and it includes
> the orb_r.dll that you are looking for. (The latest version for
> Java *is* 3.4, and in fact 4.0 is due out for both C++ and Java.)
>
> I don't know what you need to get WAI working (isn't that an
> oxymoron?) with iWS. Enterprise Server embedded VisiBroker for
> C++ 2.1 and VisiBroker for Java 2.5, so WAI (whether for Java or
> C++) may be using one, the other, or both.

Great, thanks. I installed VisiBroker 3.3 for C++ and got it working, kind of.
Simple Java WAI applications work fine, but as soon as I call

netscape.WAI.HttpServerRequest.setResponseStatus(status, msg);

I get

org.omg.CORBA.BAD_PARAM[completed=MAYBE, reason=null Strings are illegal in IIOP.
Please correct your application or run the ORB in backward compatibility mode.]
at com.visigenic.vbroker.orb.GiopOutputStreamImpl.write_string(Compiled Code)
at com.visigenic.vbroker.orb.AnyImpl.write_value(Compiled Code)
at com.visigenic.vbroker.orb.RequestImpl._invoke(Compiled Code)
at com.visigenic.vbroker.orb.RequestImpl.invoke(Compiled Code)
at netscape.WAI._portable_stub_HttpServerRequest.setResponseStatus
(_portable_stub_HttpServerRequest.java:159) [...]

Seems like the WAI classes are not compatible with VB 3.3 after all ...
Any ideas?

> You may want to post to netscape.dev.wai if you have further
> difficulties.

I'm cross-posting this.

--
Hans Bergsten ha...@gefionsoftware.com
Gefion Software http://www.gefionsoftware.com

Hans Bergsten

unread,
Nov 2, 1999, 3:00:00 AM11/2/99
to Hans Bergsten
Hans Bergsten wrote:
> [...]

> Great, thanks. I installed VisiBroker 3.3 for C++ and got it working, kind of.
> Simple Java WAI applications work fine, but as soon as I call
>
> netscape.WAI.HttpServerRequest.setResponseStatus(status, msg);
>
> I get
>
> org.omg.CORBA.BAD_PARAM[completed=MAYBE, reason=null Strings are illegal in IIOP.
> Please correct your application or run the ORB in backward compatibility mode.]
> at com.visigenic.vbroker.orb.GiopOutputStreamImpl.write_string(Compiled Code)
> at com.visigenic.vbroker.orb.AnyImpl.write_value(Compiled Code)
> at com.visigenic.vbroker.orb.RequestImpl._invoke(Compiled Code)
> at com.visigenic.vbroker.orb.RequestImpl.invoke(Compiled Code)
> at netscape.WAI._portable_stub_HttpServerRequest.setResponseStatus
> (_portable_stub_HttpServerRequest.java:159) [...]
>
> Seems like the WAI classes are not compatible with VB 3.3 after all ...
> Any ideas?

I found one thing; the -DORBbackCompat=true java option for running the ORB in
backward compatibility mode. When I use it it still doesn't work, but it's a
new error:

org.omg.CORBA.MARSHAL[completed=NO]
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Compiled Code)
at com.visigenic.vbroker.orb.SE.read(SE.java:28)
at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(Compiled Code)


at com.visigenic.vbroker.orb.RequestImpl._invoke(Compiled Code)
at com.visigenic.vbroker.orb.RequestImpl.invoke(Compiled Code)
at netscape.WAI._portable_stub_HttpServerRequest.setResponseStatus
(_portable_stub_HttpServerRequest.java:159)

I'm running out of ideas ...

0 new messages