Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Kees Jan Koster
On 27 dec. 2011, at 06:25, Saravanan L saravan...@te-soft.com wrote: Please find the server.xml attached. The real problem is I dont know where to look at. -There are no error in logs or the linux sys logs. - I cannot diagnose as the connector(443) does not even connect. I

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:06 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 01:33, S B sbl...@gmail.com wrote: On Mon, Dec 26, 2011 at 3:28 PM, Pid * p...@pidster.com wrote: On 26 Dec 2011, at 09:50, S B sbl...@gmail.com wrote: On Sat, Dec 24, 2011 at 6:29 PM, Pid

RE: ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Denis Ivanov
It was working fine before (Tomcat 7.0.23 on my laptop and 7.0.19 on the server). Is there some way to upgrade while preserving the web app configuration? From: p...@pidster.com Date: Tue, 27 Dec 2011 13:49:39 + Subject: Re: ClassFormatException: Invalid constant pool reference To:

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Pid *
On 27 Dec 2011, at 11:16, S B sbl...@gmail.com wrote: On Tue, Dec 27, 2011 at 4:06 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 01:33, S B sbl...@gmail.com wrote: On Mon, Dec 26, 2011 at 3:28 PM, Pid * p...@pidster.com wrote: On 26 Dec 2011, at 09:50, S B sbl...@gmail.com wrote:

Re: tomcat7 maven plugin (frustration) - probably a simple question

2011-12-27 Thread Olivier Lamy
Hello, Does your current project have war packaging ? If yes, I think there are some issues with that and btw use exec-war-only goal to prevent to run an other full lifecycle in your war project. What I recommend is to have an other project with packaging pom and construct the exec war. I have

Multiple contexts within a single host not being loaded correctly upon Tomcat restart.?

2011-12-27 Thread Edwards, Dominic
Platform Details: - Tomcat 5.5.28 Operating System: RedHat Enterprise 5 Problem --- Tomcat appears to be mismanaging my web contexts after a restart. It happens only sometimes and not others. I have the following context records in my server.xml: Host name=mysite.com

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 6:55 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2011/12/27 S B sbl...@gmail.com: On Tue, Dec 27, 2011 at 4:53 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 11:16, S B sbl...@gmail.com wrote: On Tue, Dec 27, 2011 at 4:06 PM, Pid *

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Saravanan L
3. A 504 response code is a gateway timeout. Tomcat does not issue this on its own. Either you have a proxy in front of Tomcat or your application is returning this value. A. Yes the proxy relayed this message, it seems the tomcat did not respond with any message at all. looks like 200 idle

Re: Security Constraints With URL Rewrite filter

2011-12-27 Thread Pid *
On 26 Dec 2011, at 22:27, Jerry Malcolm 2ndgenfi...@gmail.com wrote: Half of the site is protected, and the other half is not, and some pages have moved from unprotected to protected at the whim of the client. How on earth are you supposed to meet all of these requirements? If you want to

ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Denis Ivanov
Hey, I have an Amazon Enterprise Linux (EC2) version 2.6.35.11-83.9.amzn1.i686 (architecture i386) with Java JM version 1.6.0_20-b20 (Vendor Sun Microsystems Inc.) and Apache Tomcat version 7.0.19 with Catalina. I'm trying to deploy GlobziWebApplication.war and it was working a few days ago

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Pid *
On 27 Dec 2011, at 01:33, S B sbl...@gmail.com wrote: On Mon, Dec 26, 2011 at 3:28 PM, Pid * p...@pidster.com wrote: On 26 Dec 2011, at 09:50, S B sbl...@gmail.com wrote: On Sat, Dec 24, 2011 at 6:29 PM, Pid p...@pidster.com wrote: On 23/12/2011 04:57, S B wrote: On Thu, Dec 22, 2011 at

404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread David Hoffer
I just installed Tomcat 7.0.23 using Windows 64 bit installer and deployed a couple apps via the manager application, however when I run them I get HTTP Status 404 errors. However I see that I get the same error for the standard default apps, docs, examples, etc. The only URL that works is

Re: High memory consumption caused by BLOCKED Threads

2011-12-27 Thread Violeta Georgieva
Thanks to all of you! I'm profiling the application now. Happy New Year Violeta 2011/12/23 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 12/22/11 2:00 PM, Rainer Jung wrote: Hmmm, actually I had a short look at the code of

Re: Multiple contexts within a single host not being loaded correctly upon Tomcat restart.?

2011-12-27 Thread Konstantin Kolinko
2011/12/27 Edwards, Dominic dominic.edwa...@logica.com: Platform Details: - Tomcat 5.5.28 Old.. And 5.5.x branch as a whole is EOL in less than a year. Operating System: RedHat Enterprise 5 Problem --- Tomcat appears to be mismanaging my web contexts after a

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread Konstantin Kolinko
2011/12/27 S B sbl...@gmail.com: On Tue, Dec 27, 2011 at 4:53 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 11:16, S B sbl...@gmail.com wrote: On Tue, Dec 27, 2011 at 4:06 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 01:33, S B sbl...@gmail.com wrote: On Mon, Dec 26,

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread markt
Saravanan L saravan...@te-soft.com wrote: Please find the server.xml attached. The real problem is I dont know where to look at. -There are no error in logs or the linux sys logs. - I cannot diagnose as the connector(443) does not even connect. Of course you can diagnose this further.

Re: High memory consumption caused by BLOCKED Threads

2011-12-27 Thread Antonio Vidal Ferrer
Violeta: We had issues once with date objects (same behavior you describe), and was caused because one of the objects is working as serialized. If your app has a lot of requests, then all of them will have to wait serialization, generating a lot of memory and resources consumption. May be

Re: ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Pid *
On 27 Dec 2011, at 12:53, Denis Ivanov denis.iva...@live.com wrote: Hey, I have an Amazon Enterprise Linux (EC2) version 2.6.35.11-83.9.amzn1.i686 (architecture i386) with Java JM version 1.6.0_20-b20 (Vendor Sun Microsystems Inc.) and Apache Tomcat version 7.0.19 with Catalina. I'm

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Mark Thomas
On 27/12/2011 08:55, Saravanan L wrote: Tried netstat. 443 is listening, but I cannot connect to it. I assume it shows no open connections either. Secondly Thread dump - I could not find any signs of problem or anything relative to the current issue in the threaddump [Please find the

Re: MBean InitialContext() Tomcat query- pls help

2011-12-27 Thread S B
On Tue, Dec 27, 2011 at 4:53 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 11:16, S B sbl...@gmail.com wrote: On Tue, Dec 27, 2011 at 4:06 PM, Pid * p...@pidster.com wrote: On 27 Dec 2011, at 01:33, S B sbl...@gmail.com wrote: On Mon, Dec 26, 2011 at 3:28 PM, Pid *

Re: Tomcat 6.0.35 : Cluster and new node

2011-12-27 Thread Cédric SAMSON
Ok thanks for the informations :D Le 27/12/2011 14:39, Pid * a écrit : On 27 Dec 2011, at 12:07, Cédric SAMSONcedric.sam...@adeuxi.com wrote: Yes I tried and it works fine, but I just want all is automatic. FarmWarDeployer doesn't do that. It is a push mechanism rather than a repository of

Re: Tomcat 6.0.35 : Cluster and new node

2011-12-27 Thread Pid *
On 26 Dec 2011, at 14:33, Cédric SAMSON cedric.sam...@adeuxi.com wrote: Hi all, Context : I have a cluster with 2 nodes (both on linux). * The master node is configured as below : * Engine name=Catalina defaultHost=localhost jvmRoute=Tomcat-1 Realm

Re: Multiple contexts within a single host not being loaded correctly upon Tomcat restart.?

2011-12-27 Thread Pid *
On 27 Dec 2011, at 13:19, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/12/27 Edwards, Dominic dominic.edwa...@logica.com: Platform Details: - Tomcat 5.5.28 Old.. And 5.5.x branch as a whole is EOL in less than a year. Operating System: RedHat Enterprise 5

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Pid *
On 27 Dec 2011, at 10:48, Saravanan L saravan...@te-soft.com wrote: 3. A 504 response code is a gateway timeout. Tomcat does not issue this on its own. Either you have a proxy in front of Tomcat or your application is returning this value. A. Yes the proxy relayed this message, it seems the

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Saravanan L
Tried netstat. 443 is listening, but I cannot connect to it. Secondly Thread dump - I could not find any signs of problem or anything relative to the current issue in the threaddump [Please find the threaddump in my previous post]. On 12/27/2011 2:11 PM, ma...@apache.org wrote: Saravanan

Re: Tomcat 6.0.35 : Cluster and new node

2011-12-27 Thread Pid *
On 27 Dec 2011, at 12:07, Cédric SAMSON cedric.sam...@adeuxi.com wrote: Yes I tried and it works fine, but I just want all is automatic. FarmWarDeployer doesn't do that. It is a push mechanism rather than a repository of applications queued for deployment. p I mean, a machine crash, we

Re: Tomcat 6.0.35 : Cluster and new node

2011-12-27 Thread Cédric SAMSON
Yes I tried and it works fine, but I just want all is automatic. I mean, a machine crash, we have to change it. The new machine has : 1. the same IP 2. the same name 3. the same tomcat configuration (but without the war files already deployed) as the previous machine (in order to not

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Mark Thomas
On 27/12/2011 10:47, Saravanan L wrote: 3. A 504 response code is a gateway timeout. Tomcat does not issue this on its own. Either you have a proxy in front of Tomcat or your application is returning this value. A. Yes the proxy relayed this message, it seems the tomcat did not respond

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread Pid *
On 27 Dec 2011, at 15:43, David Hoffer dhoff...@gmail.com wrote: I just installed Tomcat 7.0.23 using Windows 64 bit installer and deployed a couple apps via the manager application, however when I run them I get HTTP Status 404 errors. However I see that I get the same error for the

Re: ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Pid *
On 27 Dec 2011, at 14:15, Denis Ivanov denis.iva...@live.com wrote: It was working fine before (Tomcat 7.0.23 on my laptop and 7.0.19 on the server). Is there some way to upgrade while preserving the web app configuration? From: p...@pidster.com Date: Tue, 27 Dec 2011 13:49:39 +

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread David Hoffer
No errors are reported at start up, here is the catalina log. 2011-12-27 17:57:07 Commons Daemon procrun stderr initialized Dec 27, 2011 5:57:08 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production

Re: tomcat7 maven plugin (frustration) - probably a simple question

2011-12-27 Thread Patrick Moore
O.k. I will try today

Re: Odd NIO connector behavior

2011-12-27 Thread Mark Thomas
On 25/12/2011 02:17, Matthew Tyson wrote: INFO 2011-12-24 10:25:35,578 COMET REQUEST: 75.149.42.46 POST null | TRACE: java.lang.Throwable at org.cometd.server.CometdServlet.service(CometdServlet.java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

Re: Security Constraints With URL Rewrite filter

2011-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry, On 12/26/11 5:26 PM, Jerry Malcolm wrote: Half of the site is protected, and the other half is not, and some pages have moved from unprotected to protected at the whim of the client. The client has simply stated clean URLs. I have argued

RE: ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Denis Ivanov
From: p...@pidster.com Date: Tue, 27 Dec 2011 17:34:16 + Subject: Re: ClassFormatException: Invalid constant pool reference To: users@tomcat.apache.org On 27 Dec 2011, at 14:15, Denis Ivanov denis.iva...@live.com wrote: It was working fine before (Tomcat 7.0.23 on my laptop and

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 11:11 AM, Mark Thomas ma...@apache.org wrote: On 25/12/2011 02:17, Matthew Tyson wrote: INFO 2011-12-24 10:25:35,578 COMET REQUEST: 75.149.42.46 POST null | TRACE: java.lang.Throwable at org.cometd.server.CometdServlet.service(CometdServlet.java:149)

Re: [OT] ClassFormatException: Invalid constant pool reference

2011-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Denis, On 12/27/11 7:53 AM, Denis Ivanov wrote: Hey, I have an Amazon Enterprise Linux (EC2) version 2.6.35.11-83.9.amzn1.i686 (architecture i386) with Java JM version 1.6.0_20-b20 (Vendor Sun Microsystems Inc.) and Apache Tomcat version 7.0.19

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 12/27/11 10:42 AM, David Hoffer wrote: I just installed Tomcat 7.0.23 using Windows 64 bit installer and deployed a couple apps via the manager application, however when I run them I get HTTP Status 404 errors. However I see that I get

Re: Odd NIO connector behavior

2011-12-27 Thread Matthew Tyson
On Tue, Dec 27, 2011 at 1:31 PM, Stefan Mayr ste...@mayr-stefan.de wrote: Am 24.12.2011 00:39, schrieb Matthew Tyson: Hello, We have been having quite a few problems with using long-polling connections in Tomcat, via the NIO connector. Upgrading to Tomcat 7.0.23 definitely improved

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread David Hoffer
Yes that was a full log of that file. The only change I made was in the Manager App's config I increased the size of the max file size because one of my apps is bigger than 50MB, so I just made a change to the web.xml in the manager app. The http://IP:8080/manger/html page shows the correct list

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread Konstantin Kolinko
2011/12/28 David Hoffer dhoff...@gmail.com: Yes that was a full log of that file. The only change I made was in the Manager App's config I increased the size of the max file size because one of my apps is bigger than 50MB, so I just made a change to the web.xml in the manager app. The

Re: 404 Errors for all apps in Tomcat 7.0.23

2011-12-27 Thread David Hoffer
Localhost.log: Dec 28, 2011 2:19:18 AM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Dec 28, 2011 2:19:18 AM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() localhost_access.log is empty at startup until I

Breadcrumbs Tomcat 7.0.11

2011-12-27 Thread Kiran Badi
Hi , Just wanted to check if Tomcat has any packages that can be used for building Breadcrumbs.I think some j2ee servers provide some inbuilt packages which can be used for building breadcrumbs. I would be helpful if someone can give some suggestions here.I am working on plain JSP/Servlets

Re: Tomcat HTTPS Connector Stops working after an hour

2011-12-27 Thread Saravanan L
Tomcat does not pass through any proxy. My firefox browser has a proxy plugin configured which RELAYED this message. I enabled this plugin because, I wanted to be sure of whats happening. (I guess I should made it clear) So the end line is tomcat does not responds to the request at all.

Downloading an entire website from a specific URL?

2011-12-27 Thread Craig Burlock
Hello smart-people, This isn't strictly a Tomcat question, however I thought you were the people to ask: *Can anyone recommend a utility for downloading an entire website (including links and child pages) from a specific URL?* I need to get a copy of a specific section of a wiki. I'm using