Re: Using Tomcat7 JDBC Connection Pool

2012-02-10 Thread Pid
On 09/02/2012 17:24, Amit wrote: Comment below On 09-Feb-2012, at 10:18 PM, Pid p...@pidster.com wrote: On 09/02/2012 16:21, Amit wrote: Any thoughts on the first point about executing multiple SQL queries on physical connection creation? I have no idea if it'll work, but I'd try

Re: clarification on Correct error in fix for 49683

2012-02-10 Thread Pid
On 09/02/2012 23:42, Janne Jalkanen wrote: Just to confirm - 7.0.25 seems to solve the problem for the most part. Most part? So there is still a leak? p /Janne On 24 Jan 2012, at 10:53, Janne Jalkanen wrote: Been running 7.0.25 in production now for a day and the fd leak seems at

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 10:43, Lev A KARATUN wrote: Does anybody have an idea?.. Hi again. So, my boss told me that it's insecure to give anyone the password to view tomcat's logs and that should be an

Re: Not able to get threadcount and thread busy metrices in Tocat 7.0

2012-02-10 Thread Pid
On 10/02/2012 13:03, Mendiratta, Shashank wrote: Hi , I am facing a problem. We used to monitor tomcat JVM and used to monitor current ThreadCount and current Threadbusy Recently we upgraded from tomcat 6.0 to tomcat 7.0.16 and we are not able to get these metrices . On digging in we

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 11:53, Lev A KARATUN wrote: Pid, sorry, my english is not very good. What do you mean by raised that particular issue too? We mentioned that allowing uncontrolled access to the logs was a bad idea. Your boss appears to agree. That variable should be ${catalina.base

Re: Fw: Problems with LDAP authentication

2012-02-10 Thread Pid
On 10/02/2012 12:54, Lev A KARATUN wrote: Please see my answers below. Best Regards, Karatun Lev, Felix Schumacher felix.schumac...@internetallee.de wrote on 10.02.2012 15:31:43: Felix Schumacher felix.schumac...@internetallee.de 10.02.2012 15:32 Please respond to Tomcat Users

Re: mod_jk and URL rewriting/proxying?

2012-02-10 Thread Pid *
On 10 Feb 2012, at 07:21, Casper Wandahl Schmidt kalle.pri...@gmail.com wrote: Den 09-02-2012 22:02, Christopher Schultz skrev: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Casper, On 2/9/12 1:43 PM, Casper Wandahl Schmidt wrote: Den 09-02-2012 19:36, Caldarale, Charles R skrev: From:

Re: Why am I Getting org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication?

2012-02-09 Thread Pid
On 09/02/2012 00:19, Jonathan Rosenberg wrote: Thanks to all who are trying to help. See info below. Here it is: What about the appname/WEB-INF/web.xml? p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Serving static content using embedded tomcat 7

2012-02-09 Thread Pid
On 09/02/2012 06:19, sanu wrote: Thanks for your reply. I have a global web.xml, where the DefaultServlet is mapped. The difference I see is that my static resources are not in the same directory as the host's appBase. Could this be the problem ? How can the static content be served in such

Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread Pid
On 09/02/2012 12:56, amit shah wrote: One more comment below about oracle UCP. snip The pool returns members at random, so how would you know which cached credentials you were getting? The credentials which are passed to the getConnection(String username, String password) method. When we

Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-09 Thread Pid
On 09/02/2012 14:03, Rainer Jung wrote: On 09.02.2012 13:51, Andres Aguado wrote: Hi Guys! First of all, I want to be grateful for help. I'm (very) newbie with apache-tomcat world, level 1 (I've installed Tomcat sucessfully once ;-) ) Well, I've a Tomcat 5.5.27 version with an

Re: Using Tomcat7 JDBC Connection Pool

2012-02-09 Thread Pid
time, then you could do it as an extra transaction thereafter. p On 09-Feb-2012, at 7:05 PM, Pid p...@pidster.com wrote: On 09/02/2012 12:56, amit shah wrote: One more comment below about oracle UCP. snip The pool returns members at random, so how would you know which cached

Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-09 Thread Pid
Pid p...@pidster.com: On 09/02/2012 14:03, Rainer Jung wrote: On 09.02.2012 13:51, Andres Aguado wrote: Hi Guys! First of all, I want to be grateful for help. I'm (very) newbie with apache-tomcat world, level 1 (I've installed Tomcat sucessfully once ;-) ) Well, I've a Tomcat 5.5.27

Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-09 Thread Pid *
On 9 Feb 2012, at 17:10, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool warning: [path] bad path element C:\apache-tomcat-5.5.27\server\lib

Re: Shutdown Hooks not firing when tomcat is shutdown from within a webapp

2012-02-08 Thread Pid
On 07/02/2012 22:20, Andrew Kujtan wrote: -Original Message- From: Chema [mailto:demablo...@gmail.com] Sent: Tuesday, February 07, 2012 5:12 PM To: Tomcat Users List Subject: Re: Shutdown Hooks not firing when tomcat is shutdown from within a webapp Can I see

Re: Serving static content using embedded tomcat 7

2012-02-08 Thread Pid
On 08/02/2012 07:47, sanu wrote: Hello, I am working on embedding tomcat 7 into our application. We have a number of web apps and the static content is located in a different directory, common to all webapps. Why not just serve the static content as it's own application? I am not finding

Re: Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread Pid
On 08/02/2012 11:41, amit shah wrote: I am trying to use the tomcat 7 jdbc connection pool in our application by using the tomcat-jdbc.jar and tomcat-juli.jar files. The basic connection pool works fine. I have few questions/clarifications 1. Executing multiple statements on connection

Re: Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread Pid
On 08/02/2012 12:30, amit shah wrote: Thanks for the reply. Responses below. On Wed, Feb 8, 2012 at 5:19 PM, Pid p...@pidster.com wrote: On 08/02/2012 11:41, amit shah wrote: I am trying to use the tomcat 7 jdbc connection pool in our application by using the tomcat-jdbc.jar and tomcat

Re: Using Tomcat7 JDBC Connection Pool

2012-02-08 Thread Pid
On 08/02/2012 14:59, amit shah wrote: Responses below. Thanks. On Wed, Feb 8, 2012 at 7:14 PM, Pid p...@pidster.com wrote: On 08/02/2012 12:30, amit shah wrote: Thanks for the reply. Responses below. On Wed, Feb 8, 2012 at 5:19 PM, Pid p...@pidster.com wrote: On 08/02/2012 11:41

Re: How can I access tomcat's logs using my jsp?

2012-02-07 Thread Pid
On 07/02/2012 09:07, André Warnier wrote: For once, it may be best to top-post. Anyone feels like making a FAQ out of this thread ? It looks like a generic-enough question and answer. I don't think I want to encourage publishing logs via the same container. I've seen all sorts of private

Re: [OT] problems with performance with IIS 7.5 and Tomcat Connector

2012-02-06 Thread Pid
On 05/02/2012 19:59, Bilal S wrote: On Thu, Feb 2, 2012 at 3:38 PM, Mark Thomas ma...@apache.org wrote: On 02/02/2012 20:19, Bilal S wrote: I am willing to learn but finding the Apache related processes singularly difficult to deal with. We are working with mailing list, in the age of

Re: Dependencies on extensions functionality

2012-02-06 Thread Pid
classpath dirs and we cannot specify a custom directory for these extensions? It should work. (As per Konstantin's message) p Thanks Violeta 2012/2/5 Pid p...@pidster.com On 04/02/2012 21:02, Violeta Georgieva wrote: Hi, Here is how one can reproduce the scenario: 1. Start Tomcat

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Pid
On 06/02/2012 08:58, Amol Puglia wrote: Hello Team, I have configured apache to load balanced six tomcat instances in the backend using mod_proxy_balance and mod_proxy_ajp modules. I am frequently getting service temporary unavailable message and following error in the apache error

Re: Frequently Getting Service Temporaily availbale message from backend tomcat servers

2012-02-06 Thread Pid
25 MaxRequestsPerChild 0 /IfModule Please post prefork.c instead, as that's what you're using. p Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 HostnameLookups Off From: Pid p...@pidster.com To: Tomcat Users List users

Re: Dependencies on extensions functionality

2012-02-06 Thread Pid
, they use it in order to be independent from the application servers. I see - in my experience this mechanism is rarely used in web applications. Interesting. p 2012/2/6 Pid p...@pidster.com On 05/02/2012 15:03, Violeta Georgieva wrote: Hi, As I wrote I'm placing the extension jar

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
On 06/02/2012 11:53, Lev A KARATUN wrote: Charles, thank for your explanation. Now everything (exept one thing) seems to work fine. The only problem left is - when I'm copypasting the default servlet block to $CATALINA_BASE/logs/WEB-INF/web.xml , the application no longer works. What

Re: How can I access tomcat's logs using my jsp?

2012-02-06 Thread Pid
On 06/02/2012 13:14, André Warnier wrote: Pid wrote: On 06/02/2012 11:53, Lev A KARATUN wrote: And one more question - if myapp's docBase is set to $CATALINA_BASE/logs , does it matter what is in the webapps/myapp folder? No. Wait.. If the myapp application is deployed via a context

Re: Client Authentication--getting certificate information on the server side

2012-02-06 Thread Pid
On 06/02/2012 17:01, Sanjeev Sharma wrote: Hello, I'm trying to configure client authentication in Tomcat 7 on Windows 7. I have the following connector in the server.xml: Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150

Re: Clustering and https configuration

2012-02-06 Thread Pid
On 06/02/2012 18:29, Christopher Schultz wrote: Riccardo, On 2/6/12 8:10 AM, Riccardo Venittelli wrote: Now my test web app work fine but i'm unable to find a configuration for SingleSignOn in cluster. Are you trying to set up a Cluster to communicate over SSL? I don't believe Cluster

Re: Web app calls JMS over SSL - certificates

2012-02-06 Thread Pid *
On 6 Feb 2012, at 23:10, Peter Kleczka pklec...@gmail.com wrote: Hello I have a web app on Tomcat 6.0.24. The app needs to call a JMS app on another server over SSL. I installed the keystore/truststore files in $CatalinaHome/conf/certs and set VM arguments so that the JVM knows where to

Re: Dependencies on extensions functionality

2012-02-05 Thread Pid
On 04/02/2012 21:02, Violeta Georgieva wrote: Hi, Here is how one can reproduce the scenario: 1. Start Tomcat 2. Put attached war in webapps folder 3. In the console the following error message is printed: In the example above, where have you placed the extension? Is it in one of

Re: Dependencies on extensions functionality

2012-02-05 Thread Pid
is scanned while scanning for container level extensions. Unfortunately I cannot find a place where this extensions are made available for web applications. Regards Violeta 2012/2/3 Pid p...@pidster.com On 03/02/2012 13:25, Violeta Georgieva wrote: Hi, I'm using Tomcat 7.0.23

Re: How can I access tomcat's logs using my jsp?

2012-02-04 Thread Pid *
On 3 Feb 2012, at 22:47, André Warnier a...@ice-sa.com wrote: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: How can I access tomcat's logs using my jsp? - you can create a webapp named tomcat-logs (or whatever), just by creating a new directory

Re: How to combine SPNEGO and BASIC authenticators?

2012-02-03 Thread Pid *
On 3 Feb 2012, at 07:58, André Warnier a...@ice-sa.com wrote: Konstantin Krasnov wrote: Hello! How to combine SPNEGO and BASIC authenticators? Have a look at the ongoing discussion RE: Regarding compatibility. Or Re: Two auth methods for one application p

[OT] Re: Regarding compatibility

2012-02-03 Thread Pid
On 03/02/2012 07:55, André Warnier wrote: Caldarale, Charles R wrote: From: David Kerber [mailto:dcker...@verizon.net] Subject: Re: Regarding compatibility It will be open source, right? Both open *and* closed source. But you won't know which until you download it and open the package...

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread Pid
On 03/02/2012 13:53, Lev A KARATUN wrote: Hello! I'm administering an application running on Tomcat 6.0.0.29. OS is AIX 5.3. I'm trying to write a simple jsp to make some superusers able to download tomcat logs via browser after entering a password. (In my organization it's not

Re: [OT] Re: Regarding compatibility

2012-02-03 Thread Pid
On 03/02/2012 16:02, Christopher Schultz wrote: Pid, On 2/3/12 6:12 AM, Pid wrote: DarkEnergy[TM] compiles to bytecode presumably? Seems everyone their dog is inventing JVM languages, no reason why we can't. QLG is a hard problem to solve, so I'd expect the syntax to be more complex

Re: Dependencies on extensions functionality

2012-02-03 Thread Pid
On 03/02/2012 13:25, Violeta Georgieva wrote: Hi, I'm using Tomcat 7.0.23 on Windows. I have a web application that specifies in the Manifest that wants to use an extension. How does it do that? I specify catalina.ext.dirs to point to the directory where I placed my extensions jar

Re: How to configure certificate file (*.cer) in Tomcat 6

2012-02-02 Thread Pid
On 02/02/2012 05:06, Geet Chandra wrote: Thanks Dale!!! Please stop top-posting. Please post your reply below each relevant part of the previous email. Few more questions Like this. 1. As I have exported *.cer as I have using Digital Badge in Internet Explorer.Can I use the same *.cer to

Re: Regarding compatibility

2012-02-02 Thread Pid
On 02/02/2012 10:27, bhawana rajpurohit wrote: Hi, This is to ask you that we have Apache 2.2.17 and tomcat 7.0.12. Why not upgrade to Apache HTTPD 2.2.22 and Apache Tomcat 7.0.25? Go on, it'll be fun! Kindy tell us that whether they are compatible with vtier(virtual Tier) architechture

Re: help debug cluster error --java.net.BindException: Cannot assign requested address

2012-02-02 Thread Pid
On 02/02/2012 10:17, Randy Paries wrote: Hello, I have two centos servers running tomcat 5.5 (yeah i know its old) one of the servers died and i had to rebuild from scratch. Everything is working but the clustering. is there anything between the cluster configs that needs to be

Re: Regarding compatibility

2012-02-02 Thread Pid
On 02/02/2012 15:01, Christopher Schultz wrote: David, On 2/2/12 7:50 AM, David kerber wrote: On 2/2/2012 6:25 AM, Pid wrote: On 02/02/2012 10:27, bhawana rajpurohit wrote: Hi, This is to ask you that we have Apache 2.2.17 and tomcat 7.0.12. Why not upgrade to Apache HTTPD 2.2.22

Re: help debug cluster error --java.net.BindException: Cannot assign requested address

2012-02-02 Thread Pid
On 02/02/2012 15:34, Randy Paries wrote: Pid so tcpListenAddress should be the IP of the machine correct? thanks thats probably it Yep. p On Thu, Feb 2, 2012 at 5:28 AM, Pid p...@pidster.com wrote: On 02/02/2012 10:17, Randy Paries wrote: Hello, I have two centos servers running

Re: Two auth methods for one application

2012-02-02 Thread Pid
On 02/02/2012 15:34, Christopher Schultz wrote: Pid, On 2/2/12 10:28 AM, Pid wrote: On 02/02/2012 15:00, Christopher Schultz wrote: Tomcat has a CombinedRealm which allows authentication against one of several sub-realms (like LDAP /or/ JDBC), but does not have a CombinedAuthenticator

[OT] Re: Regarding compatibility

2012-02-02 Thread Pid
On 02/02/2012 15:36, Christopher Schultz wrote: Pid, On 2/2/12 10:25 AM, Pid wrote: We should start an Incubator wiki proposal page for OpenQuantumLoopGravity. The problem is that nobody can look at the page without changing its content. LMAO That might be achievable. p -- [key

Re: [OT] problems with performance with IIS 7.5 and Tomcat Connector

2012-02-02 Thread Pid *
On 2 Feb 2012, at 16:09, Bilal S bilal.so...@gmail.com wrote: On Thu, Feb 2, 2012 at 5:06 AM, Mark Thomas ma...@apache.org wrote: On 02/02/2012 09:57, André Warnier wrote: Alex Samad - Yieldbroker wrote: Hi Hopefully this is the right list :) Actually I don't know, but I would also

Re: Correct behavior while checking the thread binding in DirContextURLStreamHandler ?

2012-02-01 Thread Pid
On 01/02/2012 11:50, Ivan wrote: Here's what the reply should have looked like, without the top-posting. 2012/2/1 Christopher Schultz ch...@christopherschultz.net Ivan, On 1/27/12 11:40 PM, Ivan wrote: if (result != null) return result; // Checking thread biding result =

Re: Tomcat7 and Apache2 connection configuration (mod_proxy_ajp)

2012-01-31 Thread Pid *
On 31 Jan 2012, at 06:59, baba smith junkuri...@gmail.com wrote: the problem that i'm trying to fix is that after a while that apache and tomcat work together, the tomcat stops responding to the apache. it looks like the connector itself stops working. the errors i see in the apach log are:

Re: Reinstall with 302 error

2012-01-31 Thread Pid
On 30/01/2012 16:34, Bilal S wrote: On Sat, Jan 28, 2012 at 11:24 AM, Pid p...@pidster.com wrote: On 28/01/2012 15:08, Bilal S wrote: It would not be unusual for a page to redirect to itself. Have you tried an alternate connection mechanisms. Http proxy or BonCode ( http

Re: Reinstall with 302 error

2012-01-30 Thread Pid
On 30/01/2012 11:47, Luciano Andress Martini wrote: http://www.checkupdown.com/status/E302.html Maybe this will help you. Luciano, please put replies *below* the previous comment you're replying to. As I asked the other poster to do in the message you replied to. p 2012/1/28, Pid p

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Pid
On 30/01/2012 16:05, Luciano Andress Martini wrote: 2012/1/30, Caldarale, Charles R chuck.caldar...@unisys.com: From: Luciano Andress Martini [mailto:777u...@gmail.com] Subject: Re: Java.lang.out.of.memory not clearly Jeffrey im sorry, but i need to ask, my boss says that is impossible

Re: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Pid
On 30/01/2012 16:33, Luciano Andress Martini wrote: 2012/1/30, Luciano Andress Martini 777u...@gmail.com: Pid i changed the configuration, like this: JAVA_OPTS=-Djava.awt.headless=true -Xmx1512m -XX:ParallelGCThreads=4 -XX:+UseParNewGC -XX:MaxPermSize=1024M -XX:+UseConcMarkSweepGC -XX

Re: Tomcat 6 - How to make an application available at www.mydomain.com

2012-01-29 Thread Pid
On 29/01/2012 10:46, Borut Hadžialić wrote: Hi, the best way is to deploy your application to run inside tomcat without a context path - eg. to be available at http://localhost:8080/ instead of http://localhost:8080/myApplication and use your apache reverse proxying / virtual host as it is.

Re: Tomcat 6 - How to make an application available at www.mydomain.com

2012-01-29 Thread Pid
On 29/01/2012 03:42, Caldarale, Charles R wrote: From: Dean Del Ponte [mailto:dean.delpo...@gmail.com] Subject: Tomcat 6 - How to make an application available at www.mydomain.com How can I make this application available at http://www.mydomain.com; without deploying it as ROOT.war? Just

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread Pid *
On 27 Jan 2012, at 23:53, bxqdev bxq...@themailbay.com wrote: On 1/28/2012 3:41 AM, Pid wrote: On 27/01/2012 23:35, bxqdev wrote: On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread Pid
On 28/01/2012 09:07, bxqdev wrote: snip I see. Did you identify where the bottleneck was? well, we are getting too far from the subject. can you make up 3 cases when to use 3 combinations of connector+servlet api 1. bio connector + async servlet 2. nio connector + sync servlet 3. nio

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread Pid *
On 28 Jan 2012, at 13:34, bxqdev bxq...@themailbay.com wrote: On 1/28/2012 5:01 PM, Pid wrote: On 28/01/2012 09:07, bxqdev wrote: snip I see. Did you identify where the bottleneck was? well, we are getting too far from the subject. can you make up 3 cases when to use 3 combinations

Re: Reinstall with 302 error

2012-01-28 Thread Pid
On 28/01/2012 15:08, Bilal S wrote: It would not be unusual for a page to redirect to itself. Have you tried an alternate connection mechanisms. Http proxy or BonCode ( http://tomcatiis.riaforge.org)? Really, is that relevant here? Please don't top-post. Please reply below each relevant

[OT] Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-28 Thread Pid
On 28/01/2012 14:23, Rainer Jung wrote: On 28.01.2012 00:38, Pid wrote: On 27/01/2012 23:25, Caldarale, Charles R wrote: From: David Rees [mailto:dree...@gmail.com] Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization Hmm, yes, the systems I've checked running Java

Re: How to configure certificate file (*.cer) in Tomcat 6

2012-01-28 Thread Pid
On 28/01/2012 14:22, Geet Chandra wrote: Hi, My requirements is how to configure *.cer in Tomcat's server.xml file. You mean you want to set up a connector that uses SSL? Actually I don't want to use keytool -import command to import the *.cer file into *.keystore file. Any particular

[OT] Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-28 Thread Pid
. and that's a good thing, because you wouldn't understand connectors async servlets so well, if i didn't post the question in the first place and make the answer summary in the second. i've already thanked both talkers, which makes me a very nice person :) and even though slow pid still doesn't

Re: Configuring embedded tomcat using server.xml

2012-01-27 Thread Pid *
On 27 Jan 2012, at 08:06, Pradeep Fernando pradee...@gmail.com wrote: Hi, I have embedded the tomcat server within my application. Right now i'm using the org.apache.catalina.startup.Tomcat.java class to start my server. However I would like to get more control over Engine creation,

Re: Dead lock with tomcat-jdbc.jar on Tomcat 6.0.35

2012-01-27 Thread Pid *
On 27 Jan 2012, at 07:04, gnath gautam_exquis...@yahoo.com wrote: Hi All, Quick update: after i looked at the dead lock trace, it looked to me like an issue with mysql driver jar. As i mentioned that we are using mysql-connector-java.3.1.12-bin.jar, and i have been seeing these bugs that

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid *
On 27 Jan 2012, at 05:32, gnath gautam_exquis...@yahoo.com wrote: Hello Chris, After seeing the initial connection pool issue, i started searching online for help and i found this article : http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html so, i thought may be

Re: Problems after reinstall - Sorry, trying again.

2012-01-27 Thread Pid
On 26/01/2012 23:19, Caldarale, Charles R wrote: From: Benjamin Madore [mailto:bc...@pitt.edu] Subject: RE: Problems after reinstall - Sorry, trying again. 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp HTTP/1.1 302 - The above looks ok. 136.142.248.135 - -

Re: SSL client auth

2012-01-27 Thread Pid
. It is an application issue. I know for sure which cacerts is being used and listing cacerts shows the required cert. I will try in JSSE forums too. Or fix your code. p -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Friday, January 27, 2012 4:20 AM To: Tomcat Users List

Re: Please somebody can translate this configuration in tomcat form for server.xml or another xml config file?

2012-01-27 Thread Pid
never will move this directory, you just need to block it, as you do in Apache2. You dont know how to do that? ... (LUCIANO) says (to DEVELOPER) DEVELOPER idiot, you really want application to upload 10 GB files in the /var/lib/tomcat6/webapps directory ? (Pid) says DEVELOPER Idiot, you should

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-27 Thread Pid
This is top-posting, for anyone who's watching doesn't know. p On 27/01/2012 14:26, gnath wrote: We defined our data sources in spring configuration file. We did not have any DB configuration defined on Server. From: Pid * p...@pidster.com To: Tomcat

Re: Dead lock with tomcat-jdbc.jar on Tomcat 6.0.35

2012-01-27 Thread Pid
. Don't be lazy, go read it up yourself if you're not sure. It took me 10 seconds to find: http://dev.mysql.com/downloads/connector/j/ p Thanks -G From: Pid * p...@pidster.com To: Tomcat Users List users@tomcat.apache.org Sent: Friday, January 27

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? Eh? Is that what you really mean? 2. Do i get any advantages if i use Sync Servlet Api with

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 16:29, Luciano Andress Martini wrote: I need to know if the error is from my part (server administrator), from the developer or from the hardware/vms. Some times that occurs when processing two milion of registry (i am talking from expressocard a company of credit cards). Its

Re: HTTP pseudostreaming in tomcat

2012-01-27 Thread Pid
On 27/01/2012 15:21, André Warnier wrote: Jason Fowler wrote: Hi all. New to the list. I had a quick question. First, the obligatory... Server version: Apache Tomcat/6.0.26 Server built: March 9 2010 1805 Server number: 6.0.26.0 OS Name:Linux OS Version: 2.6.18-53.1.13.el5

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
bits? How can i increase the object heap? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 16:29, Luciano Andress Martini wrote: I need to know if the error is from my part (server administrator), from the developer or from the hardware/vms. Some times that occurs when processing two milion

Re: Catching Exception in Application

2012-01-27 Thread Pid
On 27/01/2012 18:00, Jonathan Rosenberg wrote: Vital stats: Apache Tomcat/7.0.22 1.6.0_20-b20Sun Microsystems Inc. Linux 2.6.34.7-56.40.amzn1.i686 I have a CAS server deployed on this instance. I am trying to catch errors within the server (e.g., DB down) so I can display

Re: Catching Exception in Application

2012-01-27 Thread Pid
On 27/01/2012 18:38, Jonathan Rosenberg wrote: That is in the original CAS server web.xml. I left it untouched. For the rest of the day, as an experiment I will bottom-post to any thread containing a reply via top-post. On Fri, Jan 27, 2012 at 1:35 PM, Pid p...@pidster.com wrote: On 27/01

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 18:39, Luciano Andress Martini wrote: i dont know how to increase the heap space is using the parameter -Xmx? 2012/1/27, Pid p...@pidster.com: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post your replies below the questions I asked

Re: Catching Exception in Application

2012-01-27 Thread Pid
On 27/01/2012 18:53, Jonathan Rosenberg wrote: On Fri, Jan 27, 2012 at 1:45 PM, Pid p...@pidster.com wrote: On 27/01/2012 18:38, Jonathan Rosenberg wrote: That is in the original CAS server web.xml. I left it untouched. For the rest of the day, as an experiment I will bottom-post to any

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 20:23, David Rees wrote: I've been working on upgrading some Tomcat 5.5 servers to Tomcat 7 since 5.5 will be EOL soon. One thing I noticed on one of my first upgrades is that TC7 can often take a long time to start up due to slow initialization of the SessionIdGenerator - it

Re: Java.lang.out.of.memory not clearly....

2012-01-27 Thread Pid
On 27/01/2012 20:51, André Warnier wrote: Exactly. (this is responding to Pid) Pid wrote: On 27/01/2012 17:54, Luciano Andress Martini wrote: -Xmx512m -Xmx1024 ? Please post your replies below the questions I asked. Someone reading this thread would see the first bit of this message

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol or org.apache.coyote.http11.Http11NioProtocol connectors? Eh? Is that what you

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What are the premises to use either apache.coyote.http11.Http11NioProtocol

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01/2012 14:53, bxqdev wrote: Hello, Developers! 1. What

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 23:00, David Rees wrote: On Fri, Jan 27, 2012 at 12:58 PM, Pid p...@pidster.com wrote: On 27/01/2012 20:23, David Rees wrote: Google turns up lots of hits which suggest using -Djava.security.egd=file:/dev/./urandom to work around the issue - but I'd rather not give up security

Re: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Pid
On 27/01/2012 23:25, Caldarale, Charles R wrote: From: David Rees [mailto:dree...@gmail.com] Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization Hmm, yes, the systems I've checked running Java 1.7.0_02 list /dev/urandom as the securerandom.source. Unfortunately,

Re: Connectors: Http11Protocol vs. Http11NioProtocol

2012-01-27 Thread Pid
On 27/01/2012 23:35, bxqdev wrote: On 1/28/2012 3:16 AM, Pid wrote: On 27/01/2012 22:51, bxqdev wrote: On 1/28/2012 2:39 AM, Pid wrote: On 27/01/2012 21:35, bxqdev wrote: On 1/28/2012 1:16 AM, Pid wrote: On 27/01/2012 21:06, bxqdev wrote: On 1/27/2012 8:27 PM, Pid wrote: On 27/01

Re: parallel webapp initialization

2012-01-26 Thread Pid
On 26/01/2012 06:52, David Rees wrote: On Wed, Jan 25, 2012 at 1:24 AM, Pid p...@pidster.com wrote: On 24/01/2012 21:01, David Rees wrote: The system has 8 CPU cores, Opteron 2378 CPU. Going beyond 4 startStopThreads for the host where the webapps are deployed doesn't speed things up much

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-26 Thread Pid
On 26/01/2012 04:56, Monika Solanki wrote: I am using tomcat 7.x. I would like to redirect requests to a site on apache, port 80 to one of my application running on tomcat, localhost:8080. Please tell us exactly which version of Tomcat (and anything else that's relevant, e.g. HTTPD), or we may

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-26 Thread Pid
the count as 4096 when i do ulimit -a. Well, if your admin says it's right, I suppose it's right. for ulimit -n i see its 'unlimited'. That's good. for cat /proc/PID/limits, i get the following response: Limit Soft Limit Hard Limit Units Max cpu time

Re: Tomcat 7 documentation weaknesses

2012-01-26 Thread Pid
On 26/01/2012 00:59, David Kerber wrote: On 1/25/2012 7:18 PM, André Warnier wrote: Hi. Please see this this as a constructive critic, not as a complaint. The on-line documentation of Tomcat is not always easy-to-use, particularly when one is a relatively naive (or new) Tomcat user, and

Re: Tomcat memory requirements

2012-01-26 Thread Pid
On 26/01/2012 00:25, André Warnier wrote: Pid wrote: I'm not actually a committer. Just a mailing list lurker. but you are close to the gods.. Aww shucks p -- [key:62590808] signature.asc Description: OpenPGP digital signature

Re: Redirecting apache http requests to tomcat application running on 8080

2012-01-26 Thread Pid
On 26/01/2012 08:50, Monika Solanki wrote: On Thu, Jan 26, 2012 at 8:34 AM, Pid p...@pidster.com wrote: On 26/01/2012 04:56, Monika Solanki wrote: I am using tomcat 7.x. I would like to redirect requests to a site on apache, port 80 to one of my application running on tomcat, localhost:8080

Re: ssl connection between two applications running on tomcat

2012-01-26 Thread Pid
On 26/01/2012 14:03, Hemanth Gundlapudi wrote: Hi, we have an application running on tomcat and that needs to securely communicate with other application running on tomcat. can someone please guide me through the steps how to set up the ssl connections between these two application.

Re: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Pid
On 26/01/2012 17:30, Caldarale, Charles R wrote: From: Jess Holle [mailto:je...@ptc.com] Subject: Re: ThreadLocals, context listeners and classloader leaks That said, there could and arguably should be another choice: I'll suggest something more radical: define a class such as ScopeLocal

Re: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Pid
On 26/01/2012 17:48, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: ThreadLocals, context listeners and classloader leaks Imagine the fiendishly clever and machiavellian applications we'd have to debug if you did that... Job security. ROFL. p

Re: [OT] Inspecting JMX

2012-01-26 Thread Pid
On 26/01/2012 20:33, Christopher Schultz wrote: Chuck On 1/26/12 1:41 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: [OT] Inspecting JMX Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to

Re: ssl connection between two applications running on tomcat

2012-01-26 Thread Pid
On 26/01/2012 20:01, removeps-c...@yahoo.com wrote: If the 2nd application is secured by SSL, then the 1st application can send requests to it, just like like it would to any other application. If using self-signed certificates you might need to export the certificate if necessary, import

Re: Problems after reinstall - Sorry, trying again.

2012-01-26 Thread Pid
On 26/01/2012 20:00, Benjamin Madore wrote: Hi all, Sorry, I'm new to the list and I hope that my first message didn't breech some kind of etiquette or do something to get caught in everyone's spam filter. I have spent hours trying to find an answer, and I keep going around in circles,

Re: SSL client auth

2012-01-26 Thread Pid
On 26/01/2012 17:37, Harish S K wrote: I am trying to open a https URL on IBM webshpere where ClientAuth is enabled. In response I was getting HTTP 403 whereas the URL can be accessed through http. On debugging further, it looks like the client is not sending the client certificate in

Re: somebody please help me

2012-01-25 Thread Pid
On 25/01/2012 07:40, sri laxmi wrote: Hi, am installing tomcat6.0,for that i download tomcat6.0 and unzip in C driver, and next i set the environment variables , and next for starting apache tomcati used inthe following commands in the command promt, C:\cdapache*

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread Pid
On 25/01/2012 02:49, removeps-c...@yahoo.com wrote: In my webapps folder there are two folders: ROOT, myapp. ROOT is the default app. In myapp/WEB-INF/web.xml there is servlet servlet-nameMyServlet/servlet-name servlet-classpackage.MyServlet/servlet-class

<    1   2   3   4   5   6   7   8   9   10   >