Deployment of WAR-files

2003-06-24 Thread Johannes Lietz
I've got a question regarding the deployment of WAR-files in Tomcat:

What is the right way to proceed?
I tried putting my WAR-file into webapps (like I would do e.g. in 
Weblogic), but Tomcat does not recognise it, only if I go to the 
manager-app and use its install feature.

Are there any tutorials or workflow descriptions for this?

Thanks,
Johannes 

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


Re: Deployment of WAR-files

2003-06-24 Thread Johannes Lietz
Yes, both autoDeploy and unpackWARs are true.

- Johannes

On Dienstag, Juni 24, 2003, at 04:45  Uhr, John Turner wrote:

Do you have autoDeploy set to true in server.xml?

John

On Tue, 24 Jun 2003 16:40:31 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

I've got a question regarding the deployment of WAR-files in Tomcat:

What is the right way to proceed?
I tried putting my WAR-file into webapps (like I would do e.g. in 
Weblogic), but Tomcat does not recognise it, only if I go to the 
manager- app and use its install feature.

Are there any tutorials or workflow descriptions for this?

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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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


Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all 
webapps but the ROOT webapp because Apache will not look for static 
content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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


Re: Apache/Tomcat Configuration Problem

2003-05-29 Thread Johannes Lietz
Sorry, I was mistaken:

I've got several webapps under tomcat/webapps and one virtualhost.
Let's say I've got app1 and app1/image.gif.
If I call:
http://localhost/app1/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/app1/image.gif
and everything is perfect.
Then I've got the root-app and ROOT/image.gif.
If I call:
http://localhost/image.gif
Apache will look for:
/usr/local/bin/tomcat/webapps/image.gif
and give a 404 because my gif actually is in 
/usr/local/bin/tomcat/webapps/ROOT/image.gif

Therefore I need something to redirect requests for the root app to 
/usr/local/bin/tomcat/webapps/ROOT.

- Johannes



On Mittwoch, Mai 28, 2003, at 07:20  Uhr, John Turner wrote:

You're saying that if you make your DocumentRoot webapps/ROOT that 
Apache doesn't serve content in that directory?  What error message 
does Apache display?

The ROOT webapp is special as far as Tomcat is concerned.

John

On Wed, 28 May 2003 17:28:57 +0200, Johannes Lietz 
[EMAIL PROTECTED] wrote:

This is a minor problem, but I have no idea yet:

In httpd.conf I configured VirtualHosts with a DocumentRoot like this:

VirtualHost *
...
DocumentRoot /usr/local/bin/tomcat/webapps
...
Location /*.jsp
JkUriSet worker ajp13:localhost:8009
/Location
Location ~ /*/servlet/*
JkUriSet worker ajp13:localhost:8009
/Location
...
/VirtualHost
This makes Apache serve all static content, and it works for all 
webapps but the ROOT webapp because Apache will not look for static 
content in /usr/local/bin/tomcat/webapps/ROOT.

Who knows how to do this properly?

Thanks,
Johannes


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



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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