Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh 2009-07-03 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Achal Patel
Chenjh, You can find the same at below location: http://sunsite.berkeley.edu:8080/docs/config/index.html Thanks, Achal. On Fri, Jul 3, 2009 at 12:19 PM, chenjh che...@thinker.com.cn wrote: Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh

Re: Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
Thanks Patel, but I need reference for web.xml. Regards chenjh 2009-07-03 -Original Message-- Chenjh, You can find the same at below location: http://sunsite.berkeley.edu:8080/docs/config/index.html Thanks, Achal. On Fri, Jul 3, 2009 at 12:19 PM, chenjh

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Achal Patel
http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote: Thanks Patel, but I need reference for web.xml. Regards chenjh 2009-07-03 -Original Message-- Chenjh, You can find the same at below

Re: Where can i get the specification of web.xml?

2009-07-03 Thread chenjh
The page is not available. Regards chenjh 2009-07-03 -Original Message-- http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html On Fri, Jul 3, 2009 at 1:02 PM, chenjh che...@thinker.com.cn wrote: Thanks Patel, but I need reference for web.xml. Regards chenjh

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Konstantin Kolinko
2009/7/3 chenjh che...@thinker.com.cn: Hi all, Where can i find reference, or something like that, for tomcat's web.xml. Regards chenjh 2009-07-03 web.xml is defined by the Java Servlet Specification. There is nothing Tomcat-specific in it. It is Servlet 2.5 for Tomcat 6, Servlet 2.4

NotSerializableException MemoryUser?

2009-07-03 Thread Ronald Klop
Hi, I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I get this exception: Caused by: java.io.NotSerializableException: org.apache.catalina.users.MemoryUser at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at

mod_jk 1.2.28 connection pooling not working

2009-07-03 Thread Brain Stormer
Hello, I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28. The problem is that connection_pool_size is set to 60 and httpd available threads per chilf is set to 60 and tomcat max threads set to 100 and min set to 60 and checking netsat tells that there are only 2 to 4 connections between

JSP when tag question

2009-07-03 Thread Jim Anderson
3 This is a JSP issue. I have unsuccessfully searched for a JSP 4 support forum so I figured I will start here since the Tomcat 5 container processes JSP. If this is question is inappropriate, 6 I apologize. If you can point me to a better forum, please do. 8 The environment is

Http Session Null issue

2009-07-03 Thread Achal Patel
Hi, I am facing strange issue with Tomcat 6 Jsp deployment. I have JSP pages deployed which internally performs operations and generates XML response which will be parsed using XSL and then finally displayed on the UI. Now when I invoke JSP pages from UI, session is getting null between the

Re: mod_jk 1.2.28 connection pooling not working

2009-07-03 Thread Mladen Turk
Brain Stormer wrote: Hello, I have a tomcat-5.5 / httpd.worker-2.2 / mod_jk-1.2.28. The problem is that connection_pool_size is set to 60 and httpd available threads per chilf is set to 60 and tomcat max threads set to 100 and min set to 60 and checking netsat tells that there are only 2 to 4

Re: JSP when tag question

2009-07-03 Thread Pid
On 3/7/09 13:29, Jim Anderson wrote: 3 This is a JSP issue. I have unsuccessfully searched for a JSP 4 support forum so I figured I will start here since the Tomcat 5 container processes JSP. If this is question is inappropriate, 6 I apologize. If you can point me to a better forum, please do.

Re: Http Session Null issue

2009-07-03 Thread Pid
On 3/7/09 14:25, Achal Patel wrote: Hi, I am facing strange issue with Tomcat 6 Jsp deployment. I have JSP pages deployed which internally performs operations and generates XML response which will be parsed using XSL and then finally displayed on the UI. Now when I invoke JSP pages from UI,

Re: Http Session Null issue

2009-07-03 Thread Achal Patel
Its basically below: HttpSession session = request.getSession(); Settings settings = (Settings) session.getAttribute(ATTR_NAME); I debugged it and got to know that session is getting null and again invoking the same resource from UI serves fine. The same is working fine on Weblogic. Regards,

Re: Where can i get the specification of web.xml?

2009-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chenjh, On 7/3/2009 2:49 AM, chenjh wrote: Where can i find reference, or something like that, for tomcat's web.xml. Don't listen to these folks who are just googling web.xml reference and posting the link. Instead, use your head and look at the

Re: NotSerializableException MemoryUser?

2009-07-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ronald, On 7/3/2009 6:34 AM, Ronald Klop wrote: I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I get this exception: Caused by: java.io.NotSerializableException: org.apache.catalina.users.MemoryUser That's an easy one:

Re: Http Session Null issue

2009-07-03 Thread Daniel Henrique Alves Lima
Hi, Achal. On Fri, 2009-07-03 at 19:48 +0530, Achal Patel wrote: Its basically below: HttpSession session = request.getSession(); Settings settings = (Settings) session.getAttribute(ATTR_NAME); I debugged it and got to know that session is getting null and again invoking the same

Re: Http Session Null issue

2009-07-03 Thread Daniel Henrique Alves Lima
How can the session been null if you're calling request.getSession() ? (...) Returns the current session associated with this request, or if the request does not have a session, creates one. (...)

Re: Http Session Null issue

2009-07-03 Thread Pid
On 3/7/09 15:18, Achal Patel wrote: Its basically below: HttpSession session = request.getSession(); Settings settings = (Settings) session.getAttribute(ATTR_NAME); I debugged it and got to know that session is getting null and again invoking the same resource from UI serves fine. The same is

Re: NotSerializableException MemoryUser?

2009-07-03 Thread Mark Thomas
Christopher Schultz wrote: Ronald, On 7/3/2009 6:34 AM, Ronald Klop wrote: I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I get this exception: Caused by: java.io.NotSerializableException: org.apache.catalina.users.MemoryUser That's an easy one: MemoryUser does

Re: JSP when tag question

2009-07-03 Thread David Smith
Following up on what Pid suggested, when you look at the output (view source in the browser), can you see the c:choose and c:when tags still present? Can you offer us a little more info like what you have declared for taglibs at the top of this jsp and what's in your webapp's WEB-INF/lib folder?

Re: mod_jk 1.2.28 connection pooling not working

2009-07-03 Thread Brain Stormer
Well, I have the following parameters.. tomcat-maxThreads=512 httpd-MaxClients=600 http-ThreadsPerChild=60 httpd-connection_pool_size=60 And after adjusting all parameters still no pools created, only 2 to 4 threads have the ESTABLISHED connection state. Any idea! On Friday, July 3, 2009,

Re: mod_jk 1.2.28 connection pooling not working

2009-07-03 Thread Rainer Jung
On 03.07.2009 19:21, Brain Stormer wrote: Well, I have the following parameters.. tomcat-maxThreads=512 httpd-MaxClients=600 http-ThreadsPerChild=60 httpd-connection_pool_size=60 And after adjusting all parameters still no pools created, only 2 to 4 threads have the ESTABLISHED

Re: Http Session Null issue

2009-07-03 Thread Achal Patel
Hi Daniel, Yes, at Weblogic, request.getSession() is returning a non-null value AND (Settings) session.getAttribute(ATTR_NAME) is working. On Tomcat out of 5 requests this is happening for 2 times. Let me explain the deployment architecture: 1. User invokes JSP page 2. JSP calls homegrown

Re: Http Session Null issue

2009-07-03 Thread Daniel Henrique Alves Lima
Hi, Achal. On Sat, 2009-07-04 at 00:47 +0530, Achal Patel wrote: Hi Daniel, Yes, at Weblogic, request.getSession() is returning a non-null value AND (Settings) session.getAttribute(ATTR_NAME) is working. Ok. On Tomcat out of 5 requests this is happening for 2 times. Let me

Re: Http Session Null issue

2009-07-03 Thread Daniel Henrique Alves Lima
Keep it simple. Try this first, if your problem is the missing attribute from http session. At least this what i would do in your place: Maybe, you're getting a new session every time you're calling this page and settings reference is getting null. I *think* this can happen if:

Re: Http Session Null issue

2009-07-03 Thread Konstantin Kolinko
HttpSession session = request.getSession(); Is the request a legit one (that is, the one that is being served by Tomcat now)? Requests are recycled immediately after their processing is done, and it can result in null being returned by that method (though throwing an IllegalStateException would

Response Time in Jasper Logs

2009-07-03 Thread Robinson, Eric
We added the %D parameter to the AccessLogValve tag in our server.xml file and now all entries in the jasper logs contain a field showing the response time in milliseconds. That's very cool. I just want to be sure of one thing. Does the value represent the total time from the moment tomcat saw