Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-03 Thread Leigh Anderson
Hi All, I'm trying to start a web application with 'mvn tomcat7:run'. It seems that with the configuration below it fails with the following error: [INFO] [ERROR] Failed to execute goal

Re: Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-03 Thread Olivier Lamy
Hello, With version from codehaus manager url for tomcat7 is not correct. (see http://mojo.codehaus.org/tomcat-maven-plugin/examples/deployment-tomcat7.html) Regarding the plugin prefix trouble, you have two solutions to use the correct version: * use the full cli: mvn

Re: PermGen error

2012-04-03 Thread Vijay
Why i am getting PermGen space error even increasing permgen size Heap Size to 1024MB. Tomcat : apache-tomcat-6.0.33 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: PermGen error

2012-04-03 Thread the.6th.mo...@gmail.com
hello, Vijay: could you possibly give more details, you can run jmap --heap pid to collect the memory allocation info of your java process. And it's better to have your java process info with full command options pasted here. Leon On 3 April 2012 16:26, Vijay vijay.gan...@subk.co.in wrote: Why

Re: PermGen error

2012-04-03 Thread Casper Wandahl Schmidt
Den 03-04-2012 10:26, Vijay skrev: Why i am getting PermGen space error even increasing permgen size Heap Size to 1024MB. Tomcat : apache-tomcat-6.0.33 Try reading: http://www.catb.org/~esr/faqs/smart-questions.html http://www.catb.org/%7Eesr/faqs/smart-questions.html Kind regards

Re: PermGen error

2012-04-03 Thread Ognjen Blagojevic
On 3.4.2012 10:35, Casper Wandahl Schmidt wrote: Den 03-04-2012 10:26, Vijay skrev: Why i am getting PermGen space error even increasing permgen size Heap Size to 1024MB. Tomcat : apache-tomcat-6.0.33 Try reading: http://www.catb.org/~esr/faqs/smart-questions.html Exactly. Also, check

Re: [OT] Deleting URLClassloader Cached Jars/Classes

2012-04-03 Thread Peter Lavin
Thanks guys, I'll look at this again, esp the JasperLoader, thanks, Peter On 04/02/2012 11:20 PM, Pid wrote: On 02/04/2012 22:33, Konstantin Kolinko wrote: 2012/4/3 Christopher Schultzch...@christopherschultz.net: Is there a way to empty this cache, or disable caching all together? Not

Re: Tomcat6 - Context - aliases

2012-04-03 Thread Léa Massiot
Thank you all three for your last answers. André Warnier wrote this might help, in a container- and version-independent way : http://jaitechwriteups.blogspot.de/2007/01/how-to-read-properties-file-in-web.html I'm sorry, no offence... but I don't see how... :/ Pid * wrote Please define

AW: FormAuthentication Valve changes fail with RequestListeners?

2012-04-03 Thread Thomas Strauß
Hi, we have done the tests and got the following results (7.0.11 and 7.0.26). Thank you for taking the time: === Tomcat 7.0.11 == First call to portal: [http-bio-8080-exec-3| INFO | 30-03 16:47:29:005]

Re: Tomcat6 - Context - aliases

2012-04-03 Thread André Warnier
Léa Massiot wrote: Thank you all three for your last answers. André Warnier wrote this might help, in a container- and version-independent way : http://jaitechwriteups.blogspot.de/2007/01/how-to-read-properties-file-in-web.html I'm sorry, no offence... but I don't see how... :/ No offence

Enabling Manager

2012-04-03 Thread pawan.kumar23
Hi guys, Can any body explain, how to enable Manager in Tomcat? We are using tomcat-6.0.32.B.RELEASE. Rgds, pawan Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the

RE: Enabling Manager

2012-04-03 Thread Osipov, Michael
pawan.kuma...@wipro.com wrote: Hi guys, Can any body explain, how to enable Manager in Tomcat? We are using tomcat-6.0.32.B.RELEASE. By reading he documentation! - To unsubscribe, e-mail:

RE: Enabling Manager

2012-04-03 Thread pawan.kumar23
Hey, I mean, I tried with the configuration in tomcat-users.xml. Here added the users and restarted the server, but iam getting 404 error here. -Original Message- From: Osipov, Michael [mailto:michael.osi...@siemens.com] Sent: Tuesday, April 03, 2012 5:24 PM To: Tomcat Users List

Re: AW: FormAuthentication Valve changes fail with RequestListeners?

2012-04-03 Thread André Warnier
Thomas Strauß wrote: ... We have not succeeded so far. I want to give you some more information what happens, the context.xml and the web.xml What we have changed versus the existing setup, working on 7.0.11 - We have moved the login.jsp into the protection domain (was outside before). This

Re: Enabling Manager

2012-04-03 Thread André Warnier
pawan.kuma...@wipro.com wrote: Hey, I mean, I tried with the configuration in tomcat-users.xml. Here added the users and restarted the server, but iam getting 404 error here. Maybe you forgot to remove a !-- ... -- pair somewhere ? -Original Message- From: Osipov, Michael

RE: Enabling Manager

2012-04-03 Thread Caldarale, Charles R
From: pawan.kuma...@wipro.com [mailto:pawan.kuma...@wipro.com] Subject: RE: Enabling Manager Can any body explain, how to enable Manager in Tomcat? We are using tomcat-6.0.32.B.RELEASE. Since there's no official Tomcat release with that nomenclature, you'll have to ask whatever 3rd-party

Re: Bash script for monitoring status of the Tomcat server

2012-04-03 Thread Leon Rosenberg
or... you take moskito which comes with buildin threadmonitoring, configure your thresholds, and watch logfile with your bashscript for RED,YELLOW,ORANGE messages... regards Leon P.S. http://moskito.anotheria.net/moskitodemo/mui/mskThresholds On Tue, Apr 3, 2012 at 1:20 AM, Darryl Lewis

Enabling logging in Tomcat 5.5

2012-04-03 Thread David Sills
All: I am forced by a client's requirement to use Java 1.4.2 (I know, antediluvian, right?) and so to test on Tomcat 5.5 with the compatibility package. So far, Tomcat works fine, with one exception: I get no logs. I have set up logging just as suggested (in detail) in

Re: Running Tomcat as a Standalone desktop Application

2012-04-03 Thread DaveNoth
Good point Chris. Other then occasionally checking for updates, the system is intended to remain offline. dave -- View this message in context: http://tomcat.10.n6.nabble.com/Running-Tomcat-as-a-Standalone-desktop-Application-tp4671621p4682043.html Sent from the Tomcat - User mailing list

Re: Enabling logging in Tomcat 5.5

2012-04-03 Thread Konstantin Kolinko
2012/4/3 David Sills dsi...@datasourceinc.com: I am forced by a client's requirement to use Java 1.4.2 (I know, antediluvian, right?) and so to test on Tomcat 5.5 with the compatibility package. So far, Tomcat works fine, with one exception: I get no logs. I have set up logging just as

Re: Ant Tasks Question

2012-04-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 4/2/12 5:43 PM, Nick Williams wrote: As for the ant-i-fication of the JspC compiler, I, too get the impression that it was rather an afterthought. However, it is not necessary or even that common for tasks to be called *Task, as

Re: Enabling Manager

2012-04-03 Thread Muthu
You have to make sure /manager application available in /webapps folder of Tomcat installation. Sent from my iPhone On 3 Apr 2012, at 13:55, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: pawan.kuma...@wipro.com [mailto:pawan.kuma...@wipro.com] Subject: RE: Enabling Manager

RE: Enabling logging in Tomcat 5.5

2012-04-03 Thread David Sills
Konstantin: Many thanks for your questions. I am using log4j (again, client requirement - they like the formatting and they're familiar with the configuration files). I'm currently using a fairly current version of log4j (1.2.16), as it seems to be compiled against the JDK 1.2 or lower APIs

Re: Enabling logging in Tomcat 5.5

2012-04-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/3/12 1:02 PM, David Sills wrote: It seems to be better if I create a setenv.bat file with this content: set CLASSPATH=..\common\classes;..\common\lib\org.apache.log4j-1.2.16.jar You shouldn't have to do that: Tomcat should

RE: Enabling logging in Tomcat 5.5

2012-04-03 Thread David Sills
Actually, yes, it really doesn't work unless I explicitly set the opening classpath. I sort of got the hint when the famous error message about log4j not being configured correctly started popping up. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net]

RE: Ant Tasks Question

2012-04-03 Thread Nick Williams
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 03, 2012 9:03 AM To: Tomcat Users List Subject: Re: Ant Tasks Question -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 4/2/12 5:43 PM, Nick Williams wrote: As for the

Re: Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-03 Thread Matt Munz
Olivier, I made that change to settings.xml and now I'm getting a different error. [1] How can I find out where this plugin is stored? Perhaps there is a problem with the repository or my repository configuration. [1] [WARNING] The POM for