Session replication problem

2009-02-09 Thread Mohamedin
I have a problem with Session replication. I am running multible tomcat instance on the same server. And I have 4 servers of the same configuration (Multible tomcat instances). I have enabled the session replication on these 4 servers (In each instance with different port). The problem is that

RE: Error in building mod_jk for Apache 2.2.x and Tomcat 4.x

2009-02-09 Thread Shweta Parakh -X (shparakh - Infosys at Cisco)
Hi Rainer, Thank you for the response. Will check that and get back in case of any issue. Regards, Shweta -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Friday, February 06, 2009 10:20 PM To: Tomcat Users List Subject: Re: Error in building mod_jk for

HttpSessionActivationListener problems

2009-02-09 Thread Rui Pedro
Hi! I'm implementing one tomcat cluster solution (tomcat 5.5-20). One of the things that I need to know is when the session jumps from one node to the other. I read that I can use the HttpSessionActivationListener listener to detect that type of occurence. To do so, I put one object in the users

Re: HttpSessionActivationListener problems

2009-02-09 Thread Jess Holle
Last I checked the Tomcat source code neither activation nor passivation listeners were ever called. I believe I provided a patch for this but a glance at the source code will make the issue rather obvious (it's not hard to find or understand). [I'd provide a patch for this but we have a

Re: Create war-file with unpacked jar files

2009-02-09 Thread Peter Edelmann
Hi all, is there a way with maven2 to create a war file with unpacked jar files? grete pete

Re: Internal server error - Apache

2009-02-09 Thread David Smith
Just to provide more constructive commentary, your log is from Apache Httpd indicating a normal shutdown and startup. This has nothing to do with tomcat. We need to see the relevant part of your *tomcat* logs for the moment when your internal server error occurred as well as some relevant

HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
Hello list, I'm doing my first experiments with Tomcat and servlets. Here's my setup: * Tomcat 5.5 runs on a Debian GNU/Linux 4.0 stable box and is installed via the packaging system (apt-get). * The following tomcat and sun-java related packages are installed: r...@clydet:~# dpkg --list |

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
On Mon, Feb 09, 2009 at 03:34:41PM +0100, Bart Vandewoestyne wrote: [...] When i trie to access the servlet using the URL http://clydet:8180/testbart/helloworld I get java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet I can solve this problem by copying

RE: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Caldarale, Charles R
From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Subject: HelloWorld and NoClassDefFoundError I get java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet Indicative of a broken Tomcat installation, which is pretty typical with these 3rd-party repackaged versions.

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Gregor Schneider
Hm, this answer has been given quite a few times recently - I guess it makes sens to put it on the FAQ: http://wiki.apache.org/tomcat/FAQ Rgds Gregor On Mon, Feb 9, 2009 at 3:49 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: Indicative of a broken Tomcat installation, which is

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Mark Thomas
Gregor Schneider wrote: Hm, this answer has been given quite a few times recently - I guess it makes sens to put it on the FAQ: http://wiki.apache.org/tomcat/FAQ That is a Wiki anyone can edit so go for it. Mark Rgds Gregor On Mon, Feb 9, 2009 at 3:49 PM, Caldarale, Charles R

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Bart Vandewoestyne
On Mon, Feb 09, 2009 at 08:49:06AM -0600, Caldarale, Charles R wrote: Indicative of a broken Tomcat installation, which is pretty typical with these 3rd-party repackaged versions. I strongly suggest you throw away that junk and install a real Tomcat from tomcat.apache.org; this mailing list

RE: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Caldarale, Charles R
From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Subject: Re: HelloWorld and NoClassDefFoundError Actually, yes, I would like to use the Debian package. I like the ease of installing/upgrading/removing packages with apt-get. If you can't reproduce the problem on a real Tomcat

unable to start ReplicatedContext

2009-02-09 Thread János Löbb
Hi I have a three machine Tomcat cluster with one tomcat instance on each. Machine names are pathsrv1, raid2b and reptile. The OS is OSX 10.5 on two machines and OSX 10.4.11 on one machine. The JVM is the latest for the particular OS. pathsrv1 act as a reverse proxy for all three

Re: Fun with the JVM crashing.

2009-02-09 Thread Bill Davidson
Rainer Jung wrote: You can track compilation with -XX:+PrintCompilation. [...various other options...] Wow. I never realized you could do stuff like that. Neat. Thanks! - To unsubscribe, e-mail:

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread André Warnier
Mark Thomas wrote: Gregor Schneider wrote: Hm, this answer has been given quite a few times recently - I guess it makes sens to put it on the FAQ: http://wiki.apache.org/tomcat/FAQ That is a Wiki anyone can edit so go for it. I must be thick, but I've tried to find the way to edit/add to

RE: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: HelloWorld and NoClassDefFoundError does one need to login ? and if yes, with what ? Yes, you must login. The button is on the top line of the page, towards the right. After that, you can edit to your heart's content. - Chuck

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: HelloWorld and NoClassDefFoundError does one need to login ? and if yes, with what ? Yes, you must login. The button is on the top line of the page, towards the right. After that, you can edit to your

403 access denied on unix machine for administration web application

2009-02-09 Thread Srinivas Jonnalagadda
Hi, I am getting the Access to the specified resource () has been forbidden when i try to access as http://192.168.0.10:8080/admin/. the admin app is deployed on a solaris machine with tomcat 5.5.9 communicationg with Apache HTTP Server and using mod_jk connector. I copied admin.xml to

new FAQ

2009-02-09 Thread André Warnier
Hi. I added a new HowTo item to the FAQ : How to make my web application be the Tomcat default web application ? http://wiki.apache.org/tomcat/HowTo Since I'm bound to have made at least a couple of mistakes even in this simple matter, would someone care to review and correct it ? Thanks

RE: new FAQ

2009-02-09 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: new FAQ P.S. One aspect I omitted, because I wasn't quite sure, was a deployment based on a war file. Just use ROOT.war as the name of the file instead of using the ROOT directory (which must be deleted). - Chuck THIS COMMUNICATION

Re: Create war-file with unpacked jar files

2009-02-09 Thread Flavio Crispim
Peter Edelmann wrote: Hi all, is there a way with maven2 to create a war file with unpacked jar files? You should ask maven user list. grete pete Flavio - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

How to set Tomcat JVM variables in registry for Tomcat 6.0.18?

2009-02-09 Thread n1ght0w1
Hi all I have been dealing with the dreaded STRICT_QUOTE_ESCAPING issue with Apache Tomcat 6.0.18 Server on Windows NT as a service. We are not using the .bat or .sh files to start our sever as it is running as a service an have no desire to switch to using that method. I have found the area in

RE: How to set Tomcat JVM variables in registry for Tomcat 6.0.18?

2009-02-09 Thread Caldarale, Charles R
From: n1ght0w1 [mailto:hcolem...@hotmail.com] Subject: How to set Tomcat JVM variables in registry for Tomcat 6.0.18? Can someone provide very specific details and or a screen shots on what the entries should be to disable STRICT_QUOTE_ESCAPING and also setting the -Xms256m -Xmx512m values

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Gregor
the spelling is perfectly fine - duh! ;) Am 09.02.2009 um 20:22 schrieb André Warnier a...@ice-sa.com: Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: HelloWorld and NoClassDefFoundError does one need to login ? and if yes, with what ? Yes, you must

Re: new FAQ

2009-02-09 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: new FAQ P.S. One aspect I omitted, because I wasn't quite sure, was a deployment based on a war file. Just use ROOT.war as the name of the file instead of using the ROOT directory (which must be deleted).

RE: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Caldarale, Charles R
From: Gregor [mailto:rc4...@googlemail.com] Subject: Re: HelloWorld and NoClassDefFoundError the spelling is perfectly fine - duh! ;) Unless you happen to live in Springfield, and your name is Homer. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread André Warnier
Bart Vandewoestyne wrote: [...] Actually, yes, I would like to use the Debian package. I like the ease of installing/upgrading/removing packages with apt-get. Hi. Just to reassure you : I have a series of Linux Debian systems with Tomcat 4.1, 5.0 and 5.5, all installed via apt-get, and I

Re: TC6 ${CATALINA_HOME}/conf/web.xml Is this the place to constrain the mime type?

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, Robert Koberg wrote: On Feb 6, 2009, at 4:45 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave, Dave Pawson wrote: Only one aspect of security Rob. As needed I'll look at others later. Can you

Re: sessions lost after redeploy

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, J Robert Ray wrote: I don't see anything relevant in the logs. My session consists of a single value, a Byte[], so I shouldn't have a problem with unserializable data. Besides, it reloads properly across a tomcat restart. Yeah, that

Re: HelloWorld and NoClassDefFoundError

2009-02-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bart, Caldarale, Charles R wrote: From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Subject: HelloWorld and NoClassDefFoundError I get java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet Indicative of a broken

Re: Simple Tomcat 6, servlet tutorial. First draft for comment

2009-02-09 Thread Filip Hanik - Dev Lists
What benefit do you get from running it with JSVC, vs just writing a simple script into /etc/init.d/ to manage it yourself? Filip Dave Pawson wrote: http://www.dpawson.co.uk/tomcat Any feedback/improvements appreciated. Particularly any errors. Meant as a simple example of getting a first

Re: comet loop after webapp re-start

2009-02-09 Thread Filip Hanik - Dev Lists
are you not getting the END event at all, even after the app is reloaded? Filip Peter Warren wrote: I'm running tomcat 6.0.18 on Ubuntu 8.10. I have a comet application that maintains an open connection with tomcat. If I re-start my webapp and then close the client connection, tomcat goes

Re: Session replication problem

2009-02-09 Thread Filip Hanik - Dev Lists
Mohamedin wrote: I have a problem with Session replication. I am running multible tomcat instance on the same server. And I have 4 servers of the same configuration (Multible tomcat instances). I have enabled the session replication on these 4 servers (In each instance with different port).

Log4j doesn't output intended debug messages

2009-02-09 Thread nashrul
I try to do some logging with my two web apps (A and B). Each webapps has has its own log4j*.jar and log4j property file (log4j.xml and log4j-1.2.14.jar for webapp A and log4j.properties and log4j-1.2.15.jar for webapp B). I try to modify log4j.properties file in webapp B to output some debug

RE: sessions lost after redeploy

2009-02-09 Thread Martin Gainty
http://en.wikipedia.org/wiki/Serialization try ..implements Serializable debug with Log4j..here is a good tutorial Logger barlogger = Logger.getLogger(com.foo.Bar); // This request is enabled, because WARN = INFO. logger.warn(Low fuel level.); // This request is disabled, because

Tomcats Sessions not getting released

2009-02-09 Thread sudip pattanayak
Hi, We have an implementation where by we call the value unbound to release sessions for any users. For any user which does not logoff from the previous session we logoff the user forcefully for the next session he tries to login. But there are couple of instances not consistent though that