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
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
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
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
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
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
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
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 :
>
>
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
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">
>
> ...
>
>
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.
>
>
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
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...
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
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,
-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.
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
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.
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
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.
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 /
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
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
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
-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:
-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
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
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
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:
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
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
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
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
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
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
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
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:
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
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,
: 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
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
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
]
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
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
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
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
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
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
, 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
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
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]
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
52 matches
Mail list logo