maxWait

2013-04-30 Thread Jose María Zaragoza
Hello: I'm using Tomcat 6.0.23 I'm using DBCP library to pooling database connections. When I define a Resource in context.xml and set maxWait to 2000 ms , sometimes datasource.getConnection() method lasts 15 seconds. I've to define loginTimeout parameter in JDBC driver to get the effect that

Re: maxWait

2013-04-30 Thread Mark Thomas
On 30/04/2013 12:59, Jose María Zaragoza wrote: Hello: I'm using Tomcat 6.0.23 I'm using DBCP library to pooling database connections. When I define a Resource in context.xml and set maxWait to 2000 ms , sometimes datasource.getConnection() method lasts 15 seconds. I've to define

RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Jeffrey Janner
-Original Message- From: Oke Akinola swisstopo [mailto:akinola@swisstopo.ch] Sent: Tuesday, April 30, 2013 7:29 AM To: users@tomcat.apache.org Subject: Multiple tomcat containers or instance on same servers I would need help to configure different application in their

Re: Java Applet can not communicate with Java Servlet

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 4/29/13 11:20 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Java Applet can not communicate with Java Servlet The servlet spec says that all servlets need to be in a

Re: getting the request that created the session

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 4/29/13 12:55 PM, Leon Rosenberg wrote: However, in my case, I am developing a library that is used by others in their projects (http://moskito.anotheria.net). It comes already with 8 filters and this is a lot. If you want the effect

回复: Java Applet can not communicate with Java Servlet

2013-04-30 Thread qingtao peng
Have you any document for me to consult? 发件人: Christopher Schultz ch...@christopherschultz.net 收件人: Tomcat Users List users@tomcat.apache.org 发送日期: 2013年4月29日, 星期一, 11:01 下午 主题: Re: Java Applet can not communicate with Java Servlet -BEGIN PGP SIGNED

Re: getting the request that created the session

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 4/27/13 5:08 PM, Leon Rosenberg wrote: is there any possibility to get the first request from a session (or any request from a session) from the HttpSessionListener. Background, I want to count sessions by top level domains. I'm doing

Re: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oke, On 4/30/13 8:28 AM, Oke Akinola swisstopo wrote: I would need help to configure different application in their respective tomcat container. Does having multiple containers is same as have multiple instances on the same server? I already

Re: maxWait

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 4/30/13 8:22 AM, Mark Thomas wrote: On 30/04/2013 12:59, Jose María Zaragoza wrote: Hello: I'm using Tomcat 6.0.23 I'm using DBCP library to pooling database connections. When I define a Resource in context.xml and set maxWait to

Re: 回复: Java Applet can not communicate with Java Servlet

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peng, On 4/30/13 10:15 AM, qingtao peng wrote: Have you any document for me to consult? Please don't top-post. Were my responses helpful? I'm not sure you need any document to consult, though you probably should read the Servlet Specification.

Re: Multiple tomcat containers or instance on same servers

2013-04-30 Thread David kerber
On 4/30/2013 10:30 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oke, On 4/30/13 8:28 AM, Oke Akinola swisstopo wrote: I would need help to configure different application in their respective tomcat container. Does having multiple containers is same as have

Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Dariusz Dolecki
Hi, Which version of Tomcat is best for compatibility with these releases of apache and JDK. Please help, we are on a deadline. Regards, Dariusz

RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Carrillo, Dan
If you want to utilize Servlet spec 3.0 or JSP spec 2.2 then use Tomcat version 7.0.39. This is compatible with Java 1.6. If you prefer or are constrained to using the older servlet or JSP specifications, then use Tomcat version 6.0.36. If you don't know or don't care, then my recommendation

context.xml vs ROOT.xml

2013-04-30 Thread Jason Aleski
I'm wanting to configure a database connection. I've got my configurations stored in the META-INF/context.xml file, but because I'm not deploying my application as a WAR, the context.xml is ignored. I can copy my application's context.xml and place it in the tomcat/conf/context.xml and it

RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Caldarale, Charles R
From: Carrillo, Dan [mailto:dcarri...@idanalytics.com] Subject: RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0 If you want to utilize Servlet spec 3.0 or JSP spec 2.2 then use Tomcat version 7.0.39. This is compatible with Java 1.6. If you prefer or are constrained to

Re: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Dariusz Dolecki
Does it matter if we are using AJP connector? On Tue, Apr 30, 2013 at 10:56 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Carrillo, Dan [mailto:dcarri...@idanalytics.com] Subject: RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0 If you want to utilize

RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Carrillo, Dan
Then documentation needs to be updated http://tomcat.apache.org/whichversion.html -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, April 30, 2013 8:57 AM To: Tomcat Users List Subject: RE: Which version of tomcat for apache 2.2.24 and JDK

Re: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Mark Thomas
On 30/04/2013 17:14, Carrillo, Dan wrote: Then documentation needs to be updated http://tomcat.apache.org/whichversion.html No it doesn't. The Servlet specifications are backwards compatible so, for example, any Servlet 2.5 app will run on container that implements Servlet 3.0 such as Tomcat

tomcat apr openssl logging

2013-04-30 Thread Jeremy Bowers
My searches for the answer to this question have so far not turned up a solution. I've found others asking the same question but the only non-answers I've found are to utilize a full apache httpd server or go back to jsse for logging. If this has been answered before, I sincerely apologize,

RE: context.xml vs ROOT.xml

2013-04-30 Thread Caldarale, Charles R
From: Jason Aleski [mailto:jason.ale...@gmail.com] Subject: context.xml vs ROOT.xml I've got my configurations stored in the META-INF/context.xml file, but because I'm not deploying my application as a WAR, the context.xml is ignored. Why do you think it's ignored? I can copy my

RE: Which version of tomcat for apache 2.2.24 and JDK 1.6.0

2013-04-30 Thread Caldarale, Charles R
From: Dariusz Dolecki [mailto:dariusz.dole...@gmail.com] Subject: Re: Which version of tomcat for apache 2.2.24 and JDK 1.6.0 Don't top post. Does it matter if we are using AJP connector? No. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and

RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, April 30, 2013 9:31 AM To: Tomcat Users List Subject: Re: Multiple tomcat containers or instance on same servers -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Oke, On 4/30/13

RE: tomcat apr openssl logging

2013-04-30 Thread Adamus, Steven J.
Jeremy, I've been down the same road and never found any acceptable logging solution within the APR. Every APR/OpenSSL issue we've had over the last 3 years has been resolved using WireShark. Wireshark is indispensable. Steve -Original Message- From:

Re: context.xml vs ROOT.xml

2013-04-30 Thread Jason Aleski
Chuck, Thank you for your feedback. I'll reply in order. 1) I believe it is being ignored because it doesn't see the database connection when it is in the META-INF/context.xml. It does see them when I copy the configurations to the other files. What I read and understand is the

RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Oke Akinola swisstopo
Thanks for all your feedbacks. Is multiple versions supported or all instances have to be the same build. Sent from my Windows Phone From: David kerber Sent: 30.04.2013 16:57 To: Tomcat Users List Subject: Re: Multiple tomcat containers or instance on same

Re: Multiple tomcat containers or instance on same servers

2013-04-30 Thread chris derham
Thanks for all your feedbacks. Is multiple versions supported or all instances have to be the same build. You can have it any which way you wish, e.g. single tomcat in single catalina_home with multiple instances each with own catalina_base, or multiple versions of tomcat each in own

RE: context.xml vs ROOT.xml

2013-04-30 Thread Caldarale, Charles R
From: Jason Aleski [mailto:jason.ale...@gmail.com] Subject: Re: context.xml vs ROOT.xml Don't top post. I believe it is being ignored because it doesn't see the database connection when it is in the META-INF/context.xml. I believe you must be doing something else that's causing the DB

Standalone use of WebSocket client

2013-04-30 Thread Rossen Stoyanchev
Is the (JSR-356) WebSocket client in trunk meant to be usable in a standalone app? I have a Maven app that depends on tomcat-websocket and tomcat-websocket-api that gives the below exception. java.lang.NoClassDefFoundError: org/apache/tomcat/util/codec/binary/Base64 at

Re: tomcat apr openssl logging

2013-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeremy, On 4/30/13 1:47 PM, Jeremy Bowers wrote: How do I go about setting up server side logging to gain more detailed information about ssl connections when using tomcat with apache tomcat native, apr, and openssl for https? Can you explain

Re: Standalone use of WebSocket client

2013-04-30 Thread Mark Thomas
On 30/04/2013 22:20, Rossen Stoyanchev wrote: Is the (JSR-356) WebSocket client in trunk meant to be usable in a standalone app? Yes. I have a Maven app that depends on tomcat-websocket and tomcat-websocket-api that gives the below exception. java.lang.NoClassDefFoundError:

Re: Standalone use of WebSocket client

2013-04-30 Thread Mark Thomas
On 30/04/2013 22:29, Mark Thomas wrote: On 30/04/2013 22:20, Rossen Stoyanchev wrote: Is the (JSR-356) WebSocket client in trunk meant to be usable in a standalone app? Yes. I have a Maven app that depends on tomcat-websocket and tomcat-websocket-api that gives the below exception.

Re: Standalone use of WebSocket client

2013-04-30 Thread Rossen Stoyanchev
- Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, April 30, 2013 5:35:55 PM Subject: Re: Standalone use of WebSocket client The Maven snapshot probably isn't recent enough. Yep. That is it. Let me know if you

Re: Standalone use of WebSocket client

2013-04-30 Thread Mark Thomas
On 30/04/2013 22:45, Rossen Stoyanchev wrote: - Original Message - From: Mark Thomas ma...@apache.org To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, April 30, 2013 5:35:55 PM Subject: Re: Standalone use of WebSocket client The Maven snapshot probably isn't recent

Re: Multiple tomcat containers or instance on same servers

2013-04-30 Thread David Kerber
On 4/30/2013 4:34 PM, chris derham wrote: Thanks for all your feedbacks. Is multiple versions supported or all instances have to be the same build. You can have it any which way you wish, e.g. single tomcat in single catalina_home with multiple instances each with own catalina_base, or

RE: Multiple tomcat containers or instance on same servers

2013-04-30 Thread Oke Akinola swisstopo
The new application I wanted to add to tomcat environment actually required its own container. My understanding so far is configuring multiples applications, even with different listening ports in a single installation is still one container. Once a different container is required, there has