Finalizing classes in common or shared directories

2008-03-14 Thread Tushar Madhukar
Hello, I have several contexts running in Tomcat(5.5.23), which use some common utilities. Classes for these utilities are in shared/ directory of the Catalina installation. Is there a way by which Tomcat can invoke a callback on these classes (shared/*) when it is shutting down? I need this to

Re: Custom URL handlers in Tomcat web app

2008-03-14 Thread pmanvi
Hi Matt, I am trying to port legacy JRun application to Tomcat facing same problem. I also tried out the listed options but without any luck. Do let me know if you are able to crack. Since I have legacy application, I do not want to introduce any new code to make it work. Thanks, Praveen M.

RE: STM

2008-03-14 Thread David Steinberg
Filip/Martin, Many thanks. I used the context approach and have successfully upped the limit. Regards Dave Steinberg Hello Currency +44 (0)7810 752 708 www.hellocurrency.com -Original Message- From: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Sent: Wed 12/03/2008 16:35 To:

Re: Java Mail Inside Tomcat

2008-03-14 Thread Sameer Acharya
Can you give the line number as to where the error is happening. I found this link on google search you can read thru the same it describes similar problems. We have not had problems using java mail under tomcat but we dont use imap.

Re: tomcat/axis not compiling java

2008-03-14 Thread atheus
Christopher Schultz-2 wrote: Is it possible that you are missing: JkMount /*.jwsmyWorker ?? - -chris Yes! thank you! -- View this message in context: http://www.nabble.com/tomcat-axis-not-compiling-java-tp16010755p16048075.html Sent from the Tomcat - User mailing list

Tomcat 4.1.30 Compression Not Working

2008-03-14 Thread Smith, Tim
We have a Linux server running Tomcat 4.1.30, serving jsp pages. We have tried to enable gzip compression by the addition of the compression=on attribute to the server.xml file. We've seen some odd results. First of all we couldn't get any compression to take place (using Fiddler to monitor

Re: STM

2008-03-14 Thread Martin Gainty
David Glad to hear that worked for you..keep us apprised if you need any further help Martin-- - Original Message - From: David Steinberg [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, March 14, 2008 4:33 AM Subject: RE: STM Filip/Martin, Many thanks. I

Re: Database connections grow after redeploy

2008-03-14 Thread David Cassidy
try netbeans its free and the profiler will watch all your objects being created. it will also work with snapshots... On Thu, 2008-03-13 at 20:56 +0200, Juha Laiho wrote: Scott McClanahan wrote: On Thu, 2008-03-13 at 12:02 -0400, Christopher Schultz wrote: Caldarale, Charles R wrote:

Re: Database connections grow after redeploy

2008-03-14 Thread Bently Drake
Memory leaks and deadlocks and CPU hogs! Java application developers often face these runtime problems. They can be particularly daunting in a complex application with multiple threads running through hundreds of thousands of lines of code -- an application you can't ship because it grows in

RE: Database connections grow after redeploy

2008-03-14 Thread Scott McClanahan
On Thu, 2008-03-13 at 09:23 -0500, Caldarale, Charles R wrote: From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: Re: Database connections grow after redeploy Some times our exchange server really mangles e-mails or out right blocks them so this is just a resend in case it

Re: Database connections grow after redeploy

2008-03-14 Thread Scott McClanahan
On Fri, 2008-03-14 at 13:43 +, David Cassidy wrote: try netbeans its free and the profiler will watch all your objects being created. it will also work with snapshots... On Thu, 2008-03-13 at 20:56 +0200, Juha Laiho wrote: Scott McClanahan wrote: On Thu, 2008-03-13 at 12:02

Re: interrupting a multipart post request?

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, Christian Kindler wrote: | Is something like Thread.currentThread().interrupt() the only way to | stop a multipart post request? I'm pretty sure you don't want to do that. The javadoc for Thread.interrupt states that any blocked I/O

Re: interrupting a multipart post request?

2008-03-14 Thread Christian Kindler
Christian Kindler schrieb: Christopher Schultz schrieb: Christian Kindler wrote: | I want to interrupt a multipart post request (e.g. if the content-length | exceeds a given limit). The problem is, that the client seems to | continue sending the data to the server and gets no response from

Re: Tomcat 4.1.30 Compression Not Working

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tim, Smith, Tim wrote: | We have a Linux server running Tomcat 4.1.30, serving jsp pages. We have | tried to enable gzip compression by the addition of the compression=on | attribute to the server.xml file. We've seen some odd results. Is the

Re: Database connections grow after redeploy

2008-03-14 Thread Bently Drake
Memory leaks and deadlocks and CPU hogs! Java application developers often face these runtime problems. They can be particularly daunting in a complex application with multiple threads running through hundreds of thousands of lines of code -- an application you can't ship because it grows in

latest mod_jk version compatible with Apache 1.3.26

2008-03-14 Thread Stephanie Wullbieter
Hi, when running Apache 1.3.26 (from Debian Woody), what is the latest mod_jk version compatible to that apache version? On http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.26/i386/ for example is written: mod_jk-1.2.26-httpd-1.3.39-eapi.so is for Apache 1.3.x with

RE: Database connections grow after redeploy

2008-03-14 Thread Caldarale, Charles R
From: Scott McClanahan [mailto:[EMAIL PROTECTED] Subject: RE: Database connections grow after redeploy Making the DBCP a global resource and linking it into the applications specifically does fix the problem. Well, really it just masks the problem. Classes and objects from the replaced

Re: latest mod_jk version compatible with Apache 1.3.26

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, Stephanie Wullbieter wrote: | when running Apache 1.3.26 (from Debian Woody), what is the latest | mod_jk version compatible to that apache version? mod_jk should work with all reasonably recent versions of Apache httpd. Binaries are

Re: interrupting a multipart post request?

2008-03-14 Thread Christian Kindler
Christopher Schultz wrote: Christian Kindler wrote: | Is something like Thread.currentThread().interrupt() the only way to | stop a multipart post request? I'm pretty sure you don't want to do that. The javadoc for Thread.interrupt states that any blocked I/O calls will be aborted, but you

Re: interrupting a multipart post request?

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, Christian Kindler wrote: | Maybe it's a good question for tomcat-dev... Agreed. Post back if you find a solution. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla -

Re: Finalizing classes in common or shared directories

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tushar, Tushar Madhukar wrote: | Is there a way by which Tomcat can invoke a callback on these classes | (shared/*) when it is shutting down? [snip] | Basically, I would use an equivalent of | ServletContextListener.contextDestroyed() callback in

Re: latest mod_jk version compatible with Apache 1.3.26

2008-03-14 Thread swullb
Thanks for Your reply. mod_jk should work with all reasonably recent versions of Apache My OS is Debian Woody x86, which was released in the year 2002. It seems that the Apache Version 1.3.26 is provided by that distribution, so it seems to be somehow old. (I did not find a apache version

RE: Tomcat 4.1.30 Compression Not Working

2008-03-14 Thread Smith, Tim
Hi, thanks for reply. I can confirm that the client is sending an Accept-Encoding header which includes 'gzip'. Accept-Encoding: gzip, deflate -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 14 March 2008 14:34 To: Tomcat Users List Subject: Re: Tomcat

WAR reloading after restart

2008-03-14 Thread Sameer Tyagi
Cant figure why this is happening and wanted to see if anyone on the list knew. Using tomcat 6.0.16 on windows. A war is deployed - works fine. server is shut down, war file updated and server restarted. The new war is not picked up or exploded. I ve put a file named warname.xml in

Re: latest mod_jk version compatible with Apache 1.3.26

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephanie, [EMAIL PROTECTED] wrote: | Thanks for Your reply. | | mod_jk should work with all reasonably recent versions of Apache | | My OS is Debian Woody x86, which was released in the year 2002. Wow, that's old. Have you been keeping it

Re: CGIServlet in Tomcat 6

2008-03-14 Thread rachmat
See Thread at: http://www.techienuggets.com/Detail?tx=4877 Posted on behalf of a User Sorry for a kind of a necropost, but is't enough to add privileged=true to the root tag of main context.xml which is in $CATALINA_HOME/conf/context.xml In Response To: Hi all, I'm using CGI servlet in

RE: WAR reloading after restart

2008-03-14 Thread Caldarale, Charles R
From: Sameer Tyagi [mailto:[EMAIL PROTECTED] Subject: WAR reloading after restart The new war is not picked up or exploded. I ve put a file named warname.xml in conf/catalina/lohcalhost with the following line path=/mywar reloadable=true antiJARLocking=true... For starters, the path

Re: Tomcat and parallel security realms

2008-03-14 Thread Juergen Weber
Christopher, the idea you sketched depends on the constructor being called with a list of realms. Is that so? If you look at http://tomcat.apache.org/tomcat-6.0-doc/api/index.html all realms in org.apache.catalina.realm have only the default constructor. Probably one would have to get the

Re: Tomcat and parallel security realms

2008-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J├╝rgen, Juergen Weber wrote: | the idea you sketched depends on the constructor being called with a | list of realms. Is that so? Not necessarily. Most objects that represent elements in server.xml have no-arg constructors and then setFoo() methods

Having Tomcat log through syslog

2008-03-14 Thread Andrew R Feller
Is it possible to configure Tomcat (preferably through the jsvc daemon) to log through syslog? If so, how can it be done? The only way I can conceive of this working is to configure Tomcat to use Log4j and configure Log4j to use the SyslogAppender. Thanks, Andrew R Feller, Analyst

Trouble building jsvc

2008-03-14 Thread jarrod
Hi all. I'm trying to follow the Tomcat docs instructions for building jsvc. I can't get past the ./configure step. Any help would be greatly appreciated. Trying to build on Ubuntu Linux. Linux linux-workstation 2.6.22-14-generic. I've uninstalled all versions of Java except the JDK 6 I

Re: Trouble building jsvc

2008-03-14 Thread Rainer Jung
Hi, jarrod schrieb: Hi all. I'm trying to follow the Tomcat docs instructions for building jsvc. I can't get past the ./configure step. Any help would be greatly appreciated. Trying to build on Ubuntu Linux. Linux linux-workstation 2.6.22-14-generic. which version of jsvc do you try to

Need to upgrade to Tomcat 5.5.26 in JBoss 4.0.5

2008-03-14 Thread Adamus, Steven J.
Greetings; We're using JBoss 4.0.5.GA, bundled with Tomcat 5.5.20. Security vulnerabilities were found in Tomcat 5.5 and Tomcat 6.0 and fixed in Tomcat 5.5.26 and 6.0.16, and users are advised to upgrade. The design of Tomcat folders/files in JBoss 4.0.5.GA doesn't match the full (or

Re: Trouble building jsvc

2008-03-14 Thread jarrod
Thanks for the reply. which version of jsvc do you try to compile? The one distributed with Tomcat 6.0.16. It's in tomcat/bin as jsvc.tar.gz. Which docs page are you referring to? I mean the main Tomcat site... http://tomcat.apache.org/tomcat-5.5-doc/setup.html I also checked the file

DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError

2008-03-14 Thread Jim Garrison
I'm getting a NoSuchMethodError on org.apache.commons.dbcp.DelegatingCallableStatement.getInnermostDelegate (). AFAICT DelegatingCallableStatement inherits ultimately from DelegatingStatement, which DOES have such a method. I've examined the commons-dbcp-1.2.1.jar file that's in the classpath,

Re: DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError

2008-03-14 Thread Martin Gainty
Jim http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/DelegatingSta tement.html#getInnermostDelegate() I would check to make sure you have (at least version( 1.21 DBCP e.g. commons-dbcp-1.2.1.jar Martin- - Original Message - From: Jim Garrison [EMAIL PROTECTED] To: Tomcat

RE: DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError

2008-03-14 Thread Caldarale, Charles R
From: Jim Garrison [mailto:[EMAIL PROTECTED] Subject: DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError I've examined the commons-dbcp-1.2.1.jar file that's in the classpath What do you mean by classpath? The CLASSPATH environment variable must NEVER be set for