manager not unpacking war files

2005-08-22 Thread erh
I'm trying to get the Tomcat manager app to unpack war files when I install them. (using Deploy directory or WAR file located on server) The only setting I found that is supposed to control this is unpackWARs, so I have this in my server.xml: Host name=localhost debug=0 appBase

RE: Virtual Hosting with WAR files

2005-08-17 Thread Mahesh S Kudva
Thanks to all. This setup has been tested on Apache2+JBoss+mod_jk-1.2.14_for MacOSX. And am sure it will work on other platforms as well. This setup also handles Apache related webapps.. Make the required entries in the DNS webapp.war: Extract the war file using zip and rename the folder

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
/webapps/ROOT.war and ensure it does not contain any META-INF/context.xml file -- /Host /Engine Ensure the 3 sets of webapps and work directories are writable by the userid your JVM is running as. Mahesh S Kudva wrote: I have setup Tomcat+Apache2+mod_jk. I have 3 application in war files

Re: Virtual Hosting with WAR files

2005-08-16 Thread Pete Stevens
have 3 application in war files namely flie1.war, file2.war and file3.war. To deploy, I just put them in the deploy folder and access then using the urls: http://foo.com/file1 http://foo.com/file2 http://foo.com/file3 This works perfectly for me. I want to change this to simple urls

Re: Virtual Hosting with WAR files

2005-08-16 Thread Charles Meier
up tomcat to do virtual hosting and behave more like apache with regard to virtual hosts. Yours, Pete Stevens On Tue, 16 Aug 2005, Mahesh S Kudva wrote: Hi I have setup Tomcat+Apache2+mod_jk. I have 3 application in war files namely flie1.war, file2.war and file3.war. To deploy, I just put

SV: Virtual Hosting with WAR files

2005-08-16 Thread Michael Salmon
Users List Emne: Re: Virtual Hosting with WAR files Try reading this, http://www.ex-parrot.com/~pete/tomcat-vhost.html It's a receipe for setting up tomcat to do virtual hosting and behave more like apache with regard to virtual hosts. Yours, Pete Stevens On Tue, 16 Aug 2005, Mahesh S Kudva

Re: Virtual Hosting with WAR files

2005-08-16 Thread Darryl L. Miles
Charles Meier wrote: If I understand this setup correctly, you would be running one instance of Tomcat for all of your virtual hosts. This has the disadvantage that if one virtual host needs to be restarted, you will need to restart Tomcat for all of your virtual hosts. An alternative is

Virtual Hosting with WAR files

2005-08-15 Thread Mahesh S Kudva
Hi I have setup Tomcat+Apache2+mod_jk. I have 3 application in war files namely flie1.war, file2.war and file3.war. To deploy, I just put them in the deploy folder and access then using the urls: http://foo.com/file1 http://foo.com/file2 http://foo.com/file3 This works perfectly for me. I want

war files not deploying on redhat

2005-08-04 Thread Paul Warner
Hello, I have read the documentation and searched the archives, and whatever I have found, I have tried, but still my .war files will not unpack and auto deploy. I have been running a tomcat server for several months in which the .war files unpacked and auto-deployed perfectly

Re: war files not deploying on redhat

2005-08-04 Thread Edgar Alves
Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves | Paul Warner wrote: Hello, I have read the documentation and searched the archives, and whatever I have found, I have tried, but still my .war files will not unpack and auto deploy

RE: war files not deploying on redhat

2005-08-04 Thread Paul Warner
altered by me, and almost exactly matches the server.xml file on the other machine, the one that works. Thanks, Paul | Paul Warner wrote: Hello, I have read the documentation and searched the archives, and whatever I have found, I have tried, but still my .war files will not unpack and auto

Re: war files not deploying on redhat

2005-08-04 Thread Edgar Alves
A typo in a post about a typo... :) s/|autodeploy/autoDeploy/ Edgar Alves wrote: Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves | Paul Warner wrote: - To

AW: Deployment using WAR files

2005-07-19 Thread Bernhard Slominski
it manually, they reload the application, it's somehow stuid, but working stable. Cheers Bernhard -Ursprüngliche Nachricht- Von: Insyde [mailto:[EMAIL PROTECTED] Gesendet: Montag, 18. Juli 2005 19:47 An: Tomcat Users List Betreff: Deployment using WAR files Hello, I have some questions

Deployment using WAR files

2005-07-18 Thread Insyde
the components of web application to the folder of web application as we used to do. But is that the correct way to do it ? How to could we deploy part of a web application using war files ? Is it possible to do it ? We wonder how people work in order to solve or minimize this situation. Thanks

deploying war files

2005-06-27 Thread Darren Carman
Hi, I have a project which generates log files within the project area. When I deploy a war file to a running tomcat instance the project appears to be deleted and re-created. Is there anyway to deploy automatically without deleting these files (or any files that exist in the project area that

RE: deploying war files

2005-06-27 Thread Phillip Qin
Move your log file out of your context. -Original Message- From: Darren Carman [mailto:[EMAIL PROTECTED] Sent: June 27, 2005 9:39 AM To: tomcat-user@jakarta.apache.org Subject: deploying war files Hi, I have a project which generates log files within the project area. When I deploy

AW: deploying war files

2005-06-27 Thread Bernhard Slominski
: Darren Carman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 27. Juni 2005 15:39 An: tomcat-user@jakarta.apache.org Betreff: deploying war files Hi, I have a project which generates log files within the project area. When I deploy a war file to a running tomcat instance the project appears

Tomcat 5.5.7 will not autodeploy war files

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I apologize up front if this has been answered at some other time. This is my first day on the list and I could not locate a search function for the archives. I am running Tomcat 5.5.7 with Apache 2.0.52 and ModJk 1.2.6 For some reason when I drop a war file in the webapps directory it will

RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread Samara, Fadi N Mr ACSIM/ASPEX
(CONTRACTOR) [mailto:[EMAIL PROTECTED] Sent: Thursday, May 12, 2005 1:19 PM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5.5.7 will not autodeploy war files I apologize up front if this has been answered at some other time. This is my first day on the list and I could not locate a search function

RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread Marquez, Omar
List' Subject: RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED) Classification: UNCLASSIFIED Caveats: NONE Looking at your server.xml file, it should actually autodeploy it. How are you updating the war file ? Copy/paste ? Or you're actually Letting your IDE auto deploy

RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
:37 PM To: 'Tomcat Users List' Subject: RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED) Classification: UNCLASSIFIED Caveats: NONE Looking at your server.xml file, it should actually autodeploy it. How are you updating the war file ? Copy/paste ? Or you're actually Letting your

RE: Tomcat 5.5.7 will not autodeploy war files (UNCLASSIFIED)

2005-05-12 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
will not autodeploy war files (UNCLASSIFIED) I used to have this problem. It was solved when I moved the context entries out of server.xml and into conf/Catalina/localhost as pointed out by: Contexts hardcoded in server.xml are not autodeployed or manageable (except to some extent through the admin

WAR files and web.xml

2005-04-01 Thread Mark
I have a question concerning the generation of a war file and my web.xml file. I want to create a WAR file for my web application using Ant, and place my web.xml file into the WAR file. The problem I have is that once the web.xml file is placed into the web.xml file, users/admins will not be

RE: WAR files and web.xml

2005-04-01 Thread David Owens
List Subject: WAR files and web.xml I have a question concerning the generation of a war file and my web.xml file. I want to create a WAR file for my web application using Ant, and place my web.xml file into the WAR file. The problem I have is that once the web.xml file is placed

Re: WAR files and web.xml

2005-04-01 Thread Lionel Farbos
For the same needs, I use the Context.xml outside the war. use the tags Parameter .../ to pass your admin parameters. Regards. On Fri, 1 Apr 2005 08:26:37 -0500 Mark [EMAIL PROTECTED] wrote: I have a question concerning the generation of a war file and my web.xml file. I want to create a WAR

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
to Listener which is home.Base. Set this where you normally put user/public_html directory. For example on mine, its set as homeBase=/home and user home is /home/sergio. Once this is working, any war files on your /home/user/public_html should get expanded. --- Dwayne Ghant [EMAIL PROTECTED

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
. For example on mine, its set as homeBase=/home and user home is /home/sergio. Once this is working, any war files on your /home/user/public_html should get expanded. --- Dwayne Ghant [EMAIL PROTECTED] wrote: Anybody won't to take a shoot at this? Dwayne Ghant

Re: WAR files and Eclipse

2004-12-16 Thread sven morales
is home.Base. Set this where you normally put user/public_html directory. For example on mine, its set as homeBase=/home and user home is /home/sergio. Once this is working, any war files on your /home/user/public_html should get expanded. --- Dwayne Ghant [EMAIL PROTECTED

Re: WAR files and Eclipse

2004-12-15 Thread Dwayne Ghant
within the Tomcat properties. 5. Enter the path that tells Tomcat where to generate your War file. The path name should include the file name of the War file. I normally put my War files in a folder called 'war' directly beneath the project so my WAR file for export looks like this: D:\eclipse

Re: WAR files and Eclipse

2004-12-15 Thread sven morales
I think there is another attribute to Listener which is home.Base. Set this where you normally put user/public_html directory. For example on mine, its set as homeBase=/home and user home is /home/sergio. Once this is working, any war files on your /home/user/public_html should get

Re: WAR files and Eclipse

2004-12-14 Thread Dwayne Ghant
where to generate your War file. The path name should include the file name of the War file. I normally put my War files in a folder called 'war' directly beneath the project so my WAR file for export looks like this: D:\eclipse\workspace\MyProject\war\MyProject.war. Naturally, you are free

WAR files and Eclipse

2004-12-13 Thread Daniel Watrous
Hello All, I am new to WAR files and eclipse. Many searches on google bring me to the sysdeo tomcat plugin, which I have installed. I want to know if there is some standard way to generate a WAR file for deployment. I have found that I can export a JAR file and change its name

Re: WAR files and Eclipse

2004-12-13 Thread Rhino
' from the tree on the left. 4. Click on the 'Export to WAR settings' tab within the Tomcat properties. 5. Enter the path that tells Tomcat where to generate your War file. The path name should include the file name of the War file. I normally put my War files in a folder called 'war' directly beneath

Re: WAR files and Eclipse

2004-12-13 Thread Jonathan Wilson
Eclipses' hoops for java/J2EE stuff. Your mileage may vary. --JW Phillip Qin wrote: It is very easy. Use ant's war task. -Original Message- From: Daniel Watrous [mailto:[EMAIL PROTECTED] Sent: December 13, 2004 3:44 PM To: [EMAIL PROTECTED] Subject: WAR files and Eclipse Hello All, I am

RE: WAR files and Eclipse

2004-12-13 Thread Phillip Qin
It is very easy. Use ant's war task. -Original Message- From: Daniel Watrous [mailto:[EMAIL PROTECTED] Sent: December 13, 2004 3:44 PM To: [EMAIL PROTECTED] Subject: WAR files and Eclipse Hello All, I am new to WAR files and eclipse. Many searches on google bring me to the sysdeo

Re: Configuration Management, JSP Recompiles, War Files

2004-11-09 Thread Peter Johnson
Steven J. Owens wrote: Peter, On Tue, Nov 09, 2004 at 08:42:34AM +1100, Peter Johnson wrote: We run 5 Tomcat servers (still on 4.1.x so not clustered) and use CVS with two tags: 'stage' and 'prod'. I'm a little unclear on what this means - do you mean branches? Or do you mean

RE: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Shapira, Yoav
To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuration Management, JSP Recompiles, War Files On Sat, Nov 06, 2004 at 03:20:46AM -0500, Steven J. Owens wrote: On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote: If I understand correctly, WAR file is just a glorified

RE: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Peter Crowther
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] One great way to approach production setups for Tomcat is one webapp per Tomcat instance. Restarts are then quick and easy, and no matter what this one webapp does (OutOfMemoryErrors, malicious code, etc.) it can't affect others you have

Re: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Peter Johnson
. Somebody I talked to suggested that using a WAR file and redeploying would make tomcat more reliably recompile the JSPs. I've been meaning to move to using WAR files sooner or later, but one question has always bugged me - how do you save your deployment-specific configuration info? If I

Re: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Steven J. Owens
Peter, Yoav, Thanks for the advice. Now if I could just ask for a letle more... :-) On Mon, Nov 08, 2004 at 01:14:22PM -, Peter Crowther wrote: From: Shapira, Yoav [mailto:[EMAIL PROTECTED] One great way to approach production setups for Tomcat is one webapp per Tomcat

Re: Configuration Management, JSP Recompiles, War Files

2004-11-08 Thread Steven J. Owens
Peter, On Tue, Nov 09, 2004 at 08:42:34AM +1100, Peter Johnson wrote: We run 5 Tomcat servers (still on 4.1.x so not clustered) and use CVS with two tags: 'stage' and 'prod'. I'm a little unclear on what this means - do you mean branches? Or do you mean that you effectively do

Re: Configuration Management, JSP Recompiles, War Files

2004-11-06 Thread Steven J. Owens
On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote: If I understand correctly, WAR file is just a glorified JAR file, which in turn is just a glorified tar file. So unless you're unjarring it, editing the config file and rejarring it, you can't really muck with the config

Re: Configuration Management, JSP Recompiles, War Files

2004-11-06 Thread Steven J. Owens
On Sat, Nov 06, 2004 at 03:20:46AM -0500, Steven J. Owens wrote: On Mon, Oct 25, 2004 at 09:15:41AM -0400, Shapira, Yoav wrote: If I understand correctly, WAR file is just a glorified JAR file, which in turn is just a glorified tar file. So unless you're unjarring it, editing the

Re: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread Tim Funk
the foo_jsp.java and foo_jsp.class files from the tomcat/working/etc directory and *then* restarting seems to do the trick. Somebody I talked to suggested that using a WAR file and redeploying would make tomcat more reliably recompile the JSPs. I've been meaning to move to using WAR files sooner

Re: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread QM
On Sun, Oct 24, 2004 at 11:00:38PM -0400, Steven J. Owens wrote: : I'm interested in hearing how people are dealing with : configuration management issues. : : We've been running into some problems with JSP recompiles, : particularly when the changed JSP is an included JSP. : [snip]

RE: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread Allistair Crossley
until the new webapp is ready? -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: 25 October 2004 12:18 To: Tomcat Users List; [EMAIL PROTECTED] Subject: Re: Configuration Management, JSP Recompiles, War Files On Sun, Oct 24, 2004 at 11:00:38PM -0400, Steven J. Owens

Re: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread QM
On Mon, Oct 25, 2004 at 12:28:27PM +0100, Allistair Crossley wrote: : your suggestion is precisely what we do here, but it still leads to 5 minutes : downtime (web server nice maintenance page, removing old war, unpacking new : war takes time). I guess my clients have always listed this as a

RE: Configuration Management, JSP Recompiles, War Files

2004-10-25 Thread Shapira, Yoav
Hi, If I understand correctly, WAR file is just a glorified JAR file, which in turn is just a glorified tar file. So unless you're unjarring it, editing the config file and rejarring it, you can't really muck with the config settings inside it. How/where do people normally keep the

Configuration Management, JSP Recompiles, War Files

2004-10-24 Thread Steven J. Owens
been meaning to move to using WAR files sooner or later, but one question has always bugged me - how do you save your deployment-specific configuration info? If I understand correctly, WAR file is just a glorified JAR file, which in turn is just a glorified tar file. So unless you're

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Shapira, Yoav
Hi, Can you turn off unpackWARs for your Host and run from a packed WAR? Yoav Shapira Millennium Research Informatics -Original Message- From: Wick, Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 9:12 PM To: '[EMAIL PROTECTED]' Subject: problem redeploying war files

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Wick, Daniel
I'm not as familiar with deployments. --Dan -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 8:05 AM To: Tomcat Users List Subject: RE: problem redeploying war files on tomcat 4.x Hi, Can you turn off unpackWARs for your Host and run from

Re: problem redeploying war files on tomcat 4.x

2004-10-06 Thread QM
On Wed, Oct 06, 2004 at 08:12:32AM -0500, Wick, Daniel wrote: : Thanks Yoav. Well, inside the application, users upload things into the : application directories. That's why I have to expand the war...and also : don't want to delete every time we deploy. It sounds like the uploaded files and

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Shapira, Yoav
Millennium Research Informatics -Original Message- From: Wick, Daniel [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 9:13 AM To: 'Tomcat Users List' Subject: RE: problem redeploying war files on tomcat 4.x Thanks Yoav. Well, inside the application, users upload things

RE: problem redeploying war files on tomcat 4.x

2004-10-06 Thread Wick, Daniel
[mailto:[EMAIL PROTECTED] Sent: Wednesday, October 06, 2004 8:23 AM To: Tomcat Users List Subject: RE: problem redeploying war files on tomcat 4.x Hi, If you tell the server to unpack your WAR, it does, but then it won't remove the unpacked directory because you (or your web designers) may have

problem redeploying war files on tomcat 4.x

2004-10-05 Thread Wick, Daniel
Hi. I have an existing application deployed as a war file. When I update the war file, stop and start tomcat again, the war file is not re-expanding over the old deployment. I have set the permissions to 777 so it should not be a permissions issue. It works if I delete the existing directory

2 War files for one Application

2004-06-02 Thread mpforste
I would like to know if it is possible to have 2 War files for one application. The problem... I have to upload changes to the server and the link is not that fast. The current War file is 27mb in size, but the changeable parts are only about 1mb at most (the jar file inside is only 187kb

Re: 2 War files for one Application

2004-06-02 Thread QM
On Wed, Jun 02, 2004 at 01:54:30PM +0100, mpforste wrote: : I would like to know if it is possible to have 2 War files for one : application. Sounds like something that would violate the servlet spec. A webapp is supposed to be a (fairly) self-contained package. : Is it possible to have 2

Re: 2 War files for one Application

2004-06-02 Thread Parsons Technical Services
www.parsonstechnical.com - Original Message - From: mpforste [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 8:54 AM Subject: 2 War files for one Application I would like to know if it is possible to have 2 War files for one application

Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Jonathan Eric Miller
I noticed that if you have unpackWARs set to false and you update a WAR file, it doesn't reload it. According to the Tomcat documentation at the following link, it only does it for unpacked WAR files. Why? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application

RE: Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Shapira, Yoav
to use). Yoav Shapira Millennium Research Informatics -Original Message- From: Jonathan Eric Miller [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 1:20 PM To: Tomcat User List Subject: Why don't updated unpacked WAR files get reloaded automatically? I noticed that if you have

Re: Why don't updated unpacked WAR files get reloaded automatically?

2004-05-27 Thread Jonathan Eric Miller
: Why don't updated unpacked WAR files get reloaded automatically? Hi, Because you may have changed the contents of the unpacked directory, and a redeployment of the WAR (which includes unpacking it) would overwrite your changes. We'd rather be extra careful and require the user to explicitly

Re: Re: Tomcat cannot unpack war files

2004-05-04 Thread Parsons Technical Services
- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 04, 2004 2:48 AM Subject: Re: Re: Tomcat cannot unpack war files Hi Jep, no folder exists. Lars, Does the folder name matching the war file name exist? If it has been created and not removed then Tomcat will not Deploy the war

Tomcat cannot unpack war files

2004-05-03 Thread Lars Ole Ruben Christoffersen
Hi Version Tomcat 4.1.18 OS: SUSE Linux kernel 4.2 Java: 1.4.2 unpackWars and autodeploy is set to true in server.xml BUT: Tomcat will not auto deploy or unpack the war files. Regards Lars Christoffersen - To unsubscribe, e

Re: Tomcat cannot unpack war files

2004-05-03 Thread Parsons Technical Services
] Sent: Tuesday, May 04, 2004 1:35 AM Subject: Tomcat cannot unpack war files Hi Version Tomcat 4.1.18 OS: SUSE Linux kernel 4.2 Java: 1.4.2 unpackWars and autodeploy is set to true in server.xml BUT: Tomcat will not auto deploy or unpack the war files. Regards Lars Christoffersen

security permissions war files

2004-03-19 Thread Hollister Scholte
Hi, I'm having a hard time with the security permissions for a webapp using tomcat 4.1.30. The application needs to write files to the java.io.tmp directory and it works fine in the first scenario ( without a war file ) but in the second scenario I keep getting:

Unable to use war-files with tomcat 5.0.18 / Linux

2004-02-26 Thread Martin Morawetz
Problem: tomcat doesn't unpack war files when run as daemon! The error-message in logs/catalina.out is: Feb 26, 2004 11:46:41 AM org.apache.catalina.startup.HostConfig deployWARs WARNING: Exception while expanding web application archive myapp-0.1-dev.war The message unfortunately comes without

Re: Unable to use war-files with tomcat 5.0.18 / Linux

2004-02-26 Thread Martin Morawetz
Thanks for your reply! The daemon process runs as 'nobody'. I changed the owner of the war-files to 'nobody' too, but still Tomcat isn't able to unpack the war-files. Changing the permissions of the war-files to '777' didn't help either, so I don't think it's the permissions. Shapira, Yoav

RE: Unable to use war-files with tomcat 5.0.18 / Linux

2004-02-26 Thread Shapira, Yoav
Howdy, File permissions for the daemon process maybe? Yoav Shapira Millennium ChemInformatics -Original Message- From: Martin Morawetz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:12 AM To: [EMAIL PROTECTED] Subject: Unable to use war-files with tomcat 5.0.18 / Linux

auto (re)deploy for war files which need to be expanded

2003-11-26 Thread Rob Harrington
T4127, SunOS, release 5.7 Short version: I want to be able to deploy my .war file into webapps and have it be autodetected, expanded, and used without having to restart Tomcat. I need it to be expanded. I want to avoid restarting Tomcat as this may (adversely) affect other running apps. I

Re: auto (re)deploy for war files which need to be expanded

2003-11-26 Thread Ben Souther
Autodeploy only works when you restart tomcat. Have you looked at the Tomcat Manager app? It allows you to deploy/un-deploy right from a browser. You could also write an ANT script to do this. On Wednesday 26 November 2003 04:42 pm, Rob Harrington wrote: T4127, SunOS, release 5.7 Short

WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all i have my application running at www.demo.local in Tomcat 4.1.24 Linux RH 9 the dir is /webapps/demo and the files are unpacked Now i'd like to clear it and create a WAR file. So i've done this 1. jar cf demo.war * 2. copied the file in /webapps 3. deleted the directory /webapps/demo 4.

WAR files help

2003-09-22 Thread Giorgio Ponza
Hi all i have my application running at www.demo.local in Tomcat 4.1.24 Linux RH 9 the dir is /webapps/demo and the files are unpacked Now i'd like to clear it and create a WAR file. So i've done this 1. jar cf demo.war * 2. copied the file in /webapps 3. deleted the directory /webapps/demo 4.

Can .WAR files be compressed if unpackWARs=false?

2003-09-22 Thread Andoni
hello, Just a quickie. Is there any problem with serving from a compressed .war file? I have been having problems which I cannot explain and have just realised that since using ANT I have been inadvertently compressing my .war file. I cannot find anything to say that this is a problem but

Howto : how to set context specific attributes when using 'war' files

2003-09-02 Thread Detlef Brendle
Hi all, I need to a special treatment of symbolic links as mentioned within this mailinglist before. *** Context path=/myApp docBase=myApp debug=0 Resources className=org.apache.naming.resources.FileDirContext allowLinking=true / /Context *** This works fine

RE: Howto : how to set context specific attributes when using 'war' files

2003-09-02 Thread Shapira, Yoav
, 2003 12:48 PM To: Tomcat Users List Subject: Howto : how to set context specific attributes when using 'war' files Hi all, I need to a special treatment of symbolic links as mentioned within this mailinglist before. *** Context path=/myApp docBase=myApp debug=0 Resources

RE: War files don't work

2003-07-25 Thread EPugh
/ /Context I do have the docBase pointing to my war file. Eric Pugh -Original Message- From: Tang To: Tomcat Users List; [EMAIL PROTECTED] Sent: 7/24/03 9:31 PM Subject: Re: War files don't work Hi, all you need to do is place WAR file into webapps directory, Tomcat will unpack

RE: War files don't work

2003-07-25 Thread EPugh
Users List Sent: 7/23/03 3:18 PM Subject: Re: War files don't work Check out the rules for Auto deployment: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automat ic%20Application%20Deployment John Rick Roberts wrote: This sounds reasonable to me. But, if I don't have

Re: War files don't work

2003-07-25 Thread John Turner
in an unexpanded format. correct? Eric -Original Message- From: John Turner To: Tomcat Users List Sent: 7/23/03 3:18 PM Subject: Re: War files don't work Check out the rules for Auto deployment: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automat ic%20Application%20Deployment

RE: War files don't work

2003-07-24 Thread EPugh
versus fortius doesn't seem to matter at all. I am building my war file using Maven.. could that be the problem? Eric Pugh -Original Message- From: Rick Roberts To: Tomcat Users List Sent: 7/23/03 3:26 PM Subject: Re: War files don't work Making docBase = nsfs.war vice nsfs works

RE: War files don't work

2003-07-24 Thread Bodycombe, Andrew
to reflect your changes. -Original Message- From: Rick Roberts [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 20:27 To: Tomcat Users List Subject: Re: War files don't work Making docBase = nsfs.war vice nsfs works!! :) However; the war file is not being unpacked. It seems that unpackWARs

Re: War files don't work

2003-07-24 Thread Tang
. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, July 24, 2003 6:18 PM Subject: RE: War files don't work I'm joining this thread late, but I posted a couple weeks ago the same problem.. I am running JDK1.4.2 and Tomcat 4.1.24. If I

War files don't work

2003-07-23 Thread Rick Roberts
My server.xml contains this: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true !-- NSFS Context -- Context path=/nsfs docBase=nsfs debug=0 reloadable=true crossContext=true Logger className=org.apache.catalina.logger.FileLogger prefix=nsfs_log. suffix=.txt

RE: War files don't work

2003-07-23 Thread Shapira, Yoav
Howdy, The error I get looks like this: HTTP Status 404 - /nsfs type Status report message /nsfs description The requested resource (/nsfs) is not available. Apache Tomcat/4.1 What the root cause and full stack trace? Yoav Shapira This e-mail, including any attachments, is a

Re: War files don't work

2003-07-23 Thread Rick Roberts
2003-07-23 10:04:43 WebappLoader[/nsfs]: Deploying class repositories to work directory /var/tomcat4/work/Standalone/localhost/nsfs 2003-07-23 10:04:43 WebappLoader[/nsfs]: Reloading checks are enabled for this Context 2003-07-23 10:04:43 ContextConfig[/nsfs]: Missing application web.xml, using

Re: War files don't work

2003-07-23 Thread John Turner
2003-07-23 11:09:30 StandardContext[/nsfs]: Resources start failed: java.lang.IllegalArgumentException: Document base /var/tomcat4/webapps/nsfs does not exist or is not a readable directory Seems self-explanatory to me. John Rick Roberts wrote: 2003-07-23 10:04:43 WebappLoader[/nsfs]:

Re: War files don't work

2003-07-23 Thread Rhino
Does the war file contain a web.xml file that contains entries for the /nsfs servlet? If not, that's likely your problem. Rhino - Original Message - From: Rick Roberts [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:11 PM Subject: War files

Re: War files don't work

2003-07-23 Thread Rick Roberts
John Turner wrote: 2003-07-23 11:09:30 StandardContext[/nsfs]: Resources start failed: java.lang.IllegalArgumentException: Document base /var/tomcat4/webapps/nsfs does not exist or is not a readable directory Seems self-explanatory to me. John Well explain it to me! :) There is a

RE: War files don't work

2003-07-23 Thread Shapira, Yoav
Howdy, 2003-07-23 11:09:30 StandardContext[/nsfs]: Resources start failed: java.lang.IllegalArgumentException: Document base /var/tomcat4/webapps/nsfs does not exist or is not a readable directory Well explain it to me! :) There is a /var/tomcat4/webapps/nsfs.war file. There should not be

Re: War files don't work

2003-07-23 Thread Rick Roberts
PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:11 PM Subject: War files don't work My server.xml contains this: Host name=localhost debug=0 appBase=webapps unpackWARs=true autoDeploy=true !-- NSFS Context -- Context path=/nsfs docBase=nsfs debug=0 reloadable=true

Re: War files don't work

2003-07-23 Thread Rick Roberts
My directory permissions are as follows: drwxrwx---7 root tomcat4 4096 Jul 23 12:17 webapps ps -ef shows me this, which is think is Tomcat, which is run by user tomcat4: tomcat4 6199 1 0 12:17 pts/200:00:36 /usr/java/jdk1.4/bin/java -Djava.endorsed.dirs= -classpath

Re: War files don't work

2003-07-23 Thread John Turner
You've told Tomcat the docBase is nsfs. Tomcat thusly looks for a directory called nsfs in the Host's appBase. If it finds it, and unpackWars is true, it will unpack your WAR file into that directory (webapps/nsfs, NOT webapps). Thus, Tomcat needs r+w on webapps/nsfs. Does Tomcat have r+w on

Re: War files don't work

2003-07-23 Thread Rick Roberts
Does the nsfs.war file go into webapps directory or into webapps/nsfs directory? Currently, the webapps/nsfs dir does not exist. There is only the nsfs.war file setting in the webapps directory. I am assuming that Tomcat will create the webapps/nsfs directory for me when it expands the war

Re: War files don't work

2003-07-23 Thread John Turner
nsfs.war goes in webapps. How about just creating the directory and seeing what happens? In any case, if you're using WAR files, there's no reason to have a Context defined in server.xml, that's probably what is confusing Tomcat. Tomcat is reading server.xml, which tells it to start a Context

Re: War files don't work

2003-07-23 Thread John Turner
From the docs for Context: The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). You may specify an absolute pathname for this directory

Re: War files don't work

2003-07-23 Thread Rick Roberts
creating the directory and seeing what happens? In any case, if you're using WAR files, there's no reason to have a Context defined in server.xml, that's probably what is confusing Tomcat. Tomcat is reading server.xml, which tells it to start a Context called nsfs with a docBase of nsfs

Re: War files don't work

2003-07-23 Thread John Turner
Check out the rules for Auto deployment: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment John Rick Roberts wrote: This sounds reasonable to me. But, if I don't have a Context/ element in server.xml then how do I provide Context/ type

Re: War files don't work

2003-07-23 Thread Rick Roberts
Making docBase = nsfs.war vice nsfs works!! :) However; the war file is not being unpacked. It seems that unpackWARs=true works the same as unpackWARs=false Thanks, Rick John Turner wrote: From the docs for Context: The Document Base (also known as the Context Root) directory for this web

Getting problem in updating WAR files

2003-07-15 Thread bas perumal
Hi All, For Each version, I have to update the WAR file with cab files. So I used loop, for each version the loop will call the target where i am updating the WAR file. the problem is , first time (first version) i am able to update the WAR file with the cab files but for the other versions

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

Re: Deployment of WAR-files

2003-06-24 Thread Mark F
Subject: Deployment of WAR-files 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

  1   2   3   >