Hey Sameer,
In addition to Robin's information I can point you to an article I
wrote for CFDJ (shameless self promotion ;)) on my experiences with
Jrun and multiple instances:

http://www.sys-con.com/story/?storyid=43994

Benjamin Blackwell also had an article published on CFMX and JRun that
month which is well worth a read too:

http://www.sys-con.com/story/?storyid=43994

And finally here is a link to a page I put together on JRUN and CFMX
with a whole heap of JRun resources:

http://gregs.tcias.co.uk/jrun/jrun_resources.cfm

Hope this helps!

Cheers
Greg

On Fri, 14 Jan 2005 21:06:58 +1100, Robin Hilliard
<[EMAIL PROTECTED]> wrote:
> Sameer Kekade wrote:
> > The difficult part I think is to configure virtual hosts/ jrun-apache
> > connector
> > so that www.site1.com.au translates to http://server-ip/site1
> > And www.site2.com.au translates to http://server-ip/site2
> 
> I posted about this a few weeks back.  Create a JRun server instance
> with only CF installed (get rid of the Remoting EAR and Default WAR that
> are created by default) and give CF an empty context root.  Take note of
> the server port eg 51003 when you create the server.  For apache, use
> wsconfig as per instructions to install the connector for all sites.
> Then create a virtual host:
> 
> <VirtualHost *:80>
>      ServerAdmin [EMAIL PROTECTED]
>      DocumentRoot /users/robin/sandboxes/rocketbootssite/wwwroot
>      ServerName rocketboots.local
>      Options Indexes
>          <IfModule mod_jrun20.c>
>          JRunConfig Verbose true
>          JRunConfig Serverstore
> /Applications/JRun4/lib/wsconfig/rocketbootssite/jrunserver.store
>          JRunConfig Bootstrap 127.0.0.1:51003
>          AddHandler jrun-handler .cfm .cfml .cfc .mxml
>          </IfModule>
> </VirtualHost>
> 
> In the JRun console make sure the connector port service is running -
> usually you have to turn it on yourself the first time.  Restart apache
> and the instance and your first virtual site should be in business.
> When you create second and subsequent server instances they will have
> different connector ports, just update the relevant sections of the
> virtual host config to connect to those.  You can also have multiple
> virtual hosts use the same JRun instance.
> 
> Robin
> http://www.rocketboots.com.au
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 


-- 
e: greg.stewart(a)gmail.com
w: http://gregs.tcias.co.uk/

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to