Re: Tomcat Deployment scripts

2023-06-30 Thread Mark Eggers
Late to the party, as always. Anyway, I'll write up in general how we manage things. It's not ideal, but it seems to answer most everyone's questions. See at the end of this message. On 6/30/2023 12:13 PM, Christopher Schultz wrote: Alan, On 6/30/23 06:35, Alan F wrote: This is great

Re: Tomcat Deployment scripts

2023-06-30 Thread Christopher Schultz
Alan, On 6/30/23 06:35, Alan F wrote: This is great thankyou Thomas. Just wondering how secure this is, prefer to be able to deploy with a non 'admin' account does this support a deploy only profile there? So... you are concerned about security but would like a non-admin account to be able to

RE: Tomcat Deployment scripts

2023-06-30 Thread Alan F
This is great thankyou Thomas. Just wondering how secure this is, prefer to be able to deploy with a non 'admin' account does this support a deploy only profile there? -Original Message- From: Thomas Hoffmann (Speed4Trade GmbH) Sent: 29 June 2023 09:08 To: Tomcat Users List

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-25 Thread Aurélien Terrestris
As said by Konstantin, the listener doesn't do what you are trying to achieve (I tested on my side, it doesn't work). You can do virtual hosting, but this means that you need either one different host name or port for each user. I think it is easier to deal with ports, and then you can hide them

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-25 Thread Manuel Parra
Thanks, yes, I was looking for other solutions. Thanks again ! On Fri, Sep 25, 2015 at 1:54 PM, Aurélien Terrestris wrote: > As said by Konstantin, the listener doesn't do what you are trying to > achieve (I tested on my side, it doesn't work). > > You can do virtual

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Konstantin Kolinko
2015-09-24 15:07 GMT+03:00 Manuel Parra : > Hello I'm trying to deploy .war application from the public_html folder at > user homes. > > I've added directive to server.xml : > > directoryName="public_html" > userClass="org.apache.catalina.startup.PasswdUserDatabase"/> > > And

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread ManuParra
But, each user have public_html folder at home folder, so where I configure what is the war to execute in public_html ? For instance, in: http://localhost:8080/~usertest/ Where in filesystem I have: /home/usertest/public_html/app.war , what is the configuration in Tomcat for

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Aurélien Terrestris
Hi, first, you should check that the Host is configured with autoDeploy="true" 2015-09-24 14:07 GMT+02:00 Manuel Parra : > Hello I'm trying to deploy .war application from the public_html folder at > user homes. > > I've added directive to server.xml : > >

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Yes. This is my Configuration for the hosts in server.xml: ... Then at user's homes I have: /home/usertest/public_html/app.war But in http://localhost:8080/~usertest/ --> HTTP Status 404 - /~usertest/ Thanks in advance. On Thu, Sep 24, 2015 at 3:41 PM, Aurélien Terrestris

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Well Im using localhost and myserver.com as a server from I connect (URL). May be this a problem with HOST in server.xml? Regards. On Thu, Sep 24, 2015 at 6:02 PM, Manuel Parra wrote: > Yes. > This is my Configuration for the hosts in server.xml: > > "true"> > > ... > >

Re: Tomcat deployment from public_html user folder of a war application is not working

2015-09-24 Thread Manuel Parra
Do you recommend one HOST for each user with especifically appBase ? Thanks. On Thu, Sep 24, 2015 at 6:18 PM, Manuel Parra wrote: > Well Im using localhost and myserver.com as a server from I connect (URL). > May be this a problem with HOST in server.xml? > > Regards. > >

Re: Tomcat deployment erring out

2013-11-21 Thread Mark Eggers
On 11/21/2013 2:22 PM, Jonathan Gardner wrote: Hello, Hopefully you guys can help me out with this… I am using Netbeans 7.3.1, Tomcat 6.0.37, Java EE 5, and Java JDK 1.7.0_45. When I create a new maven web application project and try to run it, I get the following error: NetBeans: Deploying

Re: Tomcat deployment erring out

2013-11-21 Thread Jonathan Gardner
I've been killing the tomcat process manually. When I do that, and execute the project again, I get the first error in my first email. I appreciate your response a lot, but I don't see how our solves that first error. Netbeans doesn't start tomcat correctly even when its isn't already running...

Re: Tomcat deployment erring out [OT]

2013-11-21 Thread Mark Eggers
On 11/21/2013 3:47 PM, Jonathan Gardner wrote: I've been killing the tomcat process manually. When I do that, and execute the project again, I get the first error in my first email. I appreciate your response a lot, but I don't see how our solves that first error. Netbeans doesn't start tomcat

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse. https://docs.google.com/document/d/1xHcHGof8ERugFUimHUuiYTtmvZSqxChAm1NHuxMTS5k/edit?usp=sharing Sigh,

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/27/13 3:10 PM, Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Narahari 'n' Savitha
Thank You for your answers and your valid critique (aka rants) In your document, you failed to mention Tomcat version, JRE version, or OS version. I'm going to assume that from the following path /opt/narahari/paas/webapps that you're running on some sort of Linux / UNIX / MacOS (ie, not

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread André Warnier
Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
Comments in line: On 6/27/2013 1:07 PM, Narahari 'n' Savitha wrote: Thank You for your answers and your valid critique (aka rants) In your document, you failed to mention Tomcat version, JRE version, or OS version. I'm going to assume that from the following path /opt/narahari/paas/webapps

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 1:17 PM, André Warnier wrote: Mark Eggers wrote: On 6/27/2013 11:29 AM, Narahari 'n' Savitha wrote: The link explains my issue on hand. It was easier to put it there so I could explain better instead of being inline. Kindly excuse.

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Narahari 'n' Savitha
Here is what I tried. CATALINA_HOME=/opt/narahari/paas/apache-tomcat-7.0.37 CATALINA_BASE=/opt/narahari/paas/adp-tomcat In the $CATALINA_BASE/conf/Catalina/localhost/ptl#cts.xml file the entry is Context docBase=/opt/narahari/paas/webapps/ptl#cts.war antiResourceLocking=false /

RE: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Caldarale, Charles R
From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: Tomcat deployment webapps and the whole stew 22:18:34,427 ERROR [ConfigServlet] com.adp.rev.config.ConfigServlet.init(): Error trying to read file [null]. Exception = [java.lang.NullPointerException

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 7:32 PM, Narahari 'n' Savitha wrote: Here is what I tried. CATALINA_HOME=/opt/narahari/paas/apache-tomcat-7.0.37 CATALINA_BASE=/opt/narahari/paas/adp-tomcat In the $CATALINA_BASE/conf/Catalina/localhost/ptl#cts.xml file the entry is That's going to be much better than the

Re: Tomcat deployment webapps and the whole stew

2013-06-27 Thread Mark Eggers
On 6/27/2013 8:19 PM, Caldarale, Charles R wrote: From: Narahari 'n' Savitha [mailto:savith...@gmail.com] Subject: Re: Tomcat deployment webapps and the whole stew 22:18:34,427 ERROR [ConfigServlet] com.adp.rev.config.ConfigServlet.init(): Error trying to read file [null]. Exception

Re: tomcat deployment error

2008-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shreekanta, Shreekanta Prasad wrote: | I am using tomcat 5.5. Using deployer utility of tomcat to | do hot deployment to the server. But it is giving error error like | | \build.xml:98: java.io.IOException: | | Server returned HTTP response code:

RE: tomcat deployment error

2008-05-22 Thread Shreekanta Prasad
-Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 7:08 PM To: Tomcat Users List Subject: Re: tomcat deployment error -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shreekanta, Shreekanta Prasad wrote: | I am using tomcat 5.5. Using deployer

RE: Tomcat deployment question

2007-05-05 Thread Andras Laczi
Hey, Chuck, Take it easy man. How can I know which documentation is up-to-date and which one is not? They says confusing things, if i read manager doc it works against context/host documentation. Anyway, thanks for the help. My last question: if i upload in ROOT.war manager will it work as

RE: Tomcat deployment question

2007-05-05 Thread Caldarale, Charles R
From: Andras Laczi [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat deployment question Take it easy man. Sorry. The topic of setting the path attribute in a Context element is discussed frequently on this list, including a couple of times on the very day you posted, as well as previously

Re: Tomcat deployment question

2007-05-05 Thread Mark Thomas
Andras Laczi wrote: I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = / as the documentation says. Where does the documentation say this? Mark - To start a new topic, e-mail:

Re: Tomcat deployment question

2007-05-05 Thread Mark Thomas
Andras Laczi wrote: How can I know which documentation is up-to-date and which one is not? They says confusing things, if i read manager doc it works against context/host documentation. They should be consistent and I thought they were last time I checked. Please point out the inconsistencies

RE: Tomcat deployment question

2007-05-05 Thread Caldarale, Charles R
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat deployment question Andras Laczi wrote: I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = / as the documentation says. Where does the documentation say this? The section: http

Re: Tomcat deployment question

2007-05-05 Thread Mark Thomas
Caldarale, Charles R wrote: From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat deployment question Andras Laczi wrote: I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = / as the documentation says. Where does the documentation say

RE: Tomcat deployment question

2007-05-04 Thread Andras Laczi
If someone succeed to deploy an web application trough manager on 5.5.23 tomcat which path is / (root ) and the web application directory is not ROOT please let me know. It's making me crazy, i migrating from 5.0.16 with working configuration and on 5.5.23 same conf works a completely different

Re: Tomcat deployment question

2007-05-04 Thread Mark Thomas
Andras Laczi wrote: If someone succeed to deploy an web application trough manager on 5.5.23 tomcat which path is / (root ) and the web application directory is not ROOT please let me know. It's making me crazy, i migrating from 5.0.16 with working configuration and on 5.5.23 same conf works

Re: Tomcat deployment question

2007-05-04 Thread Andras Laczi
Thats bad cause I need to upload newer releases very often, and trough manager was the fastest way to do this. I must rethink the way of development-deployment. I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = / as the documentation says. Andras Mark

RE: Tomcat deployment question

2007-05-04 Thread Caldarale, Charles R
From: Andras Laczi [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat deployment question I dont really understand why manager can't rename the context.xml to ROOT.xml if the path = / as the documentation says. I wonder how many times we have to repeat this: THE PATH ATTRIBUTE IS IRRELEVANT

Re: Tomcat deployment question

2007-05-04 Thread Rashmi Rubdi
Hi Lakshmi, I just wanted to let you know that in the most recent post on this thread, your problem was solved (even though I didn't give a complete answer) but after my post Chuck made some very good points which I didn't mention in my post. I hope you took a note of them. Especially this one:

RE: Tomcat deployment question

2007-04-25 Thread Lakshmi Venkataraman
I have upgraded from Tomcat 3.3 to Tomcat 5.5.23. It is running on WinXP and I am using Java 1.5. I asked this question before with a different directory set up in which the myApp directory was under Tomcat heirarchy. As Rashmi Rubdi suggested, by renaming myApp.xml to ROOT.xml, I could

Re: Tomcat deployment question

2007-04-25 Thread Rashmi Rubdi
Hi Lakshmi, I'll explain the way I got it to work - I think it's correct because I can access my app at the root context http://localhost:8080/ Please find my replies below: Of course you can undo all the changes mentioned below and bring it back to the original state at anytime. On 4/25/07,

RE: Tomcat deployment question

2007-04-25 Thread Lakshmi Venkataraman
: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:25 PM To: Tomcat Users List Subject: Re: Tomcat deployment question Hi Lakshmi, I'll explain the way I got it to work - I think it's correct because I can access my app at the root context http://localhost:8080/ Please find

RE: Tomcat deployment question

2007-04-25 Thread Caldarale, Charles R
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat deployment question Chuck Caldarale said it is preferable to have myApp outside Tomcat's directory heirarchy. That's only true when your desired app name is not the same as the name of the .war file. TOP_DIR

RE: Tomcat deployment question

2007-04-20 Thread Caldarale, Charles R
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat deployment question When tomcat is started and starts reading htdocs.xml, I get the following message: Warning: a docBase w:\INM\Apache\htdocs\htdocs inside the host appBase has been defined and will be ignored

RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
] Sent: Wednesday, April 18, 2007 9:33 PM To: Tomcat Users List Subject: RE: Tomcat deployment question Hi Rashmi, Thanks! I renamed htdocs.xml to ROOT.xml. http://localhost:8080 did not work. However, http://localhost:8080/htdocs/index.html worked which is some progress. I think my

RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
Configuration. I will appreciate it if one of you can clarify these concepts. Thanks in advance, Lakshmi -Original Message- From: Lakshmi Venkataraman Sent: Wednesday, April 18, 2007 11:21 PM To: 'Tomcat Users List' Subject: RE: Tomcat deployment question I have finally a working configuration

RE: Tomcat deployment question

2007-04-19 Thread Caldarale, Charles R
From: Lakshmi Venkataraman [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat deployment question Please refer to the directory structure in the original message or At the bottom of this email. Given that directory structure, I have working configuration with appBase=webapps in server.xml

RE: Tomcat deployment question

2007-04-19 Thread Lakshmi Venkataraman
Thanks Chuck! See my comments inline starting with Lakshmi: -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: Thursday, April 19, 2007 12:58 PM To: Tomcat Users List Subject: RE: Tomcat deployment question From: Lakshmi Venkataraman [mailto:[EMAIL

Re: Tomcat deployment question

2007-04-18 Thread Rashmi Rubdi
Hi Lakshmi, Rename the context file from htdocs.xml to ROOT.xml then you should be able to access the app at http://localhost:8080/ -Rashmi - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL

RE: Tomcat deployment question

2007-04-18 Thread Lakshmi Venkataraman
To: Tomcat Users List Subject: Re: Tomcat deployment question Hi Lakshmi, Rename the context file from htdocs.xml to ROOT.xml then you should be able to access the app at http://localhost:8080/ -Rashmi ---Original posting by Lakshmi --- I

Re: tomcat deployment changes since Tomcat 5.5.12

2006-09-14 Thread lionel . farbos
, autodeploy=false, deployOnStartup=true, deployXML=false, appBase=/usr2/web/myhost and Context Parameters : docBase=/usr2/web/myhost/ROOT.war BUT if I put unpackWARS=true, the tests are KO !!! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: tomcat deployment changes since Tomcat

RE: tomcat deployment changes since Tomcat 5.5.12

2006-09-13 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: tomcat deployment changes since Tomcat 5.5.12 So, can anybody can say to me if it is a bug or what are the correct parameters for my needs ? Quoting from the Tomcat doc for the path attribute of Context: The value of this field

Re: tomcat deployment changes since Tomcat 5.5.12

2006-09-13 Thread lionel . farbos
Thank you Chuck, I tested (TC 5.5.17) what you suggest with a Context ROOT.xml like this : Context docBase=/usr2/web/myhost/ROOT.war reloadable=false debug=1 But the result is the same : - exceptions in Tomcat logs, - getServletContext().getRealPath(...) is null From: [EMAIL PROTECTED]

RE: tomcat deployment...

2005-10-30 Thread rahul
This might be happening if there is a deployed application already exists. Add update=true attribute in your deploy command, even if this not works then try to manually delete webapps/yourAppName as well as tomcat_home/work/engine/yourAppName directory and try again -RahulJoshi