Re: Tomcat error -54

2012-07-23 Thread Kavya C B
Can you tell, why this error is coming : can't receive the response message from tomcat, network problems or tomcat is down (10.182.18.2:8009), err=-54

Re: Tomcat error -54

2012-07-23 Thread André Warnier
Kavya C B wrote: Can you tell, why this error is coming : can't receive the response message from tomcat, network problems or tomcat is down (10.182.18.2:8009), err=-54 Despite the total lack of information provided, and thus borrowing Pid's crystal ball for a moment, I would guess

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Rainer Jung
On 23.07.2012 12:00, Nikhil Dhankani wrote: Hi, I am trying to configure CSRFPreventionFilter with the below code in my web.xml. filter filter-nameCSRF/filter-name filter-classorg.apache.catalina.filters.CsrfPreventionFilter/filter-class /filter filter-mapping

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Mark Thomas
On 23/07/2012 11:10, Rainer Jung wrote: The cluster needs to be able to serialize sessions in order to replicate them over the network. The message indicates, that the sesison attribute org.apache.catalina.filters.CSRF_NONCE used by the CSRF filter is not serializable. You might - open

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Nikhil Dhankani
Yes my environment is a clustered one. Thanks Rainer for the quick response, this was really helpful. On Mon, Jul 23, 2012 at 3:40 PM, Rainer Jung rainer.j...@kippdata.dewrote: It seems you are doing clustering? The cluster needs to be able to serialize sessions in order to replicate them

Re: Tomcat error -54

2012-07-23 Thread Kavya C B
While checking the logs i got the following error : Following error is seen in the tomcat log files. [Mon Feb 28 06:33:29 2011] [jk_ajp_common.c (1146)]: ERROR sending data to client. Connection aborted or network problems [Mon Feb 28 06:33:29 2011] [jk_ajp_common.c (1462)]: ERROR: Client

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Rainer Jung
On 23.07.2012 13:38, Mark Thomas wrote: On 23/07/2012 11:10, Rainer Jung wrote: The cluster needs to be able to serialize sessions in order to replicate them over the network. The message indicates, that the sesison attribute org.apache.catalina.filters.CSRF_NONCE used by the CSRF filter is not

Re: Tomcat error -54

2012-07-23 Thread André Warnier
Kavya C B wrote: While checking the logs i got the following error : Following error is seen in the tomcat log files. [Mon Feb 28 06:33:29 2011] [jk_ajp_common.c (1146)]: ERROR sending data to client. Connection aborted or network problems [Mon Feb 28 06:33:29 2011] [jk_ajp_common.c (1462)]:

Re: Configure CSRFPreventionFilter in 6.0.35

2012-07-23 Thread Mark Thomas
Rainer Jung rainer.j...@kippdata.de wrote: On 23.07.2012 13:38, Mark Thomas wrote: On 23/07/2012 11:10, Rainer Jung wrote: The cluster needs to be able to serialize sessions in order to replicate them over the network. The message indicates, that the sesison attribute

Run TomEE as a daemon

2012-07-23 Thread Miguel Bandala
Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at the end, i got the follow results: Cannot locate

Re: Run TomEE as a daemon

2012-07-23 Thread David kerber
On 7/23/2012 12:12 PM, Miguel Bandala wrote: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying What is TomEE? lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial:

RE: Certificate chain does not seem to work and no errors in the tomcat logs

2012-07-23 Thread Sivasubramaniam, Latha
This issue got resolved, the private key was not present in the JKS file. Once we got the pfx file from the customer and pointed to that in the server.xml file, application started working. When we imported the certificate (.cer file), keytool utility did not complain the private key is not

Re: Run TomEE as a daemon

2012-07-23 Thread burghard.britzke
export JAVA_HOME=[Location of Java installaation] (for bash-like shell) or setenv ${JAVA_HOME} [Location of Java installaation] (for csh or tcsh) Then Rey again. Is Java installed on your machine? burghard@iSir Am 23.07.2012 um 18:12 schrieb Miguel Bandala obimiken...@gmail.com: Hi, I'm

Re: Run TomEE as a daemon

2012-07-23 Thread Konstantin Kolinko
2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do this procedure step by step. I've follow this tutorial: http://openejb.apache.org/unix-daemon.html but at

launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
I've built/installed Tomcat 7.0.29 from source on linux/64. I've setup an init.d using jsvc launch, loosely based on the src-bundled daemon.sh script. @ tomcat service launch, using out-of-the-box config for now, I see two listeners on ONE pid, netstat -pan --tcp | grep jsvc

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread Jeff Beard
ps is showing threads as processes, which occurs with some versions of Linux kernel. The listeners are 2 different threads: an AJP on 8009 and an HTTP on 8080. On Mon, Jul 23, 2012 at 12:46 PM, k9...@operamail.com wrote: I've built/installed Tomcat 7.0.29 from source on linux/64. I've setup

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
Hi On Mon, Jul 23, 2012, at 01:10 PM, Jeff Beard wrote: ps is showing threads as processes, which occurs with some versions of Linux kernel. The listeners are 2 different threads: an AJP on 8009 and an HTTP on 8080. Ok, so that sounds like one PID per thread, at least according to ps on this

@ Tomcat 7.0.29 shutdown, WARNING - Acceptor thread [null] failed to unlock. Forcing hard socket shutdown. It the warning a problem, or ignorable?

2012-07-23 Thread k9157
I've Tomcat 7.0.29 installed on linux/64. @ service shutdown, sh /etc/init.d/tomcat7 stop I see in my logs two WARNING: Acceptor thread [null] failed to unlock. Forcing hard socket shutdown: INFO: Deploying web application directory

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread Jeff Beard
Sorry, I didn't read you email close enough and said something stupid. It appears that you are not seeing multiple threads as procs rather I think it's a jsvc parent/child pair. It looks like the output of 'ps ax' it doesn't show the parent PID. I use ps -ef which shows the parent ID. Try that and

Re: Certificate chain does not seem to work and no errors in the tomcat logs

2012-07-23 Thread Pid
On 23/07/2012 19:42, Sivasubramaniam, Latha wrote: This issue got resolved, the private key was not present in the JKS file. Once we got the pfx file from the customer and pointed to that in the server.xml file, application started working. When we imported the certificate (.cer file),

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it mat concern, On 7/23/12 2:46 PM, k9...@operamail.com wrote: I've built/installed Tomcat 7.0.29 from source on linux/64. Why did you bother to build Tomcat at all? I can see building the daemon component, but building Tomcat itself is

Re: Run TomEE as a daemon

2012-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 7/23/12 12:24 PM, David kerber wrote: On 7/23/2012 12:12 PM, Miguel Bandala wrote: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying What is TomEE? Tomcat + EE http://openejb.apache.org/apache-tomee.html

Re: Run TomEE as a daemon

2012-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 7/23/12 2:44 PM, Konstantin Kolinko wrote: 2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do

Re: Run TomEE as a daemon

2012-07-23 Thread Miguel Bandala
Thank you very much, I forgot to add that line the script. 2012/7/23 burghard.britzke b...@charmides.in-berlin.de export JAVA_HOME=[Location of Java installaation] (for bash-like shell) or setenv ${JAVA_HOME} [Location of Java installaation] (for csh or tcsh) Then Rey again. Is Java

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
On Mon, Jul 23, 2012, at 04:15 PM, Christopher Schultz wrote: netstat -pan --tcp | grep jsvc tcp0 0 :::8080 :::* LISTEN 30891/jsvc.exec tcp0 0 :::8009 :::* LISTEN 30891/jsvc.exec jsvc's job is to allow the controlled process to open ports, so all

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, On 7/23/12 4:37 PM, k9...@operamail.com wrote: Try this: $ ps afx Then, look at the output for 'jsvc' and you should see *three* linked processes. Since you only looked for 'jsvc' you aren't seeing the expected 3rd

Re: Run TomEE as a daemon

2012-07-23 Thread Konstantin Kolinko
2012/7/24 Christopher Schultz ch...@christopherschultz.net: On 7/23/12 2:44 PM, Konstantin Kolinko wrote: 2012/7/23 Miguel Bandala obimiken...@gmail.com: Hi, I'm trying to run TomEE as a daemon on Debian Squeeze, I've been trying lots of times and havent success. Does anyone knows how to do

Re: launching Tomcat7 with jsvc. Want only one Tomcat instance, but 'ps' shows two -- or does it?

2012-07-23 Thread k9157
No other instance of 'java', 'jsvc' or 'tomcat' in the output. Hm. Re-reading the commons-daemon page, it looks like maybe the launcher process exits shortly after launch, leaving only two long-running processes: the controlling process (the one in the fork()/wait() loop) and the

problems installing app on tomcat v.7.0.26

2012-07-23 Thread Jim Proctor
Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded the .war file into a root-level directory (/geoserver) in

Re: problems installing app on tomcat v.7.0.26

2012-07-23 Thread Tim Watts
On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor wrote: Greetings — I'm running into errors installing a Java app called GeoServer (latest stable v2.1.4) on my Tomcat server at sge.lclark.edu:8080 (Tomcat v.7.0.26, JVM v.1.6.0_20-b20). I downloaded the .war.zip file, expanded it, and uploaded

Re: Run TomEE as a daemon

2012-07-23 Thread David Blevins
On Jul 23, 2012, at 2:24 PM, Konstantin Kolinko wrote: 2012/7/24 Christopher Schultz ch...@christopherschultz.net: On 7/23/12 2:44 PM, Konstantin Kolinko wrote: See proper Apache Commons-Daemon jsvc documentation, at http://commons.apache.org/daemon/jsvc.html If the TomEE documentation

Minimum Java Version question

2012-07-23 Thread mike shugar
Hi, Looking at the versions table here - does Minimum Java Version mean the lowest required version to run the Tomcat version, or does it mean the lowest version that can run on the Tomcat version? http://tomcat.apache.org/whichversion.html So can Java 1.3 JARs run on Apache 7 as long Java 1.6

RE: Minimum Java Version question

2012-07-23 Thread Caldarale, Charles R
From: mike shugar [mailto:mikeshu...@hotmail.com] Subject: Minimum Java Version question Looking at the versions table here - does Minimum Java Version mean the lowest required version to run the Tomcat version Yes. or does it mean the lowest version that can run on the Tomcat version?

Re: problems installing app on tomcat v.7.0.26

2012-07-23 Thread Jim Proctor
Tim, thanks…I was going on the basis of other apps (all of which have root folders), but apparently GeoServer creates its own root folder upon installation. All seems to work now. Regards, Jim P. On Jul 23, 2012, at 4:17 PM, Tim Watts wrote: On Mon, 2012-07-23 at 14:39 -0700, Jim Proctor

issue with iis 7.5 ajpconnector

2012-07-23 Thread Alex Samad - Yieldbroker
Hi I have II 7.5 setup and currently 2 vhosts each vhost has its own applicati= on pool and it's on copy of the ajp connector We did this so that we can say run prod and uat at different version and al= so make sure that bringing one down doesn't affect the other ! Now I went to add

server.xml for ldap connection

2012-07-23 Thread Rahul R
Hi All, This is the snippet from my server.xml of my tomcat which takes care of ldap connection. Realm className=org.apache.catalina.realm.JNDIRealm debug=99 authentication=simple referrals=follow userSubtree=true