Re: Specification of web.xml

2006-07-05 Thread David Durham

wolverine my wrote:

Hi!

May I know which specification that describe the web.xml contents?


Depends.  Tomcat supports a few of the Servlet and JSP specs (maybe all 
of them).  You specify which one you're using in the web.xml itself.  As 
I recall, Servlets 2.3 has a DTD while Servlets 2.4 has a schema.


 And where can we download it?

Try googling servlets 2.3 or 2.4 and JSP 1.1, 2.0, etc, or you can 
search java.sun.com.



-Dave

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



load balancer

2006-05-25 Thread David Durham
From the docs [1], it's slightly unclear to me what the load-balancer 
is exactly.  I've kind of gleaned from other sources that it's perhaps 
an apache httpd running modjk?


Thanks,

Dave

1. http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



turning off sessions

2006-02-07 Thread David Durham
Anyway to configure a Tomcat 5.5 app to not create sessions through 
META-INF/context.xml?  The closest thing I've found was the 
maxInactiveInterval attribute of the manager element.  E.g.,


Context path=/app
manager maxInactiveInterval=6/
/Context


But, even that doesn't work properly.  Anyone know what I need to do?

Thanks,

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: turning off sessions

2006-02-07 Thread David Durham

Tim Lucia wrote:

Tomcat doesn't create sessions.  Web applications create sessions.  I.e.,
code says:

HttpSession session =
((HttpServletRequest)request).getSession({true|false}); // true for create
if not exist, false for don't create);


That's strange because there is no call to getSession() in my code.  So, 
maybe it's the result of the fact that I'm using a JSP.  If that's the 
case, then Tomcat is, in a sense, creating sessions.


Anyway, I think the context configuration that I had:


Context path=/app
Manager maxInactiveInterval=6/
/Context


conflicts with the default session-config from conf/web.xml

session-config
session-timeout30/session-timeout
/session-config

I added:

session-config
session-timeout1/session-timeout
/session-config

to my app, and that's good enough for me.

Thanks.


-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



tomcat logging from startup.bat

2006-01-26 Thread David Durham

Hi-

I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago.  My 
installation is just to unzip to a directory, and run startup.bat.  Strangely, 
the logger is set to debug somehow.  The end the startup script because of a 
ton of digester DEBUG log statements going to the console.  Does anyone know 
what causes this?  Seem strange that my old install, 5.5.9 does not do this, 
while 5.5.15 does.

Thanks,


Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: tomcat logging from startup.bat

2006-01-26 Thread David Durham

David Durham wrote:

Hi-

I'm using apache-tomcat-5.5.15 that I downloaded about 15 minutes ago.  
My installation is just to unzip to a directory, and run startup.bat.  
Strangely, the logger is set to debug somehow.  The end the startup 
script because of a ton of digester DEBUG log statements going to the 
console.  Does anyone know what causes this?  Seem strange that my old 
install, 5.5.9 does not do this, while 5.5.15 does.


Actually, it looks like this is my problem because now the old install is 
logging insanely as well.  Apologies for the noise.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]