Re: Avoiding random JMX port on tomcat

2010-05-12 Thread emerson cargnin
Thanks Chuck But I meant in changing this random port to a specific one without having to change the server.xml to add a new listener and jars. regards Emerson On 9 April 2010 02:12, Caldarale, Charles R chuck.caldar...@unisys.comwrote: On Apr 8, 2010, at 12:59, emerson cargnin echofloripa.y

Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
Hi I want to configure JMX on our servers, but I am having problems as JMX opens a second random port. In tomcat 5.5 there was a way to override that port. Is there anyway to do this on tomcat 6? From here: http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling%20JMX%20Remote

Re: Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
It is not in that page... I saw that in 5.5... On 8 April 2010 16:51, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: emerson cargnin [mailto:echofloripa.y...@gmail.com] Subject: Avoiding random JMX port on tomcat I want to configure JMX on our servers, but I am having problems

Re: Avoiding random JMX port on tomcat

2010-04-08 Thread emerson cargnin
Ops, I thought you were referring to the same page. My fault. I would be great if that could be configured directly in the properties, like the rest of the JMX stuff. On 8 April 2010 16:58, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: emerson cargnin [mailto:echofloripa.y

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-12 Thread emerson cargnin
I am having issues to expand the tar.gz version, having tried several different mirrors. The zip works though. Regards Emerson On 11 March 2010 18:09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: emerson cargnin [mailto:echofloripa.y...@gmail.com] Subject: Re: Tomcat 6.0.26

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-12 Thread emerson cargnin
Sorry, that happened on chrome, in FF it worked fine. On 12 March 2010 11:02, Mark Thomas ma...@apache.org wrote: On 12/03/2010 10:55, emerson cargnin wrote: I am having issues to expand the tar.gz version, having tried several different mirrors. The zip works though. Works for me. Try

Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread emerson cargnin
In the tomcat 6 download page, it says that 6.0.26 is available, but the links are broken: http://tomcat.apache.org/download-60.cgi I suppose that it is due to be updated at any moment. Besides that, how can I find the release notes for the 6.0.26? Regards Emerson

Re: Tomcat 6.0.26 Download and Release Notes

2010-03-11 Thread emerson cargnin
I managed to download from the main site, but inside the release notes I can't see what are the changes from the 6.0.24. Is there anywhere where I could find this info? Emerson On 11 March 2010 16:15, Mladen Turk mt...@apache.org wrote: On 03/11/2010 05:03 PM, Caldarale, Charles R wrote: I

6.0.24 Pid Problem

2010-03-10 Thread emerson cargnin
We have a wrapper script that is in charge of starting and stopping tomcat. Since we moved from 6.0.20 to 6.0.24 we started to get a few issues with the pid not been removed properly making the start script to fail and never starting tomcat. I know of the change that added a delay parameter to

Re: 6.0.24 Pid Problem

2010-03-10 Thread emerson cargnin
, and the standard 5 seconds isn't enough and then it fails, leaving behind the pid file. I am testing now increasing the timeout parameter. Emerson On 10 March 2010 10:20, Pid p...@pidster.com wrote: On 10/03/2010 09:59, emerson cargnin wrote: We have a wrapper script that is in charge of starting

Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread emerson cargnin
At the moment we have a special script that stops tomcat, expands the war file and adds a symlink that point to a common set of JSPs, to then start tomcat again. This symlink was needed as tomcat doesn't have a way to create a mount to outside of the webapp (apparently it was added and removed

Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread emerson cargnin
be deployed outside of the release cycle of the applications. On 1 March 2010 16:47, Konstantin Kolinko knst.koli...@gmail.com wrote: 2010/3/1 emerson cargnin echofloripa.y...@gmail.com: Now we are trying to not use the restart script and rely only on the manager deployment feature, but we still need

Re: Adding a symlink from inside the app after deployment - What's the best approach?

2010-03-01 Thread emerson cargnin
Am I wrong or tomcat 7 will provide support for folder aliasing (pull in resources from external locations)? http://mail-archives.apache.org/mod_mbox//tomcat-dev/200905.mbox/4a1c5275.7010...@apache.org Regards Emerson On 1 March 2010 17:11, emerson cargnin echofloripa.y...@gmail.com wrote

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: Not showing error during deployment

2008-10-21 Thread emerson cargnin
PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emerson, emerson cargnin wrote: What is the right approach to show the deployment errors? This error: SEVERE: Context [/search] startup failed due to previous errors Indicates that the original error is /before/ this message in the log

catalina.out rotation

2008-10-21 Thread emerson cargnin
Hi again... Has anyone here used Logadm to implement rotation on the catalina.out? http://www.softpanorama.org/Logs/log_rotation_in_solaris.shtml I know i can rotate a log file configure via log4j, but that is useless if catalina.out continues receiving everything. Eliminating catalina.out is

Re: catalina.out rotation

2008-10-21 Thread emerson cargnin
I had read that thread and I share your frustration. And I'm a developer : ) I believe that admlog does the same thing for solaris. We will try to set that up in one of our boxes. thanks PS: andre, are you brazilian too? :) 2008/10/21 André Warnier [EMAIL PROTECTED]: emerson cargnin wrote: Hi

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
still has all log4j messages. Could someone confirm what is the right behaviour? regards Emerson 2008/8/21 emerson cargnin [EMAIL PROTECTED]: Which are the views of other people in the list? On 21/08/2008, emerson cargnin [EMAIL PROTECTED] wrote: Kees That one is another log file

Re: Not showing error during deployment

2008-10-20 Thread emerson cargnin
?t=27967page=2 How can I see those messages? regards emerson 2008/10/17 emerson cargnin [EMAIL PROTECTED]: No one has ever got this issue? 2008/10/16 emerson cargnin [EMAIL PROTECTED]: I found out this is because the errors might be happening inside spring: http://forum.springframework.org

Slow jsps in tomcat

2008-10-20 Thread emerson cargnin
Hi I'm using tomcat 5.5.26 and JDK 1.5. After we upgraded standard and jstl version to 1.1.2, the pages started to take more than 30 seconds to render. In this discussion: http://marc.info/?l=taglibs-devm=119820558711402w=2 they have the same problem, the context is the same and they end up

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
Please correct me if I'm wrong. 2008/10/20 emerson cargnin [EMAIL PROTECTED]: Again the issue of the logs. According to: http://tomcat.apache.org/tomcat-5.5-doc/logging.html 1) I add log4j-1.2.15.jar and commons-logging-1.1.1.jar inside my common/lib 2) I create a log4j.properties inside

Re: Appeal to Tomcat developers

2008-10-20 Thread emerson cargnin
Hi Chris Configuring Tomcat logging is usually easy: if you accept the default configuration, you get catalina.out (stdout), plus some daily-rolled files that are all defined in logging.properties. The logging.properties file contains configuration and documentation that are helpful if

Re: Not showing error during deployment

2008-10-17 Thread emerson cargnin
No one has ever got this issue? 2008/10/16 emerson cargnin [EMAIL PROTECTED]: I found out this is because the errors might be happening inside spring: http://forum.springframework.org/showthread.php?t=27967page=2 Anyone know how to configure tomcat to show listeners errors? emerson 2008

Re: Not showing error during deployment

2008-10-16 Thread emerson cargnin
I changed the loggins.properties and put all as ALL, after trying finest. Still I don't get any further messages that would clarify the problem. emerson 2008/10/15 emerson cargnin [EMAIL PROTECTED]: I tried doing the log4j trick and just noticed that that just works in linux/unix. Why can't

Re: Not showing error during deployment

2008-10-16 Thread emerson cargnin
I found out this is because the errors might be happening inside spring: http://forum.springframework.org/showthread.php?t=27967page=2 Anyone know how to configure tomcat to show listeners errors? emerson 2008/10/16 emerson cargnin [EMAIL PROTECTED]: I changed the loggins.properties and put

Not showing error during deployment

2008-10-15 Thread emerson cargnin
Hi I'm using TC 5.5.26 and java 5. When I deploy one webapp I get the following error: SEVERE: Context [/search] startup failed due to previous errors But it doesn't give any further error. Some other times I added a log4j configuration on the common/classes and the log4j jar inside common\lib

Re: Not showing error during deployment

2008-10-15 Thread emerson cargnin
I tried doing the log4j trick and just noticed that that just works in linux/unix. Why can't logging in tomcat be simpler??? I just want to see the error that is happening during deployment... 2008/10/15 emerson cargnin [EMAIL PROTECTED]: Hi I'm using TC 5.5.26 and java 5. When I deploy one

Re: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16

2008-09-18 Thread emerson cargnin
None of them worked. Although putting the -Dcom.sun.management.jmxremote=true i stopped getting the error messages, but still Jconsole wouldn't work. The only way was to copy directly in the command in the catalina.bat, which is terrible I know!!! %_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%

Re: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16

2008-09-17 Thread emerson cargnin
, of course, but still, never decreasing. Wouldn't it be a problem with the JVM or tomcat and the plataform? This is really a show stopper for us, and I believe can affect a lot of people as well. regards Emerson 2008/9/17 Caldarale, Charles R [EMAIL PROTECTED]: From: emerson cargnin [mailto

Re: War re-deployment

2008-09-03 Thread emerson cargnin
Does anyone know how tomcat should work regarding to this? On 01/09/2008, emerson cargnin [EMAIL PROTECTED] wrote: Hi Johnny But the way every one understands is... drop the war into webapps... thats it. Its smart... if the war has changed TC will fix things... If you drop a war

Re: War re-deployment

2008-09-01 Thread emerson cargnin
from the docs is that if you deploy a war in a dead tomcat, it won't re-deploy unless you remove the expanded folder from a previous deploy. regards emerson On 29/08/2008, Johnny Kewl [EMAIL PROTECTED] wrote: - Original Message - From: emerson cargnin [EMAIL PROTECTED] To: Tomcat Users

War re-deployment

2008-08-29 Thread emerson cargnin
Hi, I'm using tomcat 5.5.26 and after having a look at the host application deployment ( http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment ) I still have a doubt: If tomcat is down and I change a war file in webapps, after restarting tomcat, is there

Re: War re-deployment

2008-08-29 Thread emerson cargnin
would be to stop tomcat remove the old app, add the war and re-start tomcat? regards emerson On 29/08/2008, emerson cargnin [EMAIL PROTECTED] wrote: Hi, I'm using tomcat 5.5.26 and after having a look at the host application deployment ( http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

Re: War re-deployment

2008-08-29 Thread emerson cargnin
. See http://tomcat.apache.org/tomcat-5.5-doc/manager-howto.html for more details. -Original Message- From: emerson cargnin [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Fri, 29 Aug 2008 3:52 pm Subject: Re: War re-deployment And what's the best/most

Re: Disabling catalina.out log

2008-08-21 Thread emerson cargnin
Kees That one is another log file, configured at logging.properties: 1catalina.org.apache.juli.FileHandler.level = INFO 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1catalina.org.apache.juli.FileHandler.prefix = catalina. On 20/08/2008, Kees Jan Koster [EMAIL

Re: Disabling catalina.out log

2008-08-21 Thread emerson cargnin
Which are the views of other people in the list? On 21/08/2008, emerson cargnin [EMAIL PROTECTED] wrote: Kees That one is another log file, configured at logging.properties: 1catalina.org.apache.juli.FileHandler.level = INFO 1catalina.org.apache.juli.FileHandler.directory = ${catalina.base

Re: Disabling catalina.out log

2008-08-20 Thread emerson cargnin
Truncating? It should be a rolling file, rolling over daily. You can just remove the old versions. Is this a stock tomcat, one from the ports, or maybe a particularly old one? catalina.out is set at the catalina.sh: $CATALINA_BASE/logs/catalina.out 21 This file is not rateable, as it is

Re: My Log4j statements going crazy in catalina.out

2008-08-14 Thread emerson cargnin
Thanks gregor. This would be to get tomcat to rotate right? What i was testing was to have a log4j.properties (which I believe is the same outcome as the log4j.xml) in the common/classes, and commons logging and log4j jars in the common/lib. This worked right I had a tomcat.log which rotates and

Re: My Log4j statements going crazy in catalina.out

2008-08-13 Thread emerson cargnin
Any suggestion on this? thanks emerson On 08/08/2008, emerson cargnin [EMAIL PROTECTED] wrote: Hi there sorry for the lack of information. I'm running tomcat 5.5.26. logging.properties are in the tomcat/conf folder. My log4j file is inside tomcat/bin/resources This is the location where

Re: Logging for Dummies in Tomcat 5.5/6.0

2008-08-13 Thread emerson cargnin
If I redirect log4j logs as described int he page below, is it not adivisable to remove the console redirection to catalina.out? http://minaret.biz/tips/tomcatLogging.html#tomcat_5_5_logging emerson On 20/06/2008, Mark Thomas [EMAIL PROTECTED] wrote: André Warnier wrote: To attempt a summary

Re: Logging for Dummies in Tomcat 5.5/6.0

2008-08-13 Thread emerson cargnin
thing, the logging.properties has any impact on which application logs are written? regards emerson On 13/08/2008, emerson cargnin [EMAIL PROTECTED] wrote: If I redirect log4j logs as described int he page below, is it not adivisable to remove the console redirection to catalina.out? http

My Log4j statements going crazy in catalina.out

2008-08-08 Thread emerson cargnin
Hi Guys My Log4j configuration has all turned to ERROR in my log4j.lcf. In resin this works right, so no INFO or DEBUG in the resin main log file. In tomcat, though, even if my log file has only ERROR statements, catalina.out seems to be getting all INFO, DEBUG from my application. I couldnt'

Re: My Log4j statements going crazy in catalina.out

2008-08-08 Thread emerson cargnin
-- On 08/08/2008, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emerson, emerson cargnin wrote: | In tomcat, though, even if my log file has only ERROR statements, | catalina.out seems to be getting all INFO, DEBUG from my application. | I

Validation

2008-06-13 Thread emerson cargnin
I saw that in the server.xml web.xml validation is disabled. And with the comment: Note: XML Schema validation will not work with Xerces 2.2 The thing is, I can't see any xerces library inside tomcat. I have xerces 2.4 on my app, but I believe it doesn't matter my webapp lib. Even in examples

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread emerson cargnin
in the war during packing or using symlinks in linux. regards Emerson On 21/02/2008, Ralph Goers [EMAIL PROTECTED] wrote: We put a proxy in front of Tomcat. It serves all the static content. emerson cargnin wrote: Well, I said at the beginning that I'm not a big fan of this approach, but I

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-26 Thread emerson cargnin
: emerson cargnin [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, February 18, 2008 1:26 PM Subject: Re: Mapping JSP's to outside of the war or expanded folder == I dont know if this will help... it seems the main problem is that its deployed as a War

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
audit. If they are running on your local intranet then yes, it might not be a big deal. But even then, if the server could be used to get at personnel records or payroll, etc. then this could be just as big an issue. Ralph emerson cargnin wrote: This is not really an issue for me

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-21 Thread emerson cargnin
PROTECTED] wrote: From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Re: Mapping JSP's to outside of the war or expanded folder and... any idea on how to map to the jsp's outside? Nobody ever need it? how do people migrate from resin then? Nobody needs it because it's a clear

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread emerson cargnin
is very dangerous since they can have java code within them. Instead, using a templating language like Velocity would seem to be a mucn better approach. emerson cargnin wrote: The policy of our company is to deploy the jsp's separated from the war file, to allow a finer grained control over

Re: Mapping JSP's to outside of the war or expanded folder

2008-02-19 Thread emerson cargnin
This is not really an issue for me, as the access to the servers are totally strict and... any idea on how to map to the jsp's outside? Nobody ever need it? how do people migrate from resin then? On 19/02/2008, Ralph Goers [EMAIL PROTECTED] wrote: emerson cargnin wrote: We use windows