How to close all connections in a Tomcat container db connection pool?

2011-05-10 Thread Dale Ogilvie
Hi, We just had an issue in production on tomcat 6, a web application was getting strange errors from the oracle database: java.sql.SQLException: ORA-06508: PL/SQL: could not find program unit being called in Package Our configuration uses a database pool in GlobalNamingResources of server.xml

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-10 Thread Konstantin Kolinko
2011/5/11 Christopher Schultz : > On 5/10/2011 3:05 AM, Konstantin Kolinko wrote: >> IIRC, catalina.properties file does not support substitution for >> anything, besides those two specific properties, "catalina.home" and >> "catalina.base". > > The documentation suggests otherwise: > > http://tomc

Re: High Availability in Tomcat?

2011-05-10 Thread הילה
"You should check to see if your webapp is leaky across webapp restarts (with Tomcat continuing to run) because you could bringing-down the JVM if your webapp does not undeploy cleanly /and/ it's got a memory leak." How can it be checked? 2011/5/10 Christopher Schultz > -BEGIN PGP SIGNED

Re: Suggestions for really getting to the bottom of memory leak issues on hot-deploys

2011-05-10 Thread Gary Weaver
Chris, On Tue, May 10, 2011 at 4:06 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > http://people.apache.org/~markt/presentations/2010-11-04-Memory-Leaks-60mins.pdf > Thanks! That is a great presentation! Gary

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 5/10/2011 3:05 AM, Konstantin Kolinko wrote: > IIRC, catalina.properties file does not support substitution for > anything, besides those two specific properties, "catalina.home" and > "catalina.base". The documentation suggests otherw

Re: Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader

2011-05-10 Thread James Seymour
Following-up to myself... On Tue, 10 May 2011 16:16:53 -0400 James Seymour wrote: > Good Day, > [snip] > > The outputs to the screen and to the logfile, with -debug, are > attached. [snip] Of not. I guess the ML software strips attachments. I could've guessed. Here's the output, but my mai

Cannot find daemon loader org/apache/commons/daemon/support/DaemonLoader

2011-05-10 Thread James Seymour
Good Day, The vital info: Apache-Tomcat 6.0.32 Java 1.5.0_22 Sun Sparc Solaris 8 (SunOS 5.8 Generic_117000-05 sun4u) Ant 1.8.2 GCC 3.4.6 Did everything just like the docs all said to do, and the result of trying to start-up jsvc is: "Cannot find daemon loader org

Re: Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jatinder, On 5/10/2011 9:28 AM, jatinder singh wrote: > # Should mod_jk send SSL information to Tomcat (default is On) > JkExtractSSL On > # What is the indicator for SSL (default is HTTPS) > JkHTTPSIndicator HTTPS > # What is the indicator for SSL se

Re: Suggestions for really getting to the bottom of memory leak issues on hot-deploys

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gary, On 5/10/2011 3:55 PM, Gary Weaver wrote: > http://stufftohelpyouout.blogspot.com/2011/05/diagnosing-webappportlet-hot-deploy.html Generally speaking, when you have a permgen "leak" across webapp redeployments, this is the situation: 1. Webapp

Suggestions for really getting to the bottom of memory leak issues on hot-deploys

2011-05-10 Thread Gary Weaver
Here's what I did and what little I came up with: http://stufftohelpyouout.blogspot.com/2011/05/diagnosing-webappportlet-hot-deploy.html I'm definitely not an expert at diagnosing leaks, so if you have any recommendations/comments, please let me know. I unfortunately started off just thinking I c

Re: Semicolon URI encoding and RFC

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mindaugas, On 5/9/2011 6:32 AM, Mindaugas Žakšauskas wrote: > http://site/test1)test2//test1)test2/ What about http://site/test1%28test2/ Does that give you "/test1)test2/"? If not, something is probably wrong. If so, Tomcat is probabl

Re: High Availability in Tomcat?

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/9/2011 9:53 AM, Mark Thomas wrote: > On 09/05/2011 14:45, Brian Braun wrote: >> Hey, that is great! I had never noticed that new feature! But the >> documentation is so scarse, it hardly explains what is it about. But I think >> that will s

Re: Deployment problem on Tomcat 7.0.12

2011-05-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitri, On 5/6/2011 11:50 AM, Dmitri Pissarenko wrote: >> Perhaps next time you won't be so anxious to flame the members of this >> community before checking-out your own webapp. > > I don't understand what you are talking about. I'm very sorry... C

Re: SSL on Tomcat5

2011-05-10 Thread Konstantin Kolinko
2011/5/10 Lunita : > Hi all! > > I amb trying to configure SSL for Tomcat Manager with APR. I have a weird > problem, port 8443 is listening, but no HTTPS over there! 8080 and 8443 > ports are open with HTTP > > I compiled tomcat native with this configure: > > "--prefix=/opt/tomcat/" \ > "--with-a

Re: Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread jatinder singh
error.log shows [Tue May 10 21:11:00 2011] [warn] RSA server certificate CommonName (CN) ` www.abc.com' does NOT match server name!? [Tue May 10 21:11:00 2011] [warn] pid file C:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache ru

SSL on Tomcat5

2011-05-10 Thread Lunita
Hi all! I amb trying to configure SSL for Tomcat Manager with APR. I have a weird problem, port 8443 is listening, but no HTTPS over there! 8080 and 8443 ports are open with HTTP I compiled tomcat native with this configure: "--prefix=/opt/tomcat/" \ "--with-apr=/opt/apr-1.4.2/" \ "--with-ssl=/u

Re: What the packages needed to install tomcat5 core using yum in Fedora 14

2011-05-10 Thread Thad Humphries
All Tomcat requires is the Java JRE. For the versions, see http://tomcat.apache.org/whichversion.html My recommendation is to save yourself a lot of grief by not relying on your Linux distro for either Java or Tomcat. Pick the versions of each that you want/require, download them from Oracle and A

Re: Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread Mark Thomas
On 10/05/2011 16:52, jatinder singh wrote: > No sir its still not working. Apache gives me same error. > > Anything you want me to change in any file. Have you looked in the error log? Mark - To unsubscribe, e-mail: users-uns

Re: Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread jatinder singh
No sir its still not working. Apache gives me same error. Anything you want me to change in any file. Thanks Jatinder On Tue, May 10, 2011 at 9:02 PM, János Löbb wrote: > > On May 10, 2011, at 9:28 AM, jatinder singh wrote: > > > Hi > > I have configured Apache and Tomcat with SSL. > > I want

Re: Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread János Löbb
On May 10, 2011, at 9:28 AM, jatinder singh wrote: > Hi > I have configured Apache and Tomcat with SSL. > I want to Integrate both using mod_jk.so, for that i have followed all the > instruction but when i start Apache i got the message - The requested > operation has failed. > > My httpd.conf f

Need Help to configure Apache Tomcat with mod_jk.so

2011-05-10 Thread jatinder singh
Hi I have configured Apache and Tomcat with SSL. I want to Integrate both using mod_jk.so, for that i have followed all the instruction but when i start Apache i got the message - The requested operation has failed. My httpd.conf file is LoadModulejk_module modules/mod_jk.so JkWorkers

Re: Semicolon URI encoding and RFC

2011-05-10 Thread Mindaugas Žakšauskas
Hi, Thanks very much for your answers. Just for a reference, I will sum up what I've managed to get out of this discussion. Please correct me if I am wrong. My problem wasn't charset incompatibility between client and server as it is the same party which produces URLs and consumes them (and yes,

Re: Tomcat6

2011-05-10 Thread Felix Schumacher
On Tue, 10 May 2011 09:26:02 +0200, Micka wrote: THx for your help, In the beginning I was developing with Tomcat7 which it works well. But for an another server, I needed to use Tomcat7, so i Just copy all the class in a new dynamic web project under Tomcat6. To solve my problem, I decide

Re: Tomcat6

2011-05-10 Thread Micka
THx for your help, In the beginning I was developing with Tomcat7 which it works well. But for an another server, I needed to use Tomcat7, so i Just copy all the class in a new dynamic web project under Tomcat6. To solve my problem, I decided to install Tomcat7 in the new server. I don't unders

Re: tomcat 7: common.loader property in catalina.properties does not take ANT style variable

2011-05-10 Thread Konstantin Kolinko
2011/5/10 Yongqin Xu : > > The default common.loader property > has${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jarI > added my own entries like ${oracle.home}/lib/*.jar, and set > $JAVA_OPTS=-Doracle.home=/usr/local/oracle, then start tomcat 7 and