Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread André Warnier
Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable JK_WORKER_NAME to the Header of the

Re: Issue with Async Servlet onTimeout

2013-02-27 Thread Sumit Bhardwaj
Hi Chris, Looks like tomcat 7.0.37 solve this issue. One question though, I am seeing following error in catalina.out *java.lang.IllegalStateException: Calling [asyncComplete()] is not valid for a request with Async state [MUST_COMPLETE]* do I need to handle something in my code?? Also are

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 09:59, André Warnier wrote: And from Schwaben too... I feel a bit naive after all the sophisticated technical stuff above, in suggesting the following, but how about : If I understand the original post correctly, the whole point would be to know, at the httpd level, which

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
Hi again Thanks for your answers. I have given up. I have tried some of the suggestions: * Uninstall all JVM's and Tomcats (and reinstall) * Checked dependcies, yes there were two, that are also present on another machine running Tomcat7 (TCP/IP, ADF) * Tried to use client/jvm.dll instead of

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Jochen Wißmann
On 27.02.2013 09:59, André Warnier wrote: Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add mod_jk`s env-variable

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread André Warnier
Jochen Wißmann wrote: On 27.02.2013 09:59, André Warnier wrote: Rainer Jung wrote: On 26.02.2013 19:41, Jochen Wißmann wrote: Hello, i am trying to find an easy way to determine from the http-client side, which AJP13-worker handled my request. So my basic idea is to use mod_header to add

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Howard W. Smith, Jr.
On Wed, Feb 27, 2013 at 6:37 AM, computer repair centre computer.support.cen...@googlemail.com wrote: Please can you provide the value of the JAVA_HOME environment variable? Excellent question. That question has been wondering in my mind since yesterday, since Rune stated following in 2

tomcat-7.0.35 ON Window Server SP 2

2013-02-27 Thread dkumar
Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine? Please reply. Server version: Apache Tomcat/7.0.35 OS Name:Windows Server SP 2 32 bit

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread André Warnier
computer repair centre wrote: On Wed, Feb 27, 2013 at 10:18 AM, Rune Stilling s...@rdfined.dk wrote: Hi again Thanks for your answers. I have given up. I have tried some of the suggestions: * Uninstall all JVM's and Tomcats (and reinstall) * Checked dependcies, yes there were two, that are

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Giles
On 27 February 2013 11:52, André Warnier a...@ice-sa.com wrote: computer repair centre wrote: On Wed, Feb 27, 2013 at 10:18 AM, Rune Stilling s...@rdfined.dk wrote: Hi again Thanks for your answers. I have given up. I have tried some of the suggestions: * Uninstall all JVM's and Tomcats

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
Ok - So I did: * uninstall Tomcat * only one jvm present on the system (64 bit) * setting CATALINA_HOME, JAVA_HOME and JRE_HOME: CATALINA_HOME=C:\Progra~1\APACHE~1\TOMCAT~1.0 JAVA_HOME=C:\Progra~1\Java JRE_HOME=C:\Progra~1\Java\jre7 * restarting server * reinstalling Tomcat7 (using the service

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Howard W. Smith, Jr.
On Wed, Feb 27, 2013 at 7:11 AM, Rune Stilling s...@rdfined.dk wrote: Ok - So I did: CATALINA_HOME=C:\Progra~1\APACHE~1\TOMCAT~1.0 * reinstalling Tomcat7 (using the service installer, not the service.bat file, that I can't locate anyway) * checking Java Virtual Machine in Java tab in

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread André Warnier
Giles wrote: On 27 February 2013 11:52, André Warnier a...@ice-sa.com wrote: computer repair centre wrote: On Wed, Feb 27, 2013 at 10:18 AM, Rune Stilling s...@rdfined.dk wrote: Hi again Thanks for your answers. I have given up. I have tried some of the suggestions: * Uninstall all JVM's

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Howard W. Smith, Jr.
On Wed, Feb 27, 2013 at 7:34 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Wed, Feb 27, 2013 at 7:11 AM, Rune Stilling s...@rdfined.dk wrote: Ok - So I did: CATALINA_HOME=C:\Progra~1\APACHE~1\TOMCAT~1.0 * reinstalling Tomcat7 (using the service installer, not the service.bat

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
As I wrote I'm using the service installer 32-bit/64-bit Windows Service Installer. This is an exe file and not a zip-archive. Regarding the paths - I have used windows short paths to avoid eventual troubles with spaces in path names. \Rune Den 27/02/2013 kl. 13.54 skrev Howard W. Smith, Jr.

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
And BTW - I have several running Tomcat7-instances on other servers that run in Program Files-folders. \Rune Den 27/02/2013 kl. 13.54 skrev Howard W. Smith, Jr. smithh032...@gmail.com: On Wed, Feb 27, 2013 at 7:34 AM, Howard W. Smith, Jr. smithh032...@gmail.com wrote: On Wed, Feb 27,

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Howard W. Smith, Jr.
As I wrote I'm using the service installer 32-bit/64-bit Windows Service Installer. This is an exe file and not a zip-archive. Regarding the paths - I have used windows short paths to avoid eventual troubles with spaces in path names. And BTW - I have several running Tomcat7-instances on

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread André Warnier
Rune Stilling wrote: Is there some registry key I could check related to the installation process? Call up the Registry Editor, and search for tomcat7. You should find essentially 2 places : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat7 (under this one, you will find the

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
Hi André Thanks for an excellent summary. There's one thing that I haven't been precise enough about I can see. I CANNOT run Tomcat via the RS-parameter: Tomcat7.exe //RS/Tomcat7 If I try the log produces the following: [2013-02-27 14:33:55] [info] [548184] Commons Daemon procrun (1.0.13.0

RE: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Harris, Jeffrey E.
-Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Wednesday, February 27, 2013 8:20 AM To: Tomcat Users List Subject: Re: Tomcat 7 doesn't start on Windows Rune Stilling wrote: Is there some registry key I could check related to the installation process?

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
Problem solved!! Ah finally :) I did as you suggested below and it didn't help, but then I looked a bit on the registry values. I found that the ImagePath key looked a bit strange. It contained the following value: C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7.exe

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Nick Williams
On Feb 27, 2013, at 7:36 AM, Rune Stilling wrote: Hi André Thanks for an excellent summary. There's one thing that I haven't been precise enough about I can see. I CANNOT run Tomcat via the RS-parameter: Tomcat7.exe //RS/Tomcat7 If I try the log produces the following:

RE: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Caldarale, Charles R
From: Rune Stilling [mailto:s...@rdfined.dk] Subject: Re: Tomcat 7 doesn't start on Windows Hi André Stop top-posting. Be considerate of others. I have duplicated the service not starting problem on my Windows 7 box; it's looking like a procrun parameter parsing problem, but I'm still

Re: Tomcat 7 doesn't start on Windows

2013-02-27 Thread Rune Stilling
I've encountered and solved hundreds of Tomcat-as-a-Windows-Service problems before, but I have never seen Tomcat not log anything. If you don't mind, could you run Tomcat7w.exe, screenshot each tab (Alt + Print Screen gets a screenshot for just the window instead of the whole thing), put

Re: mod_jk how to add JK_WORKER_NAME to http-header

2013-02-27 Thread Rainer Jung
On 27.02.2013 12:16, André Warnier wrote: Hi. Before you do that, you may want to have another look at this page : http://tomcat.apache.org/connectors-doc/reference/apache.html and in particular the section at the end labeled : Using SetHandler and Environment Variables I use this way of

Re: tomcat-7.0.35 ON Window Server SP 2

2013-02-27 Thread André Warnier
dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine? Please reply. Server version: Apache Tomcat/7.0.35 OS Name:

Re: tomcat-7.0.35 ON Window Server SP 2

2013-02-27 Thread Michael-O
Am 2013-02-27 19:36, schrieb André Warnier: dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine? Please reply. Server version:

tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Richard McAleer
Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created by the plugin. However, since the standalone-war-only goal generates a war that is both

Re: tomcat-7.0.35 ON Window Server SP 2

2013-02-27 Thread André Warnier
Michael-O wrote: Am 2013-02-27 19:36, schrieb André Warnier: dku...@ccilindia.co.in wrote: Hi, I have downloaded apache-tomcat-7.0.35.zip and runiing it on Window Server SP 2 machine and it is working fine. Is it OK to run apache-tomcat-7.0.35 setup on Window Server SP 2 machine? Please

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Olivier Lamy
2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the standalone-war-only goal. The maven build still generates the normal war file as well as the executable .war created by the plugin. However, since the

[OT] tomcat7-maven-plugin

2013-02-27 Thread Jose María Zaragoza
Hello: How is it possible that tomcat7-maven-plugin has got a 'deploy' goal but not 'undeploy' goal ? Regards 2013/2/27 Olivier Lamy ol...@apache.org: 2013/2/27 Richard McAleer rmcal...@caris.com: Hi, We're using tomcat7-maven-plugin 2.1 to build an executable war using the

Re: tomcat7-maven-plugin: Build on executable war file

2013-02-27 Thread Timothy Astle
I'll chime in here :) We create the artifact that we want, but we have two. The WAR created by the maven war plugin, and the overlay war that is standalone. We were hoping to only deploy the tomcat overlay war since it does everything that the other war does, plus contain tomcat. By doing

Re: [OT] tomcat7-maven-plugin

2013-02-27 Thread Olivier Lamy
2013/2/28 Jose María Zaragoza demablo...@gmail.com: Hello: How is it possible that tomcat7-maven-plugin has got a 'deploy' goal but not 'undeploy' goal ? sure ? http://tomcat.apache.org/maven-plugin-2.1/tomcat7-maven-plugin/undeploy-mojo.html :-) Regards 2013/2/27 Olivier Lamy