Load balancing and sticky sessions

2009-04-23 Thread Tom Cooper
Hi all, I have two servers, each running 5 instances of Tomcat and apache. I need to do load balancing between them with sticky sessions. The load balancing seems to work but not the sticky sessions. I am using mod_ajp. I see that mod_jk is recommended but that means modifying the tomcat conf

Re: JVM crash issue

2009-04-23 Thread jochen
chris, The hardware has same identical spec with others, and hosting for internet service independent, and the model of hardware is very popular and proven to be used in internet service, of course, it still needs check to ensure its quality. I will ask hardware team for help to check that points

RE: Tomcat users meetup in London

2009-04-23 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat users meetup in London > > So, how does the Thursday or Friday evening next week suite folks? Either should be ok for us. Friday daytime is tentatively set for the British Museum, with a friend of ours from here whose visit hap

Re: Tomcat users meetup in London

2009-04-23 Thread Pid
Mark Thomas wrote: > Caldarale, Charles R wrote: >>> From: Pid [mailto:p...@pidster.com] >>> Subject: Re: Tomcat users meetup in London >>> >>> You'll also be temptingly close to some decent Indian restaurants then. >> Thanks; we've seen a few on Google Earth. My wife is a curry fanatic. > > So,

Re: Tomcat users meetup in London

2009-04-23 Thread Mark Thomas
Caldarale, Charles R wrote: >> From: Pid [mailto:p...@pidster.com] >> Subject: Re: Tomcat users meetup in London >> >> You'll also be temptingly close to some decent Indian restaurants then. > > Thanks; we've seen a few on Google Earth. My wife is a curry fanatic. So, how does the Thursday or Fr

Re: Fwd: username/password being logged in clear text

2009-04-23 Thread Steven Yates
Jithu, I would be inclined to confirm whether your deployment is utilising System.out, System.err or a logging api to print your incoming FORM request attributes? RGS SY Filip Hanik - Dev Lists wrote: Tomcat doesn't print any usernames passwords to any logfiles. So most likely, your applicati

RE: Tomcat users meetup in London

2009-04-23 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Tomcat users meetup in London > > You'll also be temptingly close to some decent Indian restaurants then. Thanks; we've seen a few on Google Earth. My wife is a curry fanatic. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHE

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Hi Andre, I got Forbidden - You don't have permission to access /test/WEB-INF/web.xml on this server. Under httpd.conf, just before VirtualHost I have following to deny all from accessing WEB-INF folder. Httpd.conf configuration: # Globally deny access to the WEB-INF directory deny from

Re: Tomcat users meetup in London

2009-04-23 Thread Pid
Caldarale, Charles R wrote: >> From: Pid [mailto:p...@pidster.com] >> Subject: Re: Tomcat users meetup in London >> >> Out of date listing: >> http://www.timeout.com/london/restaurants/features/28.html >> >> New 'posh': >> http://www.urbanpath.com/london/fish-and-chips/ > > Thanks for the tips;

Re: Fwd: username/password being logged in clear text

2009-04-23 Thread Filip Hanik - Dev Lists
Tomcat doesn't print any usernames passwords to any logfiles. So most likely, your application is what is causing it. Filip jithu mada wrote: -- Forwarded message -- From: jithu mada Date: Wed, Apr 22, 2009 at 5:38 PM Subject: username/password being logged in clear text To: us

Re: Tomcat logs

2009-04-23 Thread Mark Thomas
Ducharme, Ugo wrote: > How can I get the maximum amount of log possible? Shall I use log level like > org.level = ALL and com.level = ALL ? I feel tomcat is not verbose enough and > I am looking for a switch (or something else) that would give me all the log > I can. You *really* don't want to

RE: Tomcat users meetup in London

2009-04-23 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Tomcat users meetup in London > > Out of date listing: > http://www.timeout.com/london/restaurants/features/28.html > > New 'posh': > http://www.urbanpath.com/london/fish-and-chips/ Thanks for the tips; Fryer's Delight is not too far from wh

Re: Tomcat users meetup in London

2009-04-23 Thread Pid
Caldarale, Charles R wrote: >> From: Edward Bicker [mailto:g...@travelin.com] >> Subject: RE: Tomcat users meetup in London >> >> I am up for fish 'n' chips at duggy's > > I would love some authentic fish 'n' chips like what we used to get on High > Street in Tring; haven't found anything com

Re: Tomcat logs

2009-04-23 Thread André Warnier
Ducharme, Ugo wrote: ... I feel tomcat is not verbose enough You must be the only one in the whole wide world. Where are you looking ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-ma

Re: Beginner: Installation Apache

2009-04-23 Thread André Warnier
Vinay Nagrik wrote: Dear Group, I downloaded bianries fo Apache for my Windows platform on XP operating system. I did not come across a statement that Apache runs on XP. The site says that it runs on Vista. Can somebody please tell me if it runs on Windows XP. Secondly, when I was installing

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread André Warnier
Sriganesh Ananth wrote: Chuck, you rock!!! That part, I tend to agree. I changed the appBase to "/var/www" for Host, added "testapp" in the Context docBase and restarted the tomcat and it worked!!! But this part, and what follows : Httpd.conf configuration: DocumentRoot /var/www/testapp

RE: customize HTTP Status 401 error page

2009-04-23 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: customize HTTP Status 401 error page > > what happens when you supply the webapplication name to > and restart TC? That would violate the servlet spec. The webapp name *never* appears in web.xml, other than perhaps as documenat

Re: JVM crash issue

2009-04-23 Thread Dan Armbrust
On Thu, Apr 23, 2009 at 3:59 PM, Anthony J. Biacco wrote: > This is a little OT, but I'm interested to see if oracle decides to > merge their BEA acquisition jrockit product with sun's JDK or just picks > one of them to represent. Hopefully they at least merge together the developers. I get the

RE: customize HTTP Status 401 error page

2009-04-23 Thread Martin Gainty
the url-pattern is usually the contextPath such as http://host:port + ContextPath is compared to the http://edocs.bea.com/wls/docs61/webapp/web_xml.html what is the webapplication name? what happens when you supply the webapplication name to and restart TC? Martin _

RE: Tomcat Manager App on a Closed Network

2009-04-23 Thread Anthony J. Biacco
Probably not the best solution, but you could always resolve the DNS for www.w3.org internally to your local apache web server (if you have one) or to the tomcat server (if you're running the http port), build the sub-directories for the URI's path, download the dtd file from w3.org and stick it in

Re: Avoiding username/password being logged into localhost access logs

2009-04-23 Thread Dan Armbrust
> > How is Tomcat meant to determine that data in the URL is a password and > needs to be filtered? > >> I imagine there are all sorts of places that (rightfully) have >> policies against storing a clear text password anywhere. > > The only reason you are seeing the password in the access logs appe

RE: JVM crash issue

2009-04-23 Thread Anthony J. Biacco
This is a little OT, but I'm interested to see if oracle decides to merge their BEA acquisition jrockit product with sun's JDK or just picks one of them to represent. -Tony --- Manager, IT Operations Format Dynamics, Inc. 303-573-1800x27 abia...@formatdynamics.com http://ww

RE: Beginner: Installation Apache

2009-04-23 Thread Anthony J. Biacco
Are you talking about the apache httpd web server or apache tomcat application server? Both will run on xp and vista. There are quirks with both on vista, with workarounds. Questions about the web server should be directed to the httpd mailing list (see apache.org) -Tony -

Re: JVM crash issue

2009-04-23 Thread Dan Armbrust
JVM crashes seem to be a common issue lately. We tried to move our main apps from JRE 1.5 to 1.6 about 6 months ago, and had to give up and revert because we couldn't find any 1.6 or early 1.7 JVM's that were stable. They all had random crashes on hardware that runs the same software perfectly fi

Tomcat logs

2009-04-23 Thread Ducharme, Ugo
How can I get the maximum amount of log possible? Shall I use log level like org.level = ALL and com.level = ALL ? I feel tomcat is not verbose enough and I am looking for a switch (or something else) that would give me all the log I can. Ugo Ducharme (x236)   ---

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Chuck, you rock!!! I changed the appBase to "/var/www" for Host, added "testapp" in the Context docBase and restarted the tomcat and it worked!!! I will work on migrating the Context elements to the META-INF folder as suggested by you. Again, thank you very much for your help on this and you hav

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
Here is web.xml Faculty Resources FACRES * CN=FacultyStaff,OU=Groups,OU=EMP,DC=AC BASIC TESTING 401 /error.html CN=FacultyStaff,OU=Groups,OU=EMP,DC=AC 2 Yes, if it is run on Window, no cred

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
> From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] > Subject: Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching > servlet file in file system and reporting 404 error rather mapping in > web.xml >unpackWARs="true"> The above is wrong; the appBase should be "/var/www".

Re: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Chuck, Thank you for your reply. I didn't copy 4.1 server.xml but instead build it fresh on 5.5 provided server.xml. Following is the server.xml (removed comments and commented lines) ---

Re: customize HTTP Status 401 error page

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, On 4/23/2009 1:20 PM, Jill Han wrote: > I still need helps. > Here is the web.xml > ... > > BASIC > TESTING > > > > 401 > /error.html > > ... > The error.html is replaced the 401 error message, however there will b

Re: Beginner: Installation Apache

2009-04-23 Thread Mark Thomas
Vinay Nagrik wrote: > Dear Group, > > I downloaded bianries fo Apache for my Windows platform on XP operating > system. > > I did not come across a statement that Apache runs on XP. The site says > that it runs on Vista. Can somebody please tell me if it runs on Windows > XP. Really? It does?

RE: Tomcat users meetup in London

2009-04-23 Thread Caldarale, Charles R
> From: Edward Bicker [mailto:g...@travelin.com] > Subject: RE: Tomcat users meetup in London > > I am up for fish 'n' chips at duggy's I would love some authentic fish 'n' chips like what we used to get on High Street in Tring; haven't found anything comparable in this country. Where's Dug

Re: Avoiding username/password being logged into localhost access logs

2009-04-23 Thread Mark Thomas
Dan Armbrust wrote: > Sounds like a good enhancement request to me. It's certainly > reasonable that one should be able to ask Tomcat to never ever log a > password in clear text. In fact, it seems like that should be the > default setting. How is Tomcat meant to determine that data in the URL i

RE: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Caldarale, Charles R
> From: Sriganesh Ananth [mailto:sriganesh.anant...@gmail.com] > Subject: Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet > file in file system and reporting 404 error rather mapping in web.xml > > The issue is Tomcat 5.5.x looks for a servlet file under server's > physical file syst

Beginner: Installation Apache

2009-04-23 Thread Vinay Nagrik
Dear Group, I downloaded bianries fo Apache for my Windows platform on XP operating system. I did not come across a statement that Apache runs on XP. The site says that it runs on Vista. Can somebody please tell me if it runs on Windows XP. Secondly, when I was installing it, the message says

Tomcat migration 4.1.3 to 5.5.23: Tomcat5.5 searching servlet file in file system and reporting 404 error rather mapping in web.xml

2009-04-23 Thread Sriganesh Ananth
Hi I am experiencing a very peculiar issue when migrating from Apache Tomcat 4.1.x (Apache 1.3.27) to 5.5.23 (Apache 2.2.3) on Red hat Linux 5. The issue is Tomcat 5.5.x looks for a servlet file under server’s physical file system and reporting HTTP 404 error rather than going to the servlet mapp

Tomcat Manager App on a Closed Network

2009-04-23 Thread Jonathan Cochran
I have Apache Tomcat 6.0.18 installed on a server that is not connected to the Internet. When I run the Tomcat Web Application Manager and click the number of Sessions to list them, the page eventually comes back with an error complaining that it can't find "xhtml1-transitional.dtd" at the www

Re: Avoiding username/password being logged into localhost access logs

2009-04-23 Thread Dan Armbrust
Sounds like a good enhancement request to me. It's certainly reasonable that one should be able to ask Tomcat to never ever log a password in clear text. In fact, it seems like that should be the default setting. I imagine there are all sorts of places that (rightfully) have policies against sto

RE: First Tomcat install

2009-04-23 Thread Caldarale, Charles R
> From: Timothy Johnson [mailto:tjohn...@mosssavings.com] > Subject: First Tomcat install > > I am not sure if this is a tomcat error or not It certainly does not appear to have anything to do with Tomcat itself, but rather with the configuration of webchat. You'll have to consult that documen

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread Mark Thomas
Christopher Schultz wrote: > Mark, > > On 4/21/2009 5:54 PM, Mark Thomas wrote: >> 1. Find an app that you can't reload without OOME >> 2. Get a profiler - I like Yourkit >>Full disclosure: they give ASF committers a free copy >> 3. Reload you app once >> 4. Use the profiler to look for instan

First Tomcat install

2009-04-23 Thread Timothy Johnson
I am not sure if this is a tomcat error or not, I am not sure where to begin looking. I have setup my own tomcat server for openfire's webchat plugin. But when I try to use it I get the following error in my tomcat logs. Can some one please point me in the right direction. Apr 23, 2009 9:51:17

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
I still need helps. Here is the web.xml ... BASIC TESTING 401 /error.html ... The error.html is replaced the 401 error message, however there will be no authentication window prompted, error.html is somehow loaded all the time. Thanks, Jill -Original Message

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 4/21/2009 5:54 PM, Mark Thomas wrote: > 1. Find an app that you can't reload without OOME > 2. Get a profiler - I like Yourkit >Full disclosure: they give ASF committers a free copy > 3. Reload you app once > 4. Use the profiler to look f

RE: Tomcat shutsdown automatically

2009-04-23 Thread Peter Crowther
> From: Potri Raaja [mailto:potri.ra...@hotcourses.co.in] > The below mentioned details are the error message from the > hs_err_pid29022.log file, can you please look in to this and > help me out to trace the exact issue. The fault is happening in some native code in the Oracle driver (libocijdbc

RE: Tomcat shutsdown automatically

2009-04-23 Thread Potri Raaja
The below mentioned details are the error message from the hs_err_pid29022.log file, can you please look in to this and help me out to trace the exact issue. Peter Crowther wrote: > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGSEGV (0xb) at pc=0x2b0513e6,

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
The correct tag should be 401 /error401.jsp Thanks, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, April 23, 2009 10:18 AM To: Tomcat Users List Subject: Re: customize HTTP Status 401 error page -BEGIN PGP SIGNED MES

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
Would you give some instructions on doing that? I tried to put /error.html in application own web.xml And tomcat conf/web.xml, they won't work. The HTTP Status 401 error page is still used. Thanks, Jill -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] S

Re: Apache HTTP before Tomcat

2009-04-23 Thread David kerber
Bart Ophelders wrote: Hi, If I put an Apache HTTP server in front of Tomcat, will this influence performance? Yes, but probably not in the way you are expecting. D Thanks in advance! Bart Ophelders - To unsubscr

Re: Apache HTTP before Tomcat

2009-04-23 Thread André Warnier
Peter Crowther wrote: From: Bart Ophelders [mailto:bartopheld...@hotmail.com] If I put an Apache HTTP server in front of Tomcat, will this influence performance? Yes. :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apa

Re: customize HTTP Status 401 error page

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jill, You've hijacked your own thread. :( On 4/23/2009 11:09 AM, Jill Han wrote: > If using Basic authentication, the unsuccessful login, or just click > "Cancel" button will trigger the 401 page. < > My question is > 1. is there a way to customize

Re: JVM crash issue

2009-04-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jochen, On 4/23/2009 4:14 AM, jochen wrote: > Thanks for Peter, the hardware is the same box with production > machine Do you mean the same physical machine, or a machine with identical specs? If the former, that's bad. If the latter, that's good, b

Re: Apache HTTP before Tomcat

2009-04-23 Thread Rainer Jung
On 23.04.2009 16:13, Bart Ophelders wrote: > Hi, > > If I put an Apache HTTP server in front of Tomcat, will this influence > performance? > > Thanks in advance! Latency goes up somewhere in the two digit millisecond range. Whether that matters depends on your use cases. For real life applica

Re: Tomcat users meetup in London

2009-04-23 Thread Pid
Mark Thomas wrote: > Just trying to gauge interest at this point. How many folks would be > interested in some form of meetup in London, UK? > > If so, what would you want to do? Discuss something, have a presentation > on something, hack up some code to do something, just have a few beers, > some

customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
If using Basic authentication, the unsuccessful login, or just click "Cancel" button will trigger the 401 page. My question is 1. is there a way to customize "cancel" action? So there will be no error message prompted. 2. Is there a way to customize tomcat HTTP Status 401 error message to a more

WebApp not loading, how to find out why?

2009-04-23 Thread Ducharme, Ugo
I have a tomcat6 server that acts normally but refuse to load one of our webapps. I can't seem to find out why. Do you have recommendations on how to find out why? I looked at the server using JMX and JConsole and I can see it under the WebModule node but none of its servlets are loaded, I don'

RE: Tomcat users meetup in London

2009-04-23 Thread Edward Bicker
I am up for fish 'n' chips at duggy's -Original Message- >From: "Caldarale, Charles R" >Sent: Apr 23, 2009 9:17 AM >To: Tomcat Users List >Subject: RE: Tomcat users meetup in London > >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Tomcat users meetup in London >> >> Just

Re: Tomcat users meetup in London

2009-04-23 Thread Mikolaj Rydzewski
Mark Thomas wrote: Just trying to gauge interest at this point. How many folks would be interested in some form of meetup in London, UK? If so, what would you want to do? Discuss something, have a presentation on something, hack up some code to do something, just have a few beers, something else

Re: [OT] Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread Pid
Caldarale, Charles R wrote: >> From: André Warnier [mailto:a...@ice-sa.com] >> Subject: Re: Headstart on "Resolving OOM-PermGen errors on webapp >> reload" >> >> You'll probably want mountains, and chocolate. Switzerland ? > > London. $ vs pound is pretty decent right now. It's been 45+ years si

Re: Headstart on "Resolving OOM-PermGen errors on webapp reload"

2009-04-23 Thread János Löbb
are there any good primers on eden, Stanislaw Lem : Eden :) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

RE: Apache HTTP before Tomcat

2009-04-23 Thread Peter Crowther
> From: Bart Ophelders [mailto:bartopheld...@hotmail.com] > If I put an Apache HTTP server in front of Tomcat, will this > influence performance? Yes. - Peter - To unsubscribe, e-mail: users-unsubscr...@tomcat.ap

Apache HTTP before Tomcat

2009-04-23 Thread Bart Ophelders
Hi, If I put an Apache HTTP server in front of Tomcat, will this influence performance? Thanks in advance! Bart Ophelders

RE: Tomcat users meetup in London

2009-04-23 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Tomcat users meetup in London > > Just trying to gauge interest at this point. How many folks would be > interested in some form of meetup in London, UK? If it were next week, I'd be up for it - putting faces on names would be enlightening

RE: Tomcat shutsdown automatically

2009-04-23 Thread Caldarale, Charles R
> From: Potri Raaja [mailto:potri.ra...@hotcourses.co.in] > Subject: Tomcat shutsdown automatically > > # An unexpected error has been detected by HotSpot Virtual Machine: > # SIGSEGV (0xb) at pc=0x2b0513e6, pid=29022, tid=586152864 Thoroughly check your hardware; RAM errors can cause this. > #

RE: Tomcat shutsdown automatically

2009-04-23 Thread Peter Crowther
> From: Potri Raaja [mailto:potri.ra...@hotcourses.co.in] > Our Tomcat application server is throwing the below > mentioned eror and > it shutsdown automatically. This happens occasionally i.e., > once or twice in > a week.Can you please suggest us with a solution to solve this issue. [...] >

Tomcat shutsdown automatically

2009-04-23 Thread Potri Raaja
Hi, Our Tomcat application server is throwing the below mentioned eror and it shutsdown automatically. This happens occasionally i.e., once or twice in a week.Can you please suggest us with a solution to solve this issue. # An unexpected error has been detected by HotSpot Virtual Machine:

Tomcat users meetup in London

2009-04-23 Thread Mark Thomas
Just trying to gauge interest at this point. How many folks would be interested in some form of meetup in London, UK? If so, what would you want to do? Discuss something, have a presentation on something, hack up some code to do something, just have a few beers, something else? Mark ---

Steps to configure Tomcat 5.0 with PKCS#11 support

2009-04-23 Thread Rajat Gupta05
Hi, We are using tomcat 5.0.28 and JDK 1.5.10. Now, there is some requirement to use tomcat with PKCS#11 support. Initial study shows that a hardware token would be needed for this. 1) Is minimum tomcat version 5.5 is must for this? 2) Is this hardware requirement is mandatory? Or an

Re: JVM crash issue

2009-04-23 Thread jochen
Thanks for Peter, the hardware is the same box with production machine, and those type of machines works very well for serving large-load internet service, and the hardware itself already hosted very well for half year before I deployed new functions to it. Again the new functions worked fine for

Re: OCI and Realm Problem

2009-04-23 Thread Andrea De Gaetano
Christopher Schultz-2 wrote: > > > Are you running a 64-bit JVM? How about the native portion of the Oracle > library? Is that 32-bit or 64-bit? > > It was a 64 bit enviroment... I tried the same application on another enviroment and the problem doesn't appear. I don't know what it is the