Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread neeraj kumar
Hi Mark, I have a multiwar app. I made the changes to one war in myway/META-INF/context.xml Context path=/mywar clearReferencesStopThreads=true clearReferencesThreadLocals=true /Context The issue is: 1.When I use tomcat manager to deploy the war, it doesn't respect the path attribute

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread Mark Thomas
/Context The issue is: 1.When I use tomcat manager to deploy the war, it doesn't respect the path attribute of the war. i.e my war is by the name mywar-R10-SNAPSHOT.war, so the context is set as mywar-R10-SNAPSHOT rather than just mywar. As expected. Read the docs for the Context

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-24 Thread neeraj kumar
The issue is: 1.When I use tomcat manager to deploy the war, it doesn't respect the path attribute of the war. i.e my war is by the name mywar-R10-SNAPSHOT.war, so the context is set as mywar-R10-SNAPSHOT rather than just mywar. As expected. Read the docs for the Context element. 2. How

Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-22 Thread neeraj kumar
some light on the following: 1, Is there a way of a full clean undeployment of a webapp ? 2. Does tomcat manager help the developer/administrator in a full cleanup of an app during undeployment , or even the manager simply deletes the war and lets the tomcat container take care of undeploying

Re: Advantages of using tomcat manager over the conventional approach of copy-it-to-deploy/undeploy

2011-03-22 Thread Mark Thomas
failure to do so as a serious application bug since is triggers a heap of issues including PermGen memory leaks. 2. Does tomcat manager help the developer/administrator in a full cleanup of an app during undeployment , or even the manager simply deletes the war and lets the tomcat container take

[SECURITY] CVE-2011-0013 Apache Tomcat Manager XSS vulnerability

2011-02-04 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2011-0013 Apache Tomcat Manager XSS vulnerability Severity: Low Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 7.0.0 to 7.0.5 - - Tomcat 6.0.0 to 6.0.29 - - Tomcat 5.5.0 to 5.5.31 - - Earlier, unsupported versions may also

Re: Dedicated thread for Tomcat Manager

2011-01-14 Thread Alec Swan
...@unisys.com wrote: From: Alec Swan [mailto:alecs...@gmail.com] Subject: Dedicated thread for Tomcat Manager Is there a way to assign a dedicated thread to Tomcat Manager so that it will never be used to process any other client requests? Not directly - threads are associated

Re: Dedicated thread for Tomcat Manager

2011-01-14 Thread André Warnier
Alec Swan wrote: Mark and Charles, thank you for the recommendations. Which approach - separate Connector or JMX access - is more appropriate for production environments? Could you briefly describe pros and cons of each of them? My opinion was not asked, but I would tend to say that the

RE: Dedicated thread for Tomcat Manager

2011-01-14 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Dedicated thread for Tomcat Manager My opinion was not asked, but I would tend to say that the solution with a separate Connector sounds so evidently simple in the principle (once it has been pointed out by the clever guy

Re: Dedicated thread for Tomcat Manager

2011-01-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alec, On 1/14/2011 1:04 PM, Alec Swan wrote: Mark and Charles, thank you for the recommendations. Which approach - separate Connector or JMX access - is more appropriate for production environments? Could you briefly describe pros and cons of

Re: Dedicated thread for Tomcat Manager

2011-01-14 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Dedicated thread for Tomcat Manager My opinion was not asked, but I would tend to say that the solution with a separate Connector sounds so evidently simple in the principle (once it has been pointed out

Re: Dedicated thread for Tomcat Manager

2011-01-14 Thread Alec Swan
Thank you everybody who contributed for explaining the pros and cons. We will go with the Connector approach. I am assuming this new connector will serve all webapps, including Tomcat manager. Or can I configure it to serve just Tomcat Manager? Thanks On Fri, Jan 14, 2011 at 2:02 PM, André

RE: Dedicated thread for Tomcat Manager

2011-01-14 Thread Caldarale, Charles R
From: Alec Swan [mailto:alecs...@gmail.com] Subject: Re: Dedicated thread for Tomcat Manager I am assuming this new connector will serve all webapps, including Tomcat manager. Correct. You could implement a Valve at the Engine or Host level to prevent its use for other webapps

SOLVED: Dedicated thread for Tomcat Manager

2011-01-14 Thread Alec Swan
Thank you for the good pointers. I consider my question answered and close this thread. On Fri, Jan 14, 2011 at 2:47 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Alec Swan [mailto:alecs...@gmail.com] Subject: Re: Dedicated thread for Tomcat Manager I am assuming

Dedicated thread for Tomcat Manager

2011-01-13 Thread Alec Swan
Hello, Our webapp gets periodically hammered by our client applications causing Tomcat to run out of threads. This prevents us from being able to use Tomcat Manager and check the server status. Is there a way to assign a dedicated thread to Tomcat Manager so that it will never be used to process

Re: Dedicated thread for Tomcat Manager

2011-01-13 Thread Mark Thomas
On 13/01/2011 23:05, Alec Swan wrote: Hello, Our webapp gets periodically hammered by our client applications causing Tomcat to run out of threads. This prevents us from being able to use Tomcat Manager and check the server status. Is there a way to assign a dedicated thread to Tomcat

RE: Dedicated thread for Tomcat Manager

2011-01-13 Thread Caldarale, Charles R
From: Alec Swan [mailto:alecs...@gmail.com] Subject: Dedicated thread for Tomcat Manager Is there a way to assign a dedicated thread to Tomcat Manager so that it will never be used to process any other client requests? Not directly - threads are associated with a Connector or Executor

Re: Can't access tomcat manager

2010-12-02 Thread Pid
On 12/1/10 10:05 PM, Lava Saleem wrote: Hi, I have installed apache tomcat 7.0.4 on a centos linux box, 7.0.5 has just been released. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: Can't access tomcat manager

2010-12-02 Thread Lava Saleem
Hi everyone, Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments brackets or anything so is there any other reason for this to happen ? do I need to modify anything else ? Thank you Lava On Thu, Dec 2, 2010 at 3:52 AM, Pid p...@pidster.com

Re: Can't access tomcat manager

2010-12-02 Thread David Smith
Ok ... checklist time ... - Comments around the role / and user ... / elements have been removed. From what I could tell in your original post this is taken care of. - The tomcat server has been restarted since the last time tomcat-users.xml has been edited. - You are accessing the manager

Re: Can't access tomcat manager

2010-12-02 Thread Markus Schönhaber
02.12.2010 15:43, Lava Saleem: Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments brackets or anything so is there any other reason for this to happen ? do I need to modify anything else ? What *missing* comment brackets? What André tried

Re: Can't access tomcat manager

2010-12-02 Thread André Warnier
Lava Saleem wrote: Hi everyone, Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments brackets or anything so is there any other reason for this to happen ? do I need to modify anything else ? Unfortunately now, as someone alredy pointed out,

Re: Can't access tomcat manager

2010-12-02 Thread Lava Saleem
Thanks everyone for the replies, it is working now it was a port problem. Lava On Thu, Dec 2, 2010 at 2:56 PM, André Warnier a...@ice-sa.com wrote: Lava Saleem wrote: Hi everyone, Thanks for the replies yeah I have checked the tomcat user xml file and there are no missing comments

Re: Can't access tomcat manager

2010-12-02 Thread André Warnier
Lava Saleem wrote: Thanks everyone for the replies, it is working now it was a port problem. Would you care to explain that ? We don't have that one in our probabilities table yet. - To unsubscribe, e-mail:

Can't access tomcat manager

2010-12-01 Thread Lava Saleem
Hi, I have installed apache tomcat 7.0.4 on a centos linux box, I have modified the tomcat-users.xml file as shown below and restarted it, my tomcat still can't get an access to the manager, I deleted the other users and just put mine in the xml file but this didn't really helped. I'm new to

Re: Can't access tomcat manager

2010-12-01 Thread Markus Schönhaber
01.12.2010 23:05, Lava Saleem: I have installed apache tomcat 7.0.4 on a centos linux box, I have modified the tomcat-users.xml file as shown below and restarted it, my tomcat still can't get an access to the manager, I deleted the other users and just put mine in the xml file but this

Re: Can't access tomcat manager

2010-12-01 Thread André Warnier
Markus Schönhaber wrote: 01.12.2010 23:05, Lava Saleem: I have installed apache tomcat 7.0.4 on a centos linux box, I have modified the tomcat-users.xml file as shown below and restarted it, my tomcat still can't get an access to the manager, I deleted the other users and just put mine in

Re: Can't access tomcat manager

2010-12-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 12/1/2010 5:37 PM, André Warnier wrote: Markus Schönhaber wrote: role rolenmae=manager-gui/ -^^ and if it isn't the above, then with 0.999 probability, you have left XML comment brackets somewhere where you shouldn't. !--

Re: Can't access tomcat manager

2010-12-01 Thread Jorge Medina
I hope one of you is right, you have just rule out any other cause by using all the remaining probabilityand it would be catastrophic for all the mathematicians. On Wed, Dec 1, 2010 at 6:03 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

Re: [SECURITY] CVE-2010-4172: Apache Tomcat Manager application XSS vulnerability

2010-11-23 Thread Mark Thomas
The processing of applying the digital signature to the original e-mail made the patches hard to read. E-mail clients that can process digital signatures should undo this formatting. For those folks with an e-mail client that can't process OpenGPG signed e-mail, the patches have been placed on

[SECURITY] CVE-2010-4172: Apache Tomcat Manager application XSS vulnerability

2010-11-22 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2010-4172: Apache Tomcat Manager application XSS vulnerability Severity: Tomcat 7.0.x - Low, Tomcat 6.0.x - Moderate Vendor: The Apache Software Foundation Versions Affected: - - Tomcat 7.0.0 to 7.0.4 - Not affected in default configuration

Tomcat manager

2010-10-26 Thread Propes, Barry L
Hello all, running Tomcat 6.0.26 on jdk1.6.0_18 on a Win XP Pro box. I think I'd asked before, but can't find reference to a fix here. Issue is I'm trying to alter the context.xml file within the manager webapp folder, for an IP restriction with the RemoteAddrValve, like so. In

RE: Tomcat manager

2010-10-26 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Tomcat manager In trying to overwrite the current setting to allow for the filter, do I need to delete the manager.xml file in Tomcat\conf\Catalina\localhost ? Yes. Doing so doesn't allow the manager.xml file

RE: Tomcat manager

2010-10-26 Thread Propes, Barry L
. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, October 26, 2010 1:18 PM To: Tomcat Users List Subject: RE: Tomcat manager From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: Tomcat manager In trying to overwrite the current setting

RE: Tomcat manager

2010-10-26 Thread Caldarale, Charles R
From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Tomcat manager Ok, so it ( webapps/manager/META-INF/context.xml) doesn't necessarily get copied out to the Catalina folder then? Correct. The rules for when Tomcat chooses to copy the Context element have changed over

RE: Tomcat manager

2010-10-26 Thread Propes, Barry L
Ok, thanks, Chuck! -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, October 26, 2010 1:42 PM To: Tomcat Users List Subject: RE: Tomcat manager From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Subject: RE: Tomcat manager Ok, so

TR: Tomcat Manager undeploy link inactive

2010-09-10 Thread alain.lheureux
Hi guys, my tomcat manager app does not provide the option to undeploy webapps. In fact the usual undeploy link is not a link anymore but just a text. Please see the attached image for an example. Any idea on how to fix this? Thanks

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread Caldarale, Charles R
From: alain.lheur...@uquebec.ca [mailto:alain.lheur...@uquebec.ca] Subject: TR: Tomcat Manager undeploy link inactive my tomcat manager app does not provide the option to undeploy webapps. So I'll guess you're using Tomcat 4.1.2? Or maybe you could actually tell us the exact version, so

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread alain.lheureux
the following URL: http://myserver:port/manager/html The logs are clean. Alain -Message d'origine- De : Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Envoyé : 10 septembre 2010 15:33 À : Tomcat Users List Objet : RE: Tomcat Manager undeploy link inactive From: alain.lheur

RE: Tomcat Manager undeploy link inactive

2010-09-10 Thread Caldarale, Charles R
From: alain.lheur...@uquebec.ca [mailto:alain.lheur...@uquebec.ca] Subject: RE: Tomcat Manager undeploy link inactive So, I am using Tomcat 5.5.28. I had to go to the archives to download and install that. the fact is the undeploy link is no more a link but just text. I don't see

Deploying Web Application using Tomcat Manager

2010-07-21 Thread Fidelis Mnyanyi
Hi, I'm using Tomcat 5.5.20 running on Windows 2008 Server. I'm trying to use Tomcat Manager to undeploy and deploy web application without having to restart Tomcat. I'm getting the following issues: First issue, when undeploying web application, after first click on Undeploy button

tomcat /manager not working

2010-07-07 Thread Tapas Mishra
I downloaded tomcat 5.5.29 and tried to access an application http://IP of Tomcat server:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any thing. -- Tapas

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Tapas Mishra wrote: I downloaded tomcat 5.5.29 and tried to access an application http://IP of Tomcat server:8080/manager which the doc says http://tomcat.apache.org/tomcat-5.5-doc/appdev/deployment.html that it is included and deployed by default it did not showed me any thing did I miss any

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the Tomcat developers to incorporate this as a standard

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the Tomcat developers to incorporate this as a

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 13:20, André Warnier wrote: Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would respectively suggest to the

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 13:20, André Warnier wrote: Mark Thomas wrote: On 07/07/2010 11:50, André Warnier wrote: I have no idea if this triggers secondary unwanted effects. Oddles of them. It breaks large sections of the manager app. If it does not however, then I would

RE: tomcat /manager not working

2010-07-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working So the /* mapping above should win only if none of the others does, no ? Am I missing something ? Yup - you've broken the non-HTML usage of the manager, which is what all the scripts use to access

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working So the /* mapping above should win only if none of the others does, no ? Am I missing something ? Yup - you've broken the non-HTML usage of the manager, which is what all

RE: tomcat /manager not working

2010-07-07 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's working. Things must have changed since the last time I tried

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 15:35, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's working

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Mark Thomas wrote: On 07/07/2010 15:35, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: tomcat /manager not working I am not going to play with /undeploy just to further verify my theory, but does that look like I broke something ? No, it looks like it's

Re: tomcat /manager not working

2010-07-07 Thread Konstantin Kolinko
2010/7/7 André Warnier a...@ice-sa.com: I have made the change in the Manager's web.xml, restarted Tomcat, and so far all the manager functions and links seem to be working fine. Namely, I have added this mapping at the end of the existing servlet-mappings of the manager webapp's web.xml :

Re: tomcat /manager not working

2010-07-07 Thread André Warnier
Konstantin Kolinko wrote: 2010/7/7 André Warnier a...@ice-sa.com: I have made the change in the Manager's web.xml, restarted Tomcat, and so far all the manager functions and links seem to be working fine. Namely, I have added this mapping at the end of the existing servlet-mappings of the

Re: tomcat /manager not working

2010-07-07 Thread Mark Thomas
On 07/07/2010 17:21, André Warnier wrote: As far as I know, I am not making any changes to the logic of the manager application by doing this. All I am doing is making the HTMLManager servlet be the default servlet. So when a user requests any URL starting with /manager and not specifically

Re: I'm not able to access to Tomcat Manager

2010-06-30 Thread Pid
is an indication that you haven't remove the XML comment markers from the file - so Tomcat isn't seeing the contents. p /tomcat-users The next step i'm trying to do it to access to the Tomcat Manager, but when I insert as username tomcat and password TomcatAdm it doesn't allow me the acces, what

Re: I'm not able to access to Tomcat Manager

2010-06-30 Thread Paweł Zuzelski
step i'm trying to do it to access to the Tomcat Manager, but when I insert as username tomcat and password TomcatAdm it doesn't allow me the acces, what should I write?. It seems that you have not removed XML comments from tomcat-users.xml file :) It's good to use editor that highlight xml

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Pid
Subject: Can't login to Tomcat manager pages Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
Hello everyone, thank you for the answers. I started by looking for the web.xml file, it is together with tomcat-users.xml in the CATALINA_HOME/conf directory (/etc/tomcat6). I don't have a manager directory under /var/lib/tomcat6/webapps so I checked if the tomcat6-admin package is installed: $

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
On 4/21/2010 1:14 PM, Luís de Sousa wrote: Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Konstantin Kolinko
2010/4/22 Luís de Sousa luis.a.de.so...@gmail.com: I then performed a shutdown and startup. Unlike yesterday, today I'm getting a Connection refused exception when shutting down, Connection refused means Tomcat was not running, or failed to stop. If it is still running, you can use kill

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 1:29 PM, David Smith david.sm...@cornell.edu I have a Ubuntu 9.10 system and did exactly what you've posted above. It works like a charm.  Have you altered anything else?  Change permission inadvertently on tomcat-users.xml?  Mine is read/write by root, read-only by

Re: Can't login to Tomcat manager pages

2010-04-22 Thread David Smith
Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r- 1 root tomcat6 1202 2010-04-22 08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but the other permissions are all blank. This is the way it should be since it contains password

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 2:18 PM, David Smith david.sm...@cornell.edu wrote: Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r-  1  root  tomcat6  1202  2010-04-22  08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but the other

Re: Can't login to Tomcat manager pages

2010-04-22 Thread André Warnier
Luís de Sousa wrote: On Thu, Apr 22, 2010 at 2:18 PM, David Smith david.sm...@cornell.edu wrote: Here's my system's tomcat-user.xml as listed w/ ls -l: -rw-r- 1 root tomcat6 1202 2010-04-22 08:15 /etc/tomcat6/tomcat-users.xml As you can see, user and group permissions are set, but

Re: Can't login to Tomcat manager pages

2010-04-22 Thread Luís de Sousa
On Thu, Apr 22, 2010 at 2:49 PM, André Warnier a...@ice-sa.com wrote: What do you see when running ps -ef | grep tomcat ? Hi André, I see loadsa stuff I don't understand :) Luís $ ps -ef | grep tomcat root 2129 1 0 08:07 ?00:00:00 /usr/bin/jsvc -user tomcat6 -cp

RE: Can't login to Tomcat manager pages

2010-04-22 Thread Propes, Barry L
Sorry, yes, Pid, that's what I meant. Sorry for confusion there. -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Thursday, April 22, 2010 2:57 AM To: Tomcat Users List Subject: Re: Can't login to Tomcat manager pages On 21/04/2010 18:45, Propes, Barry L wrote: I

Can't login to Tomcat manager pages

2010-04-21 Thread Luís de Sousa
Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login. I browsed through a number of threads with similar issues but

RE: Can't login to Tomcat manager pages

2010-04-21 Thread Propes, Barry L
: Wednesday, April 21, 2010 12:15 PM To: users@tomcat.apache.org Subject: Can't login to Tomcat manager pages Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file

Re: Can't login to Tomcat manager pages

2010-04-21 Thread Konstantin Kolinko
2010/4/21 Luís de Sousa luis.a.de.so...@gmail.com: Dear all, Tomcat 6.0.20 on Ubuntu 9.10. I can't login to the manager pages (http://localhost:8080/manager/html). I set a new user and a few roles in the /etc/tomcat6/tomcat-users.xml file, restarted Tomcat but can't possibly login.

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-26 Thread Steffen Heil
That's another discussion, but it could really make sense, if you use a connector bound to a non-public interface (or even localhost) just for administration. Which is what the RemoteAddrValve is for. Yes, I know. Still some people might prefer complete separation (instead of hiding) and

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Steffen Heil
Hi As Pid pointed out, this doesn't work: the scope of the manager webapp is the Host it's deployed under. I didn't realize that part of his last line... The whole idea smacks of security through obscurity - which means you've accomplished nothing. That's another discussion, but it could

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Konstantin Kolinko
2010/3/25 Steffen Heil li...@steffen-heil.de: Hi As Pid pointed out, this doesn't work: the scope of the manager webapp is the Host it's deployed under. I didn't realize that part of his last line... It will not see what applications are deployed under separate Host. So, it will be

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-25 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Is it possible to set the port for tomcat manager to 8080 and root port 80??? That's another discussion, but it could really make sense, if you use a connector bound to a non-public interface (or even localhost) just

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Jiansen Niu
for tomcat manager to 8080 and root port 80??? Soren, DK

Re: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Pid
app. Not sure how that helps TBH. You might use HTTPD to enforce some rules about which apps are available on which port, but the above suggestion is somewhat confusing. 2010/3/23 Søren Blidorfso...@nolas.dk Is it possible to set the port for tomcat manager to 8080 and root port 80

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Caldarale, Charles R
From: Jiansen Niu [mailto:aoesh...@gmail.com] Subject: Re: Is it possible to set the port for tomcat manager to 8080 and root port 80??? While you can not define two listening ports for one Tomcat instance, Of course you can - you can define as many as you want via multiple Connector

AW: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Steffen Heil
Hi Is it possible to set the port for tomcat manager to 8080 and root port 80??? Yes. You need to define TWO service / nodes, each with its own connector / (using different ports) an its own engine /, each with its own host /, one with the manager as context /, one with the other web

RE: Is it possible to set the port for tomcat manager to 8080 and root port 80???

2010-03-23 Thread Caldarale, Charles R
From: Steffen Heil [mailto:li...@steffen-heil.de] Subject: AW: Is it possible to set the port for tomcat manager to 8080 and root port 80??? Yes. You need to define TWO service / nodes, each with its own connector / (using different ports) an its own engine /, each with its own host

Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread Jimmy Spam
Please, excuse my poor english. When I deploy an java app (.war file) with tomcat manager, it create the folder of this app inside of webapps with user: tomcat, group: tomcat and permissions 750. I need, at least, have write privilege for group (770), since some user of my system (wich

Re: Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread André Warnier
Jimmy Spam wrote: Please, excuse my poor english. It sounds fine. When I deploy an java app (.war file) with tomcat manager, it create the folder of this app inside of webapps with user: tomcat, group: tomcat and permissions 750. I need, at least, have write privilege for group (770

Re: Apps deployed with tomcat manager: No +w to group.Why?

2010-03-10 Thread Peter Crowther
On 10 March 2010 10:51, André Warnier a...@ice-sa.com wrote: Jimmy Spam wrote: Please, excuse my poor english. It sounds fine. When I deploy an java app (.war file) with tomcat manager, it create the folder of this app inside of webapps with user: tomcat, group: tomcat and permissions

tomcat manager configuration

2010-02-18 Thread banto
Hi all, i´m trying to figure out where are the configurations for the tomcat manager webapp. I mean how if i would want to change the path of the manager, write my own one, disable it and so oni´m just trying to understand if (apart the access configurations) all the the confs are indeed

Re: tomcat manager configuration

2010-02-18 Thread Mark Thomas
On 18/02/2010 08:05, banto wrote: Hi all, i´m trying to figure out where are the configurations for the tomcat manager webapp. I mean how if i would want to change the path of the manager, write my own one, disable it and so oni´m just trying to understand if (apart the access

Re: tomcat manager configuration

2010-02-18 Thread Mark Thomas
On 18/02/2010 11:03, banto wrote: All the available configuration is in the application's web.xml and context.xml files. Path is determined by the directory name. It should be possible to just rename it. If it isn't, that would be a bug. Mark i see the application's web.xml but to be

Read-only tomcat manager app?

2010-02-12 Thread emerson cargnin
Is there a way to have the manager app to be read-only, so to disable stop, undeployment and reload of apps through the manager? regards Emerson - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Read-only tomcat manager app?

2010-02-12 Thread Mark Thomas
On 12/02/2010 09:32, emerson cargnin wrote: Is there a way to have the manager app to be read-only, so to disable stop, undeployment and reload of apps through the manager? Try adding a role that only has permission to access /html/list Mark

Re: Tomcat manager

2010-01-27 Thread Mark Thomas
On 27/01/2010 09:58, Toman, Chuck [Stock] wrote: I changed the config file and added manager and the UNIX account and still not working. UNIX account information is not used by Tomcat. tomcat-users.xml is entirely separate. At a guess, you left the comments around the XML. Mark

RE: Tomcat manager

2010-01-27 Thread Toman, Chuck [Stock]
That was it. Thanks, Charles G. Toman Trend DBA T: +1 (919) 431 1792 * M: +1 (919) 524 8652 Customer Focused, Associate Driven. -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, January 27, 2010 9:01 AM To: Tomcat Users List Subject: Re: Tomcat

Re: Tomcat manager

2010-01-27 Thread André Warnier
Mark Thomas wrote: On 27/01/2010 09:58, Toman, Chuck [Stock] wrote: I changed the config file and added manager and the UNIX account and still not working. UNIX account information is not used by Tomcat. tomcat-users.xml is entirely separate. At a guess, you left the comments around the XML.

Re: Tomcat manager

2010-01-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 1/27/2010 2:47 PM, André Warnier wrote: Mark Thomas wrote: On 27/01/2010 09:58, Toman, Chuck [Stock] wrote: I changed the config file and added manager and the UNIX account and still not working. UNIX account information is not used

Logging into TOMCAT Manager

2009-12-07 Thread joe_sad
information - please see the Manager App HOW-TO. Does anybody please have any advise. Thanks in advance. -- View this message in context: http://old.nabble.com/Logging-into-TOMCAT-Manager-tp26677781p26677781.html Sent from the Tomcat - User mailing list archive at Nabble.com

RE: Logging into TOMCAT Manager

2009-12-07 Thread Caldarale, Charles R
From: joe_sad [mailto:joesadd...@gmail.com] Subject: Logging into TOMCAT Manager I am new to using TomCat. It's Tomcat, not TomCat. I have configured the tomcat-users.xml file so that I have a manager username and password like so.. 1) Did you restart Tomcat after making the changes? 2

RE: Logging into TOMCAT Manager

2009-12-07 Thread joe_sad
into TOMCAT Manager I am new to using TomCat. It's Tomcat, not TomCat. I have configured the tomcat-users.xml file so that I have a manager username and password like so.. 1) Did you restart Tomcat after making the changes? 2) Did you remove the comment markers from around the user

RE: Logging into TOMCAT Manager

2009-12-07 Thread Caldarale, Charles R
From: joe_sad [mailto:joesadd...@gmail.com] Subject: RE: Logging into TOMCAT Manager It did not ask me for a username or password though is this normal? Your browser may have remembered it for you. I have placed my xplanner-plus dir with files in the below path. C:\Program Files\apache

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
You're right, I totally forgot to put appBase attributes in my Host declarations. However, httpd only lets *.jsp and *.do requests pass on to Tomcat so I don't have to worry about the security issue. I'm gonna put appBase attributes into my config and see if that fixes it. thanks On Fri, Oct

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
OK I just added the appBase attr to a Host in my server.xml. It did get rid of the Tomcat install. folders showing up as webapps, but it isnt' doing exactly what I thought it would do. Now everything in my appBase shows up in my Manager instance as belonging to that Host, when what I want there

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Hassan Schroeder
On Mon, Nov 2, 2009 at 8:35 AM, Jonathan Mast jhmast.develo...@gmail.com wrote: My reading of the Tomcat config docs seemed to indicate that each Host should have it's own Manager Context defined as opposed to having a single Manager instance that can span multiple Hosts.  Is this correct?

Re: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Jonathan Mast
So you are saying each Host *must* have it's own distinct appBase. That sucks, doing that will make my deployment process a nightmare. Any way around the problem I described above? On Mon, Nov 2, 2009 at 11:02 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Mon, Nov 2, 2009 at 8:35

RE: Tomcat Manager sees distribution directories as applications

2009-11-02 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] Subject: Re: Tomcat Manager sees distribution directories as applications So you are saying each Host *must* have it's own distinct appBase. That sucks, doing that will make my deployment process a nightmare. Any way around

<    1   2   3   4   5   6   >