WAR fails to auto expand ?

2002-11-11 Thread Paul Campbell
In the Application Developer at the page noted below, I find information about the behavior of a .war file. http://localhost:8080/tomcat-docs/appdev/deployment.html It says: Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will

Re: WAR fails to auto expand ?

2002-11-11 Thread Kwok Peng Tuck
Do you see any errors in $CATALINA_HOME/logs/catalina.out or in the console (might be in the log files as well) ? Paul Campbell wrote: In the Application Developer at the page noted below, I find information about the behavior of a .war file.

Re: WAR fails to auto expand ?

2002-11-11 Thread Paul Campbell
I have an context entry in server.xml where I specify debug=9 and logging to unique log file: This is the log file: StandardContext[/equiv]: Starting StandardContext[/equiv]: Processing start(), current available=false StandardContext[/equiv]: Configuring default Resources

Re: WAR fails to auto expand ?

2002-11-11 Thread Kwok Peng Tuck
What is your webapp name in the first place? Also if you run it from the command line do you see output ? What's the contents of $CATALINA_HOME/logs/catalina.out ? Paul Campbell wrote: I have an context entry in server.xml where I specify debug=9 and logging to unique log file: This is the log

Re: WAR fails to auto expand ?

2002-11-11 Thread Jon Eaves
Check that the Host element is supporting the expanding of WAR files. (in server.xml) Host name=myhostname unpackWARs=true ... stuff ... /host Paul Campbell wrote: I have an context entry in server.xml where I specify debug=9 and logging to unique log file: This is the log file: Cheers, --

RE: WAR fails to auto expand ?

2002-11-11 Thread Johnny Cui
-- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org Hi all, I am trying to deploy a filter to my application in Tomcat 4.1.12, since the code for filter is a sample code from reference book

Re: WAR fails to auto expand ?

2002-11-11 Thread Paul Campbell
Yes it looks ok. !-- Define the default virtual host -- Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true At 10:22 PM 11/11/02, you wrote: Check that the Host element is supporting the expanding of WAR files. (in server.xml) Host name=myhostname

Re: WAR fails to auto expand ?

2002-11-11 Thread Jacob Kjome
You probably have the context defined in server.xml, right? If so, you have to expand the directory yourself before Tomcat starts. The auto-deploy will only work if you *don't* have a Context defined with a docBase attribute that matches the name of the .war file (minus .war). For