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 wrote: > On Apr 8, 2010, at 12:59, "emerson cargnin" > wrote: > >

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 wrote: >> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] >>

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 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 pr

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 Note:T

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 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. > >

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 wrote: >> From: emerson cargnin [mailto:echofloripa.y...@gmail.com] >> Subject: Re: Tomcat 6.0.26 Download

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 wrote: > On 03/11/2010 05:03 PM, Caldarale, Charles R wrote: >> >> I guess we'll ha

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: 6.0.24 Pid Problem

2010-03-10 Thread emerson cargnin
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 wrote: > On 10/03/2010 09:59, emerson cargnin wrote: >> >> We have a wrapper script that is in charge of s

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 th

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

2010-03-03 Thread emerson cargnin
Yes, as the webapp would have to remain on its stable version between releases and the external resources should be updated with the latest versions. Thanks for the info om TC7 On 2 March 2010 10:21, Konstantin Kolinko wrote: > 2010/3/1 emerson cargnin : >> Am I wrong or tomcat 7 wil

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 wrote: > Actually I jus

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

2010-03-01 Thread emerson cargnin
ld be deployed outside of the release cycle of the applications. On 1 March 2010 16:47, Konstantin Kolinko wrote: > 2010/3/1 emerson cargnin : >> Now we are trying to not use the restart script and rely only on the >> manager deployment feature, but we still need to add this symlink fro

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 aft

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 command

Blocked threads in tomcat

2008-10-31 Thread emerson cargnin
Hi Guys We have our latest release going through the QA now, and during load tests after a certain number of users (around 40) the threads starting to block and the response time goes through space. Worth mentioning that each calls another two local service in the same server, so that will have at

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

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 not

Re: Not showing error during deployment

2008-10-21 Thread emerson cargnin
t;[EMAIL 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 >

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 yo

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 >

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-dev&m=119820558711402&w=2 they have the same problem, the context is the same and they end up fin

Re: Not showing error during deployment

2008-10-20 Thread emerson cargnin
d.php?t=27967&page=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 mi

Re: Disabling catalina.out log

2008-10-20 Thread emerson cargnin
- catalina.out 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

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=27967&page=2 > > Anyone know how to configure tomcat to

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=27967&page=2 Anyone know how to configure tomcat to show listeners errors? emerson 2008/10/16 emerson cargnin <[EMAIL PROTECTED]>: > I changed the loggins.p

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 >

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 an

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 an

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% %DEBUG_O

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
smaller amount, 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]>: >&g

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

Re: War re-deployment

2008-09-01 Thread emerson cargnin
and from what I read 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: "

Re: War re-deployment

2008-08-29 Thread emerson cargnin
ar file in tomcat. > 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 > Sent: Fri, 29 Aug 2008 3:52 pm > Subject: Re: War

Re: War re-deployment

2008-08-29 Thread emerson cargnin
? Or maybe 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.ap

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 any

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.

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 PROTECTED

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 2>&1 & This file is not rateable,

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: Logging for Dummies in Tomcat 5.5/6.0

2008-08-13 Thread emerson cargnin
x27;s. Another 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 redirectio

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 sum

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 tomca

Re: My Log4j statements going crazy in catalina.out

2008-08-08 Thread emerson cargnin
ion.ManagerBase.level = INFO -- 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, >

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' fin

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 we

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

2008-02-26 Thread emerson cargnin
e Java dream come true. > > --- > > - Original Message - > > From: "emerson cargnin" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" > > Sent: Monday, February 18, 2008

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

2008-02-26 Thread emerson cargnin
be included 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 tha

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

2008-02-21 Thread emerson cargnin
t;[EMAIL 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 migrat

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

2008-02-21 Thread emerson cargnin
Thanks Tim. Do you know if this will be included on next release of tomcat6? regards emerson On 19/02/2008, Tim Funk <[EMAIL PROTECTED]> wrote: > If you are brave ... you can apply this patch: > > http://svn.apache.org/viewvc?view=rev&revision=575332 > > -Tim &g

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

2008-02-21 Thread emerson cargnin
on the internet then what you are > requesting violates any competent security 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 a

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: > &g

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

2008-02-19 Thread emerson cargnin
's to outside of the war or expanded folder > > > We have a similar need. But doing this with JSPs 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

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

2008-02-18 Thread emerson cargnin
ile system. http://server/[context]/jsp/* http://server/[context]/css/* http://server/[context]/html/* http://server/[context]/images/* Thanks emerson On 18/02/2008, David Brown <[EMAIL PROTECTED]> wrote: > Once the .war is expanded why would you want to map to JSPs outside of the > fil

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

2008-02-18 Thread emerson cargnin
to have the JSP's out side of the war or the expanded war. I did a research a couple of years ago. Did it changed? Is there anyway now of mapping the jsp's of an app to an outside folder? Thanks Emerson Cargnin - To s