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 the
> 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
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 happe
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.
>
>
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 f
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
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, Mlad
Following up on what Pid suggested, when you look at the output (view
source in the browser), can you see the and 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?
--David
Jim A
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: Me
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 w
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. (...)"
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.ht
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
-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 o
-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
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,
Ach
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, sess
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.
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 c
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
reques
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 T
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 http
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 java.io.ObjectOutputStream.writeObjec
2009/7/3 chenjh :
> 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 for Tomcat 5.x
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 wrote:
>
>> Thanks Patel, but I need reference for web.xml.
>>
>>
>>
>> Regards
>>
>> chenjh
>> 2
http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html
On Fri, Jul 3, 2009 at 1:02 PM, chenjh 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 locati
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 wrote:
>
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 wrote:
> Hi all,
>
> Where can i find reference, or something like that, for tomcat's web.xml.
>
> Regards
>
> chenjh
> 2009-07-03
>
27 matches
Mail list logo