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: Modifying logging levels logged in catalina.out at runtime

2010-12-02 Thread Pid
On 12/1/10 7:59 PM, Jason Pyeron wrote: This may be slightly off-topic. I'll start off with I know how to do this from inside the webapp's code and how to do it by modifing properties files on the system at tomcat startup. But how can it be done from outside the webapp with out restarting

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Caldarale, Charles R chuck.caldar...@unisys.com JSPs are only compiled upon first reference, not before. That results in a slight (usually very slight) pause for the first guy in, so if you want to pre-compile them, there is a script available to do so:

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Konstantin Kolinko
2010/12/1 Justin Case send_lotsa_spam_h...@yahoo.com:            Host appBase=wtpwebapps autoDeploy=false Just curious: why wtpwebapps? Eclipse IDE uses that name. deployOnStartup=false                name=localhost unpackWARs=true xmlNamespaceAware=false                xmlValidation=false

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Konstantin Kolinko knst.koli...@gmail.com Just curious: why wtpwebapps? Eclipse IDE uses that name. Precisely :) Only because Eclipse publishes it there, so the name was kept. No other reason. Try with recent 6.0.x (build it yourself), or 6.0.30 (when it comes out), or 7.0.5 --

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 10:00 AM, Justin Case wrote: From: Konstantin Kolinko knst.koli...@gmail.com Just curious: why wtpwebapps? Eclipse IDE uses that name. Precisely :) Only because Eclipse publishes it there, so the name was kept. No other reason. Try with recent 6.0.x (build it yourself),

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 9:01 AM, Justin Case wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com JSPs are only compiled upon first reference, not before. That results in a slight (usually very slight) pause for the first guy in, so if you want to pre-compile them, there is a script

Re: New jsvc (commons-daemon-native); catalina.out is owned by root - WTF?

2010-12-02 Thread Gregor Schneider
Chris, On Wed, Dec 1, 2010 at 10:10 PM, Christopher Schultz ch...@christopherschultz.net wrote: I agree with Mladen: MySQL doesn't actually need root privileges for anything at all, so this is a good description of your desires, but not a really great example. Tomcat doesn't root-privileges

Re: New jsvc (commons-daemon-native); catalina.out is owned by root - WTF?

2010-12-02 Thread Mladen Turk
On 12/02/2010 12:05 PM, Gregor Schneider wrote: Besides, all logs are owned by tomcat:tomcat (as it should be) - the only exception is catalina.out. I guess you agree that this is not what somebody would call consistent behaviour... The catalina.out is written by a parent process running

Tomcat Admin page not installed

2010-12-02 Thread terry . mcbride
Hello all I have downloaded and installed tomcat 6.0.29 on a windows server I can access the Manager page, but there is no /admin page. /admin isnt listed under webapps How to I get access to the admin page?? Thanks so much

Re: Tomcat Admin page not installed

2010-12-02 Thread Mark Thomas
On 02/12/2010 11:39, terry.mcbr...@aero.bombardier.com wrote: Hello all I have downloaded and installed tomcat 6.0.29 on a windows server I can access the Manager page, but there is no /admin page. /admin isnt listed under webapps How to I get access to the admin page?? You'd need to

Re: Tomcat Admin page not installed

2010-12-02 Thread terry . mcbride
Thanks Mark I will look into jconsole - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Pid p...@pidster.com This is either because your application is not deployed, or because the request path you're using does not match the actual request path deployed. When you start Tomcat, is there a message in the logs saying: 02-Dec-2010 10:44:17

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Pid p...@pidster.com If the request isn't being routed to your application, then without a ROOT application the host hasn't got a mechanism to serve any response other than an error. Error is fine, as long it's a 404 (and not this enigmatic 400)... Thank you, JC

Re: New jsvc (commons-daemon-native); catalina.out is owned by root - WTF?

2010-12-02 Thread Gregor Schneider
Mladen, On Thu, Dec 2, 2010 at 12:37 PM, Mladen Turk mt...@apache.org wrote: On 12/02/2010 12:05 PM, Gregor Schneider wrote: If your developers need to see the stdout of the Tomcat on the production server then you have a serious problem. The first one that I find (well funny) is that they

Re: New jsvc (commons-daemon-native); catalina.out is owned by root - WTF?

2010-12-02 Thread Justin Case
From: Gregor Schneider rc4...@googlemail.com I feel that ppl have a problem if they mistrust their developers in so far that they have to lock their box even to their own developers maintaing the apps. And I'm not talking about full access but I'm talking about browsing the logs.

RE: automatic deployment without server.xml - bad request

2010-12-02 Thread Caldarale, Charles R
From: Justin Case [mailto:send_lotsa_spam_h...@yahoo.com] Subject: Re: automatic deployment without server.xml - bad request when I use the standalone context.xml it creates under work/Catalina/localhost a directory com.mycompany.myapp - which stays empty afterwards. When you say

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Caldarale, Charles R chuck.caldar...@unisys.com When you say standalone context.xml, are you referring to a Context element located in the webapp's META-INF/context.xml directory? Yes, that one. Make sure you don't have a conf/Catalina/[host]/[appName].xml file, since that

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

Comet while migrating to Tomcat 7

2010-12-02 Thread Ronald Klop
Hello, I'm trying Tomcat 7. The Comet classes have been moved from the org.apache.catalina package to the org.apache.catalina.comet package. That is fine by me. But for deployment reasons it would be easy if I can deploy the same war on Tomcat 6 and Tomcat 7. In that way I don't need a

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

[ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Mark Thomas
On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Mark - To unsubscribe, e-mail:

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: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Konstantin Kolinko
2010/12/2 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome, Sylvain! Best regards, Konstantin Kolinko

RE: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Martin Gainty
Bonjour Monsieur Laurent Bon Chance! Martin __ Note de déni et de confidentialité Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez

How to Run a Single Application instead of all Applications under webapps

2010-12-02 Thread Johnny Clark
I have used Jboss for a long time, but recently we've removed our dependencies on a full blown J2EE container so that we can run in Tomcat. I am trying to modify my development environment to support our standard workflow, but I can't figure out how to get Tomcat to run a specific application

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Rainer Jung
On 02.12.2010 16:47, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome Sylvain, and Congratulations! Regards, Rainer

RE: How to Run a Single Application instead of all Applications under webapps

2010-12-02 Thread Caldarale, Charles R
From: Johnny Clark [mailto:jcl...@acteksoft.com] Subject: How to Run a Single Application instead of all Applications under webapps I can't figure out how to get Tomcat to run a specific application as opposed to every application under the webapps directory. The proper terminology is

Re: Comet while migrating to Tomcat 7

2010-12-02 Thread Pid
On 12/2/10 3:28 PM, Ronald Klop wrote: Hello, I'm trying Tomcat 7. The Comet classes have been moved from the org.apache.catalina package to the org.apache.catalina.comet package. That is fine by me. But for deployment reasons it would be easy if I can deploy the same war on Tomcat 6 and

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 12:23 PM, Justin Case wrote: From: Pid p...@pidster.com This is either because your application is not deployed, or because the request path you're using does not match the actual request path deployed. When you start Tomcat, is there a message in the logs saying: 02-Dec-2010

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 12:34 PM, Justin Case wrote: From: Pid p...@pidster.com If the request isn't being routed to your application, then without a ROOT application the host hasn't got a mechanism to serve any response other than an error. Error is fine, as long it's a 404 (and not this enigmatic

How to schedule events on Tomcat?

2010-12-02 Thread Brian
Hi,   I have a regular app in my Tomcat server, based on the request/response paradigm.   I need some processes tu run at some specific intervals, lets say after 30 minutes of some events, or maybe every 30 minutes. Is there a way to do that on Tomcat, to schedule events?   I don't want to try

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: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread André Warnier
Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome, Sylvain. But now wait. If you make them all committers, we're going to run out of users

Re: How to Run a Single Application instead of all Applications under webapps

2010-12-02 Thread André Warnier
Caldarale, Charles R wrote: From: Johnny Clark [mailto:jcl...@acteksoft.com] Subject: How to Run a Single Application instead of all Applications under webapps I can't figure out how to get Tomcat to run a specific application as opposed to every application under the webapps directory. The

RE: How to schedule events on Tomcat?

2010-12-02 Thread Joseph Morgan
Why can't you use process scheduling of your OS? -Original Message- From: Brian [mailto:bbprefix-tom...@yahoo.com] Sent: Thursday, December 02, 2010 1:52 PM To: users@tomcat.apache.org Subject: How to schedule events on Tomcat? Hi,   I have a regular app in my Tomcat server, based on

APR/Native: when to use it?

2010-12-02 Thread Aggarwal, Ajay
Couple of APR related questions: 1. Is it always advisable to use APR if tomcat is the main web server? Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? What are the pros and cons of using it? Are there cons? 2. Will

How to schedule events on Tomcat

2010-12-02 Thread Brian
Wht I want to do is to call a method inside an object in the same java web app. Trying to do that from the OS would not be a good solution for me.     -Original Message- From: Joseph Morgan [mailto:joseph.mor...@ignitesales.com] Sent: Thursday, December 02, 2010 03:17 PM To: Tomcat

Questions about installing APR

2010-12-02 Thread Aggarwal, Ajay
My OS is centos 5.5, which has APR 1.2.7 pre-installed on it. # rpm -qa | grep apr apr-1.2.7-11.el5_3.1 apr-util-1.2.7-11.el5 I am using Tomcat version 6.0.20 and I located tomcat-native.tar.gz under tomcat/bin folder. I extracted the contents and now I am in

RE: APR/Native: when to use it?

2010-12-02 Thread Caldarale, Charles R
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com] Subject: APR/Native: when to use it? Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for core tomcat engine or do you need to write code to take advantage of it? That's

Re: Windows Service Uninstall

2010-12-02 Thread Thomas
Hi Mark, On 11/30/2010 08:41 PM, Mark Eggers wrote: Possibly Sysinternals? http://technet.microsoft.com/en-us/sysinternals/default.aspx See the Handle utility. Thanks for the tip, I usually install Sysinternals but didn't use the find handle-tool until now. Searching for the service name

Re: How to schedule events on Tomcat

2010-12-02 Thread Mark Thomas
On 02/12/2010 21:08, Brian wrote: Wht I want to do is to call a method inside an object in the same java web app. Trying to do that from the OS would not be a good solution for me. java.util.Timer and friends combined with a ServletContextListener Mark

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: Questions about installing APR

2010-12-02 Thread Mark Eggers
In RedHat-based Linux distributions (maybe in others), you'll need to install the development packages as well as the base packages. Look for: apr-devel apr-util-devel and install. Then you can do a configure with: ./configure --with-apr=/usr since the apr-1-config (at least that's what

RE: APR/Native: when to use it?

2010-12-02 Thread Aggarwal, Ajay
Thanks for your quick response, but I still don't know when should I use APR. That comparison table doesn't help me much (perhaps my ignorance here). -Original Message- Is it always advisable to use APR if tomcat is the main web server? No. Does it provide better performance for

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 12/2/2010 10:47 AM, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome to the team. -

Re: How to schedule events on Tomcat?

2010-12-02 Thread David kerber
On 12/2/2010 3:17 PM, Joseph Morgan wrote: Why can't you use process scheduling of your OS? -Original Message- From: Brian [mailto:bbprefix-tom...@yahoo.com] Sent: Thursday, December 02, 2010 1:52 PM To: users@tomcat.apache.org Subject: How to schedule events on Tomcat? Hi, I have a

GET and POST data in same request

2010-12-02 Thread Larry
Hello, I need to have an apache mod_rewrite pass a request ( which contains POST data ) along to my servlet with some GET parameters. I think when Tomcat sees the GET params, it invokes my servlet's doGet ( which annihilates my POST data ). I need to be able to access both the GET data from the

RE: Questions about installing APR

2010-12-02 Thread Aggarwal, Ajay
Thanks for your help. That worked. -Original Message- From: Mark Eggers [mailto:its_toas...@yahoo.com] Sent: Thursday, December 02, 2010 4:27 PM To: Tomcat Users List Subject: Re: Questions about installing APR In RedHat-based Linux distributions (maybe in others), you'll need to

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Pid p...@pidster.com On 12/2/10 12:34 PM, Justin Case wrote: Error is fine, as long it's a 404 (and not this enigmatic 400)... 400 isn't enigmatic and /is/ an error. ;) It IS an error indeed, but we're not talking about throwing just ANY random error number here :) 400 is a

Re: GET and POST data in same request

2010-12-02 Thread Justin Randall
GET and POST are HTTP verbs/operations. It is impossible to have a combo GET/POST. Which ever verb is specified in the HTTP headers is what will control whether doGet or doPost is called. You are correct that GET and POST reference data differently, however they are actions and not areas of

Re: GET and POST data in same request

2010-12-02 Thread Mark Thomas
On 02/12/2010 22:21, Larry wrote: Hello, I need to have an apache mod_rewrite pass a request ( which contains POST data ) along to my servlet with some GET parameters. I think when Tomcat sees the GET params, it invokes my servlet's doGet ( which annihilates my POST data ). I need to

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Pid
On 12/2/10 10:24 PM, Justin Case wrote: Yeah I probably will do that - but I will still regard it as a dirty hack... A ROOT app should be mandatory. p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

RE: How to schedule events on Tomcat

2010-12-02 Thread Brian
Mark, This is what I call a perfect solution. I already did it using your advice. Thanks! -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, December 02, 2010 04:13 PM To: Tomcat Users List Subject: Re: How to schedule events on Tomcat On 02/12/2010

RE: How to schedule events on Tomcat?

2010-12-02 Thread Brian
Thanks! -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, December 02, 2010 05:05 PM To: Tomcat Users List Subject: Re: How to schedule events on Tomcat? On 12/2/2010 3:17 PM, Joseph Morgan wrote: Why can't you use process scheduling of your OS?

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Justin Case
From: Pid p...@pidster.com On 12/2/10 10:24 PM, Justin Case wrote: Yeah I probably will do that - but I will still regard it as a dirty hack... A ROOT app should be mandatory. It's not - yet :) so I'm all legal without. But what do you think about the 400 error? Is it really

Re: Comet while migrating to Tomcat 7

2010-12-02 Thread Ronald Klop
Op donderdag, 2 december 2010 20:37 schreef Pid p...@pidster.com: On 12/2/10 3:28 PM, Ronald Klop wrote: Hello, I'm trying Tomcat 7. The Comet classes have been moved from the org.apache.catalina package to the org.apache.catalina.comet package. That is fine by me. But for deployment

RE: automatic deployment without server.xml - bad request

2010-12-02 Thread Caldarale, Charles R
From: Justin Case [mailto:send_lotsa_spam_h...@yahoo.com] Subject: Re: automatic deployment without server.xml - bad request ...or maybe I should consider whether my application can be both root AND answer to the context... Really, you *must* have a default webapp. Why don't you just

Re: automatic deployment without server.xml - bad request

2010-12-02 Thread Markus Schönhaber
02.12.2010 20:44, Pid: On 12/2/10 12:34 PM, Justin Case wrote: From: Pid p...@pidster.com If the request isn't being routed to your application, then without a ROOT application the host hasn't got a mechanism to serve any response other than an error. Error is fine, as long it's a 404

Re: [ANN] New Tomcat committer: Sylvain Laurent (slaurent)

2010-12-02 Thread Keiichi Fujino
2010/12/3 Mark Thomas ma...@apache.org: On behalf of the Tomcat committers I am pleased to announce that Sylvain Laurent (slaurent) has been voted in as a new Tomcat committer. Please join me in welcoming him. Welcome Sylvain! -- Keiichi.Fujino

Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-02 Thread Bill Wang
Hi All, Let me explain the situation. We got running tomcat with application ABC in /export/home/xyz/apache-tomcat/webapp/ABC, applicaiton ABC is deployed by ABC.war, and owner is xyz We plan to migrate to /opt/tomcat/apache-tomcat/webapp/ABC, so I install the second tomcat under /opt/tomcat,

Re: Accident: After app in one tomcat is deleted, the same app in another tomcat is disappeared.

2010-12-02 Thread Konstantin Kolinko
2010/12/3 Bill Wang bw57...@gmail.com: Is it possible? I do not think that it is possible. Maybe you are running more than 2 tomcat instances (e.g. failed to stop some old one properly). Maybe one of them runs with wrong $CATALINA_HOME or wrong $CATALINA_BASE. Maybe one of them runs with root

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: