Re: very basic question about apache and tomcat

2012-09-20 Thread Thomas Rohde
Am 19.09.2012 23:31, schrieb Mead, Jen L: Hi Everybody, Now I will show my real ignorance about what I know after NOT working with Apache or Tomcat for several years now. I have been working on a project that allows our CGI web pages to authenticate users from their windows desktop against

Re: Updating Tomcat-Server from Version 6.0.16 to 7.0.30

2012-09-20 Thread Andreas Stadelmeier
Pid wrote: Try the latest 6.0.x first, then if your app is fine, try 7.0.x. Things changed in 6 that sometimes catch people out. Okay, thank you! My problem is: I don't know anything about the behave of applications/webservices which the tomcat 6.0.16 is running at the moment. So I am not able

Re: exploting tomcat vulnerability with example

2012-09-20 Thread Ragini
On 09/19/2012 07:55 PM, Pid * wrote: On 19 Sep 2012, at 13:20, Daniel Mikusa dmik...@vmware.com wrote: On Sep 19, 2012, at 5:02 AM, Ragini wrote: Hi all, For my research work I want to have different attacking scenarios which exploits vulnerability of JAVA based applications. This java

Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, I want to set JVM Parameters in a Windows Service (Windows7) for Tomcat7 (7.0.30) The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 11:41, Matthias Müller wrote: The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Is it possible to specify these

Re: Best practices for upgrading Tomcat on Windows?

2012-09-20 Thread Brett Delle Grazie
On 19 September 2012 23:58, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 9/19/12 4:32 PM, David A. Rush wrote: Is there a set of best practices documented anywhere for upgrading Tomcat on Windows? I run Tomcat as a Windows

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread jean-louis . mateo
Hi Matthias, Mikolaj is right, you can set the tomcat and java properties by running tomcatw.exe (%CATALINA_HOME%\bin) Hope this helps Jean-Louis -Matthias Müller mm4...@googlemail.com a écrit : - A : users@tomcat.apache.org De : Matthias Müller mm4...@googlemail.com Date :

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread chris derham
The documentation tells, that this could be done by calling tomcat7 //US//Tomcat7 ... This method works, but it is not practicable for our production environment, because these settings are stored in the registry. Matthias - can you please elaborate on exactly what it is not practicable for

Re: ajp_ilink_receive error - please advise

2012-09-20 Thread Daniel Mikusa
On Sep 19, 2012, at 5:38 PM, Django Radonich-Camp wrote: hello. we are running an application on tomcat and experiencing intermittent periods where the application is non-responsive and thus non-functional. the general set up is apache and tomcat, with mod_proxy_ajp as the connector

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
HI Matthias, I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes. Thanks Pat On Sep 20, 2012, at 5:41 AM,

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ? I'm just looking to set the min/max heap sizes.

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Brett Delle Grazie
On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can you give me an example of the syntax that worked for you ?

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 9:25 AM, Brett Delle Grazie wrote: On 20 September 2012 13:53, Mikolaj Rydzewski m...@ceti.pl wrote: On 20.09.2012 14:49, Patrick Flaherty wrote: I sent a question out a few days ago that I could *not* get the JVM Parameters set via the command-line using //US//. Can

Installer info

2012-09-20 Thread J.V.
We have an application to install that involves deployment of wars to /webapps/. Before installation, I need to verify some things about the version of tomcat installed. is there a method or command I can call to get the tomcat major version and minor version? Is there any additional info

Re: Installer info

2012-09-20 Thread Daniel Mikusa
On Sep 20, 2012, at 10:05 AM, J.V. wrote: We have an application to install that involves deployment of wars to /webapps/. Before installation, I need to verify some things about the version of tomcat installed. Would bin/version.sh|bat work? $./bin/version.sh Using CATALINA_BASE:

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what I've tried I cannot get it to take. Yes, it works for me in both ways (either via CLI or GUI). In fact I

Re: configured truststore ignored by tomcat

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 9/19/12 10:33 AM, Daniel Mikusa wrote: On Sep 19, 2012, at 2:40 AM, marco_strull...@swissre.com wrote: Hi all, I have a tomcat 6.0.35 that needs to connect to a remote server using https, so it is acting as a https client: it means that

Re: Proxy Support in tomcat 7

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vijay, On 9/20/12 1:36 AM, Vijay Kumar wrote: Hi all, I have a scenario where i don't want to contact from my application to a web-service using https. So you want to avoid using the HTTPS protocol? I don't want to change firewall details and

Re: very basic question about apache and tomcat

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 9/19/12 7:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even if they are hitting the site from their

Re: Updating Tomcat-Server from Version 6.0.16 to 7.0.30

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas, On 9/20/12 2:57 AM, Andreas Stadelmeier wrote: Pid wrote: Try the latest 6.0.x first, then if your app is fine, try 7.0.x. Things changed in 6 that sometimes catch people out. Okay, thank you! My problem is: I don't know anything

mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-20 Thread Nicolas Sarazin
Hello all, English is not my native language, please excuse typing errors. I met a problem which I do not manage to explain... My environement (one server) : Server version : Apache Tomcat/5.5.26 Server built : Jan 28 2008 01:35:23 Server number : 5.5.26.0 OS Name : Linux (Red Hat Enterprise

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, Is this a Windows platform ? -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012 15:59, Patrick Flaherty wrote: Have you tried this and gotten it to work ? My check to see if it took has been to open tomcatw.exe and check the values there. No matter what

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Mikolaj Rydzewski
On 20.09.2012 16:39, Patrick Flaherty wrote: Is this a Windows platform ? Looking at the path I suppose so :-) ${root}\\bin\\tomcat6.exe -- Mikolaj Rydzewski m...@ceti.pl - To unsubscribe, e-mail:

RE: very basic question about apache and tomcat

2012-09-20 Thread Mead, Jen L
Hi Chris, I met you at a PERL conference years and years ago along with a bunch of other people you met. Anyways. Exactly what I am trying to do is allow folks to use their web browser (I would like to stick with tomcat 7.0.27 on aix 6.1) from their windows workstation and authenticate

RE: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Martin Gainty
Hi Patrick if passing the -D options are not working for you when running service why not SET JAVA_OPTS=-Xms1024m -Xmx1024m and then run the service? net start will *usually* display running services so you can see if TC star Martin Gainty __

Re: mod_jk/1.2.32 - Error connecting to Tomcat only on one page

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nicolas, On 9/20/12 10:37 AM, Nicolas Sarazin wrote: English is not my native language, please excuse typing errors. Welcome! I met a problem which I do not manage to explain... My environment (one server) : Server version : Apache

Re: very basic question about apache and tomcat

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jen, On 9/20/12 11:19 AM, Mead, Jen L wrote: I met you at a PERL conference years and years ago along with a bunch of other people you met. Unlikely... I've never been to a Perl conference. [OT NB: I've found out that I'm not the only Christopher

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Martin, On 9/20/12 11:37 AM, Martin Gainty wrote: if passing the -D options are not working for you when running service why not SET JAVA_OPTS=-Xms1024m -Xmx1024m and then run the service? Environment variables are irrelevant when running

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
Hi Mikolaj, I got it to work. I was not using a space after the --JvmMs and -- JvmMx switches. So in summary the following works: \tomcat7.exe //US//tomcat7 --JvmMs 512 --JvmMx 1024 Thanks for everyone's help. -Pat On Sep 20, 2012, at 10:16 AM, Mikolaj Rydzewski wrote: On 20.09.2012

RE: very basic question about apache and tomcat

2012-09-20 Thread Mead, Jen L
Hi Chris, See responses below: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, September 20, 2012 8:50 AM To: Tomcat Users List Subject: Re: very basic question about apache and tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

RE: very basic question about apache and tomcat

2012-09-20 Thread Mark Thomas
Mead, Jen L mead@con-way.com wrote: Hi Chris, I met you at a PERL conference years and years ago along with a bunch of other people you met. Anyways. Exactly what I am trying to do is allow folks to use their web browser (I would like to stick with tomcat 7.0.27 on aix 6.1) from their

RE: very basic question about apache and tomcat

2012-09-20 Thread Mead, Jen L
Yes, I did not find that useful. It is very vague to say the least. If I am missing something please let me know. I want to use Built-in Tomcat support. Jen -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Thursday, September 20, 2012 9:20 AM To: Tomcat Users

Re: A little trouble with SSL

2012-09-20 Thread Andrea Freire
Christopher Schultz chris at christopherschultz.net writes: Andrea, On 8/29/2010 10:39 PM, Andrea Freire wrote: There are the configuration files. Your attachments were stripped by the list. Please paste them inline and try again. -chris I know that is too late the answer but I

RE: very basic question about apache and tomcat

2012-09-20 Thread Mark Thomas
Mead, Jen L mead@con-way.com wrote: Yes, I did not find that useful. It is very vague to say the least. You are the one being vague. You are not being very forthcoming. That page provides detailed, step-by-step configuration instructions. As I said, the page assumes Tomcat is running on

Static Membership Session Replication

2012-09-20 Thread John Rellis
Hey, Really hoping somebody can help. I am attempting a cluster with session replication. Tomcat 7, apache with mod_jk. The cluster and load balancing seems to be ok but I cannot get session replication working. I am using static membership as I am testing this on EC2. The load balancer and

RE: very basic question about apache and tomcat

2012-09-20 Thread Mead, Jen L
Thanks. I am in the process of testing. The earlier answer from Chris suggested that I might need some additional modules / libraries. I am following it step by step and I do see the unix part. I have sent my windows domain people a request to create a Kerberos key and an account I can test

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Matthias Müller
Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our production environment means? I want to put the

need help: how to Tomcat self signed cert?

2012-09-20 Thread J.V.
I am generating a self signed cert using open SSL with the following commands openssl req -x509 -notes -days 365 -newkey rsa:2048 -keyout privateKey.key -out ca.crt I accept all the defaults when prompted except for 'Common Name' and enter my IP address there. This generates : ca.crt It

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread David kerber
On 9/20/2012 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for our

Re: Setting JVM Parameters in Windows Service for Tomcat7

2012-09-20 Thread Patrick Flaherty
On Sep 20, 2012, at 3:02 PM, Matthias Müller wrote: Hi, Environment variables are irrelevant when running services. That's why the registry values exist. That's a good point! Thanks for the nice discussion. Matthias - can you please elaborate on exactly what it is not practicable for

Re: very basic question about apache and tomcat

2012-09-20 Thread Terence M. Bandoian
On 9/19/2012 6:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even if they are hitting the site from their windows workstation that is already authenticated to

Re: very basic question about apache and tomcat

2012-09-20 Thread Mark Thomas
Terence M. Bandoian tere...@tmbsw.com wrote: On 9/19/2012 6:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even if they are hitting the site from their

Comet not sending response under load

2012-09-20 Thread Heath Gerhardt
Hello Everyone, I am having an issue where tomcat 6.0.35 comet is not sending a response when the host is under significant load. It is also sending the end event which, as far as I understand, means the CometEvent is not being closed. I am suspicious that this may be because the legacy

Sticky sessions not working

2012-09-20 Thread Lou Henry
I'm running Apache Tomcat 7.0.14 and Apache 2.2.21 (mod_jk1.2.37). I am trying to load balance two Tomcat Servers and sticky sessions are not working. I am running a two-factor authentication package and it looks like my LB configuration is directing the user to one Tomcat for part of the

RE: very basic question about apache and tomcat

2012-09-20 Thread Mark Thomas
Mead, Jen L mead@con-way.com wrote: Thanks. I am in the process of testing. The earlier answer from Chris suggested that I might need some additional modules / libraries. I am following it step by step and I do see the unix part. I have sent my windows domain people a request to create

Re: need help: how to Tomcat self signed cert?

2012-09-20 Thread Mark Thomas
Which HTTP connector are you using? Mark J.V. jvsr...@gmail.com wrote: I am generating a self signed cert using open SSL with the following commands openssl req -x509 -notes -days 365 -newkey rsa:2048 -keyout privateKey.key -out ca.crt I accept all the defaults when prompted except for

Re: ajp_ilink_receive error - please advise

2012-09-20 Thread Django Radonich-Camp
thank you for the replies chris and dan. chris: 1. upgrading apache is possible, but not easy (puppet manages the install). 2. unfortunately i have not figured out how to reproduce the problem. we did extensive load testing on the system prior to launch and not once did we see this problem...

RE: Comet not sending response under load

2012-09-20 Thread Heath Gerhardt
I forgot to mention my connector looks like Connector port=8080 protocol=org.apache.coyote.http11.Http11NioProtocol connectionTimeout=2 emptySessionPath=true redirectPort=8443 / And that the timeout is set during the read event. The docs say that the

Re: very basic question about apache and tomcat

2012-09-20 Thread Brett Delle Grazie
On 20 September 2012 17:20, Mark Thomas ma...@apache.org wrote: Mead, Jen L mead@con-way.com wrote: Hi Chris, I met you at a PERL conference years and years ago along with a bunch of other people you met. Anyways. Exactly what I am trying to do is allow folks to use their web browser (I

Re: Re: very basic question about apache and tomcat

2012-09-20 Thread Terence M. Bandoian
On 9/20/2012 4:24 PM, Mark Thomas wrote: Terence M. Bandoian tere...@tmbsw.com wrote: On 9/19/2012 6:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even

Re: Sticky sessions not working

2012-09-20 Thread Nicolas Sarazin
Hello, Add : worker.node1.route=node1 And : worker.node2.route=node2 To use sticky session. These directives attach name route at the end of JSESSIONID. Best regards, Nicolas SARAZIN Le vendredi 21 septembre 2012, Lou Henry a écrit : I'm running Apache Tomcat 7.0.14 and Apache 2.2.21