Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
.4.20-43.9 Mem: 20644402027876 36564 0 2920881204668 -/+ buffers/cache: 5311201533320 Swap: 942456 144260 798196 CPU Dual P4 Xeon 3Ghz HT disabled Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05) Thanks for your help. /Da

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
eck any way... Matt -Original Message- From: David Gagnon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 1:03 PM To: Tomcat Users List Subject: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help Hi all, I have tomcat server in production and after som

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-13 Thread David Gagnon
)directed stderr. Look into this output for threads you've created (or tomcat processing threads) that seem to be hung up on code you've written. -Original Message----- From: David Gagnon [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 1:14 PM To: Tomcat Users List S

Re: Tomcat 4.1.31 hangs after 2 days .. any idea on what going on .. ?... please help

2005-10-14 Thread David Gagnon
g: export LD_ASSUME_KERNEL=2.4.1 It should be less or same to your kernel version Santosh On 10/14/05, David Gagnon <[EMAIL PROTECTED]> wrote: Thanks for your help guys ! I try to inspect the thread to find where they are blocked! Regards /David GB Developer wrote: You could t

Tomcat change in PageContextImpl.setAttribute from 4.1.30 to 4.1.31 makes 4.1.31 unusable... please confirm if it`s a bug ?????

2005-12-12 Thread David Gagnon
Hi all, I just installed a fresh tomcat 4.1.31 and run into this problem. From 4.1.30 to 4.1.31 the PageContexImpl.setAttribute has change in a way that make it unusable. I cannot set null attribute in the pageContext ?!?!?! So the following call throw an exception in 4.1.31:

Re: Tomcat change in PageContextImpl.setAttribute from 4.1.30 to 4.1.31 makes 4.1.31 unusable... please confirm if it`s a bug ?????

2005-12-12 Thread David Gagnon
ing it was a fix for spec compliance: http://tomcat.apache.org/tomcat-4.1-doc/servletapi/javax/servlet/jsp/PageContext.html#setAttribute(java.lang.String,%20java.lang.Object,%20int) -Tim David Gagnon wrote: Hi all, I just installed a fresh tomcat 4.1.31 and run into this problem. From

Re: Tomcat change in PageContextImpl.setAttribute from 4.1.30 to 4.1.31 makes 4.1.31 unusable... please confirm if it`s a bug ?????

2005-12-12 Thread David Gagnon
tead and everything works perfectly. Thanks for your help /David On 12/12/05, David Gagnon <[EMAIL PROTECTED]> wrote: Hi As state in the javadoc it should throw NullPointerException if name is null (wich make sense). But in the code they also throw an exception if the the v

Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
Hi all, I have a really wreird problem. I have a web site and I get a NullPointerException once in a while because the WcPresentationConstants.CURRENT_RESOURCE is null. UkResource resource = (UkResource) param.request.getSession().getAttribute(WcPresentationConstants.CURRENT_RESOURCE); But this

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute in the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
pache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte

Re: Tomcat 4.1.31, Weird problem. Once in a while an attribute i n the session is not found... look like a RACE?! Is that possible????

2005-12-19 Thread David Gagnon
int where it wants to read the >attribute it's gone as the session is invalidated. > >Hth, >Tobias > > >>-Original Message- >>From: David Gagnon [mailto:[EMAIL PROTECTED] >>Sent: Monday, December 19, 2005 3:46 PM >>To: Tomcat Users List >&g

Re: Tomcat Not An App Server

2006-07-18 Thread David Gagnon
Hi In server.xml you can add a lifecycle listener with implements org.apache.catalina.LifecycleListener Download tomcat code and check this one as example. className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/> Hope this help Regards /David Mike Wannamaker wrote: I'll

[OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-26 Thread David Gagnon
Hi all? I have seen this on the website of a Saas supplier yesterday and I was wondering if it was possible to do it with Tomcat. When you go on their website and they assign you an application to the url: http://yourcompany.saassupplier.com. I was wondering if this could be used with tomc

[OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-27 Thread David Gagnon
Hi all! Sorry for the repost the 1st email wasn't following the rules. Sorry for the mess. Here is the original message posted correctly this time :-): I have seen this on the website of a Saas supplier yesterday and I was wondering if it was possible to do it with Tomcat. When you go

Re: [OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-28 Thread David Gagnon
Hi all, Thanks for the info! I do need some more details since there is some obscur points. For now I only have 1 host with lots of application under it So (1 host->X applications). If I want to use virtual host I do need to have 1 vHost per application (1 host -> 1 application) right ?

Re: [OT?] is there a way to map an application URL on tomcat like: http://a.com/app1 to http://app1.a.com/

2006-07-28 Thread David Gagnon
Yes but for each URL: http://vhost1.site.com http://vhost2.site.com I need a host entry in server.xml, so in this case 2 host defined in server.xml. Is there a way to have only 1 host defined and using alias or something like this ? Thanks /David Hassan Schroeder wrote: On 7/28/06, David

Is there a way so specify a wildcard in host/alias to avoid dealing with bunch of virtual hosts?

2006-08-03 Thread David Gagnon
gards /David Gagnon - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do disable session in tomcat 5.5?

2006-04-06 Thread David Gagnon
Hi, I need to have a sessionless tomcat. I surely easy to do but I'm searching without success for a while now. I need a servlet without session. Thanks for your help Best regards /David - To unsubscribe, e-mail: [EMAIL P

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
In fact I need to know How to have a sessionless Servlet? I search the tomcat source and it seems I have nothing to do. But when I do a request.getSession() I do receive a session object? Is that normal behavior? Thanks for your help /David Franck Borel wrote: Use <%@ page session="fa

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
need it? I want to use Tomcat to hold a reportServer. It will receive request from different users from different webApp to craft reports. It needs to be sessionless, in fact since I don't need session I just wanted to avoid a memory leak... Thanks for your help /David regards Le

Re: How do disable session in tomcat 5.5?

2006-04-07 Thread David Gagnon
each connection for a given time (let say 15 minutes). So if 1000 uses ask for a report in 15 minute it's 1000 session object. But my numbers are too high anyway so probably this leak is not a problem .. if leak exists :-) Regards /David regards Leon On 4/7/06, David Gagnon <[

Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-27 Thread David Gagnon
Hi all, I need to have my tomcat servers to broadcast their state (custom information) in order for them to collaborate. I look into the cluster code, org.apache.catalina.cluster.mcast.* it a good example of what I need : send a multicast message each X seconds and keep a member list with th

Re: Is there a clean way to add Custom protocol endpoint to tomcat 5.5

2006-04-28 Thread David Gagnon
Bill Barker wrote: "David Gagnon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi all, I need to have my tomcat servers to broadcast their state (custom information) in order for them to collaborate. I look into the cluster code, org.apache.catalina.clus

Tomcat 6 virtual host problem please help

2007-11-22 Thread David Gagnon
Hi all, I reading the doc for hours now and searching the web without success. Maybe my understanding of virtual hosting is wrong. if any of you can just correct my understanding and point me in the right direction I will greatly appreciate it. I have an application i.e.:toto.war that I