RE: Automatic Application Deployment
I actually found the problem in my web.xml file. I sort of figured out what needs to go in there, but I really need a tutorial that is in layman's terms. The docs included with Tomcat regarding the web.xml file just say to read the servlet spec. The servlet spec assumes that a "real web developer" is the reader. I need something that will help a newbie understand the web.xml file. Can anyone point me to some descent documentation? Thanks in advance!! Brad Moreland -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 24, 2001 8:53 PM To: [EMAIL PROTECTED] Subject: Re: Automatic Application Deployment What you are describing should work. Are there any messages in the log files that might point at problems in deploying the app? Craig On Wed, 24 Oct 2001 [EMAIL PROTECTED] wrote: > Date: Wed, 24 Oct 2001 11:07:11 -0500 > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: Automatic Application Deployment > > Hi! > I am attempting to Auto Deploy a war (clmtest.war in this case) file. I put > it in the appBase ($CATALINA_HOME/webapps) and it expands automatically as > expected when I restart tomcat. My problem is that I cannot access my pages > from a browser. I continue to get the standard 404 error that "The > requested resource (/clmtest/) is not available. ". If I add a context > manually to my server.xml file it works fine. I am under the impression > according to the documentation that I should not have to manually add a > context. > I'm using Solaris 8 and Tomcat 4.0.1 > Help!? > Thanks in advance!! > Brad Moreland > > +++The information transmitted is intended only for the person or entity to > which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of, or > taking of any action in reliance upon, this information by persons or > entities other than the intended recipient is prohibited. If you received > this in error, please contact the sender and destroy any copies of this > document.+++ > +++The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this document.+++
RE: WAR auto-deploy & context permissions
Carl: I assume you are using a unix variant. You could chown all of the new files in the webapps directory... You could add this to the startup script. Brad Moreland -Original Message- From: Carl Bacher [mailto:[EMAIL PROTECTED]] Sent: Friday, October 19, 2001 2:22 PM To: [EMAIL PROTECTED] Subject: WAR auto-deploy & context permissions I'm trying to create contexts for the developers at my site by simply posting the war file, eg. mycontext.war, in the webapps directory and restarting tomcat, which creates and automatically extracts it to a context directory named mycontext. It works fine, but the permissions on the directories and files are all only writeable / executable to the owner, which is root (presumably because tomcat was started as root). They are also all in the root group. Is there a way to configure tomcat such that, when the war file is extracted, the expanded context directory hierarchy has the permissions it was either jarred up with, or uses an owner/group other than root so that the permissions can be updated by someone in that group? I'm currently just specifying the context in the server.xml file, creating the directory in webapps and extracting the war file manually, which works just fine. Thanks, Carl +++The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this document.+++
Automatic Application Deployment
Hi! I am attempting to Auto Deploy a war (clmtest.war in this case) file. I put it in the appBase ($CATALINA_HOME/webapps) and it expands automatically as expected when I restart tomcat. My problem is that I cannot access my pages from a browser. I continue to get the standard 404 error that "The requested resource (/clmtest/) is not available. ". If I add a context manually to my server.xml file it works fine. I am under the impression according to the documentation that I should not have to manually add a context. I'm using Solaris 8 and Tomcat 4.0.1 Help!? Thanks in advance!! Brad Moreland +++The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and destroy any copies of this document.+++