Re: Configuring apache start up at boot and apache Manager GUI

2011-04-26 Thread Darryl Lewis
Copy and paste the following script into your text editor: # This is the init script for starting up the # Jakarta Tomcat server # # chkconfig: 345 91 10 # description: Starts and stops the Tomcat daemon. # # Source function library. . /etc/rc.d/init.d/functions # Get config. .

problems with class loader on different web applications

2011-04-26 Thread Michal Singer
Hi, I am using tomcat 6.0.18. I am running a multi process environment, where the client and server processes communicate through ActiveMQ. Client is on top of tomcat 6.0.18, server is on top of Spring 2.5.6. I am using 2 web application contexts in tomcat. I am implementing on the client

JDBCStore Persistent Manager

2011-04-26 Thread Badh, Tajvinder
Hi, We have an architecture such that we have 2 instances of Apache Tomcat 6 sitting under the Amazon ELB. We are having difficulties in session stickyness over HTTPS such that that requests are not being directed to the same Tomcat instance, therefore creating a new session when the request

RE: problems with class loader on different web applications

2011-04-26 Thread Caldarale, Charles R
From: Michal Singer [mailto:michal.sin...@expand.com] Subject: problems with class loader on different web applications Hi, I am using tomcat 6.0.18. Move up - that's almost three years old, and lots of fixes have gone in since then. The Thread.currentThread.getContextLoader() shows a

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
The problem is that some of the classes are loaded with the right class loader and some with the wrong (if it is a new class - it is loaded Correctly, if it is a class received from AMQ onMessage callback, a wrong class loader is used). And so, when I ask if one class is instanceof the other as

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
I am trying to avoid upgrade. This version was tested thoroughly and if I am not sure that this is a bug in tomcat, I prefer not to upgrade the tomcat since the upgrade is not trivial -Original Message- From: Michal Singer Sent: ג 26 אפריל 2011 16:13 To: Tomcat Users List Subject: RE:

Re: JDBCStore Persistent Manager

2011-04-26 Thread Martin Grotzke
An option for such a case is memcached-session-manager with stickyness disabled: http://code.google.com/p/memcached-session-manager/ A user reported on the msm mailing list that he was trying to achieve the same what you want, also with persistentmanager, but ran into the same problem as you do.

RE: problems with class loader on different web applications

2011-04-26 Thread Caldarale, Charles R
From: Michal Singer [mailto:michal.sin...@expand.com] Subject: RE: problems with class loader on different web applications This version was tested thoroughly Apparently not, or you wouldn't be reporting a problem. I prefer not to upgrade the tomcat since the upgrade is not trivial ???

RE: problems with class loader on different web applications

2011-04-26 Thread Michal Singer
I tried to upgrade to 6.0.26 and it didn't work. I guess parameters in the server.xsl changed. What changes needs to be done besides the directories? And what version is recommended to be most stable? The thing is that I will upgrade - but now we are during testing cycle and if I don't see any

SEVERE: Exception starting filter

2011-04-26 Thread alex zaim
Hello. I'm trying to make a simple hibernate+struts2 setup, but i encounter an error when i start the server (Tomcat 7.0.8). Apr 26, 2011 3:20:18 PM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter struts2 java.lang.NoClassDefFoundError:

Re: Tomcat dying on its own

2011-04-26 Thread Alex Carvalho da Silva
Hi everyone, I have the same problem, but a discovered that my problem is generated by logrotate. When logrotate runs, the tomcat pausing, stopping... There is not a tomcat script on the /etc/logrotate.d/ How can I solve that problem? Thanks, Alex Carvalho 2010/12/6 Guillaume Carbonneau

Re: SEVERE: Exception starting filter

2011-04-26 Thread chris derham
Now i know that this looks way to easy to spot. It's obvious that i am missing a class. But the problem is that the class is right there where it should be. I mean, Ant sees the class and gives no compilation errors, also my IDE (Eclipse) sees the class (from the build path), but when i

Re: SEVERE: Exception starting filter

2011-04-26 Thread alex zaim
Yes, i do have such a jar file. And i extracted its contents and verified that the class exists. I have extracted war's contents and this is what i got in a folder names Hibernate (as expected) http://dl.dropbox.com/u/13391208/Screenshot.png I added the specific jar to server's installation

Re: SEVERE: Exception starting filter

2011-04-26 Thread chris derham
Yes, i do have such a jar file. And i extracted its contents and verified that the class exists. I have extracted war's contents and this is what i got in a folder names Hibernate (as expected) http://dl.dropbox.com/u/13391208/Screenshot.png Can you please run the following command to list

Re: SEVERE: Exception starting filter

2011-04-26 Thread chris derham
WEB-INF/lib/Hibernate/hibernate-core-3.6.3.Final.jar WEB-INF/lib/Hibernate/hibernate-jpa-2.0-api-1.0.0.Final.jar WEB-INF/lib/Hibernate/hibernate-search-analyzers-3.4.0.Final.jar From your listing, you have located the hibernate jar files in a subdirectory of WEB-INF/lib. I believe Tomcat

RE: Tomcat dying on its own

2011-04-26 Thread Caldarale, Charles R
From: Alex Carvalho da Silva [mailto:alexc...@gmail.com] Subject: Re: Tomcat dying on its own How can I solve that problem? First, don't resurrect old threads that were dead and buried months ago. Second, start a new thread for your specific problem, and include pertinent details such as

Re: SEVERE: Exception starting filter

2011-04-26 Thread alex zaim
Thanks a lot Chris! I'm not getting my initial error anymore at server startup. I lost half of a day because of it. So thanks!

Tolerate expired certificates

2011-04-26 Thread Thomas Hill
Hi, I am using clientAuth on Tomcat 5.5.30, JVM version 1.6.0_21-b06 from Sun on Linux. The client certificates are self-generated and signed as I am acting as CA for the client certificates. Authentication is working as expected until the certificate expiry date is reached which is when I am

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Guillaume Favier
Sorry for the double post, but I didn't see any remarks on this thread. This a tricky question (at least for me), and I am a bit stuck here. thanks gui Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and /DEF*. Each of these webapp is

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Felix Schumacher
On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and /DEF*. Each of these webapp is quite memory consumming when started (more than 300M). I would like all connection to ABC*

Re: Tolerate expired certificates

2011-04-26 Thread Felix Schumacher
On Tue, 26 Apr 2011 20:44:38 +0200, Thomas Hill wrote: Hi, I am using clientAuth on Tomcat 5.5.30, JVM version 1.6.0_21-b06 from Sun on Linux. The client certificates are self-generated and signed as I am acting as CA for the client certificates. Authentication is working as expected until the

Re: pure tomcat failover (no loadbalacing)

2011-04-26 Thread Guillaume Favier
Thanks for your answer Felix, On Tue, Apr 26, 2011 at 8:36 PM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Mon, 25 Apr 2011 09:40:59 +0100, Guillaume Favier wrote: Hi, I have 2 tomcat 5.5 server. Each of them handling a set (50+) of third party webapps name /ABC* and

Re: Tolerate expired certificates

2011-04-26 Thread Thomas Hill
Hi Felix, thanks for your reply. So does this mean no way on Tomcat 5.5? (as I won't switch to a newer version, especially 7.x any time soon) To your question: Primary reason is I want my fat client java application and my java web application to react the same way when a user supplies an

SessionExamples from the examples webapp

2011-04-26 Thread János Löbb
Folks, What should I change if I want to have as title in this servlet not Session Example but rather Session Example Old ? I modified the servlets/sessions.html and also the SessionExample.java in the WEB-INF/classes, created a war file with jar, un-deployed and re-deployed, but I do not

tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-04-26 Thread Yongqin Xu
Hello, I am using TC 7, and the doc says, TC common classloader load $CATALINA_HOME/lib for thosecommonly shared lib jar files. Is it possible for me to config it pointing to other location? I know ifI define $CATALINA_BASE to point to a outside location, will $CATALINA_BASE/lib be used for

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/23/11 9:47 AM, Michael Anstis wrote: Hey, no problem. I deserved it. I'm happy your answer fixed my problem :) On 23 April 2011 01:09, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: Michael Anstis [mailto:michael.ans...@gmail.com] Subject: Re: Tomcat 6:

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/27/11 12:46 AM, Pid wrote: On 4/23/11 9:47 AM, Michael Anstis wrote: Hey, no problem. I deserved it. I'm happy your answer fixed my problem :) On 23 April 2011 01:09, Caldarale, Charles R chuck.caldar...@unisys.comwrote: From: Michael Anstis [mailto:michael.ans...@gmail.com]

Re: Tomcat 6: Classloading: META-INF\services: Nested JARs

2011-04-26 Thread Pid
On 4/22/11 11:00 PM, Michael Anstis wrote: Hi, I am trying to resolve a problem that I assume relates to class loading. My application contains a JAR that contains a file in META-INF\services:- MyApp \-- WEB-INF \-- lib \-- AJar.jar \-- META-INF \--