RE: Logging startup parms for Tomcat...

2009-10-10 Thread Martin Gainty
did you take a look at NotificationListener for JMX Events... if you can map the uri (and/or request) stick with filter such as NotificationFilter http://www.informit.com/articles/article.aspx?p=27842&seqNum=5 hth Martin Gainty __ Verzicht und Vertra

Re: poor-man's plugins: loading a subclass of a Web application class from common/lib

2009-10-10 Thread Peter Crowther
2009/10/11 Adam Monsen : > I have a Web application which includes an abstract class: > "TransactionImport". > > I compiled a subclass of TransactionImport (AudiBankImporter), placed > the class in a jar, then placed the jar in $CATALINA_HOME/lib. > > What I'd like to do is load the compiled AudiB

poor-man's plugins: loading a subclass of a Web application class from common/lib

2009-10-10 Thread Adam Monsen
I have a Web application which includes an abstract class: "TransactionImport". I compiled a subclass of TransactionImport (AudiBankImporter), placed the class in a jar, then placed the jar in $CATALINA_HOME/lib. What I'd like to do is load the compiled AudiBankImporter class from the Web applica

RE: Logging startup parms for Tomcat...

2009-10-10 Thread Caldarale, Charles R
> From: Tony Anecito [mailto:adanec...@yahoo.com] > Subject: Logging startup parms for Tomcat... > > I need to see the jvm startup params (memory settings, ect) for Tomcat. > How do I enable that to showup in the logs? Good question, and I don't have a complete answer. You can set -XX:+PrintComm

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread André Warnier
Ziggy wrote: Have a look at this page http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html On Sat, Oct 10, 2009 at 11:12 AM, Ziggy wrote: Sorry vijay my comments were directed at Andre Ziggy, Vijay, my comments were not really /meant/ to be rude. But I admit they were kind of rough.

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars Not that it was my thread to begin with, and not thjat it's really dramatic either, but I suppose you guys must realise that you lost me, like, about 15 pos

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Mark Thomas
André Warnier wrote: > Sam Crawford wrote: >> Apologies for misinterpreting your post. >> >> Unfortunately we can't ditch SunONE - it's a requirement from our >> security guys. We're operating in a two-tier DMZ environment and >> SunONE will be in the top tier, with an SSO agent running inside it.

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > Not that it was my thread to begin with, and not thjat it's really > dramatic either, but I suppose you guys must realise that you lost me, > like, about 15 posts ago ? What, ar

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread André Warnier
Sam Crawford wrote: Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment and SunONE will be in the top tier, with an SSO agent running inside it. JBoss will be in the 2nd tier. Jus

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Sam Crawford
Apologies for misinterpreting your post. Unfortunately we can't ditch SunONE - it's a requirement from our security guys. We're operating in a two-tier DMZ environment and SunONE will be in the top tier, with an SSO agent running inside it. JBoss will be in the 2nd tier. Thanks, Sam 2009/10/10

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 9:26 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars My direct experience that had

RE: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Caldarale, Charles R
> From: Sam Crawford [mailto:samcrawf...@gmail.com] > Subject: Re: mod_jk inserting Transfer-Encoding Chunked header > > Let's not turn this into a "which web server is better" thread please. No intention. > I've got a number of reasons for using SunONE over Apache in this > instance, but they'r

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Sam Crawford
Let's not turn this into a "which web server is better" thread please. I've got a number of reasons for using SunONE over Apache in this instance, but they're not relevant to the issue here. I'm going to continue experimenting with this setup, and will post an update here. Thanks, Sam 2009/10/

tomcat 5.5.17, fails group(roles) authentication in ldap

2009-10-10 Thread Grey Karapetyan
hello Guys, need help... i use tomcat 5.5.17 1)server.xml ldap://x.x.x.x:xxx"; allRolesMode="AuthOnly" referrals="follow" userBase="ou=Users,dc=mydomain" userSubtree="true" userSearch="(uid={0})" roleBase="ou=Groups,dc=mydomain"

RE: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Caldarale, Charles R
> From: Sam Crawford [mailto:samcrawf...@gmail.com] > Subject: Re: mod_jk inserting Transfer-Encoding Chunked header > > I'll keep investigating, but suspect I may have to switch to using the > stock SunONE reverse proxy (which doesn't seem to exhibit this issue). The question arises: why are you

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Sam Crawford
Thanks Rainer. I've done as you suggested and enabled trace logging on mod_jk. The output doesn't show any Transfer-Encoding header, which leads me to believe that your suggestion that mod_jk is inadvertently triggering SunONE into inserting this header is correct. A portion of the log output is c

Logging startup parms for Tomcat...

2009-10-10 Thread Tony Anecito
Hi All, I need to see the jvm startup params (memory settings, ect) for Tomcat. How do I enable that to showup in the logs? Thanks, -Tony - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional com

Re: mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Rainer Jung
On 10.10.2009 12:32, Sam Crawford wrote: > Hello, > > I've got a simple web application deployed, and am accessing it via a > basic mod_jk load balancer setup. The web application on the J2EE app > server is returning a fixed "Content-Length: 84" header (it's just a > HelloWorld page for testing p

Re: httpd/JK/Tomcat hung connections (2009 edition)

2009-10-10 Thread Rainer Jung
On 10.10.2009 16:45, darinpope wrote: > > I'm having the same issue as documented in: > > http://www.nabble.com/httpd-JK-Tomcat-hung-connections-td10403182.html > > For our situation, we haven't hit the "server reached MaxClients setting" > issue yet, but we easily could. Use thread dumps to s

Re: Force access to one application in one tomcat in Clustered scenary

2009-10-10 Thread Rainer Jung
On 05.10.2009 12:45, Carlos García Gómez wrote: > Hello, > > I have this hardware solution > > + One HTTP/HTTPS balancer. > + four serves > - Two Apaches (A1 and A2). > - Mod_JK loadbalancer. (software) > - Two Tomcats (T1 and T2). (CLUSTERED) > > We want to use, for example, manager applica

jar file loading priority

2009-10-10 Thread Ziggy
Hi all, Could someone please clarify this for me as i have always wondered about it but couldnt find any usefull information. Given the following directories $JAVA_HOME/jdk/lib/ $JAVA_HOME/jdk/jre/lib/ $JAVA_HOME/jdk/jre/lib/ext $TOMCAT_HOME/common/lib $CATALINA_BASE/common/lib $CATALINA_BASE/mya

Re: JspServlet Issue

2009-10-10 Thread Mercy
Hi, Again, why not simply remove the requirement that development=false? There is nothing stopping you from recompiling JSP files explicitly with this configuration, right? The production application will not accept it. Why the second request? The compile/load step should be all handled in

httpd/JK/Tomcat hung connections (2009 edition)

2009-10-10 Thread darinpope
I'm having the same issue as documented in: http://www.nabble.com/httpd-JK-Tomcat-hung-connections-td10403182.html For our situation, we haven't hit the "server reached MaxClients setting" issue yet, but we easily could. We also have this same config running on a Windows cluster and that envir

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > Is that because the primordial ClassLoader will hand-out references to > any class already loaded by any ClassLoader, so if null is returned, > then the curren

How to install Tomcat 5.5 in a cluster

2009-10-10 Thread wkargo
Hi I'm not the tomcat expert bu need this stuff ro run another application . I need to install tomcat 5.5 on cluster windows servers . My question is should I install tomcat on shared folder on one node and then point where the tomcat is on the other node ? I would appreciate any hints how do

Re: Force access to one application in one tomcat in Clustered scenary

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carlos, On 10/5/2009 6:45 AM, Carlos García Gómez wrote: > I have this hardware solution > > + One HTTP/HTTPS balancer. > + four serves > - Two Apaches (A1 and A2). > - Mod_JK loadbalancer. (software) > - Two Tomcats (T1 and T2). (CLUSTERED) Are

Re: DataSourceRealm failed to retrieve password after tomcat server being idle overnight

2009-10-10 Thread pprun
Thanks for the help. The error message is misleading. I have tried out the two parameters and they worked great. I no longer get the error. Thank you. pprun wrote: > > Hi, > > I am using DataSourceRealm to authenticate user in my application on > Tomcat 5.5.28. When I left server idle overni

RE: Tomcat hangs for minutes between ContextConfig and StandardContext (Starting the app)

2009-10-10 Thread Law, Christopher
Yup, guess I missed the keyword "Attributes" in the doc. Anyway, I added the attributes and it has significantly improved the deploy and startup. There are minor delays as indicated in the Tomcat doc, but these are delays of seconds - much better than four minutes! Thank you! -Original Mess

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/10/2009 9:26 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars >> >> My direct experience that had led me to believe

Re: [OT] Directing tomcat console out put to log files

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ziggy, On 10/10/2009 6:07 AM, Ziggy wrote: > Your comments are not really helpfull and are rude. Actually, they are potentially helpful and I didn't find them rude at all. > Just because something has been updated it does not mean that you have > to

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 10/9/2009 9:24 AM, VijayKS wrote: > I installed the exe version of tomcat 4.1 . > There is no catalina.log files present. > "localhost_log.2009-10-09.txt" This is the file name is in > C:\tomcat4.1\logs\ folder. > But the System.out. messag

RE: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars > > One additional requirement: the java.lang.Class object itself must also > be unreachable. True. > My direct experience that had led me to believe that > Clas

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 10/10/2009 4:04 AM, raghu gs wrote: > I have installed Tomcat 6.0.20 using binary tarball in JDK 1.6.0.16 running > CentOS 5,3 x64 Server. Use this class for reference: import java.util.TimeZone; public class TimeZoneTest { public sta

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread Ziggy
Have a look at this page http://tomcat.apache.org/tomcat-4.1-doc/config/logger.html On Sat, Oct 10, 2009 at 11:12 AM, Ziggy wrote: > Sorry vijay my comments were directed at Andre > > On 10/10/09, Ziggy wrote: > > Hi vijay > > Your comments are not really helpfull and are rude. > > Just because

Re: JspServlet Issue

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mercy, On 10/9/2009 10:06 PM, Mercy wrote: > My JSP compiler is based on JspServletWrapper(Jasper compiler). Again, why not simply remove the requirement that development=false? There is nothing stopping you from recompiling JSP files explicitly wit

Re: [OT] tomcat 5.5.25 shared lib and sharing webapp jars

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 10/9/2009 7:14 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: tomcat 5.5.25 shared lib and sharing webapp jars >> >> PermGen is a place where Class objects often end up >

Upgrading (was Re: Re Directing tomcat console out put to log files)

2009-10-10 Thread Peter Crowther
2009/10/10 Ziggy : > Just because something has been updated it does not mean that you have > to use the latest version.. There could be a million reasons why > someone decides to stick with an older version of an application. > Upgrading just for the sake of it does not make sense business sense >

mod_jk inserting Transfer-Encoding Chunked header

2009-10-10 Thread Sam Crawford
Hello, I've got a simple web application deployed, and am accessing it via a basic mod_jk load balancer setup. The web application on the J2EE app server is returning a fixed "Content-Length: 84" header (it's just a HelloWorld page for testing purposes), but when I access the same application via

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread Ziggy
Sorry vijay my comments were directed at Andre On 10/10/09, Ziggy wrote: > Hi vijay > Your comments are not really helpfull and are rude. > Just because something has been updated it does not mean that you have > to use the latest version.. There could be a million reasons why > someone decides t

Re: Re Directing tomcat console out put to log files

2009-10-10 Thread Ziggy
Hi vijay Your comments are not really helpfull and are rude. Just because something has been updated it does not mean that you have to use the latest version.. There could be a million reasons why someone decides to stick with an older version of an application. Upgrading just for the sake of it do

Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-10 Thread raghu gs
Hello Everybody I have installed Tomcat 6.0.20 using binary tarball in JDK 1.6.0.16 running CentOS 5,3 x64 Server. We have tried the following methods to force tomcat to use the Asia/Calcutta as timezone. 1) Created an environment variable called TZ and assigned it correct timezone. Output of ec

GC (was Re: tomcat 5.5.25 shared lib and sharing webapp jars)

2009-10-10 Thread Peter Crowther
[If you're not interested in VM theory, it's safe to ignore this post] 2009/10/10 Christopher Schultz : > What about classes with mutable static members? These members should be > preserved for a while, right? Does this mean that classic Java > singletons are never able to be GC'd because they hav