Tomcat Settings for Multiple Websites

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Tomcat Settings for Multiple Websites

porkiey
Hi Everyone,

I am currently setting up OFBiz for multiple websites, there is lots of examples out there that seem to only work for tomcat 5.5 for example here is a working config


   <webapp name="ecommerce-1"
        title="eCommerce Number 1"
        server="default-server"
        location="webapp/ecommerce-1"
        mount-point="/"
        app-bar-display="false">
        <virtual-host host-name="www.ecommerce1.com"/>
     </webapp>    

    <webapp name="ecommerce-2"
        title="OFBiz"
        server="default-server"
        location="webapp/ecommerce-2"
        mount-point="/"
        app-bar-display="false" >
<virtual-host host-name="www.ecommerce2.com"/>
      </webapp>


However this does not seem to work with the default tomcat which is 6 in OFBiz? Does anyone have any cheats to make it work?
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat Settings for Multiple Websites

David E Jones-3

I think in theory that should still work for Tomcat 6... unless  
something didn't make it in the updated integration.

What sort of problem(s) are you running into?

-David


On Dec 2, 2008, at 4:10 AM, Sam Hamilton wrote:

> Hi Everyone,
>
> I am currently setting up OFBiz for multiple websites, there is lots  
> of examples out there that seem to only work for tomcat 5.5 for  
> example here is a working config
>
>
>   <webapp name="ecommerce-1"
>        title="eCommerce Number 1"
>        server="default-server"
>        location="webapp/ecommerce-1"
>        mount-point="/"
>        app-bar-display="false">
>        <virtual-host host-name="www.ecommerce1.com"/>
>     </webapp>
>
>    <webapp name="ecommerce-2"
>        title="OFBiz"
>        server="default-server"
>        location="webapp/ecommerce-2"
>        mount-point="/"
>        app-bar-display="false" >
> <virtual-host host-name="www.ecommerce2.com"/>
>      </webapp>
>
>
> However this does not seem to work with the default tomcat which is  
> 6 in OFBiz? Does anyone have any cheats to make it work?

Reply | Threaded
Open this post in threaded view
|

RE: Tomcat Settings for Multiple Websites

porkiey
Hi David,
That's the thing we use the same config in Tomcat 6 but it just does not work and there is no error logged either? Then if we switch over to Tomcat 5.5 it works?

Sam



-----Original Message-----
From: David E Jones [mailto:[hidden email]]
Sent: 03 December 2008 01:06
To: [hidden email]
Subject: Re: Tomcat Settings for Multiple Websites


I think in theory that should still work for Tomcat 6... unless  
something didn't make it in the updated integration.

What sort of problem(s) are you running into?

-David


On Dec 2, 2008, at 4:10 AM, Sam Hamilton wrote:

> Hi Everyone,
>
> I am currently setting up OFBiz for multiple websites, there is lots  
> of examples out there that seem to only work for tomcat 5.5 for  
> example here is a working config
>
>
>   <webapp name="ecommerce-1"
>        title="eCommerce Number 1"
>        server="default-server"
>        location="webapp/ecommerce-1"
>        mount-point="/"
>        app-bar-display="false">
>        <virtual-host host-name="www.ecommerce1.com"/>
>     </webapp>
>
>    <webapp name="ecommerce-2"
>        title="OFBiz"
>        server="default-server"
>        location="webapp/ecommerce-2"
>        mount-point="/"
>        app-bar-display="false" >
> <virtual-host host-name="www.ecommerce2.com"/>
>      </webapp>
>
>
> However this does not seem to work with the default tomcat which is  
> 6 in OFBiz? Does anyone have any cheats to make it work?