Lots of configuration descriptors

2014-09-24 Thread Léa Massiot
Hello and thank you for reading my post. My question is about configuration descriptors and how Tomcat deals with a lot of them. I have been thinking about a solution for a problem I have to solve. This solution would involve the creation of possibly a lot of configuration descriptors. -- About

Re: Lots of configuration descriptors

2014-09-24 Thread Mark Thomas
On 24/09/2014 11:24, Léa Massiot wrote: Hello and thank you for reading my post. My question is about configuration descriptors and how Tomcat deals with a lot of them. I have been thinking about a solution for a problem I have to solve. This solution would involve the creation of

Re: Debugging Tomcat JDBC pool disconnects.

2014-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Todd, On 9/23/14 11:41 AM, Todd Chapman wrote: My application uses the Tomcat JDBC pool. While using netstat and tcpdump to diagnose connection problems I noticed that the client side occasionally closes a DB connection and opens a new one. That

Re: Lots of configuration descriptors

2014-09-24 Thread Léa Massiot
Hello Mark, Thank you for your answer and for the info about the binary search. This was the kind of info I was looking for. Yet, I guess one has to view the source code to get that kind of information... it's probably what you did... Best regards. -- View this message in context:

Re: Lots of configuration descriptors

2014-09-24 Thread David kerber
On 9/24/2014 9:47 AM, Léa Massiot wrote: Hello Mark, Thank you for your answer and for the info about the binary search. This was the kind of info I was looking for. Yet, I guess one has to view the source code to get that kind of information... it's probably what you did... Actually, he is

Re: Lots of configuration descriptors

2014-09-24 Thread Léa Massiot
Ok. Sorry. Very good, I didn't know... I'm just a simple Tomcat user. I didn't mind to be rude. -- View this message in context: http://tomcat.10.x6.nabble.com/Lots-of-configuration-descriptors-tp5022940p5022954.html Sent from the Tomcat - User mailing list archive at Nabble.com.

Re: Lots of configuration descriptors

2014-09-24 Thread Mark Thomas
On 24/09/2014 14:58, David kerber wrote: On 9/24/2014 9:47 AM, Léa Massiot wrote: Hello Mark, Thank you for your answer and for the info about the binary search. This was the kind of info I was looking for. Yet, I guess one has to view the source code to get that kind of information... it's

Re: Lots of configuration descriptors

2014-09-24 Thread Mark Thomas
On 24/09/2014 14:53, Léa Massiot wrote: Ok. Sorry. Very good, I didn't know... I'm just a simple Tomcat user. I didn't mind to be rude. No offence taken here. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi; Recently joined, first mail I have the following filtering which works fine on Tomcat 7 but not on Tomcat 6... It gives just 404. filter filter-nameRemote Address Filter/filter-name filter-classorg.apache.catalina.filters.RemoteAddrFilter/filter-class init-param param-nameallow/param-name

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Baran, On 9/24/14 11:36 AM, Baran Topal wrote: Recently joined, first mail Welcome to the community. I have the following filtering which works fine on Tomcat 7 but not on Tomcat 6... It gives just 404. filter filter-nameRemote Address

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread André Warnier
Baran Topal wrote: Hi; Recently joined, first mail I have the following filtering which works fine on Tomcat 7 but not on Tomcat 6... It gives just 404. filter filter-nameRemote Address Filter/filter-name filter-classorg.apache.catalina.filters.RemoteAddrFilter/filter-class init-param

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi Andre and Chris; I understand that Tomcat 6 has valve and Chris, means of context, I have the feeling that this context.xml may be relevant but i have seen in some links, conf/server.xml is the place to manipulate. And the thing is that i didn't see any selective setting to filter the IP for

Could not load com.sun.org.apache.xerces.internal.impl - exception happends randomly (not all the time)

2014-09-24 Thread Cheng-Jun Li
Hello, A) Version info of my system: Server version: Apache Tomcat/7.0.53 Server built: May 1 2014 10:53:10 Server number: 7.0.53.0 OS Name:Linux OS Version: 3.0.58-0.6.2.1.5158.0.PTF-default Architecture: amd64 JVM Version:1.6.0_75-b31 Deployed app server:

Re: Debugging Tomcat JDBC pool disconnects.

2014-09-24 Thread Filip Hanik
If you implement a JdbcInterceptor, the method JdbcInterceptor.disconnected will always be called. If the disconnect is permanent, then JdbcInterceptor.reset(null,null) will be called after disconnected On Tue, Sep 23, 2014 at 9:41 AM, Todd Chapman t...@chaka.net wrote: Hi, My application

Help for configuration in App Manager in apache-tomcat-7.0.29

2014-09-24 Thread Rosario Marin
Hi I´m using the next version : apache-tomcat-7.0.29, and I have two web services in the same server, but in different port of deploy, The question is that one of my ports in the App Manager to 'replegar' the button is disabled. In that part of the settings I can fix this? Or what address I

Re: Response mixed between users with mod_jk-1.2.40

2014-09-24 Thread Philippe Mouawad
Hello, Any feedback on this ? Thanks On Sun, Sep 7, 2014 at 11:49 PM, Philippe Mouawad philippe.moua...@gmail.com wrote: Hello, I am working currently on an issue where an application is facing either Response mix or Session mix. For example: 1/ a user A gets the basket of customer B when

Re: ipfiltering in Tomcat 6 fails, works fine on Tomcat 7

2014-09-24 Thread Baran Topal
Hi, following works under server.xml Context path=/index.jsp reloadable=true Valve className=org.apache.catalina.valves.RemoteAddrValve deny=127\.0\.0\.1/ /Context But, i need to hide my admin directory containing admin.jsp pages (more than 1 jsp page) My admin directory is in

autoDeploy triggers after Manager Deployment

2014-09-24 Thread Austin Jones
I am deploying apps using the Tomcat Manager interface. Tomcat 8.0.12 on Linux. I am setting the parameters: path=/My_Application context=/path/to/my/context.xml war=/path/to/my/APP.war update=true This produces the log: http request starts 24-Sep-2014 16:52:35.933 INFO [http-nio-443-exec-17]

Re: How to set up TLS-PSK with Tomcat

2014-09-24 Thread Borislav Trifonov
I don't know yet--it's the next thing I'll need to figure out. On 9/22/2014 5:55 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Borislav, On 9/20/14 11:57 PM, Borislav Trifonov wrote: Switched to a configuration where Tomcat is now front-ended by Nginx acting