RE: Tomcat 5.5 configuration

2007-08-01 Thread Caldarale, Charles R
> From: Susan Richards [mailto:[EMAIL PROTECTED] 
> Subject: Re: Tomcat 5.5 configuration
> 
> "Under each appBase directory, install the appropriate
> webapp as ROOT.war or in the ROOT directory

I guess that wasn't clear enough.  An expanded webapp (one not packaged
in a .war file) that you want as the default webapp must be installed AS
the ROOT directory under the corresponding 's appBase directory.
At no time may webapps be nested.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5 configuration

2007-08-01 Thread Susan Richards
Chuck said this:
 
"Under each appBase directory, install the
appropriate webapp as ROOT.war or in the ROOT directory (case sensitive
naming)."
 
I changed my server.xml to this:
 


When I open the URL http://test-infoline.matc.edu, I still go right to the 
manager.  What am I doing wrong?

>>> "Hassan Schroeder" <[EMAIL PROTECTED]> 8/1/2007 10:33 AM >>>
On 8/1/07, Susan Richards <[EMAIL PROTECTED]> wrote:
> Thanks.  When I use the Tomcat Manager to deploy the war files, it puts them 
> under webapps, not under ROOT.  Can I change this?

? No, that's where they're supposed to go.

Why would you want to change that?

-- 
Hassan Schroeder  [EMAIL PROTECTED] 

-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



Re: Tomcat 5.5 configuration

2007-08-01 Thread Hassan Schroeder
On 8/1/07, Susan Richards <[EMAIL PROTECTED]> wrote:
> Thanks.  When I use the Tomcat Manager to deploy the war files, it puts them 
> under webapps, not under ROOT.  Can I change this?

? No, that's where they're supposed to go.

Why would you want to change that?

-- 
Hassan Schroeder  [EMAIL PROTECTED]

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.5 configuration

2007-08-01 Thread Susan Richards
Thanks.  When I use the Tomcat Manager to deploy the war files, it puts them 
under webapps, not under ROOT.  Can I change this?

>>> "Caldarale, Charles R" <[EMAIL PROTECTED]> 7/31/2007 10:20 PM >>>
> From: Susan Richards [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 5.5 configuration
> 
> In Tomcat 5.0.28, I had this in my server.xml:
>  appBase="/www/apps/tomcat/webapps">
>   
> 

The above - having docBase equal to appBase - was never intended to
work; that it ever did anything useful at all was an accident.  In
current versions of Tomcat, do not put  elements in server.xml,
and do not use the path or docBase attributes, except in special
circumstances.

> I really want to have 3 domain names on one server and be 
> able to type in all three urls and go to the correct web
> application.

If you mean that the three domain names each have a separate default
webapp, then you should set up three  elements in server.xml, one
for each desired domain name.  Within each  define a unique value
for its appBase directory.  Under each appBase directory, install the
appropriate webapp as ROOT.war or in the ROOT directory (case sensitive
naming).  No filter required.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org 
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



RE: Tomcat 5.5 configuration

2007-07-31 Thread Caldarale, Charles R
> From: Susan Richards [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 5.5 configuration
> 
> In Tomcat 5.0.28, I had this in my server.xml:
>  appBase="/www/apps/tomcat/webapps">
>   
> 

The above - having docBase equal to appBase - was never intended to
work; that it ever did anything useful at all was an accident.  In
current versions of Tomcat, do not put  elements in server.xml,
and do not use the path or docBase attributes, except in special
circumstances.

> I really want to have 3 domain names on one server and be 
> able to type in all three urls and go to the correct web
> application.

If you mean that the three domain names each have a separate default
webapp, then you should set up three  elements in server.xml, one
for each desired domain name.  Within each  define a unique value
for its appBase directory.  Under each appBase directory, install the
appropriate webapp as ROOT.war or in the ROOT directory (case sensitive
naming).  No filter required.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Tomcat 5.5 Configuration Question

2006-08-01 Thread Christopher Schultz
James,

I think you can't use auto-deploy for this: you need to do this:



signature.asc
Description: OpenPGP digital signature


Re: Tomcat 5.5 configuration problem

2006-05-08 Thread Mark Thomas
Tom Bednarz wrote:
> With my current configuation the tomcat startup page appears. If I look
> in the manager application, I see the two hosts 'localhost' and
> 'my.mycompany.com'. Under both hosts I see the SAME list of
> webapplications.
This is because they use the same appBase. For different apps per host,
use different a appBase for each host and deploy the applications
accordingly.

> Could anybody explain what additional configuration is required on
> Tomcat 5.5.
Rename app2 to ROOT (and make sure it is in the right appBase for the host).

Mark

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]