Forwarded for the benefit of everyone....
> -----Original Message-----
> From: Victor A. Salaman
> Sent: Wednesday, June 14, 2000 12:45 PM
> To: 'Hashim Merchant'
> Subject: RE: Two Instances of orion
>
> Hi Hashim:
>
> First, you don't need to run two different instances of
> Orion. One of them will suffice for those purposes.
>
> Step1: Open up your server.xml file, it will look like this:
>
> <?xml version="1.0"?>
> <!DOCTYPE application-server PUBLIC "Orion Application Server
> Config" "http://www.orionserver.com/dtds/application-server.dtd">
>
> <application-server application-directory="../applications"
>
> deployment-directory="../application-deployments">
> <rmi-config path="./rmi.xml" />
> <jms-config path="./jms.xml" />
> <principals path="./principals.xml" />
> <log><file path="../log/server.log" /></log>
> <global-application name="default" path="application.xml" />
> <application name="tb" path="file:///c:/tb/application/"/>
> <web-site path="./default-web-site.xml" />
> <compiler executable="jikes"
> classpath="c:/jdk1.3/jre/lib/rt.jar" />
> </application-server>
>
> Well, just add a line such this to the file,
>
> <web-site path="./myothersite.xml" />
>
> As you can see, it's this easy.. now all you need to do is
> make a copy of "default-web-site.xml" and modify the new
> file.....which in the example is "myothersite.xml"
>
> You will see that the header of this files looks much like:
>
> <web-site log-request-info="true" host="[ALL]" port="80"
> display-name="Default">
>
> ... Now you'll need to change the port to "88" .... and
> you'll be all set....
>
>
> If you wanted to have multiple sites with port "80", instead
> of different ports.. you would modify both files and replace
> the [ALL] with the address you want to bind that web-site to,
> and keep port "80" on both.
>
> Any more questions, just let us know :)
>
>
> Victor Salaman
> -- The Unofficial Orion Support team --
>
>
> -----Original Message-----
> From: Hashim Merchant
> [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 14, 2000 1:46 PM
> To: Orion-Interest
> Subject: Two Instances of orion
>
>
> I have one instance of orion running on the default port
> 80 now I want to run another instance of orion on another
> port (say 88) by using java -jar orion.jar also i should be
> able to shut this instance down using java -jar shutdown.jar
> and all this time the previous instance of orion should be
> on.Is there some way to do this im pretty new to orion...if
> any of u guys have anyideas please help me out.Like is there
> something i can put in the classpath java -jar orion.jar port="88"
> Thank you for your time
>
> Hashim Merchant