RE: Tomcat configuration with multiple webapps

2014-05-04 Thread Baldur
Thank you Mark, good points. In fact, I had configured memory limits with JAVA_OPTS variable. I haven't used JMeter yet because applications need javascript, X509 authentication and so forth. So at first glance, it seemed somewhat difficult to test it. But I'll give it a try again. Thnx very mu

Re: Remote JMX Connection to Tomcat 7

2014-05-04 Thread Alexander
Thanks for your reply. I am using the same Java versions on both system. To make things more interesting, when I run my code inside a different tomcat installation using the same version of tomcat I am able to connect successfully. The exception occurs on this line: JMXConnector connector = J

RE: Reg: Connection pool

2014-05-04 Thread Anu Prab
>> Hi, >> >>> We are using Tomcat 7.0.40 version. We are using Tomcat DBCP for >>> pooling connections. >>> >>> We are able to pool connections for different aliases. But for >>> one alias, connections are not pooling. The user and password is >>> good because the >>> same >>> alias in apache dbcp

Same web app, two web.xml descriptors

2014-05-04 Thread Gary Briggs
I'm working on a web app where I need to offer two forms of authentication; FORM, and CLIENT-CERT In the past I've tried SSLWithFORMFallback, even contributing the current tomcat7 one on the wiki: https://wiki.apache.org/tomcat/SSLWithFORMFallback Unfortunately, that has one drawback; there's no w

Re: Tomcat7 Client Certicate Authentication Using Datasource Realm Fails

2014-05-04 Thread Dhayanidhi sundaramoorthi
Hi, I have moved the realm configuration inside tag Still I get the same below mentioned error. May 04, 2014 11:10:11 AM org.apache.catalina.realm.RealmBase hasResourcePermission FINE: No role found: masFedClient May 04, 2014 11:10:11 AM org.apache.catalina.realm.RealmBase hasResourcePe

Re: Tomcat7 Client Certicate Authentication Using Datasource Realm Fails

2014-05-04 Thread Konstantin Kolinko
2014-05-04 17:24 GMT+04:00 Dhayanidhi sundaramoorthi : > Hi, > > Thanks for your response. > > Can you pls let me know the exact location where I am supposed to configure > the realm in server.xml? It belongs to a "container" (Context, Host or Engine). In server.xml that will be or . http://tomca

Re: Tomcat7 Client Certicate Authentication Using Datasource Realm Fails

2014-05-04 Thread Dhayanidhi sundaramoorthi
Hi, Thanks for your response. Can you pls let me know the exact location where I am supposed to configure the realm in server.xml? If I place the configuration in /conf/web.xml, the configuration is applicable for all the web apps. I want all the webapplication needs to be protected. Thanks Dha

Re: Tomcat7 Client Certicate Authentication Using Datasource Realm Fails

2014-05-04 Thread Konstantin Kolinko
2014-05-04 3:31 GMT+04:00 Dhayanidhi sundaramoorthi : > Hi, > > In Tomcat7, we are trying to do client certificate authentication using > datasource realm. But it fails. > > Please fnd the configuration below: > > server.xml: > > > className="org.apache.catalina.core.AprLifecycle

RE: Configuration of ?

2014-05-04 Thread Martin Gainty
> Date: Sun, 4 May 2014 12:42:04 +0530 > Subject: Configuration of ? > From: motgu...@gmail.com > To: users@tomcat.apache.org > > I am using client certificates in my application. Here is the configuration > i did > > Step1:- > > Added below snippet in tomcat-users.xml file > > > ro

Configuration of ?

2014-05-04 Thread Mohit Gupta
I am using client certificates in my application. Here is the configuration i did Step1:- Added below snippet in tomcat-users.xml file Step 2:- Added below sniipet in web.xml Client Certificate Auth /MyClientAuthenticator.jsp