Struts App dispatcher error on Tomcat 5.5.23

2010-07-26 Thread Venkat Tanga
Hi,   I just migrated my application from Tomcat 5.0.18 to 5.5.23.           On server startup Application loading is happening normally, but once I logged into the application and try to access any links, there I am facing the problem.           The Application is being developed on

httpd-2.2.3-43 + Mod_ssl + Mod_jk + tomcat-6.0.29

2010-07-26 Thread Irfan Khan
Dear pals, I am trying to integrate apache and tomcat by configuring web server + mod_jk + mod_ssl + tomcat. This configuration would allow accessing deployed apps at tomcat from web server with https port. I did searched on archive list and as well as Google it, perhaps couldn't able to find

RE: Tomcat Shutting Down by Itself?

2010-07-26 Thread Robinson, Eric
> What kind of machine are you running these 163/164 > instances of Tomcat on, and when you are running them, > what /does/ "free" say ? I have two different servers with 164 instances of tomcat. Both servers have 2x quad-core 2.8Ghz Xeon processors with 32GB RAM. On the first server (app03), mo

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
Ah yeah, initially I thought this wouldn't work for me since - I'm guessing here, haven't tested - setting proxyPort will screw up the same redirect requests if i were to hit :8443 directly (i.e. in dev) but this isn't a problem with this configuration since a browser cant hit https://myserver:8443

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
So I thought my solution was not good until I read you were getting the https requests on port 8443 but ssl terminated. Our configuration terminates ssl at the load balancer but forwards to port 80! Which is why I couldn't get the normal options working for me. John-Paul Ranaudo Software A

RE: CGIServlet followed by a Filter that modifies the response

2010-07-26 Thread Caldarale, Charles R
> From: Anthony Brew [mailto:atb...@gmail.com] > Subject: Re: CGIServlet followed by a Filter that modifies the response > > > Unfortunately I am coming across the following: > > > > java.lang.IllegalStateException: getWriter() has already > > been called for this response Since the CGI servlet

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
holy. crap. I cant believe I missed that config. It of course solves my problem, thanks a bunch. > From: Rainer Jung > Reply-To: Tomcat Users List > Date: Mon, 26 Jul 2010 16:30:02 -0500 > To: Tomcat Users List > Subject: Re: SSL terminated at load balancer, Http11Processor sends ssl > redi

Re: Tomcat Shutting Down by Itself?

2010-07-26 Thread André Warnier
Robinson, Eric wrote: What I was trying to say above, in a devious but humoristic way, is that there are not a lot of people on this list running those versions anymore. Fair enough. I realize it's old, but it still works great for 163 of the 164 instances on this server. However, an upgrad

Re: error listener start

2010-07-26 Thread Adam Posner
I bet that's it, thanks a bunch ! Adam On Mon, Jul 26, 2010 at 6:26 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Adam Posner [mailto:cuco2...@gmail.com] > > Subject: Re: error listener start > > > > java.lang.NoClassDefFoundError: com/listeners/TrailsContextListener >

RE: error listener start

2010-07-26 Thread Caldarale, Charles R
> From: Adam Posner [mailto:cuco2...@gmail.com] > Subject: Re: error listener start > > java.lang.NoClassDefFoundError: com/listeners/TrailsContextListener > (wrong name: TrailsContextListener) Looks like you're missing the package statement in your Java source code. - Chuck THIS COMMUNICATIO

Re: error listener start

2010-07-26 Thread Adam Posner
Jul 25, 2010 11:23:06 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Jul 25, 2010 11:23:06 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Jul 25, 2010 11:23:06 PM org.apache.catalina.core.StandardContext

Re: error listener start

2010-07-26 Thread Adam Posner
I downloaded the tar.gz file from the Apache site. When I do an ls in my logs directory , localhost*.log shows up , but when I try to do cat localhost.2010-07-25.log, for ex., I get "No such file.." Strange On Mon, Jul 26, 2010 at 6:12 PM, Adam Posner wrote: > > To be even more clear, the Tr

Re: error listener start

2010-07-26 Thread Adam Posner
To be even more clear, the TrailContextListener.clas file is in classes/com/listeners On Mon, Jul 26, 2010 at 6:10 PM, Adam Posner wrote: > > Also, its the latest JVM, j2ee, java 6. The webap is in > /use/share/apache-tomcat-6.0.28/webapps/dailtTamp-v1/WEB-INF/classes > THe class files are belsw

RE: error listener start

2010-07-26 Thread Caldarale, Charles R
> From: Adam Posner [mailto:cuco2...@gmail.com] > Subject: Re: error listener start > > Thanks for the reply and apologies for the incomplete info. Which, unfortunately, is still incomplete. > > Also tell us ... how you installed Tomcat. > > > > Look in both the catalina.*.log and localhost.*.lo

Re: error listener start

2010-07-26 Thread Adam Posner
Also, its the latest JVM, j2ee, java 6. The webap is in /use/share/apache-tomcat-6.0.28/webapps/dailtTamp-v1/WEB-INF/classes THe class files are belsw com which is under classes On Mon, Jul 26, 2010 at 12:18 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Adam Posner [mailt

Re: error listener start

2010-07-26 Thread Adam Posner
Hi Chuck, Thanks for the reply and apologies for the incomplete info. Its version 6.0.28, installed in /usr/share on Ubuntu 9.04(Karmic Koala) (I'm on a 64 bit machine, but that shouldnt matter c...@raptor:/usr/share/apache-tomcat-6.0.28/logs$ cat catalina.2010-07-25.log Jul 25, 2010 11:23:04 PM

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Rainer Jung
On 26.07.2010 21:48, Leinartas, Michael wrote: So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by startin

RE: How to count number of active threads?

2010-07-26 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: How to count number of active threads? > > I'm using Tomcat 6.0.26 on Red Hat Linux. How do I count the > number of Tomcat threads currently executing? Probably the easiest way is to run JConsole, attach to the Tomcat instance of

How to count number of active threads?

2010-07-26 Thread laredotornado
Hi, I'm using Tomcat 6.0.26 on Red Hat Linux. How do I count the number of Tomcat threads currently executing? Thanks, - Dave -- View this message in context: http://old.nabble.com/How-to-count-number-of-active-threads--tp29270494p29270494.html Sent from the Tomcat - User mailing list archive

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
Michael, Had the exact problem last week. Servlet spec changed to say engine must return absolute paths. Since requests come in on port 80 or http the redirect will use http scheme. My quick fix was to change Tomcat source code to allow relative redirects. Thus the browser handles building th

SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by starting it within a simple container using the catalina

RE: Tomcat Shutting Down by Itself?

2010-07-26 Thread Robinson, Eric
> What I was trying to say above, in a devious but humoristic > way, is that there are not a lot of people on this list > running those versions anymore. Fair enough. I realize it's old, but it still works great for 163 of the 164 instances on this server. However, an upgrade is coming soon a

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread Caldarale, Charles R
> From: john.rana...@thomsonreuters.com > [mailto:john.rana...@thomsonreuters.com] > Subject: RE: URLRewrite filter loading twice..Not finding context > second time > > The above works when running in a separate web application from ROOT. I didn't see anything obviously wrong. > I removed the "R

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
In hindsight, let me post the details anyway. Tomcat 6.0.26 using JVM 1.6_20 on Windows. I am trying to map http://localhost/NASApp/DealSearch/RequestServlet to http://localhost/DealsWeb/RequestServlet < ROOT Web.xml >> http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
Yea sorry about that. I did get it to work just. I just created my own root web app. Not sure what the issue with ROOT was. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, July 26, 2010 10:38 AM To: Tomcat Users List Subject: RE: URLRewrite

RE: URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread Caldarale, Charles R
> From: john.rana...@thomsonreuters.com > [mailto:john.rana...@thomsonreuters.com] > Subject: URLRewrite filter loading twice..Not finding context second > time > > Any idea what Tomcat is doing? It's doing whatever it's been told. Unfortunately, you haven't told *us* much. Tomcat version? JVM

URLRewrite filter loading twice..Not finding context second time

2010-07-26 Thread john.ranaudo
I have configured the URLRewrite filter for the default web application "ROOT". I just placed the jar in the WEB-INF\lib location and the configuration file in WEB-INF. The filter seems to load once, find my context that I would like to map to then load a second time only NOT finding the context th

JMX access with SSL

2010-07-26 Thread Rainer Frey
Hi, per Java SE Monitoring and Management Guide, JMX access with SSL needs a keystore with certificate which is configured with the Java System property javax.net.ssl.keyStore. Is it safe to set this property for Tomcat (current 6.0) to use SSL for JMX, or might this interfere with the SSL conf

RE: Cocoon 2.0.4 with Tomcat 5.5.23

2010-07-26 Thread Caldarale, Charles R
> From: Venkat Tanga [mailto:venkateswararao.ta...@oracle.com] > Subject: Re: Cocoon 2.0.4 with Tomcat 5.5.23 > > But my application was developed on Jdk 1.4, that's why > because of the version compatibility constraints I cant > go ahead with Tomcat 6.x. Why not? Almost all programs written o

Re: Cocoon 2.0.4 with Tomcat 5.5.23

2010-07-26 Thread Venkat Tanga
Hi Pid, Thanks for your info. But my application was developed on Jdk 1.4, that's why because of the version compatibility constraints I cant go ahead with Tomcat 6.x. Regards, Venkat Pid wrote: On 23/07/2010 23:59, Pid wrote: On 23 Jul 2010, at 19:51, Venkat Tanga wrote: