Re: BASEDIR problem with Tomcat 5.5 + compat

2007-06-17 Thread fluffyland
Thought I'd make a note here (18 months later :-) since I was getting the same message running Tomcat 6 on Cygwin and the problem was that the +x permission wasn't set on bin/setclasspath.sh Cheers Anthony Rabaa wrote: On November 25, 2005 10:13 am, Caldarale, Charles R wrote: From:

Re: APR with tomcat - long boot

2007-06-17 Thread Markus Schönhaber
Ilja S. wrote: Startup time of tomcat became very slow after installing APR. Tomcat version is 5.5.23 APR 1.2.7 Ubuntu, kernel 2.6.20 Logs says INFO: Server startup in 192631 ms Which is more 3 minutes! Is that normal? This may be normal if you have configured a HTTPS connector and your

mod_jk 1.2.23 not load balancing correctly?

2007-06-17 Thread Rob Kirkbride
Hi, We've added a 4th application server to our farm and since then I've noticed it's not load balancing equally across all our nodes at all. Each of the app servers has a lbfactor of 1 and we're using the default request strategy. I've copied the jkstatus page. I can see that app101 is

Re: APR with tomcat - long boot

2007-06-17 Thread Mladen Turk
Markus Schönhaber wrote: Ilja S. wrote: If you want to speed things up, you may move the mouse like crazy while Tomcat is starting, hack on the keyboard like even crazier or compile APR with --with-devrandom=/dev/urandom as an option to configure. Or one can simply create a $HOME/.rnd file

Re: mod_jk 1.2.23 not load balancing correctly?

2007-06-17 Thread Rainer Jung
Hi Rob, at the moment there is no known problem with the balancing. I expect you checked your mod_jk log file for errors. What's your platform and what's your web server? Since your request counts in the status display are still relatively small, it looks like you get the unequal distribution

Re: mod_jk 1.2.23 not load balancing correctly?

2007-06-17 Thread Rob Kirkbride
Hi Rainer, We're using the stock Apache 2.0 with RHEL4 on a x86 architecture. Obviously I've built mod_jk from source. Thanks for the detail - I'll see about adding the logs as you suggested. The strange thing is that with 3 app servers it has been load balancing very evenly for the last 10

Re: Tomcat thread dump: unable to open the event mutex

2007-06-17 Thread NBW
Not sure if this pertains to your environment but I have experience this when I try to get a thread dump (of a 5.5.23 on Win2003 Server) and I am logged into the server over an RDP (Remote Desktop) connection. I find it works when I am at the console. -Noah On 5/25/07, [EMAIL PROTECTED] [EMAIL

Cannot get service.bat to work with Tomcat 5.5 on Windows

2007-06-17 Thread Joseph Freemaker
Hi, Installed Tomcat 5.5 and all worked fine with jdk 1.5.0_07. However need for installer purposes to be able to setup Tomcat as a Windows service by running a service.bat file. Have done the following: 1. Removed the original Tomcat service with 'tomcat5 //DS//Tomcat5'. The Tomcat service

Re: Cannot get service.bat to work with Tomcat 5.5 on Windows

2007-06-17 Thread Mladen Turk
Joseph Freemaker wrote: 2. Run the following (from Tomcat's bin directory) in a Windows batch file and Tomcat is installed as a Windows service: set args=%args% --DisplayName=Tomcat 5.5 set args=%args% --Install=C:\Program Files\Apache Software Foundation\Tomcat 5.5\bin\tomcat5.exe set

Save sessions across restarts

2007-06-17 Thread lightbulb432
During development, I'd like my sessions to stick around while I reload the context or restart the container, so that when I make a change to a servlet, for example, that requires a context reload, I don't have to relogin in the application. I notice the saveOnRestart attribute, which is

Re: Save sessions across restarts

2007-06-17 Thread Martin Gainty
What you need is SingleSignOn capability I would suggest looking at JetSpeed.. http://portals.apache.org/jetspeed-2/guides/guide-tomcat-sso-cross-context-j2-realm.html M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to

Re: Save sessions across restarts

2007-06-17 Thread Mark Thomas
Martin Gainty wrote: What you need is SingleSignOn capability I would suggest looking at JetSpeed.. http://portals.apache.org/jetspeed-2/guides/guide-tomcat-sso-cross-context-j2-realm.html No, he doesn't. The OP asked about session persistence across reload / restart. This has nothing to do

Re: Save sessions across restarts

2007-06-17 Thread Mark Thomas
lightbulb432 wrote: I notice the saveOnRestart attribute, which is supposed to be enabled by default. Why is it that I must relogin every time? Is your app being redeployed? What happens if you restart without making any code changes? Mark

Re: Save sessions across restarts

2007-06-17 Thread Len Popp
As usual, Martin, you're completely off base. This has nothing to do with single-sign-on. When you shut down Tomcat or a webapp, session data is written to the file SESSIONS.ser in work\Catalina\localhost\x where x is either _ or the application name. I don't think you have to do anything

Tomcat 4.1 - problem with classpath definition in Manifest.mf

2007-06-17 Thread Subbu
Hi, I am newbie to Tomcat. I have a jar file(test.jar) which has Classpath attribute defined in its manifest.mf file. I place this file in the lib folder of the webapp. It looks like tomcat is ignoring the classpath definition in the manifest file of test.jar file. Does any body know if there

Tomcat continues to display default home page even after I've replaced it

2007-06-17 Thread Rob Tanner
Hi, I installed Tomcat 5.5.23 stand-alone and then replaced the default index.jsp home page (webapps/ROOT/index.jsp) with a different a different jsp. But, no matter what I do, I still get the default Tomcat home page and not the pager I replaced it with. At first I thought it was my

Re: Tomcat continues to display default home page even after I've replaced it

2007-06-17 Thread Mark Thomas
Rob Tanner wrote: Can anyone tell me where this content is coming from? Try reading the page. The explanation is right there in the middle. To see your new page, remove the mapping. Mark - To start a new topic, e-mail:

Re: Tomcat continues to display default home page even after I've replaced it

2007-06-17 Thread Rob Tanner
Let me wipe the egg off my face and say thanks. -- Rob On 06/17/2007 03:35 PM, Mark Thomas wrote: Rob Tanner wrote: Can anyone tell me where this content is coming from? Try reading the page. The explanation is right there in the middle. To see your new page, remove the mapping.

Re: Save sessions across restarts

2007-06-17 Thread Martin Gainty
playing around with sessions or cookies has no impact on ability to preserve one's capability or ability to establish role verification if you dont know anything about jetspeed you need to stay quiet In any event lets take this offline as you dont have a clue what SSO means Bye This email

Cluster Configuration Questions

2007-06-17 Thread Mark Walker
We run a cluster of Tomcat servers with Apache as a front end load balancer using mod_jk configured for sticky sessions. Our primary application provides users with access to their financial accounts. Fast response times are as important as session replication. We are starting to have

Re: Tomcat 4.1 - problem with classpath definition in Manifest.mf

2007-06-17 Thread 吴熊敏
you cant put jar files in webapp folder,it's useless at all.. you can only put war or ear files in webapp folder. On Sun, 17 Jun 2007 17:32:26 -0400 Subbu [EMAIL PROTECTED] wrote: Hi, I am newbie to Tomcat. I have a jar file(test.jar) which has Classpath attribute defined in its

Re: Tomcat continues to display default home page even after I've replaced it

2007-06-17 Thread 吴熊敏
I met the same matter with you ever.The reason is that Tomcat itself have the cache too. You can delete files under [TOMCAT]/work,and restart your server and try again. Wish you lucky!! On Sun, 17 Jun 2007 14:55:47 -0700 Rob Tanner [EMAIL PROTECTED] wrote: Hi, I installed Tomcat 5.5.23