MISC; Tomcat Cluster Sesssion ID changing after one Node Failure

2009-10-21 Thread Imad Hachem
Dear Team, I am facing an issue in Tomcat 5.5.12 Cluster after one node Failure or shutdown: The Session ID is changing, is there any configuration to keep the same session ID? Kindly help. Imad Hachem | Asst.Product Development Manager e-Banking Department Path Solutions

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-21 Thread Pid
On 20/10/2009 21:01, George Sexton wrote: -Original Message- From: ULS Tech Support [mailto:tech_supp...@uls.com] Sent: Tuesday, October 20, 2009 1:35 PM To: Tomcat Users List Subject: Re: Tomcat 5.59 with jTDS, and SQL Server 2005

Re: Does Tomcat http support subdomains?

2009-10-21 Thread Pid
On 20/10/2009 20:41, Tony Anecito wrote: Hi All, Does anyone know if Tomcat supports subdomains for its or the APR http function? The Apache Web server does. I am starting to see more and more use of subdomains for performance improvements by allowing more browser connections from the same

Re: Valves being converted to Filters?

2009-10-21 Thread Mark Thomas
Eric B. wrote: Mark Thomas ma...@apache.org wrote in message news:200910202047470...@265006334... Although I love filters, I find that valves have a very specific need within the container as well; it allows you to configure the container independently of the application. If everything

Re: Tomcat is not getting shutdown

2009-10-21 Thread Mark Thomas
Suneel Saguturu wrote: Hi Mark, Thank you, I got the thread dump, please find it below and suggest what could be the problem. 1. Run the shutdown script 2. Wait a 60s to make sure it has completed 3. Take a thread dump 4. Look for threads that are not marked as daemon 5. Figure

Using jasper

2009-10-21 Thread Ben Short
Hi, I would like to use the Jasper jsp compiler to compile jsp's that I read from a database/jackrabbit/inputstream can anyone give me any pointers? Regards Ben Short - To unsubscribe, e-mail:

Re: Tomcat gets hanged and sessions not releasing

2009-10-21 Thread Mark Thomas
sudip pattanayak wrote: Hi Mark, I am not sure about the code, but we are confirming on whether we can share the code. As of now I have some logs. Can you derive something based on the same. Not really. As a wild guess, try running with -Dorg.apache.catalina.STRICT_SERVLET_COMPLIANCE=true

Re: Using jasper

2009-10-21 Thread Mark Thomas
Ben Short wrote: Hi, I would like to use the Jasper jsp compiler to compile jsp's that I read from a database/jackrabbit/inputstream can anyone give me any pointers? Can you provide a little more context? Eg is thsi standalone or as part of a running Tomcat instance? Mark

Re: Using jasper

2009-10-21 Thread Ben Short
Hi Mark, Id like to store my jsp files in a database. When a request comes into my web app I want to look up the jsp file based on the requested url, compile it, instantiate it, cast it to a servlet and call the service method. My application will be spring based. Now I come to think about it

Re: Tomcat wait to start

2009-10-21 Thread NabiL
Thanks for your response. I will do it. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NabiL, On 10/20/2009 7:57 AM, NabiL wrote: I use Tomcat 6.x running on server A (Linux redhat 5). i deployed a AMQ war file. This application is waiting to acquire a

Re: Tomcat gets hanged and sessions not releasing

2009-10-21 Thread sudip pattanayak
Hi Mark, Thanks for your help. You mean we need to start the service with this command or is it some config variable. -Sudip --- On Wed, 21/10/09, Mark Thomas ma...@apache.org wrote: From: Mark Thomas ma...@apache.org Subject: Re: Tomcat gets hanged and sessions not releasing To: Tomcat Users

Re: Cannot set remote address in valve (Tomcat 5.5)

2009-10-21 Thread Cyrille Le Clerc
Hello Elli, From what I understand of your architecture, I would configure RemoteIpValve with : Valve className = org.apache.catalina.connector.RemoteIpValve internalProxies = @load-balancer-ip trustedProxies = @the-trusted-proxy-that-is-not-the-load-balancer

Re: Valves being converted to Filters?

2009-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/20/2009 9:47 PM, Mark Thomas wrote: Is there a specific reason for this? Portability, reduce internal code duplication (filters valves have a lot in common) Also, Tomcat has never provided standard request and response wrapper

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 10/20/2009 2:18 PM, ULS Tech Support wrote: Let's try this again... - From my post last week to this same question: On 19 October 2009 at 10:46AM, Christopher Schultz wrote: 3. Your latest question has nothing to do with Tomcat. It's

Re: question about using tomcat on a remote machine

2009-10-21 Thread Matt Funk
Mmhh, i didn't change anything in the server.xml file. I simply downloaded and am using the tomcat6 binary dist. I am very much a beginner with tomcat so please forgive question that are ignorant of what is probably considered basic. Why would this only listen with ipv6? Again, i didn't

Re: Tomcat 5.59 with jTDS, and SQL Server 2005

2009-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, On 10/20/2009 3:34 PM, ULS Tech Support wrote: This is all i get now.. SQLException: java.sql.SQLException: No current row in the ResultSet. SQLException Message: No current row in the ResultSet. Try replacing this catch block:

Re: InterruptedIOException when loading pre-compiled JSP

2009-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 10/20/2009 9:52 AM, Eric Dalquist wrote: I'm using Tomcat 6.0.20 on Solaris 10 and JDK 1.6.0_16 I have a webapp that seemingly randomly fails to work due do a NoClassDefFoundError. If you are seeing InterruptedIOExceptions along with

Subdomains and Wars...

2009-10-21 Thread Tony Anecito
Hi, How would one associate the static content within a WAR with a subdomain when using subdomains assigned to directories? Is the location that the war is exploded to known well enough that it can be done? Regards, -Tony

RE: Subdomains and Wars...

2009-10-21 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Subdomains and Wars... How would one associate the static content within a WAR with a subdomain when using subdomains assigned to directories? What do you mean by subdomains assigned to directories? Can you provide the Tomcat

RE: question about using tomcat on a remote machine

2009-10-21 Thread Caldarale, Charles R
From: Matt Funk [mailto:maf...@nmsu.edu] Subject: Re: question about using tomcat on a remote machine i didn't change anything in the server.xml file. I suspect it has nothing to do with Tomcat, but rather with how the TCP/IP stack for the OS is set up. Unfortunately, I can offer no help

Re: Subdomains and Wars...

2009-10-21 Thread André Warnier
Tony Anecito wrote: Hi, How would one associate the static content within a WAR with a subdomain when using subdomains assigned to directories? Is the location that the war is exploded to known well enough that it can be done? Don't know about the others here, but personally I have a bit of

Re: InterruptedIOException when loading pre-compiled JSP

2009-10-21 Thread Eric Dalquist
That was our initial reaction as well but the syslog doesn't show any hard disk errors but we may end up looking into more detailed diagnostics of the disks. Christopher Schultz-2 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric, On 10/20/2009 9:52 AM, Eric Dalquist wrote:

Re: Subdomains and Wars...

2009-10-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tony, On 10/21/2009 2:11 PM, Tony Anecito wrote: How would one associate the static content within a WAR with a subdomain when using subdomains assigned to directories? Perhaps your (clarified) question really is: Can I deploy only the

Re: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
WOW Chris thanks for the feedback. I ended up taking option 2 for right now and will do some testing where I hit a page with and without subdomains being used to see the affect. I noticed Yahoo uses quite a few subdomains so the hype can not all be wrong? Anyway I will find out for my specific

RE: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
Hi Chuck, Here is a link to an article that explains a couple different ways a subdomain cna be used. I am using the second one for directory or folder for images. http://content.websitegear.com/article/about_subdomain.htm Since I do not use a WAR for static deployment (seems an overkill for

Re: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
Hi Andre, Here is an article that talks about subdomain usage. I hope it helps explain the concept better for all. http://content.websitegear.com/article/about_subdomain.htm Regards, -Tony --- On Wed, 10/21/09, André Warnier a...@ice-sa.com wrote: From: André Warnier a...@ice-sa.com

Re: Using jasper

2009-10-21 Thread Mark Thomas
Ben Short wrote: Hi Mark, Id like to store my jsp files in a database. When a request comes into my web app I want to look up the jsp file based on the requested url, compile it, instantiate it, cast it to a servlet and call the service method. My application will be spring based. Now

Re: Tomcat gets hanged and sessions not releasing

2009-10-21 Thread Mark Thomas
sudip pattanayak wrote: Hi Mark, Thanks for your help. You mean we need to start the service with this command or is it some config variable. http://tomcat.apache.org/tomcat-6.0-doc/config/index.html Mark -Sudip --- On Wed, 21/10/09, Mark Thomas ma...@apache.org wrote: From:

RE: Subdomains and Wars...

2009-10-21 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: Re: Subdomains and Wars... I noticed Yahoo uses quite a few subdomains so the hype can not all be wrong? It's not hype, but as you were told yesterday (and demonstrated by Chris' example), it has almost nothing to do with the server

Re: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
Why do you say that? Sorry just I want to understand. People may find interesting ways to use terms based on perspectives. Regards, -Tony --- On Wed, 10/21/09, Hassan Schroeder hassan.schroe...@gmail.com wrote: From: Hassan Schroeder hassan.schroe...@gmail.com Subject: Re: Subdomains and

RE: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
I would have agreed if not for an admin asking about what if a file like a jpg was deployed via a war? I would say the developer should not have static content delivered via war to a app server but that is the way some dev groups deliver content. With that in mind how would you expect the

Re: Subdomains and Wars...

2009-10-21 Thread Hassan Schroeder
On Wed, Oct 21, 2009 at 1:25 PM, Tony Anecito adanec...@yahoo.com wrote: Why do you say that? Because www.example.com is not an example of a subdomain -- the www there is a *host* name. An example of a subdomain: boscoe.beverages.example.com, where example.com is the top-level domain, beverages

Re: Subdomains and Wars...

2009-10-21 Thread Tony Anecito
Thanks I did notice the reference of www as a domain and wondered about that statement. I agree the l.yahoo.com which I see quite a bit of these days I treat as a subdomain. I try to take the article as a whole rather than individual words sometimes. But I do understand what you meant now.

Re: Subdomains and Wars...

2009-10-21 Thread André Warnier
Tony Anecito wrote: Hi Andre, Here is an article that talks about subdomain usage. I hope it helps explain the concept better for all. http://content.websitegear.com/article/about_subdomain.htm Tony, that article is a terrible mixture of truths, half-truths, and downright bull. The author

Re: MISC; Tomcat-5.5.12 Cluster giving Severe Error in ReplicationListener

2009-10-21 Thread Filip Hanik - Dev Lists
just upgrade to the latest version of Tomcat Filip On 10/19/2009 09:37 AM, Imad Hachem wrote: Dear all, I am using Tomcat-5.5.12 installed on Separate machines and configured as Clustered Session Replication. After stopping one of the Nodes, my Session Replication is not working very

RE: Subdomains and Wars...

2009-10-21 Thread Martin Gainty
Tony can you elaborate on what should be classified as content ..data?..a html formatted response? ...ajax response?..jpg? anything else? thx Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

How to know when tomcat is ready to serve request

2009-10-21 Thread Anup K Ram
Hi, Is there a way to know whether tomcat is started successfully and ready to serve requests? I need to know this programmatically. Thanks In Advance.

RE: Subdomains and Wars...

2009-10-21 Thread Caldarale, Charles R
From: Tony Anecito [mailto:adanec...@yahoo.com] Subject: RE: Subdomains and Wars... I would have agreed if not for an admin asking about what if a file like a jpg was deployed via a war? It makes no difference. I would say the developer should not have static content delivered via war