Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread André Warnier
Scott Bradshaw wrote: Yep - you are right on. The machine was taken off the network and moved to a test network for a few days. It currently does not resolve. If I change the host to its old IP address (which does not respond), the system starts up just fine. I would expect to see an error in t

request.getSession() generates IllegalStateException in top filter (appears, response not being recycled properly if SocketException happened for it in the past)

2009-04-15 Thread Leonard Gestrin
Hello, This is my first post on the list and I've been using tomcat for few years, so I want to start off stating that it is an excellent product. However, I've ran into an issue, which I am not sure what to do about. We have jsp that displays multiple images, which is being written directly to

Apache Tomcat 6.0.18 - download info

2009-04-15 Thread HASSAN Kamrul
Thank you for quick responses. I need to upgrade to Apache Tomcat 6.0.18 for Windows XP. So, I would back up a copy of tomcat/conf tomcat/bin/catalina.bat Please let me know where I can get download for Apache Tomcat 6.0.18 [ Windows XP] Thank you. Kam -Original Message- From: zhaoxu

how to configure a PKCS#11 keysore and use it with Tomcat for SSL enabling

2009-04-15 Thread Rajat Gupta05
Thanks Rajat CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further,

Re: Apache Tomcat 6.0.18

2009-04-15 Thread zhaoxueqing
backup your configurature file. override all file. restore the conf file. tomcat/conf tomcat/bin/catalina.bat or .sh - Original Message - From: "HASSAN Kamrul" To: Sent: Thursday, April 16, 2009 11:43 AM Subject: Apache Tomcat 6.0.18 Currently, I using Apache Tomcat 6.0.16 where and

Re: retrieve session data stored in db using JDBCStore.

2009-04-15 Thread jerrySheen
So u mean to say, that if I were to prolong the JSESSIONID cookie's expiry time, the server would take care of repopulating the session state(stored in the db) even after a browser restart? Well, this seems like a much simpler solution,ill give it a try, hope it works. Thanks, JS -- View this

Apache Tomcat 6.0.18

2009-04-15 Thread HASSAN Kamrul
Currently, I using Apache Tomcat 6.0.16 where and How can I upgrade to Apache Tomcat 6.0.18. Is there any major modification or fix in Apache Tomcat 6.0.18 Thank you. Kamrul Hassan Alcatel-Lucent GNOC IT Development and Architecture (972) 477 8792 kamrul.has...@alcatel-lucent.com

Re: retrieve session data stored in db using JDBCStore.

2009-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jerry, On 4/13/2009 11:15 PM, jerrySheen wrote: > As we are dealing with sessions that are no [longer accessible], this action > would have no effect on any live sessions thus no inconsistencies. > >> if YES, please furnish some sample code or at lea

mod_jk ping_timeout revisit

2009-04-15 Thread Anthony J. Biacco
A month or so ago I posted that I was having problems with mod_jk (1.2.27) getting a pong response back from tomcat (6.0.18) in responses to a ping. Apache is 2.2.11 with worker mpm. I have a little more information now and am hoping with help I can solve the problem so I can keep the ping timeout

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread Scott Bradshaw
Yep - you are right on. The machine was taken off the network and moved to a test network for a few days. It currently does not resolve. If I change the host to its old IP address (which does not respond), the system starts up just fine. I would expect to see an error in the log, but just because

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread André Warnier
If we just stick to the actual error message for a moment, and assume it means what it says : >> worker mygpgby06 can't resolve tomcat address mygpgby06.mycompany.com the first question would be : why can the DNS name "mygpgby06.mycompany.com" not be /resolved/ to an IP address when host "mygpg

Re: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread Scott Bradshaw
/portal/*=loadbalancerprod The uriworkermap.properties file is correct - workers are correctly sent to it assuming all the workers are accessible. The problem is when the workers in the load balancer are being initialized, if one worker is not available, the load balance worker is considered not

RE: JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread Jorge Medina
Your workers.properties looks fine. What is the content of uriworkermap.proeprties ? -Original Message- From: swbrads...@gmail.com [mailto:swbrads...@gmail.com] On Behalf Of Scott Bradshaw Sent: Wednesday, April 15, 2009 3:51 PM To: users@tomcat.apache.org Subject: JK 1.2.28 - load balanc

Re: Expose URL via Apache / Tomcat Load

2009-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, On 4/13/2009 7:57 AM, Karthik Nanjangude wrote: > Configuration for single installation of the web application > "acme" > > "www.acme.com" being exposed to INTERNET > "www.acme.com/admin"being exposed to INTRANET The onl

JK 1.2.28 - load balancer worker fails on startup with one worker down ?

2009-04-15 Thread Scott Bradshaw
I apologize if this a silly question, but I can't figure it out! I've looked over the documentation and I'm stumped. I have 5 load balanced workers defined. I have them setup and configured correctly. workers.properties file (partial - not including all the individual workers) ---

Re: Virtual Hosts

2009-04-15 Thread David Fisher
Hi Charles, I have multiple domains hosted, and I name each as Aliases in the Host in server.xml. If you only have one element, aliases are unnecessary. You only need elements when multiple s are configured and you want Tomcat to route more than one domain to them. Exactly. We started

Re: Installing Tomcat

2009-04-15 Thread Hassan Schroeder
On Wed, Apr 15, 2009 at 10:49 AM, Jonathan Mast wrote: > By Jakarta-Whatever, I'm referring to the commons-daemon package, as > indicated on the setup page: > > Download a commons-daemon binary from the Jakarta Commons download page, and > place jsvc.tar.gz and commons-daemon.jar in the $CATALIN

Re: Installing Tomcat

2009-04-15 Thread Jonathan Mast
Yeah Selinux is a big pain from what I've read about it and I've given up on the machine on which it runs. As you may have guessed, I'm not in charge of the tech department of a secret government spy agency ;-) so I'll leave SELinux to the spooks who invented it. I've found another box on which I

Re: Installing Tomcat

2009-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan, On 4/14/2009 9:00 PM, Jonathan Mast wrote: > I've pretty much concluded that the problem is that the machine in question > is SELinux-enabled and that is cause of Tomcat's inability to access the > 8080 port (even though I can see tomcat on

RE: Virtual Hosts

2009-04-15 Thread Caldarale, Charles R
> From: David Fisher [mailto:dfis...@jmlafferty.com] > Subject: Re: Virtual Hosts > > I have multiple domains hosted, and I name each as > Aliases in the Host in server.xml. If you only have one element, aliases are unnecessary. You only need elements when multiple s are configured and you wa

Re: Virtual Hosts

2009-04-15 Thread David Fisher
Can anybody offer any guidance or advice on how I can set up some virtual hosts for my application that has multiple skins. I want to be able to go to http://flavour1 instead of having to type in http://longhostname/service/program.jsp?skins=flavour1, and similar for flavour2, flavour3, et

What Tomcat presentations / demos / discussions do you want to see at ApacheCon US 2009?

2009-04-15 Thread Mark Thomas
Folks, The next ApacheCon (in Oakland, CA, USA - Nov 2 to 6 2009) is being organised a little differently. Each project is being given the opportunity suggest a possible conference track based on that project. As part of this process we have a week to put together the outline of a plan which we t

Re: Virtual Hosts

2009-04-15 Thread Pid
gisrob wrote: > Can anybody offer any guidance or advice on how I can set up some virtual > hosts for my application that has multiple skins. > > I want to be able to go to http://flavour1 instead of having to type in > http://longhostname/service/program.jsp?skins=flavour1, and similar for > flav

Re: Virtual Hosts

2009-04-15 Thread Hassan Schroeder
On Wed, Apr 15, 2009 at 7:44 AM, gisrob wrote: > > Can anybody offer any guidance or advice on how I can set up some virtual > hosts for my application that has multiple skins. > > I want to be able to go to http://flavour1 instead of having to type in > http://longhostname/service/program.jsp?ski

RE: Help with mod_jk and Apache 2.2

2009-04-15 Thread Security Management
Well, I'll be damned, I do have virtual hosts: VirtualHost configuration: wildcard NameVirtualHosts and _default_ servers: _default_:443 sirrus.smc (/etc/httpd/conf.d/ssl.conf:81) *:*sirrus.smc (/etc/httpd/conf.d/system-config-httpd.conf:314) Syntax OK Andre, I don't

Re: mod_jk Problem

2009-04-15 Thread Rainer Jung
On 15.04.2009 08:19, Munkhbold.B wrote: > Hi > > > > I have a problem with tomcat connector mod_jk. > > From time to time the connector completely hangs apache. > > Tomcat alone is still alive, but apache no longer replies to requests, and I > need to restart both > > > > In mod_jk logs

Re: Help with mod_jk and Apache 2.2

2009-04-15 Thread Rainer Jung
Hi André, +1 to your forthcoming documentation contributions. Great explanation. Regards, Rainer - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Virtual Hosts

2009-04-15 Thread gisrob
Can anybody offer any guidance or advice on how I can set up some virtual hosts for my application that has multiple skins. I want to be able to go to http://flavour1 instead of having to type in http://longhostname/service/program.jsp?skins=flavour1, and similar for flavour2, flavour3, etc.. Al

Re: Help with mod_jk and Apache 2.2

2009-04-15 Thread André Warnier
Security Management wrote: Andre, I removed the deprecated lines from the workers.properties, and added the JkMountCopy that you indicated. Things work now. The strange thing is, I'm not using a virtual host (name or IP based), it's the canned apache installation for Fedora. Maybe this is wha

RE: Need to share JVM for both tomcat and RMI server

2009-04-15 Thread Jorge Medina
I guess you can start one from the other no matter what direction you choose. If you can package your RMI server as a "webapp", just could start your RMI server from a context listener. If you prefer to start Tomcat from your RMI server, just look at the catalina.sh script, starting Tomcat is ju

RE: Help with mod_jk and Apache 2.2

2009-04-15 Thread Security Management
Andre, I removed the deprecated lines from the workers.properties, and added the JkMountCopy that you indicated. Things work now. The strange thing is, I'm not using a virtual host (name or IP based), it's the canned apache installation for Fedora. Maybe this is what did it?? I created a mod_j

Re: mod_jk Problem

2009-04-15 Thread WenDong Zhang
yes. my configuration is just a suggestion. if you just need to fix the problem quickly, maybe you need to try some solutions. But the main idea to solve this problem is you need to do some tests to find out where the bottleneck is. I did a lots of tests, because my server chain is too long httpd

Securing jkmanager in IIS 5. Am I doing it right?

2009-04-15 Thread abaader
Hi Im trying to find a practial example on how to secure the /jkmanager url so that can only be accessed from the iis-server (version 5) locally After googling around and not finding any example about this I created a virtual directory called "jkmanager" in Internet Services Manger and set direc

Re: mod_jk Problem

2009-04-15 Thread André Warnier
WenDong Zhang wrote: I've the same problem too, and I found that if the tomcat response time is long, you need to set connection_pool in your workers.properties. Ok, let me be more explicit. What you suggest above may work, /if/ the underlying reason for the problem meets certain criteria. Bu

Re: mod_jk Problem

2009-04-15 Thread WenDong Zhang
I've the same problem too, and I found that if the tomcat response time is long, you need to set connection_pool in your workers.properties. ## my properties worker.node65.port=8009 worker.node65.host=9.186.10.65 worker.node65.type=ajp13 worker.node65.connection_pool_size=100 worker.node65.connec

Re: mod_jk Problem

2009-04-15 Thread André Warnier
Munkhbold.B wrote: Hi I have a problem with tomcat connector mod_jk. From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a lot of lines like [info]

mod_jk Problem

2009-04-15 Thread Munkhbold.B
Hi I have a problem with tomcat connector mod_jk. >From time to time the connector completely hangs apache. Tomcat alone is still alive, but apache no longer replies to requests, and I need to restart both In mod_jk logs file I have a lot of lines like [info] init_jk::mod_jk.c (3183)