Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Mikolaj Rydzewski
On Thu, 5 May 2011 02:19:59 +0200, Jakub Królikowski wrote: Before upgrade, if jvm crashed, the hs_err_pid*.log file was always in root home directory. My $0.02: do not run tomcat as root. You can try to log GC output to diagnose OOM errors. -- Mikolaj Rydzewski m...@ceti.pl

HowTo place Manager-App

2011-05-05 Thread Alexander Diedler
Hello, What´s the best place to make access to the manager-app? 1. Place a separate context for Manager in the Host-Tag in the server.xml 2. Place the manager.xml in the /conf/Catalina/[Hostname]/ path? Best regards Alexander smime.p7s Description: S/MIME cryptographic

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jakub, On 05/05/2011 02:19 AM, Jakub Królikowski wrote: I made an Tomcat and JVM upgrade few weeks ago (to Tomcat 6.0.32 and jdk 1.6.0.24), and since that time I can notice a very strange behavior: sometimes, even once a day, Tomcat stops

Re: HowTo place Manager-App

2011-05-05 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Alexander, On 05/05/2011 10:53 AM, Alexander Diedler wrote: What´s the best place to make access to the manager-app? 1. Place a separate context for Manager in the Host-Tag in the server.xml 2. Place the manager.xml in the

Re: Tomcat 6 Struts 1.3

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cpanon, On 5/4/2011 2:47 PM, cpanon wrote: What I find so inscrutable is I know I am hitting the second state with the different jsp for the report tile. I know that b/c I have a breakpoint set on the return mapping.findForward(posSO); What

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 5/4/2011 1:07 AM, Felix Schumacher wrote: It could've been the garbage collector itself. Just yesterday I had an oom on permgen, which lead to a major-gc loop. I could see the loop nicely as I had enabled logging of gc activity with

Release date for Tomcat 7.0.13?

2011-05-05 Thread Chris Dumoulin
Can anyone give a rough guess as to when Tomcat 7.0.13 will be released? There's a fix in there that I'm looking forward to getting. Thanks, Chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Release date for Tomcat 7.0.13?

2011-05-05 Thread Mark Thomas
On 05/05/2011 14:47, Chris Dumoulin wrote: Can anyone give a rough guess as to when Tomcat 7.0.13 will be released? There's a fix in there that I'm looking forward to getting. Tomcat 7 releases around the start of every month. 7.0.13 is a little overdue. I have just finished working through the

Re: Slow SSL connections after Tomcat 5 to 7 migration

2011-05-05 Thread Michał Kapituła
Hello, I've made some thread dumps with https connection in progress. W dniu 2011-05-04 15:49, Caldarale, Charles R pisze: From: Michał Kapituła [mailto:michal.kapit...@comarch.pl] Subject: Slow SSL connections after Tomcat 5 to 7 migration I've just tested the page generation time via local

Re: Release date for Tomcat 7.0.13?

2011-05-05 Thread Chris Dumoulin
Thanks for the info Mark! On May 5, 2011 09:59:54 am Mark Thomas wrote: On 05/05/2011 14:47, Chris Dumoulin wrote: Can anyone give a rough guess as to when Tomcat 7.0.13 will be released? There's a fix in there that I'm looking forward to getting. Tomcat 7 releases around the start of

Re: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error

2011-05-05 Thread fsmaniac
Andre: I followed your idea and did the following - uninstalled the .exe install of 6.0.32, extracted the 64-bit zip, and copied my old conf folder back on top of the one that the zip created. Added the environment variable JAVA_HOME in Windows. Ran startup.bat - Tomcat tries to start, but

Deployment problem on Tomcat 7.0.12

2011-05-05 Thread Dmitri Pissarenko
Hi! When I try to deploy a WAR file by dropping it into webapps directory, I get following message in the console: 04.05.2011 19:34:07 org.apache.catalina.startup.HostConfig deployWAR SEVERE: Error deploying configuration descriptor xyz.war I didn't find any hints about the detailed cause of

Re: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error

2011-05-05 Thread André Warnier
fsman...@netscape.net wrote: Andre: I followed your idea and did the following - uninstalled the .exe install of 6.0.32, extracted the 64-bit zip, and copied my old conf folder back on top of the one that the zip created. Added the environment variable JAVA_HOME in Windows. Ran startup.bat

Re: Slow SSL connections after Tomcat 5 to 7 migration

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michał, On 5/5/2011 10:21 AM, Michał Kapituła wrote: I thought that seperate SSL Handshake could be made for each of the requests, but I can't see such behaviour in the dumps. Only one or zero threads commiting a handshake, others appear to

Re: Deployment problem on Tomcat 7.0.12

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dmitri, On 5/5/2011 10:55 AM, Dmitri Pissarenko wrote: When I try to deploy a WAR file by dropping it into webapps directory, I get following message in the console: 04.05.2011 19:34:07 org.apache.catalina.startup.HostConfig deployWAR SEVERE:

RE: tomcat 7: is it possible to config tomcat common classloader to point to other location?

2011-05-05 Thread Yongqin Xu
Hello, Churck, I tried to use $CATALINA_OPTS env to set my ${oracle.common.home} variable in common.loader property, starting TC has no problem, but when shutting down TC, it gives me error saying it could not find the jar. I added echo to print CATALINA_OPTS in catalina.sh script.

Re: modjk apache response questions

2011-05-05 Thread Harsimranjit singh Kler
Hi any other input required ? On Wed, May 4, 2011 at 9:48 AM, Harsimranjit singh Kler simran...@gmail.com wrote: Hi i have done testing as required using ab- please find details :. Please let me knw if anything other details required. Is this always manadatory that maxthread in

storing images

2011-05-05 Thread alexis
Hello all, im facing an issue, ive been testing for a while different approaches without success. I have a servlet that basically does . creates an image . store the image on disk . returns an html img tag pointing to the stored image. reason why the servlet doesnt returns the image directly

Re: storing images

2011-05-05 Thread David kerber
On 5/5/2011 2:19 PM, alexis wrote: Hello all, im facing an issue, ive been testing for a while different approaches without success. I have a servlet that basically does . creates an image . store the image on disk . returns an htmlimg tag pointing to the stored image. reason why the

Re: Re: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error

2011-05-05 Thread Terence M. Bandoian
On 1:59 PM, fsman...@netscape.net wrote: Andre: I followed your idea and did the following - uninstalled the .exe install of 6.0.32, extracted the 64-bit zip, and copied my old conf folder back on top of the one that the zip created. Added the environment variable JAVA_HOME in Windows. Ran

RE: storing images

2011-05-05 Thread Caldarale, Charles R
From: alexis [mailto:alz...@gmail.com] Subject: storing images So, i have to create the image on the servlet (done) , store the image on the disk (done), and return the img tab also done. Thing is, where im able to store the image from the servlet im not able to read it from the jsp.

RE: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error

2011-05-05 Thread Caldarale, Charles R
From: fsman...@netscape.net [mailto:fsman...@netscape.net] Subject: Re: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error Faulting application name: java.exe, version: 6.0.250.6, time stamp: 0x4da6a804 Faulting module name: jvm.dll, version: 20.0.0.11, time stamp:

RE: Slow SSL connections after Tomcat 5 to 7 migration

2011-05-05 Thread Caldarale, Charles R
From: Michał Kapituła [mailto:michal.kapit...@comarch.pl] Subject: Re: Slow SSL connections after Tomcat 5 to 7 migration Really I don't know what to search for there (maybe you could give me some clues?). Look to see what the threads are doing. Some will be waiting on monitors, some

Re: Tomcat 6.0.32 on 64-bit 2008 server - Event 1000, Application Error

2011-05-05 Thread fsmaniac
After some waiting with Tomcat still down, I tried startup.bat again, and so far I'm not getting any errors. I've been starting and stopping Tomcat with the .bat scripts, and can't seem to get it to break. Time has been my enemy the past few days with this, so I'm expecting it to break at

Preventing or recovering from SocketException: Interrupted system call

2011-05-05 Thread Joel Klein
I'm using Tomcat 5.5 to host a webapp that we deploy on Windows, Linux, and OS X. The webapp includes a Java Native Library. Right now we're seeing a scenario only on Mac OS X where Tomcat shuts down with this message: SEVERE: StandardServer.await: accept: java.net.SocketException:

Re: Tomcat 6 Struts 1.3

2011-05-05 Thread cpanon
Hi Martin What is so odd is it is all loading just fine as witnessed by the fact that the default case works. Either the frameset way, the tiles way or the most primitive jsp:include, all show the default client view, cache the applet and work quite well. The problem is when I want to change

RE: storing images

2011-05-05 Thread Leo Donahue - PLANDEVX
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: storing images From: alexis [mailto:alz...@gmail.com] Subject: storing images You have a couple of options: 1) Create a dummy webapp whose sole purpose is to provide a location for the

Re: storing images

2011-05-05 Thread alexis
perfect, ill check this. Thanks for the answer. On May 5, 2011, at 5:42 PM, Leo Donahue - PLANDEVX wrote: -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Subject: RE: storing images From: alexis [mailto:alz...@gmail.com] Subject: storing images

Re: modjk apache response questions

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harsimranjit, On 5/5/2011 2:14 PM, Harsimranjit singh Kler wrote: any other input required ? To me, it just looks like higher load=slower response time. Sounds like you have maxed-out your hardware. A 20x load increase with only a 2x response time

Re: storing images

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexis, On 5/5/2011 2:19 PM, alexis wrote: I have a servlet that basically does . creates an image . store the image on disk . returns an html img tag pointing to the stored image. there's no way to return binary content (the image) from the

Re: storing images

2011-05-05 Thread alexis
What i did (im testing and profiling it) is. As the images are around 10/12 and each image has around 30 to 35k. Im storing the images as servletcontext attribute. So calling to the servlet with ?code=1 builds and stores image1 on servlet context. And returns html with img src=servlet?get=1

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Jakub Królikowski
On Thu, May 5, 2011 at 3:03 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Jakub Królikowski [mailto:ja...@pakamera.com.pl] Subject: Tomcat 6 crash, no log, no hs_err_pid file sometimes, even once a day, Tomcat stops suddenly. There is no java process anymore, there is no

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Jakub Królikowski
On Thu, May 5, 2011 at 8:54 AM, Mikolaj Rydzewski m...@ceti.pl wrote: On Thu, 5 May 2011 02:19:59 +0200, Jakub Królikowski wrote: Before upgrade, if jvm crashed, the hs_err_pid*.log file was always in root home directory. My $0.02: do not run tomcat as root. Why? You can try to log GC

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Jakub Królikowski
On Thu, May 5, 2011 at 3:03 PM, Thomas Freitag tho...@freit.ag wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jakub, On 05/05/2011 02:19 AM, Jakub Królikowski wrote: I made an Tomcat and JVM upgrade few weeks ago (to Tomcat 6.0.32 and jdk 1.6.0.24), and since that time I can

RE: storing images

2011-05-05 Thread Martin Gainty
achieved if you correspond the userid-imageid parameter with the acquired image identifier e.g. ?code=1.1 puts user1 image 1 on servlet and returns img src=servlet?get=1.1 ?code=1.2 puts user1 image 2 on servlet and returns img src=servlet?get=1.2 ?code=2.1 puts user2 image 1 on servlet and

Re: storing images

2011-05-05 Thread alexis
Yes for the ajax. If im getting it well, i have no need to tie the user with an image instance. image1 is the same for every users. Isnt servletcontext shared within the webapp? Meaning that every session access the same servletcontext? Regards Enviado desde blackberry -Original

RE: storing images

2011-05-05 Thread Martin Gainty
yes session variables would be specific to user's session servlet-context and params are available to any requestor who accesses the servlet Martin Gainty __ Jogi és Bizalmassági kinyilatkoztatás/Verzicht und Vertraulichkeitanmerkung/Note de déni

Re: Tomcat 6 crash, no log, no hs_err_pid file

2011-05-05 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jakub, On 05/06/2011 02:38 AM, Jakub Królikowski wrote: VM arguments: -Djava.util.logging.config.file=/usr/lib/tomcat/conf/logging.properties -Xmx3000m -Xms1500m -Xmn700m -XX:PermSize=768m -XX:MaxPermSize=1000m -XX:+UseConcMarkSweepGC