RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Diep, David (OCTO-Contractor)
Thanks everyone. There were two problems... the first being that: 1. Use the full path 2. The keystore password and the key password needs to be the same! I used the following command to change it: keytool -keypasswd -alias tomcat -keystore ssl-keystore "One City Summer Fun ... Somethin

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Pid
On 18/08/2011 22:22, Dan Armbrust wrote: > On Thu, Aug 18, 2011 at 2:13 PM, Christopher Schultz > wrote: > >> The JVM should not launch more than one AWT thread, so you should be >> okay. The only issue would be whether or not it inherits the webapp's >> context ClassLoader which would really rep

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
On Thu, Aug 18, 2011 at 2:13 PM, Christopher Schultz wrote: > The JVM should not launch more than one AWT thread, so you should be > okay. The only issue would be whether or not it inherits the webapp's > context ClassLoader which would really represent a memory leak if you > do live webapp reloa

RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Diep, David (OCTO-Contractor)
Hey Renu, Thanks for responding... I stated the full path. There is a different error in the log now... as it cannot recover the key. ug 18, 2011 4:31:58 PM org.apache.coyote.http11.Http11Protocol start SEVERE: Error starting endpoint java.io.IOException: Cannot recover key a

RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Diep, David (OCTO-Contractor)
Hi Charles, Thank you for responding... I think I may have cut from the wrong part of the log file. I checked my server.xml file and I restarted Apache. This is the result: Aug 18, 2011 4:26:02 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.g

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 8/18/2011 2:38 PM, Dan Armbrust wrote: > On the plus side, since they never actually remove anything they > deprecate... maybe I can just "stop" the thread. Hmm. The JVM should not launch more than one AWT thread, so you should be okay. The

RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Caldarale, Charles R
> From: Diep, David (OCTO-Contractor) [mailto:david.d...@dc.gov] > Subject: RE: Tomcat 6 getting error when trying to specify keystore > I get the following in my logs during startup: > java.io.FileNotFoundException: > C:\Program Files\Apache Software Foundation\Tomcat 6.0\cert\keystore.jks > (T

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
>> (If I can't figure out how to >> fix all my issues)  I can't ship code to the customers that logs >> "SEVERE" errors on shutdown. > > All the leaks should be fixable / possible to workaround. > > Mark If I could update all of my dependencies... I'm guessing many would just go away. Unfortunate

Re: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread RenuKumar
Hi Please state the full path in the server.xml file that should fix the problem. Diep, David (OCTO-Contractor) wrote: Hello, I get the following in my logs during startup: Aug 18, 2011 1:57:45 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: servi

RE: Tomcat 6 getting error when trying to specify keystore

2011-08-18 Thread Diep, David (OCTO-Contractor)
Hello, I get the following in my logs during startup: Aug 18, 2011 1:57:45 PM org.apache.catalina.startup.Catalina start SEVERE: Catalina.start: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: java.io.FileNotFoundException: C:\Program Files\Apache Software Fo

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Mark Thomas
On 18/08/2011 19:03, Dan Armbrust wrote: > So, yesterday, I finally start working on upgrading on old application > set to a current 6 release of Tomcat. > > (Sigh, behind the truck already, seeing the announcement of the next > version today bad timing by me... beside the point) > > Some of my

How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
So, yesterday, I finally start working on upgrading on old application set to a current 6 release of Tomcat. (Sigh, behind the truck already, seeing the announcement of the next version today bad timing by me... beside the point) Some of my web applications are using JFreeChart to generate image

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-18 Thread Mark Thomas
On 18/08/2011 16:42, Ronald Klop wrote: > Is this imageio thing only with NIO+sendfile? If I disable sendfile in > server.xml I don't see the error anymore. Possible but unlikely. There were some sendfile changes recently in 7.0.x to address stability issues that may have introduced a regression.

Re: IllegalStateException: The response object has been recycled and is no longer associated with this facade

2011-08-18 Thread Ronald Klop
Op woensdag, 17 augustus 2011 13:41 schreef Mark Thomas : On 17/08/2011 12:36, Ronald Klop wrote: > Hi, > > I did some experiments past days on my live servers and have more > information. > > The problem occurs with 7.0.19 and 7.0.20 with the NIO connector, but > not with the BIO

Re: wiki: tomcat 7 changelog has old link

2011-08-18 Thread Mark Thomas
On 18/08/2011 16:29, Ronald Klop wrote: > Aha, thanks. Fixed it. Great. Thanks for fixing that. Don't feel you have to stop there ;). If you see anything else that looks wrong then or a gap that needs filling then please just go ahead and make the change. Cheers, Mark > > > Op donderdag, 18 a

Re: wiki: tomcat 7 changelog has old link

2011-08-18 Thread Ronald Klop
Aha, thanks. Fixed it. Op donderdag, 18 augustus 2011 14:00 schreef Mark Thomas : On 18/08/2011 11:13, Ronald Klop wrote: > Hi, > > Since the branch of tomcat 7 the link on > https://wiki.apache.org/tomcat/FAQ/KnownIssues is incorrect. > I don't have an account to fix it. Anyone c

[ANN] Apache Tomcat 6.0.33 released

2011-08-18 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.33 stable. Apache Tomcat 6.0.33 is primarily a security and bug fix release. All users of older versions of the Tomcat 6.0 family should upgrade to 6.0.33. Note that is version has 4 zip binaries: a generic one a

Make Errors for JK-1.2.32 solaris/sparc

2011-08-18 Thread Beryle Simmons
I normally use the solaris/sparc binary for mod_jk, but I see they aren't available for download with the latest version. I'm trying to compile JK-1.2.32 with solaris 10/sparc, but I'm receiving errors, below is some information: OS: Solaris 10 Generic_144488-17 H/W: sparc SunFire V440 Apache

Re: wiki: tomcat 7 changelog has old link

2011-08-18 Thread Mark Thomas
On 18/08/2011 11:13, Ronald Klop wrote: > Hi, > > Since the branch of tomcat 7 the link on > https://wiki.apache.org/tomcat/FAQ/KnownIssues is incorrect. > I don't have an account to fix it. Anyone can create an account and once you have an account anyone can edit the wiki contents. Mark --

wiki: tomcat 7 changelog has old link

2011-08-18 Thread Ronald Klop
Hi, Since the branch of tomcat 7 the link on https://wiki.apache.org/tomcat/FAQ/KnownIssues is incorrect. I don't have an account to fix it. Cheers, Ronald.

Enabling server classloader

2011-08-18 Thread Edwin Babadaglian
I'm part of an infrastructure team that hosts corporate web-apps on behalf of our developers and we provide and maintain a Tomcat 6.0.x bundle for them to use. Our bundle contains a set of lifecycle-listeners that employ log4j, activemq and various other libraries that can clash with those supplied

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-08-18 Thread rakesh k
Hi Pid Thank you very much for replying back or this question. Please find the details that you had asked. 1) We are using *java 1.6.0_18 and the OS is centos* *2) *we send requests in parallel 3) 5 concurrent requests are sent to tomcat instance. Regards Rakesh On Wed, Aug 17, 2011 at 8:52 P

Re: How to add/remove DataSource dynamically to a running Tomcat/WebApp

2011-08-18 Thread Mikolaj Rydzewski
On Thu, 18 Aug 2011 10:08:59 +0200, Laurent Fournie wrote: I'm trying to do that programmatically, for each new tenant added to my system, I would like to add the corresponding resource-ref, ResourceLink and Resource dynamically using some code running inside my Administration WebApp. I'd ra

How to add/remove DataSource dynamically to a running Tomcat/WebApp

2011-08-18 Thread Laurent Fournie
I'm building a multi-tenant WebApp. For ease of maintenance and operation, I would like to have a single WebApp (WAR) in a single Tomcat instance (JVM process) handling the requests of all tenants. Tenants (my customers) can be added and removed dynamically in the system (using an Administration