Marcel,
Thanks for your great summary! BTW, I just wanted to let you know, we've switched to
omniORB2/Sun IDL (JDK1.2) instead of Visibroker. I felt that visi was just way too
expensive, and being a believer in the benefits of Open Source software (and reading
all the great posts re omniORB), I decided to give it a try. The Sun java libs are
just enough for the client, definitely not good enough for a server, IMO, but we're
running a C++ appserver and so this fits beautifully. The two work together quite
well, and I only have good things to say about omniORB, so if you have similar
requirements, you may want to look into it. I guess this is sounding a bit like a
pitch ;)
Naturally, all work splendidly on linux (with the exception of the absence of
idltojava compiler, which the Blackdown team should have up Real Soon Now, right?).
Cheers,
-A.
Marcel Ruff wrote:
> Hi,
> after some mails about VisiBroker, here are some hints how to run
> VisiBroker on Linux:
>
> 1) Everything from VisiBroker runs fine on Linux (pure Java), but not
> the osagent process
> which is nativ binary (and not supported on Linux)
>
> 2) if you don't use the name server and don't run the gatekeeper, you
> don't need the osagent
> and you can use a standalone Linux box.
> You need then the URL naming scheme, - the server emits his IOR string,
> the client grabs
> and narrows it to use it.
>
> 3) if you want to start the gatekeeper (or naming service) on Linux, you
> need to have an osagent
> running somewhere on the network (on a NT, AIX, Sun or another supported
> platfom)
> Specify on your Linuxbox where to find the osagent:
>
> a) For example, that's how i start the name server (similar i start my
> servers)
> java -DORBagentAddr=192.168.200.8 -DORBagentPort=14000
> -DORBservices=CosNaming -DSVCnameroot=CorbaJava -DJDKrenameBug
> com.visigenic.vbroker.services.CosNaming.ExtFactory CorbaJava nameLog
>
> b) Servlets (jserv module with apache):
>
> b1) the servlets.default.initArgs can be spcified in the servlet itself
> like:
>
> Properties props = System.getProperties();
> props.put( "ORBservices", "CosNaming" );
> props.put( "SVCnameroot", "CorbaJava" );
> props.put( "ORBagentAddr", "192.168.200.8" );
> props.put( "ORBagentPort", "14000" );
> System.setProperties( props );
>
> b2) or generally in (for example):
> cp /usr/local/jserv/servlet.properties
> /usr/local/apache/etc/servlet.properties:
> and add a line:
>
>servlets.default.initArgs=DefaultTemplDir=/usr/local/apache/share/templates/,ORBagentAddr=192.168.200.8,ORBagentPort=14000,ORBservices=CosNaming,SVCnameroot=CorbaJava
>
> You access it then with:
> Properties props = System.getProperties();
> if (conf.getInitParameter("ORBagentAddr") != null)
> props.put( "ORBagentAddr",
> conf.getInitParameter("ORBagentAddr"));
> ....
> System.setProperties( props );
>
> c) Applets:
> Without the netscape plugin in the <APPLET> tag:
> <PARAM name=org.omg.CORBA.ORBClass value=com.visigenic.vbroker.orb.ORB>
> <PARAM name=ORBServices value=CosNaming>
> <PARAM name=SVCnameroot value=CorbaJava>
> <PARAM name=ORBagentAddr value=192.168.200.8>
> <PARAM name=ORBgatekeeperIOR
> value=http://192.168.200.8:9090/gatekeeper.txt>
>
> When using the activator Java plugin for netscape communicator, use the
> <EMBED> tag and for example:
> <EMBED
> type="application/x-java-applet;version=1.1"
> width="844"
> height="468"
> align="middle"
> CODE="org.freelancer.fancy.class"
> CODEBASE="http://192.168.200.8:9090"
> org.omg.CORBA.ORBClass="com.visigenic.vbroker.orb.ORB"
> ORBServices="CosNaming"
> SVCnameroot="CorbaJava"
> ORBagentAddr="192.168.200.8"
> LOCdebug="true"
> <NOEMBED>
>
> Hopefully that helps others
>
> Marcel
>
> Thanks to
> Richard Jones <[EMAIL PROTECTED]>
> Armen Yampolsky <[EMAIL PROTECTED]>
> and a third person (Sorry i can't find your email any more)
> which gave me this answers
>
> --
> Marcel Ruff
> [EMAIL PROTECTED]
--
Armen Yampolsky
Axiom Software Labs
New York