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
Hi, I don't know if it was just a typo in your post, but AutoDeploy should be |autoDeploy. -- Edgar Alves Thanks for the quick answer and sharp eye - but it WAS a typo, sorry! In the server.xml file, it is listed as autoDeploy=true. It is the basic server.xml file, not really

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

RE: WAR files and web.xml

2005-04-01 Thread David Owens
I'm not sure what kind of information you are trying to change but I have a few suggestions which might get you started: 1) If the changes are something like database/realm passwords or logging information, you can put those in a context file called yourapp.xml and put it in

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
I did as suggested but it didn't work . The ironic thing now is that scence I tried that the user accounts /home/username/public_html no longer works to compile jsp pages. I figure this is weird becasue I see the compilation .class files in the

Re: WAR files and Eclipse

2004-12-16 Thread Dwayne Ghant
Yes you are correct. Thus far I have correctly configured Apache2.x/Tomcat5.x/mod.jk2 . And it works pretty seamlessly. My attemps to get the the useraccounts working resulted in me doing this: Listener className=org.apache.catalina.startup.UserConfig directoryName=public_html

Re: WAR files and Eclipse

2004-12-16 Thread sven morales
Wait a minute, you didnt say you were using Apache to front the Tomcat did you? At least thats the impression I gathered since you were hitting it as http://localhost/~userjoe/index.jsp. I am not overly familiar with having Apache fronting Tomcat. With that kind of URI, I think its going to

Re: WAR files and Eclipse

2004-12-15 Thread Dwayne Ghant
Anybody won't to take a shoot at this? Dwayne Ghant wrote: Intresting question associated with this subject. If I have public_html enabled for developers on local machine ex: Listener className=org.apache.catalina.startup.UserConfig directoryName=public_html

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
Intresting question associated with this subject. If I have public_html enabled for developers on local machine ex: Listener className=org.apache.catalina.startup.UserConfig directoryName=public_html userClass=org.apache.catalina.startup.PasswdUserDatabase/ Can I

Re: WAR files and Eclipse

2004-12-13 Thread Rhino
It's actually very easy to do what you want to do. Assuming you have correctly installed and configured Sysdeo, you will need to tell Eclipse where the War file for your Tomcat project should be generated. This is done on a *project* basis, i.e. you have to repeat this step once for each Tomcat

Re: WAR files and Eclipse

2004-12-13 Thread Jonathan Wilson
I tried eclipse, but man was it hard to get configured properly. I wanted to use Eclipse/MyEclipse since I do Perl/C/C++ work as well and thought one tool that binds them all, yada yada yada. I then tried NetBeans and it worked for my environment 'out-of-the-box'. It took zero configuration

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: 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

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
Yes. My war file has a web.xml file within the WEB-INF/ directory structure of the war file. Rhino wrote: 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

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
This sounds reasonable to me. But, if I don't have a Context/ element in server.xml then how do I provide Context/ type information to Tomcat? !-- NSFS Context -- Context path=/nsfs docBase=nsfs debug=0 reloadable=true crossContext=true Logger

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

Re: War files / codeBase and security permissions (v4.0.4)

2003-02-09 Thread Sean Dockery
You should not have to make any changes to policy files for this to work. It is Tomcat itself that is unpacking the WAR files--so assigning permissions to the WAR file itself won't do anything. What does your server.xml file look like? How did you determine that WAR files weren't automatically

Re: war files and context entries

2002-12-10 Thread Jacob Kjome
Try creating a context.xml file and put yoru Context ... entry in that. Now put your context.xml in META-INF of your .war file. Remove the context entry from Server.xml. When Tomcat starts up and doesn't see your war there, it will mark the context as disabled and will get confused if you

Re: WAR files not expanding.

2002-11-26 Thread David Brown
Andoni writes: When I put a .war file over to my tomcat server it doesn't work. - It only creates an empty directory in webapps. If I put over the war and unzip the file, it works fine. If I put over the .war file and set unpackWARs=false it does not work. - The unpack command is understood

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Jeff Larsen
It's a feature. Sucks, huh? - Original Message - From: James Turner [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 09, 2002 2:23 PM Subject: WAR files don't unpack if the webapp is already there I'm going through the standard compile-edit-test look on some applications

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Rick Fincher
Older versions of Tomcat don't, new ones will if you set reloadable to true in the context. It will monitor WEB-ING/lib and WEB-INF/classes for changes and reload if it detects any. This canj cause a performance degradation on your server so you may only want to do this for development. Rick

Re: WAR files don't unpack if the webapp is already there

2002-05-09 Thread Jeff Larsen
: Re: WAR files don't unpack if the webapp is already there Older versions of Tomcat don't, new ones will if you set reloadable to true in the context. It will monitor WEB-ING/lib and WEB-INF/classes for changes and reload if it detects any. This canj cause a performance degradation on your

RE: War files and config info

2002-04-08 Thread Jeremy Joslin
Try setting a parameter in your web.xml to the value of an external location for your config file. Inside your init() method check this location first for the config file you want to load, if you find it load it and move on, else load the config file you distributed with your application. Hope

Re: War files and config info

2002-04-08 Thread Craig R. McClanahan
On Mon, 8 Apr 2002, Bryan P. Glennon wrote: Date: Mon, 8 Apr 2002 17:24:19 -0500 From: Bryan P. Glennon [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: War files and config info Hi - We have a web app that gets distributed in a war

RE: war files.

2002-02-25 Thread Reynir Hübner
dont you need to set the unpackWARs attribute to true on your host in server.xml ? I think so, check out : http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/host.html hope it helps [EMAIL PROTECTED] -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: 25.

Re: war files.

2002-02-25 Thread chad kellerman
Thanks but, I should have said that I have that set already. I have it set to false. I did not want it to unpack. I did know wether I need something in WEB-INF or anything else. Thanks again -chad On Mon, 25 Feb 2002 18:49:36 - Reynir Hübner [EMAIL PROTECTED] wrote: dont you

RE: war files

2002-02-22 Thread Randy Layman
Is tomcat running at root? (Hint, if your files are being unpacked as part of Tomcat's execution, then they are owned by the user running Tomcat.) Randy -Original Message- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 3:23 PM To:

Re: war files

2002-02-22 Thread chad kellerman
I thought if I was using the webapp module for virtual hosts it would execute as the user that the of the Virtual Host section where the webApp directive is??? For example: VirtualHost jakarta.domain.net User jak Group jakartagrp ServerName jakarta.domain.net ServerAdmin [EMAIL PROTECTED]

Re: WAR files (URGENT)

2001-11-26 Thread Alec Bickerton
26/11/2001 16:07:53, keiths [EMAIL PROTECTED] wrote: Can you clarify this. I have just tried the following... 1- remove the war file from the webapp dir 2- recreate the war file @jar cvf timeservlet.war * 3atry to intall using manager app from current location /var/tomcat4/, same error :

RE: WAR files (URGENT)

2001-11-26 Thread Cor Hofman
: Alec Bickerton [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 18:02 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: WAR files (URGENT) 26/11/2001 16:07:53, keiths [EMAIL PROTECTED] wrote: Can you clarify this. I have just tried the following... 1- remove the war file from

Re: Newbie question re .war files

2001-08-25 Thread Richard Draucker
Yes, .war files are archives. In fact they use the standard? zip format. So, if Tomcat doesn't open them automatically, you can do it manually with any unzipping program like winzip or gzip. - Richard On Friday 24 August 2001 10:12 am, you wrote: Hi, I'm pretty new to Tomcat and a

Newbie question re .war files

2001-08-24 Thread Jon Taylor
Hi, I'm pretty new to Tomcat and a designer not a developer so sorry if this is a dum one, but... I'm trying to get the Dreamweaver UltraDev TagLib extensions flying with our Tomcat 3.2.1 install. I've added 2 .war files to the $TOMCAT_HOME/webapps dir as per install notes but restarting

Re: Newbie question re '.war' files

2001-08-24 Thread Rob S.
I've added 2 .war files to the $TOMCAT_HOME/webapps dir as per install notes but restarting tomcat doesn't affect them and I can't find (yet) any other info on what I have to do to extract them (they are archives right?). Restarting Tomcat should have expanded them into their

Re: war files. (tomcat 4.0 beta 7)

2001-08-14 Thread Wei Chiang
| I have packaged my web application in a .war file and deployed it using | tomcat 4.0 beta 7. | | perfect. | | The only way I could get it to work was to copy my database jar files into | web-inf\lib, this would make my war file platform dependent as most database | vendors ship different jars

Re: war files. (tomcat 4.0 beta 7)

2001-08-14 Thread Pier P. Fumagalli
James, Stuart at [EMAIL PROTECTED] wrote: I have packaged my web application in a .war file and deployed it using tomcat 4.0 beta 7. perfect. The only way I could get it to work was to copy my database jar files into web-inf\lib, this would make my war file platform dependent as most

Re: war files. (tomcat 4.0 beta 7)

2001-08-14 Thread Craig R. McClanahan
On Tue, 14 Aug 2001, Pier P. Fumagalli wrote: James, Stuart at [EMAIL PROTECTED] wrote: I have packaged my web application in a .war file and deployed it using tomcat 4.0 beta 7. perfect. The only way I could get it to work was to copy my database jar files into web-inf\lib,

Re: WAR files

2001-07-26 Thread John Hebert
Erin Lester wrote: Can anyone point me to some information about creating WAR files. http://jakarta.apache.org/tomcat/tomcat-3.3-doc/appdev/deployment.html Supposedly you can create them with deploytool, but I only know how to do this with the gui version and don't have an x-windows

Re: WAR files and the WEB-INF/lib directory

2001-07-24 Thread Wyn Easton
I don't think you are missing anything. The jar files in your web apps. web-inf/lib directory can not be seen from classes loaded from outside of your web app. Someplace you are probably loading a class that does not have access to the jar files in your web app. --- Tait, Allen [EMAIL

RE: .war files

2001-01-15 Thread Hosahalli, RaghavendraX
.war files are "Web ARchive" Files. It's the easiest way of application deployment. I generate them by using JAR command. "jar -cvf test.war ." this command creates a test.war file which consists everything of current directory and following subdirectories. So goto your application directory and

Re: .war files

2001-01-12 Thread Craig R. McClanahan
Mary McCarthy wrote: hi anyone know how the .war files in the webapps folder generated? Thanks. A web application archive (WAR) file is just a JAR file with a particular directory structure (as described in the Servlet Specification at http://java.sun.com/products/servlet/download.html).