Re: New session PER REQUEST

2006-09-25 Thread Bob Hall
Maurice Yarrow wrote: I'm fronting tomcat 5.0.28 with apache 2.0.59 through mod_proxy. I am not seeing loss of session persistence: here are the values of HttpSession.getId(), as seen in a typical succession of the servlets, and also, one of the JSP's: SelectPubImgSetServlet:

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-25 Thread Mladen Adamovic
Darryl Miles wrote: Also, I've put in /etc/profile.local the line ulimit -n 8192, hoping it will help. WARNING: If you are unix the JVM uses the select() then increasing the ulimit above the default 1024 maybe dangerous. Is it dangerous in Linux also? -- Mladen Adamovic

Tomcat5 on RHEL4 U3, NoClassDefFoundError

2006-09-25 Thread Bosse Klykken
Hi. After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we have suddenly started experiencing big issues with Tomcat. The service either crashes suddenly with error 6 or 11, or immediately with a NoClassDefFoundError: ---8--- *** glibc detected *** double free or corruption

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-25 Thread Mladen Adamovic
I prepared one bash script which aim is to reboot the computer if its web server is down for approx. 30 minutes. I think that bash script might be useful for others on this list, so I'm posting it here. But, I'm not sure what is the best way to run that script. I'm using Suse 9.3 on the server.

mod_jk.1.2.19 - missing documentation for %R JkRequestLogFormat

2006-09-25 Thread Henk Fictorie
The Changelog mentions: Added %R JkRequestLogFormat option for Apache 1 and Apache 2. (mturk) In the Apache documentation however this new option is not documented. Could somebody explain (and document) what it does? regards Henk Fictorie -- View this message in context:

Re: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
JSP lifecycle documentation tells me that there should be .java files named _0002fpageName_jsp.java. I don't have such files (no java files at all). I did a brand new Tomcat installation and executed one JSP example but there is only a tldCache.ser file in work\Catalina\ localhost\jsp-examples.

Re: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
I've found the .java and .class files in a new sample application. I still don't understand if the compiled class files are used after Tomcat restart or if the JSP files will get compiled again. I'm asking because my application (Matrix from MatrixOne) is very slow after restarting Tomcat.

HttpSessionListener with session replication (cluster)

2006-09-25 Thread Pascal Bleser
What happens when a HttpSession times out in a cluster, wrt HttpSessionListeners ? Will the HttpSessionListener be notified with a HttpSessionEvent on _each_ node or only on the node that decides to destroy the session ? JSR-154 (Servlet 2.4 spec) [1] says: SRV.10.7 Distributed Containers In

RE: New session PER REQUEST

2006-09-25 Thread Peter Crowther
From: Darren Hall [mailto:[EMAIL PROTECTED] You are correct. When hitting Tomcat directly, the session remains intact. When using mod_proxy to forward requests to Apache the session is lost. Is this a common issue? How can I go about correcting this? I'll have to open that up to the

Re: mod_jk.1.2.19 - missing documentation for %R JkRequestLogFormat

2006-09-25 Thread Mladen Turk
Henk Fictorie wrote: The Changelog mentions: Added %R JkRequestLogFormat option for Apache 1 and Apache 2. (mturk) It logs the real worker 'R'oute name (In case of loadbalancer the elected worker). In the Apache documentation however this new option is not documented. Could somebody

How to disable the Restart Persistence feature

2006-09-25 Thread Roland Rabben
Hi Can anyone tell me how to completely disable the Restart Persistence feature handling in Tomcat 5.5.17? Regards Roland Rabben

Re: Tomcat5 on RHEL4 U3, NoClassDefFoundError

2006-09-25 Thread Pid
Bosse Klykken wrote: Hi. After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we have suddenly started experiencing big issues with Tomcat. The service either crashes suddenly with error 6 or 11, or immediately with a NoClassDefFoundError:

Dev Environment Setup can't find WEB-INF/lib

2006-09-25 Thread Barclay Curtis
Hi, I am a tomcat newbie, and have the task of setting up a development environment in Tomcat. I have a site which is up and running on the live server, but I can't get it to work in the development environment. I have the latest version, Apache Tomcat 5.5.17, and have set it up to use

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-25 Thread Martin Gainty
Having worked in environments where servers get rebooted at odd times for unknown reasons I'll ask the dumb question What happens to the other processes that are running when the server is rebooted? What happens to the logs? I think you may have what Leon called a 'resource allocation issue'

Re: Dev Environment Setup can't find WEB-INF/lib

2006-09-25 Thread David Smith
Some initial thoughts: 1. Check folder permissions and be sure tomcat has read access on the WEB-INF/lib folder. 2. Be sure the jar file containing XPathException (xalan.jar) is really in WEB-INF/lib, common/lib, or shared/lib. The location will depend on the class attempting to throw a

Re: Tomcat5 on RHEL4 U3, NoClassDefFoundError

2006-09-25 Thread Bosse Klykken
Pid wrote: After upgrading a two-node failover cluster with RHEL4 from U3 to U4, we have suddenly started experiencing big issues with Tomcat. The service either crashes suddenly with error 6 or 11, or immediately with a NoClassDefFoundError: java.lang.NoClassDefFoundError:

Re: Tomcat5 on RHEL4 U3, NoClassDefFoundError

2006-09-25 Thread Martin Gainty
from my doc I see that 6 is 'no such device or address' 11 is 'try again' so this error points to a system administration function are you referring to a device that is not mounted? are you referring to a Link that is 'unlinked'? Hard to determine specifics if we don't see your script Tak Tak,

Re: New session PER REQUEST

2006-09-25 Thread David Smith
For using mod_proxy, have you also added proxy_name and proxy_port attributes to the connector receiving proxied requests? Those will need to be set so tomcat can create the session cookie correctly. Additionally, you might want to be sure all your links are run through response.encodeURL(

FW: Looking for someone to review a Tomcat setup.

2006-09-25 Thread Charles P. Killmer
Is no one interested in some money on the side? I am not looking for volunteer charity work. You would be paid for your help. Charles Killmer 720 St Germain. Suite 200 Saint Cloud, MN 56303 Phone: 320.251.4700 x107 Toll Free : 877.797.4700 x107 Fax: 320.251.5030

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-25 Thread Mladen Adamovic
Martin Gainty wrote: I think you may have what Leon called a 'resource allocation issue' that may not be corrected until you actually look at the code to determine who or what is grabbing all of the file handles (and not closing them) Yeah, but if one uses BufferedReader br=new

RE: Looking for someone to review a Tomcat setup.

2006-09-25 Thread Peter Crowther
From: Charles P. Killmer [mailto:[EMAIL PROTECTED] Is no one interested in some money on the side? I am not looking for volunteer charity work. You would be paid for your help. Sure I'm interested, but MN is 6 timezones and a day's travel away. - Peter

Re: static objects, server.xml and preventing running out of available file descriptors

2006-09-25 Thread Leon Rosenberg
thats probably true (depends on what lies under the bufferedreader/stream, you probably mean a file?) But its generally extremely bad taste to rely on gc when you can fix it by adding a three-liner. that would also expain why your open files become closed after System.gc() is called. However,

Re: FW: Looking for someone to review a Tomcat setup.

2006-09-25 Thread Wendy Smoak
On 9/25/06, Charles P. Killmer [EMAIL PROTECTED] wrote: Is no one interested in some money on the side? I am not looking for volunteer charity work. You would be paid for your help. Here's one option: http://www.virtuas.com/tomcat I know of Virtuas through Matt Raible, who works mostly

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
Thanks David, For using mod_proxy, have you also added proxy_name and proxy_port attributes to the connector receiving proxied requests? Those will need to be set so tomcat can create the session cookie correctly. I don't believe I'm setting any of these things. Correct me if I'm wrong,

Re: Dev Environment Setup can't find WEB-INF/lib

2006-09-25 Thread Barclay Curtis
Thanks David, 1. Yup, tomcat has permission to read the folder and xalan.jar 2. xalan.jar is in the WEB-INF/lib folder. 3. I think the exception is thrown by a JSP page,ChooseContinentFromXML_jsp . I've put the stack trace below. What else could be affecting it? ERROR 2006-09-25

RE: FW: Looking for someone to review a Tomcat setup.

2006-09-25 Thread Charles P. Killmer
Thanks Wendy. Charles Killmer 720 St Germain. Suite 200 Saint Cloud, MN 56303 Phone: 320.251.4700 x107 Toll Free : 877.797.4700 x107 Fax: 320.251.5030 http://www.netgainhosting.com [EMAIL PROTECTED] Confidentiality Notice: This e-mail message, including any attachments, is

Re: New session PER REQUEST

2006-09-25 Thread Pid
have you consciously decided that you're using tomcat with an http mode connector instead of an ajp connector? also, you're duplicating the proxy by doing ProxyPass /flc ... as well as RewriteCond %{REQUEST_URI} !^/flc... Darren Hall wrote: Thanks David, For using mod_proxy, have

Re: New session PER REQUEST

2006-09-25 Thread David Smith
No. In server.xml (tomcat's config file), the Connector / element receiving proxied requests from Apache HTTPd needs proxyName=www.mysite.com and proxyPort=80 to properly handle cookies and writing URLs. There are commented examples of this in the original server.xml file distributed

Mod_jk

2006-09-25 Thread Brian
Hello all, Ok, I've gotten the mod_jk to work internally. But, What I want to do is have an apache box forward request through a firewall to a jboss application box, then have jboss return through the firewall to the apache box. How do I accomplish this? Thanks for any thought's. Brian

mod_jk port issue

2006-09-25 Thread Brian
I'm using mod_jk. I currently have it working in a dev environment. Apache Web server --- jboss application server. I need to move to Production: Apache -- [FireWall] -- jboss When I first tried this everything failed. We opened port 8009 on the FW to allow incoming traffic and outgoing

Administration Web Application

2006-09-25 Thread Raffaele Viola
Hi all, how can I install the Administration Web Application for Tomcat 5.5.17? Thanks Raffo

RE: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread Steffen Heil
Hi I know, reasking the same question if there was no answer, is no good style. However I had problems using apache-lists earlier and I don't know wether my mail made it to the list. So could anyone please respond, that the mail itself made it? (Solutions to my problem are welcome as well :D )

Re: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread ben short
Hi Steffen, I can see your post. Ben On 9/25/06, Steffen Heil [EMAIL PROTECTED] wrote: Hi I know, reasking the same question if there was no answer, is no good style. However I had problems using apache-lists earlier and I don't know wether my mail made it to the list. So could anyone please

Re: Administration Web Application

2006-09-25 Thread ben short
Download the Administration Web Application from this site http://tomcat.apache.org/download-55.cgi. Then un zip/tar it over the tomcat install directory. Restart tomcat and off you go. Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: Hi all, how can I install the Administration Web

Re: Administration Web Application

2006-09-25 Thread Raffaele Viola
I've already done the un-tar over the tomcat install directory. I try to access by remote host but nothing. Raffo On 9/25/06, ben short [EMAIL PROTECTED] wrote: Download the Administration Web Application from this site http://tomcat.apache.org/download-55.cgi. Then un zip/tar it over the

RE: Tomcat 5.5.17 has max 40 KB / sec

2006-09-25 Thread Darren Hall
I got your message through the list, Steffen. I don't know how to help you, though. Sorry. Darren Hi I know, reasking the same question if there was no answer, is no good style. However I had problems using apache-lists earlier and I don't know wether my mail made it to the list. So

Re: Administration Web Application

2006-09-25 Thread ben short
Are the permissions for the new files ok? Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: I've already done the un-tar over the tomcat install directory. I try to access by remote host but nothing. Raffo On 9/25/06, ben short [EMAIL PROTECTED] wrote: Download the Administration Web

Re: Problem with Tomcat 5.5.15, [173 javajni.c] [error] %1 is not a valid Win32 application

2006-09-25 Thread joon yoo
Mr. Lau, Thank you very much for this batch file, it was a great help in getting tomcat 5.5.17 running on my 64bit win2k3 install. May I ask if you would possibly add some java memory management options to the batch file so that it may take advantage of the 64bit jvm? With great appreciation

Re: Administration Web Application

2006-09-25 Thread ben short
Ah yes, I have user username=admin password= roles=admin,manager / In my tomcat-users.xml. Ben On 9/25/06, Raffaele Viola [EMAIL PROTECTED] wrote: It seems start to work after I add into the tomcat-user.xml file the row role rolename=admin/ and give to the user administrator this role.

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
In server.xml (tomcat's config file), the Connector / element receiving proxied requests from Apache HTTPd needs proxyName=www.mysite.com and proxyPort=80 to properly handle cookies and writing URLs. There are commented examples of this in the original server.xml file distributed

RE: New session PER REQUEST

2006-09-25 Thread Peter Crowther
From: Darren Hall [mailto:[EMAIL PROTECTED] (with one change - the connector port in the new connector element I specified is 8080, and I also have the default element still uncommented also using port 8080. Will this create a conflict?) I'm a little surprised it works at all. Use one

Monitoring Tomcat load (4.1.30)

2006-09-25 Thread Greg Ward
Hi -- we've recently had problems with Tomcat on one server getting overloaded and then refusing further requests. What happens is that more and more request-processing threads get stuck on some slow operation (eg. database query, opening a socket to another server), until eventually Tomcat's

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
I moved my port to 8081 and I still see the same behavior. *sigh* I'm still getting no positive results. I'm now thinking this issue involves one of two things. 1) Mod proxy and the way I've configured it; or 2) the rewrite rules I do on each request to and from my domain. This is my first time

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
Can this behavior be accomplished with mod proxy alone (meaning I can remove mod rewrite from the picture completely)? Could this rewrite be causing me to lose the session between Apache and Tomcat? *ding ding ding* We have a winner! I removed the rewrite rules from my httpd-vhosts.conf file

Re: New session PER REQUEST

2006-09-25 Thread Hassan Schroeder
On 9/25/06, Darren Hall [EMAIL PROTECTED] wrote: ... The client does not want to see urls with an identifier on the end of them (i.e. www.abcdomain.com/abc), yet I need the identifier to correctly send the request to the correct container in Tomcat (meaning the abc app lives under the /abc

Re: Monitoring Tomcat load (4.1.30)

2006-09-25 Thread Bruno Georges
I suggest you have a look at jboss.com. JBoss offers JBoss Operations Network which collect metrics using agent technology. You can monitor tomcat, apache, jboss as, jca, jms , etc.. Best Regards Bruno Georges Glencore International AG Tel. +41 41 709 3204 Fax +41 41 709 3000 -

RE: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Tracy Nelson
What you're seeing is normal servlet/JSP processing. After you restart Tomcat, the classloader has to load the servlet/JSP. Once it has done this, the servlet/JSP is cached so it doesn't need to be reloaded. The JSP files shouldn't be compiled again unless they change. The server should check

RE: Java path

2006-09-25 Thread Tracy Nelson
If you're on Windows, open the registry editor and go to the key HKLM/SOFTWARE/Apache Software Foundation/Procrun 2.0/Tomcat5/Parameters/Java/JVM. This key should have the value of your JAVA_HOME. --- Tracy Nelson / Nelnet Business Solutions 402 / 617-9449 | -Original Message- | From:

Platform list

2006-09-25 Thread David Kerber
I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to see if it will run ok on a Fedora core 4 server. Dave - To start a new topic, e-mail: users@tomcat.apache.org

RE: Platform list

2006-09-25 Thread Caldarale, Charles R
From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Platform list I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to see if it will run ok on a Fedora core 4 server. Tomcat is pure Java; ergo, if your platform supports Java

Re: Platform list

2006-09-25 Thread David Kerber
Oops, I knew that GGG. Thanks for jerking my d'oh chain! Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Platform list I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to see if it will run ok on

Re: mod_jk port issue

2006-09-25 Thread David Rees
On 9/25/06, Brian [EMAIL PROTECTED] wrote: I'm using mod_jk. I currently have it working in a dev environment. Apache Web server --- jboss application server. I need to move to Production: Apache -- [FireWall] -- jboss When I first tried this everything failed. We opened port 8009 on the FW

Re: Platform list

2006-09-25 Thread Eric Haszlakiewicz
On Mon, Sep 25, 2006 at 01:19:58PM -0500, Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Platform list I just looked, but couldn't find the list of supported platforms for tomcat 5.5.x. I'm specifically looking to see if it will run ok on a

RE: Platform list

2006-09-25 Thread Caldarale, Charles R
From: Eric Haszlakiewicz [mailto:[EMAIL PROTECTED] Subject: Re: Platform list Isn't there some new feature with native APR code being used for something? The Apache Portable Runtime (APR) is an optional connector mechanism that you can build and install for your platform (pre-built

Re: mod_jk port issue

2006-09-25 Thread Brian
Thanks David, So are you suggesting that the something weird is on the Jboss configuration side? Thanks, B --- David Rees [EMAIL PROTECTED] wrote: On 9/25/06, Brian [EMAIL PROTECTED] wrote: I'm using mod_jk. I currently have it working in a dev environment. Apache Web server --- jboss

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
Hi Hassan Maurice here. Yeah, I've been following this thread, and at this moment I'm stepping into this discussion because: My tomcat has four host elements: the primary (localhost - tomcat/webapps) as usual, plus three development hosts: devel.mydomain.net - tomcat/webappsDevel

RE: New session PER REQUEST

2006-09-25 Thread Darren Hall
Thanks Maurice. I'll need to look into this. The one difficulty I have NOT seen is losing the session ID. I do get session ID persistence where it is permitted (across http page transitions, across https page transitions, and across http-https page transition) Maurice Yarrow The loss of

Re: New session PER REQUEST

2006-09-25 Thread Hassan Schroeder
On 9/25/06, Maurice Yarrow [EMAIL PROTECTED] wrote: And, fronting with Apache 2.0, and using mod_proxy, I just had one heck of a time getting this to work right. I used httpd VirtualHost... sections but there was a heck of a lot of configuration to do. OK, two points -- 1) it's not clear

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
Hi Hassan Yes, thanks for sharing this point: not particularly onerous. And I would have to say that the original mechanism I used just for www.mydomain.net was not too much of a problem other that the javascript URL args (which will not in browser expand relative paths to include the

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
Darren Thanks for explaining what you did. I may also take a look at your method. I like not to leave stones unturned, so to speak... But it would appear that no matter which way you do it, it will have complexity if what you are trying to connect is itself a resonably complex and real-world

Tomcat 5.5 Clustering Problem

2006-09-25 Thread Paul Michael Laborte
I'm trying to perform a simple cluster setup with Tomcat 5.5 and been running into some problems. Here's the link to the tutorial that I'm trying to follow: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html. Below is an excerpt of the stack trace, I'm using the balancer application

How set a default context

2006-09-25 Thread Gabriel França Campolina
Hi people, I need your help, I install the tomcat 5.5.17 in my sever, and I have two context in webapps: /portal and /intranet, when I start the tomcat the two application run ok, but I need set the default context ( http://localhost:8080) that call the /portal context, Someone can help me? in

RE: How set a default context

2006-09-25 Thread Caldarale, Charles R
From: Gabriel França Campolina [mailto:[EMAIL PROTECTED] Subject: How set a default context but I need set the default context (http://localhost:8080) that call the /portal context Delete the existing webapps/ROOT directory, and rename your portal app to ROOT in the webapps directory. It

Re: New session PER REQUEST

2006-09-25 Thread Maurice Yarrow
Hello, again, Hassan I'd like to ask a couple of questions about your | tomcat httpd -- mod_proxy_ajp === | tomcat | tomcat setup. And the reason that I'm

Re: mod_jk port issue

2006-09-25 Thread David Rees
On 9/25/06, Brian [EMAIL PROTECTED] wrote: So are you suggesting that the something weird is on the Jboss configuration side? No, I'm suggestions that something is wrong with your firewall. Are you sure Apache is getting through via mod_jk? -Dave

HTTP 304

2006-09-25 Thread Paul Wallace
Hi, Using TC5, I can not see why my log is showing: 192.168.3.26 - - [26/Sep/2006:14:06:44 +1000] GET /dir/gf/locationManager.js HTTP/1.1 304 - 192.168.3.26 - - [26/Sep/2006:14:06:44 +1000] GET /dir/gf/i18n.js HTTP/1.1 304 - and many more like it, particularly after I stop the server, remove

RE: Precompiled JSPs after Tomcat restart

2006-09-25 Thread Frank Niedermann
Tracy, thanks for clarification. How long will Tomcat cache a loaded JSP? And is there a way to tell Tomcat or the classloader to load every single JSP after startup? Do you have an example of such a script? (ATM I have no idea how to do this) Thanks, Frank Do you Tracy Nelson-2 wrote: