JVM crash issue

2009-04-23 Thread jochen
Hi all, I deployed an inhouse application in Tomcat 6.0 and I experienced random JVM crashes for two weeks. I searched the archieves for this topic, and went through the Troubleshooting guild for Java SE6 with HotSpot VM spec again, but still unable to fiure out what could have caused those

RE: JVM crash issue

2009-04-23 Thread Peter Crowther
From: jochen [mailto:songzhou...@gmail.com] I deployed an inhouse application in Tomcat 6.0 and I experienced random JVM crashes for two weeks. Are you *absolutely certain* your hardware is good? We've had several reports of JVM crashes on this list where the real problem is faulty hardware

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

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

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

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

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:

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. [...] # An

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. # C

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. I

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: 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:

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: [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 since I've

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

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 chuck.caldar...@unisys.com Sent: Apr 23, 2009 9:17 AM To: Tomcat Users List users@tomcat.apache.org Subject: RE: Tomcat users meetup in London From: Mark Thomas [mailto:ma...@apache.org] Subject:

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

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

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, something

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 applications

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,

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 cancel

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:

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

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-page/error.html/error-page 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

RE: customize HTTP Status 401 error page

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

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: 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

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 for

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
I still need helps. Here is the web.xml ... login-config auth-methodBASIC/auth-method realm-nameTESTING/realm-name /login-config error-page error-code401/error-code location/error.html/location /error-page ... The error.html is replaced the 401 error message, however

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

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 instances of

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

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

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

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

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

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 system

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 is a

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

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? Where?

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 ... login-config auth-methodBASIC/auth-method realm-nameTESTING/realm-name /login-config error-page error-code401/error-code

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) --- Server

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 Host name=192.168.1.23 debug=1 appBase=/var/www/testapp unpackWARs=true The

RE: customize HTTP Status 401 error page

2009-04-23 Thread Jill Han
Here is web.xml web-app display-nameFaculty Resources/display-name security-constraint web-resource-collection web-resource-nameFACRES/web-resource-name url-pattern*/url-pattern /web-resource-collection auth-constraint

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 have

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: 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

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 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

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 appears to

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

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 url-pattern http://edocs.bea.com/wls/docs61/webapp/web_xml.html what is the webapplication name? what happens when you supply the webapplication name to url-pattern and restart TC? Martin

Re: JVM crash issue

2009-04-23 Thread Dan Armbrust
On Thu, Apr 23, 2009 at 3:59 PM, Anthony J. Biacco abia...@formatdynamics.com 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

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 url-pattern and restart TC? That would violate the servlet spec. The webapp name *never* appears in web.xml, other than perhaps as

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: VirtualHost … DocumentRoot

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

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,

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 comparable in

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 where

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 do

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 jithu.m...@gmail.com Date: Wed, Apr 22, 2009 at 5:38 PM Subject: username/password being logged

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; Fryer's Delight

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 LocationMatch

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

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

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 Friday

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, how does the

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

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