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 the client's request to the time it
successfully delivered the full response?

The reason I ask is that we have some users who are complaining that
certain requests are taking a long time (up to a minute). Yet when we
check the jasper logs, we see that 97% of all requests are satisfied in
< 50ms, and there are no requests that take longer than 20 seconds. So
I'm trying to reconcile what I'm hearing from users with what I'm seeing
in the logs.  

Insight, anyone?  

--
Eric Robinson



Disclaimer - July 3, 2009 
This email and any files transmitted with it are confidential and intended 
solely for Tomcat Users List. If you are not the named addressee you should not 
disseminate, distribute, copy or alter this email. Any views or opinions 
presented in this email are solely those of the author and might not represent 
those of Physician Select Management and Physician's Managed Care. Warning: 
Although Physician Select Management and Physician's Managed Care have taken 
reasonable precautions to ensure no viruses are present in this email, the 
companies cannot accept responsibility for any loss or damage arising from the 
use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 be better).




2009/7/3 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,
> Achal.
>
> On Fri, Jul 3, 2009 at 7:06 PM, Pid  wrote:
>
>> 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, session is getting null between the
>>> requests and this works perfectly fine on other Weblogic/Websphere App
>>> servers.
>>> We do use taglibs in xsl and JSPs.
>>>
>>> JDK version : 1.5.13
>>> Tomcat Ver: 6.0.18
>>>
>>> This error is again random but comes frequently even for the same page 2
>>> times out of 5 clicks.
>>> Any help on this will be useful, thanks.
>>>
>>> Posting the error message here for more info:
>>>
>>> org.apache.jasper.JasperException: java.lang.NullPointerException
>>>
>>>  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
>>>
>>>  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
>>>
>>>
>>>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>>>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>
>>> *root cause*
>>>
>>> java.lang.NullPointerException
>>>        com.teradata.x2.context.Settings.getSettings(Settings.java:102)
>>>
>>>  com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)
>>>
>>
>> It's probably not that random.
>>
>> What is at Settings.java, line 102?
>>
>> p
>>
>>
>>
>>>  com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)
>>>
>>>  com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)
>>>
>>>  com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)
>>>
>>>
>>>  com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)
>>>
>>>  com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)
>>>
>>>  org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)
>>>
>>>
>>>  org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
>>>        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>
>>>
>>>  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>>>
>>>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>>>        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>>>
>>>        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>>
>>> Regards,
>>> Achal.
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
> --
> Regards,
> Achal Patel.
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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:
> 
>   - Something is invalidating the session before request.getSession get
> called;
>   - Your http client don't support cookies or is not sending the same
> cookie every time;
>   - URL rewriting is disabled.
> 
> 
>   Look the value returned by request.getRequestedSessionId() or
> session.getId(). If the same user call this page a lot of times, the
> same id should be returned. 
>   The best approach is look this value (session id) right before
> session.setAttribute(ATTR_NAME, settings) and
> session.getAttribute(ATTR_NAME) have been called.
> 

What is happening between set and getAttribute ? Do you have the same
session id before calling each one ?


After that you could try to imagine more complex scenarios (more
unlikely to happen) like: Are you Tomcat running behind a web server
with load balance ? Is the web server proxying http requests correctly
or it is sending each request to a different Tomcat instance/pair ? Are
you accessing Tomcat hostname directly or throw a "logical"/mapped
hostname resolved to distinct places/IPs ?





On Fri, 2009-07-03 at 16:41 -0300, Daniel Henrique Alves Lima wrote:
> 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 explain the deployment architecture:
> > 1. User invokes JSP page
> > 2. JSP calls homegrown framework which performs operation and generates XML
> > response
> >   2.1 This XML framework also works on sessions and request objects.
> > 3. XSLT transforms XML into HTML and displays on UI
> 
> In this framework is there any kind of distributed engine or
> configuration that can be wrong ? Is it possible that some is running
> over Tomcat and some over Weblogic (like jsp in Tomcat are doing
> redirects to a servlet in Weblogic) ? 
> 
> 
> > 
> > It looks like JSP and Servlets are using different sessions ???
> 
> I don't think so. Try to print/debug session id and you will find out.
> 
> 
> 
> > 
> > 
> > On Fri, Jul 3, 2009 at 9:05 PM, Daniel Henrique Alves Lima <
> > email_danie...@yahoo.com.br> wrote:
> > 
> > > 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 resource from UI serves fine.
> > > > The same is working fine on Weblogic.
> > >
> > > Am i missing something or you're saying that when session is null
> > > "(Settings) session.getAttribute(ATTR_NAME)" works ?
> > > Are you sure ?
> > >
> > > Or you're saying that, at Weblogic, request.getSession() is
> > returning a
> > > non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
> > > working ?
> > >
> > > >
> > >
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-- 
"If there must be trouble, let it be in my day, 
 that my child may have peace."

Thomas Paine


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 explain the deployment architecture:
> 1. User invokes JSP page
> 2. JSP calls homegrown framework which performs operation and generates XML
> response
>   2.1 This XML framework also works on sessions and request objects.
> 3. XSLT transforms XML into HTML and displays on UI

In this framework is there any kind of distributed engine or
configuration that can be wrong ? Is it possible that some is running
over Tomcat and some over Weblogic (like jsp in Tomcat are doing
redirects to a servlet in Weblogic) ? 


> 
> It looks like JSP and Servlets are using different sessions ???

I don't think so. Try to print/debug session id and you will find out.



> 
> 
> On Fri, Jul 3, 2009 at 9:05 PM, Daniel Henrique Alves Lima <
> email_danie...@yahoo.com.br> wrote:
> 
> > 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 resource from UI serves fine.
> > > The same is working fine on Weblogic.
> >
> > Am i missing something or you're saying that when session is null
> > "(Settings) session.getAttribute(ATTR_NAME)" works ?
> > Are you sure ?
> >
> > Or you're saying that, at Weblogic, request.getSession() is
> returning a
> > non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
> > working ?
> >
> > >
> >


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 framework which performs operation and generates XML
response
  2.1 This XML framework also works on sessions and request objects.
3. XSLT transforms XML into HTML and displays on UI

It looks like JSP and Servlets are using different sessions ???

Any pointers would be useful.

Regards,
Achal.


On Fri, Jul 3, 2009 at 9:05 PM, Daniel Henrique Alves Lima <
email_danie...@yahoo.com.br> wrote:

> 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 resource from UI serves fine.
> > The same is working fine on Weblogic.
>
> Am i missing something or you're saying that when session is null
> "(Settings) session.getAttribute(ATTR_NAME)" works ?
> Are you sure ?
>
> Or you're saying that, at Weblogic, request.getSession() is returning a
> non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
> working ?
>
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards,
Achal Patel.


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 connection state.

Why do you think there should be more connections? The connection pool
size of mod_jk is the maximum. If no more than 2 to 4 are needed there
will be no more connections.

How do you test and why do you expect more connections?

What is your exact configuration (workers.properties etc.)?

Regards,

Rainer



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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, Mladen Turk  wrote:
> 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 connections between httpd.worker and tomcat AJP port.
>
>
>
> It can be caused by many things, and the probable one is the
> configuration.
>
> And BTW, your stup won't work well.
> If the connection_pool_size is 60 you will have
> 60 * MaxClients/ThreadsPerChild connections to Tomcat, and
> given your 100 limit this will not work.
>
> The proper number is:
> connection_pool_size = maxThreads in Tomcat / (MaxClients / ThreadsPerChild)
>
> If you have in httpd.conf
> MaxClients 600
> ThreadsPerChild 60
>
> and
> maxThreads="100" for AJP Connector in server.xml
>
> this would give
> worker.xxx.connection_pool_size=10 (100/(600/60))
>
>
> Regards
> --
> ^(TM)
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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  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 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.
>
>  8   The environment is Tomcat 6.0.18 on Linux using Firefox 2.0.
>
> I'm writing my first JSP program and I'm having a problem
> with the  construct. I have a bean that contains
> a property named 'midContent'. When the program segment
> is entered, the bean, BFSInfo, has it's midContent property
> set to 'page2'. The when tag test evaluates to false, yet
> the code within the when tag is executed. Here is the
> code segment:
>
> 18 
> 19 
> 20 T/F = ${BFSInfo.midContent == 'page1'}
> 21 
> 22 INFO EL is ${BFSInfo.midContent}
> 23 
> 24 ...
> 25 
>
>
> When run, the lines inside the 'when' construct print the
> following on the web page:
>
> 31 T/F = false
> 32 INFO EL is page2
>
> The test expression of line 19 is evaluated again at
> line 20 and the result is 'false' as shown at line 31.
> The output produced by line 22 is shown at
> line 32 and confirms that the value of midContent is 'page2'.
> Can someone explain why the code inside
> the '' tag is executed when
> the test on line 19 appears to be evaluating to false?
>
> Thanks you in advance.
>
>  Jim Anderson
>
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 not implement Serializable.
> 
>>   
>>   > type="org.apache.catalina.UserDatabase"
>>  description="User database that can be updated and saved"
>>  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>> pathname="conf/tomcat-users.xml" />
> 
> This is likely to be the problem: the manager app is trying to share its
> users across the cluster.

Unlikely. The manager app isn't marked as distributable.

My money would be on an app using the same Realm and putting the authenticated
Principal object in the session.

Mark


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 working fine on Weblogic.


Are you sure? The stack trace seems to say that something in 
Settings.java, at line 102 is null.


How and when is the object initialised?

p



Regards,
Achal.

On Fri, Jul 3, 2009 at 7:06 PM, Pid  wrote:


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, session is getting null between the
requests and this works perfectly fine on other Weblogic/Websphere App
servers.
We do use taglibs in xsl and JSPs.

JDK version : 1.5.13
Tomcat Ver: 6.0.18

This error is again random but comes frequently even for the same page 2
times out of 5 clicks.
Any help on this will be useful, thanks.

Posting the error message here for more info:

org.apache.jasper.JasperException: java.lang.NullPointerException

  
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)

  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)


  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.NullPointerException
com.teradata.x2.context.Settings.getSettings(Settings.java:102)

  
com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)


It's probably not that random.

What is at Settings.java, line 102?

p




  com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)

  com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)

  
com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)


  com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)

  com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)

  
org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)


  
org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


  
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)

  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Regards,
Achal.



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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. (...)"

http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpServletRequest.html#getSession()
 


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:

- Something is invalidating the session before request.getSession get
called;
- Your http client don't support cookies or is not sending the same
cookie every time;
- URL rewriting is disabled.


Look the value returned by request.getRequestedSessionId() or
session.getId(). If the same user call this page a lot of times, the
same id should be returned. 
The best approach is look this value (session id) right before
session.setAttribute(ATTR_NAME, settings) and
session.getAttribute(ATTR_NAME) have been called.



On Fri, 2009-07-03 at 12:35 -0300, Daniel Henrique Alves Lima wrote:
> 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 resource from UI serves fine.
> > The same is working fine on Weblogic.
> 
> Am i missing something or you're saying that when session is null
> "(Settings) session.getAttribute(ATTR_NAME)" works ?
> Are you sure ? 
> 
> Or you're saying that, at Weblogic, request.getSession() is returning a
> non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
> working ?
> 
> > 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
-- 
"If there must be trouble, let it be in my day, 
 that my child may have peace."

Thomas Paine


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 resource from UI serves fine.
> The same is working fine on Weblogic.

Am i missing something or you're saying that when session is null
"(Settings) session.getAttribute(ATTR_NAME)" works ?
Are you sure ? 

Or you're saying that, at Weblogic, request.getSession() is returning a
non-null value AND "(Settings) session.getAttribute(ATTR_NAME)" is
working ?

> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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: MemoryUser does not implement Serializable.

>   
>type="org.apache.catalina.UserDatabase"
>  description="User database that can be updated and saved"
>  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
> pathname="conf/tomcat-users.xml" />

This is likely to be the problem: the manager app is trying to share its
users across the cluster. Uh... don't do that. Either undeploy the
manager app or use a different  that doesn't use that type of
User object. Or, write your own factory that returns serializable objects.

> What can I do to make the MemoryUser  serializable and why is it trying
> to sync it with other nodes?

It's probably trying to sync the session with other nodes, and this
object is stored in the session. The rest of the stack trace would
probably indicate that the cluster is trying to replicate sessions (or
just this object, as it is being inserted into the session) or something
like that.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAkpOGjoACgkQ9CaO5/Lv0PAKfgCVGPJmrP+xs5Aypo60NEU8uk2y
TwCfTuaeseQX6b4g3qJNFCU85oezZGU=
=iNCj
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 DTD of
Schema used in your actual web.xml file.

There are different specifications depending on which version of the
servlet spec your application uses. Here are the canonical references
for the versions I have access to:

Servlet 2.2 (DTD): http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
Servlet 2.3 (DTD): http://java.sun.com/dtd/web-app_2_3.dtd
Servlet 2.4 (Schema) : http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
Servlet 2.5 (Schema) : http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd

Both the DTDs and the Schemas are heavily self-documented.

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkpOFnsACgkQ9CaO5/Lv0PC2JQCdE29ISsVZNL77fCosdlPLloyi
3jEAoKwZ4pjE5nB6YZFSuxvvbB8GUzIy
=MDT5
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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,
Achal.

On Fri, Jul 3, 2009 at 7:06 PM, Pid  wrote:

> 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, session is getting null between the
>> requests and this works perfectly fine on other Weblogic/Websphere App
>> servers.
>> We do use taglibs in xsl and JSPs.
>>
>> JDK version : 1.5.13
>> Tomcat Ver: 6.0.18
>>
>> This error is again random but comes frequently even for the same page 2
>> times out of 5 clicks.
>> Any help on this will be useful, thanks.
>>
>> Posting the error message here for more info:
>>
>> org.apache.jasper.JasperException: java.lang.NullPointerException
>>
>>  
>> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
>>
>>  
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
>>
>>
>>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>
>> *root cause*
>>
>> java.lang.NullPointerException
>>com.teradata.x2.context.Settings.getSettings(Settings.java:102)
>>
>>  
>> com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)
>>
>
> It's probably not that random.
>
> What is at Settings.java, line 102?
>
> p
>
>
>
>>  com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)
>>
>>  com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)
>>
>>  
>> com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)
>>
>>
>>  com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)
>>
>>  com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)
>>
>>  
>> org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)
>>
>>
>>  
>> org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>
>>
>>  
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
>>
>>  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
>>org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
>>
>>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>>
>> Regards,
>> Achal.
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards,
Achal Patel.


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, session is getting null between the
requests and this works perfectly fine on other Weblogic/Websphere App
servers.
We do use taglibs in xsl and JSPs.

JDK version : 1.5.13
Tomcat Ver: 6.0.18

This error is again random but comes frequently even for the same page 2
times out of 5 clicks.
Any help on this will be useful, thanks.

Posting the error message here for more info:

org.apache.jasper.JasperException: java.lang.NullPointerException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.NullPointerException
com.teradata.x2.context.Settings.getSettings(Settings.java:102)

com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)


It's probably not that random.

What is at Settings.java, line 102?

p




com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)

com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)

com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)


com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)
com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)

org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)


org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Regards,
Achal.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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.

8 The environment is Tomcat 6.0.18 on Linux using Firefox 2.0.

I'm writing my first JSP program and I'm having a problem
with the  construct. I have a bean that contains
a property named 'midContent'. When the program segment
is entered, the bean, BFSInfo, has it's midContent property
set to 'page2'. The when tag test evaluates to false, yet
the code within the when tag is executed. Here is the
code segment:

18 
19 
20 T/F = ${BFSInfo.midContent == 'page1'}
21 
22 INFO EL is ${BFSInfo.midContent}
23 
24 ...
25 


When run, the lines inside the 'when' construct print the
following on the web page:

31 T/F = false
32 INFO EL is page2

The test expression of line 19 is evaluated again at
line 20 and the result is 'false' as shown at line 31.
The output produced by line 22 is shown at
line 32 and confirms that the value of midContent is 'page2'.
Can someone explain why the code inside
the '' tag is executed when
the test on line 19 appears to be evaluating to false?


Is the c:choose actually being executed?  Check the HTML source.
What else is in the "choose" block?  No duplication?

p



Thanks you in advance.

Jim Anderson


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 connections between httpd.worker and tomcat AJP port.



It can be caused by many things, and the probable one is the
configuration.

And BTW, your stup won't work well.
If the connection_pool_size is 60 you will have
60 * MaxClients/ThreadsPerChild connections to Tomcat, and
given your 100 limit this will not work.

The proper number is:
connection_pool_size = maxThreads in Tomcat / (MaxClients / ThreadsPerChild)

If you have in httpd.conf
MaxClients 600
ThreadsPerChild 60

and
maxThreads="100" for AJP Connector in server.xml

this would give
worker.xxx.connection_pool_size=10 (100/(600/60))


Regards
--
^(TM)

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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
requests and this works perfectly fine on other Weblogic/Websphere App
servers.
We do use taglibs in xsl and JSPs.

JDK version : 1.5.13
Tomcat Ver: 6.0.18

This error is again random but comes frequently even for the same page 2
times out of 5 clicks.
Any help on this will be useful, thanks.

Posting the error message here for more info:

org.apache.jasper.JasperException: java.lang.NullPointerException

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

*root cause*

java.lang.NullPointerException
com.teradata.x2.context.Settings.getSettings(Settings.java:102)

com.teradata.x2.context.ServletProcessContext.getSettings(ServletProcessContext.java:38)


com.teradata.ui.web.common.HTMLComponent.getSettings(HTMLComponent.java:76)

com.teradata.ui.web.common.StyleSheetLink.doInline(StyleSheetLink.java:237)

com.teradata.ui.web.common.StyleSheetLink.prepareHTMLString(StyleSheetLink.java:170)


com.teradata.ui.web.common.HTMLComponent.toHTMLString(HTMLComponent.java:91)
com.teradata.ui.web.taglib.BodyTagBase.doEndTag(BodyTagBase.java:65)

org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspx_meth_td_005fstylesheet_005f0(tableeditor_jsp.java:201)


org.apache.jsp.bcm.framework.tableeditor.tableeditor_jsp._jspService(tableeditor_jsp.java:99)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

Regards,
Achal.


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 Tomcat 6.0.18 on Linux using Firefox 2.0.

I'm writing my first JSP program and I'm having a problem
with the  construct. I have a bean that contains
a property named 'midContent'. When the program segment
is entered, the bean, BFSInfo, has it's midContent property
set to 'page2'. The when tag test evaluates to false, yet
the code within the when tag is executed. Here is the
code segment:

18 
19 
20 T/F = ${BFSInfo.midContent == 'page1'}
21 
22 INFO EL is ${BFSInfo.midContent}
23 
24 ...
25 


When run, the lines inside the 'when' construct print the
following on the web page:

31 T/F = false
32 INFO EL is page2

The test expression of line 19 is evaluated again at
line 20 and the result is 'false' as shown at line 31.
The output produced by line 22 is shown at
line 32 and confirms that the value of midContent is 'page2'.
Can someone explain why the code inside
the '' tag is executed when
the test on line 19 appears to be evaluating to false?

Thanks you in advance.

 Jim Anderson


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 httpd.worker and tomcat AJP port.

All logs does'nt help in any sort even in debug loglevel.

Please advise.


Thanks.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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 java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
  at java.util.LinkedList.writeObject(LinkedList.java:943)
  at sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source)
  at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
  at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)
  at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)



  
  



  

  

  

  
  
  
  
  

  
  
  www2.example.com
  
  




What can I do to make the MemoryUser  serializable and why is it trying to sync 
it with other nodes?

Ronald.



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

2009-07-03 Thread Konstantin Kolinko
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

Also, each web.xml has DTD or schema reference in its first lines,
that determine to which version of the spec the web app adheres.

See
http://java.sun.com/products/servlet/reference/api/index.html


Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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  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 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
>> >>
>> >>
>> >>
>> >> -
>> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> >> For additional commands, e-mail: users-h...@tomcat.apache.org
>> >>
>> >>
>> >
>> >
>> >--
>> >Regards,
>> >Achal Patel.
>> >
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>
>
>
>-- 
>Regards,
>Achal Patel.
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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  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 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
> >>
> >>
> >>
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> >> For additional commands, e-mail: users-h...@tomcat.apache.org
> >>
> >>
> >
> >
> >--
> >Regards,
> >Achal Patel.
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Regards,
Achal Patel.


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  wrote:
>
>> 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: users-h...@tomcat.apache.org
>>
>>
>
>
>-- 
>Regards,
>Achal Patel.
>


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



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  wrote:

> 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: users-h...@tomcat.apache.org
>
>


-- 
Regards,
Achal Patel.