Tomcat and URL rewriting

2003-09-09 Thread James Courtney
Does tomcat support ANY URL rewriting functionality similar to Apache's mod_rewrite but using stand alone Tomcat 4.1.24 without Apache? Many thanks! Jamey

RE: which jk2 to use

2003-07-15 Thread James Courtney
I've had problems with the 4.1.24 src release occasionally losing communication with the Tomcat. I haven't fully debugged these yet but I'm suspicious of it. I've also heard from others that the releases of mod_jk and mod_jk2 to use are those released with the connectors project, not with

FW: Could you give some help for me (about mod_jk for solaris 9)

2003-07-10 Thread James Courtney
I figured this might be useful to this group... Jamey James Courtney InPhonic, Inc. -Original Message- From: James Courtney Sent: Wednesday, July 09, 2003 11:33 PM To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: RE: Could you give some help for me (about mod_jk for solaris 9

jk2.properties

2003-07-10 Thread James Courtney
Under what circumstances are the properties set in this file relevant? At least for channelSocket they seem to at best be overridden by those in the server.xml for the corresponding CoyoteConnector. I'm using Tomcat 4.1.24. Jamey

shm and jk2?

2003-07-10 Thread James Courtney
What is the shm segment of the workers2.properties file for? Is it actually used for a pure channel socket/lb configuration? jk2 2.0.2 Tomcat 4.1.24 Apache 2.0.45 Thanks! Jamey

RE: jk2.properties

2003-07-10 Thread James Courtney
confusing to repeat in jk2.properties. Maybe the best approach is, as you say, to just comment the file but leave it there to avoid the warning. Thanks! Jamey James Courtney InPhonic, Inc. -Original Message- From: Simon Pabst [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 3

RE: shm and jk2?

2003-07-10 Thread James Courtney
of shared memory and the shm file. Jamey -Original Message- From: James Courtney Sent: Thursday, July 10, 2003 3:08 PM To: Tomcat Users List (E-mail) Subject: shm and jk2? What is the shm segment of the workers2.properties file for? Is it actually used for a pure channel socket/lb

RE: Tomcat-4.1.24

2003-07-10 Thread James Courtney
HAH, we just had that problem and fixed it about 5 minutes ago. Maybe Tomcat should check for it's temp directory upon startup and error out in a more informative way if it doesn't exist. Jamey James Courtney InPhonic, Inc. -Original Message- From: Ray Madigan [mailto:[EMAIL

RE: Tomcat-4.1.24

2003-07-10 Thread James Courtney
if it doesn't exist. Jamey James Courtney InPhonic, Inc. -Original Message- From: Ray Madigan [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 5:17 PM To: Tomcat Users List Subject: RE: Tomcat-4.1.24 Sorry - sometimes we do stupid things- lol I forgot to create the temp

RE: concurrent users

2003-07-08 Thread James Courtney
Yes. acceptCount is the number of connections to queue or block on in excess of those being handled by the pool of size maxProcessors. Jamey -Original Message- From: Vijay Kandy [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 1:40 PM To: 'Tomcat Users List' Subject: concurrent

RE: Apache Tomcat modjk2

2003-07-08 Thread James Courtney
Tom, I don't believe you need anything else in your httpd.conf. You should be able to configure mod_jk2 using workers2.properties (in your $APACHE_HOME/conf directory). See http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html for more information. Good luck! Jamey

RE: How do I determine sessions within Tomcat?

2003-07-08 Thread James Courtney
Mark, Another option is to write a callback class that is registered with each session using the HttpSessionBindingListener interface. Each time a session is destroyed, either explicitly by the user or implicitly by Tomcat (user just closed browser) then your widget should have its

channel.socket or channel.apr

2003-07-07 Thread James Courtney
Which is preferable in the Tomcat 4.1.24 release (similar to connectors jk2 2.0.2 release) of mod_jk2? Thanks! Jamey

RE: mod_jk and Coyote connector

2003-07-02 Thread James Courtney
:18 -0700, James Courtney [EMAIL PROTECTED] wrote: Not that I've had any luck getting mod_jk to work with either the legacy Ajp13Connector or the CoyoteConnector but which one should be used? I know that the CoyoteConnector is required for mod_jk2 and I've had that working (mostly

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-02 Thread James Courtney
Subject: RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat Hi, On Tue, 1 Jul 2003, James Courtney wrote: Thanks Eric. I'm still puzzled though. I don't really see any difference in what you're doing vs. what I'm doing. I explicitly specify host and port for the channel

RE: mod_jk and Coyote connector

2003-07-02 Thread James Courtney
! Jamey James Courtney InPhonic, Inc. Hayward, CA *** ** Apache Errors ** *** inunison.com:8081 145 Connection timed out [Wed Jun 25 15:08:10 2003] [error] ajp13.connect() failed ajp13:portal4.somedomain.com:8081 [Wed Jun 25 15:08:10 2003] [error] ajp13

PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread James Courtney
... Any thoughts on this problem and the overall maturity of mod_jk2 vs. mod_jk would be very helpful. Many thanks to all! Jamey James Courtney InPhonic, Inc. Hayward, CA *** ** Apache Errors ** *** inunison.com:8081 145 Connection timed out [Wed Jun 25 15:08:10

RE: PLEASE HELP - Apache mod_jk2 loses communication with Tomcat

2003-07-01 Thread James Courtney
to adjust it to your own needs. You can change 'localhost' to another IP or servername. -e On Tue, 1 Jul 2003, James Courtney wrote: I'm trying again as no one responded to my first email. We REALLY need to resolve this issue. Thanks! We recently upgraded our production systems to Tomcat

mod_jk and Coyote connector

2003-07-01 Thread James Courtney
Not that I've had any luck getting mod_jk to work with either the legacy Ajp13Connector or the CoyoteConnector but which one should be used? I know that the CoyoteConnector is required for mod_jk2 and I've had that working (mostly, occasional lapses in communication, see other messages to user

RE: Running a class on startup - java newbie....

2003-07-01 Thread James Courtney
EJ, You can create an initialization servlet that get's loaded at startup of your webapp. This servlet could create a thread that does what Andre suggests below. Use the web.xml to configure any parameters you need to pass to this servlet and to ensure it's loaded first. Then just

RE: Running a class on startup - java newbie....

2003-07-01 Thread James Courtney
every five minutes. Honestly, it only needs to happen each time a new user tries to register or gets added hmm. looks like I don't need to do this after all. Unless someone has a better, cooler idea.. -Original Message- From: James Courtney [mailto:[EMAIL PROTECTED

Apache mod_jk2 fizzles out

2003-06-25 Thread James Courtney
We recently upgraded our production systems to Tomcat 4.1.24 and Apache 2.0.45 from 3.2.2 and 1.3.19 respectively and have noticed a VERY pleasing increase in performance and over an 80% reduction in system load. We also decided to deploy with mod_jk2 and the whole system behaved itself quite

Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Hey all, We're using Apache 2.0.45 as a pure load-balancer for two Tomcat 4.1.24 instances. Apache serves no content and redirects /* to the Tomcats (using the uri element of the workers2.properties). We have some rewrite rules that massage some URL's based on the domain name the user

RE: Mod_rewrite and mod_jk2

2003-06-18 Thread James Courtney
Apparently if you move the loading of mod_jk2 after the loading of mod_rewrite in httpd.conf this corrects the problem... Jamey -Original Message- From: James Courtney Sent: Wednesday, June 18, 2003 11:47 AM To: Tomcat Users List (E-mail) Subject: Mod_rewrite and mod_jk2 Hey all

mod_jk2 and shm

2003-06-06 Thread James Courtney
I keep getting errors like the following from my mod_jk2 installation. Everything seems to work fine but my apache_error log has errors relating to the shm worker which I don't even configure in workers.properties since I don't see that it's in any way required for a simple channel.socket

RE: jk2_init() Can't find child xxxxx in scoreboard

2003-06-06 Thread James Courtney
Same here. Please keep us informed. Many thanks! Jamey -Original Message- From: Faine, Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 5:29 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: Re: jk2_init() Can't find child x in scoreboard I am currently