Heap dump of servlet

2008-10-03 Thread Mohit Anchlia
I have a servlet running under tomcat. Question is how do I take haeap dump of only servlet instance. On stand alone applications it's easy to do with kill -QUIT PID but in this case there is no PID of a servlet. If I do on tomcat's PID then I'll get lost. -

tomcat service restart

2008-10-03 Thread Hardik Shah
hi my problem is not common i have used tomcat 5.0.30 and java jdk 1.4.1.01 some time when application runs ,its not sure but tomcat service is stopped and we have to restart this. i am using struts 1.2 and hibernate 2 for my apps i could not justify this thing! i feel some like 1.i have gen

Re: useSendFile=true skips compression

2008-10-03 Thread Bill Barker
"Shaun Senecal" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Could someone explain to me why the NIO Connector will ignore the > compression settings for large files if useSendFile is enabled (it is by > default)? It seems to me that if compression is enabled you would > specifi

RE: CPU utilization and Tomcat 5.5.20

2008-10-03 Thread Martin Gainty
yes pls follow leon's advice and compare your thread dumps so you can determine TC thread activity and coordinate that to the webapp's resource activity I would look at minHeap, maxHeap and stack parameters from %JAVA_OPTS% a 2004 post http://forums.sun.com/thread.jspa?messageID=10055131 says it

Re: need mod_jk for apache http server 2.0.63 - urgent

2008-10-03 Thread tomcat
At 04:57 PM 10/3/2008, you wrote: Hi, I need mod_jk or the comcat connector. I dont know where to get it from. I searched on google but could not find. Basically i would like to connect from tomcat 5.5.9 to apache http server 2.0.63 installed on solaris 10 machine. Could some body tell me whe

need mod_jk for apache http server 2.0.63 - urgent

2008-10-03 Thread Srinivas Jonnalagadda
Hi, I need mod_jk or the comcat connector. I dont know where to get it from. I searched on google but could not find. Basically i would like to connect from tomcat 5.5.9 to apache http server 2.0.63 installed on solaris 10 machine. Could some body tell me where to get it. Thanks, srinivas jonn

Re: Another confused person trying to get jconsole to monitor tomcat.

2008-10-03 Thread Kees Jan Koster
Dear Martin, http://www.jdocs.com/tomcat/6.0.14/org/apache/catalina/ServerFactory.html ServerFactory.getServer() will return org.apache.catalina.ServerFactory Thanks for the information. I changed the mbean server code to make use of all available mbean servers and now my code can always se

Re: CPU utilization and Tomcat 5.5.20

2008-10-03 Thread Juha Laiho
Reis, Tom wrote: > We are running Tomcat 5.5.20 with jvm 1.5.0_14. Tomcat utilization goes > to 100 percent being used by Tomcat. Any ideas why the utilization would > go so high. Thanks. Please let us have more infromation. Upon startup, it is typical of Tomcat to be very CPU-intensive for a wh

Re: CPU utilization and Tomcat 5.5.20

2008-10-03 Thread Leon Rosenberg
look at your applications inside of tomcat. make thread dumps. Leon On Fri, Oct 3, 2008 at 9:29 PM, Reis, Tom <[EMAIL PROTECTED]> wrote: > We are running Tomcat 5.5.20 with jvm 1.5.0_14. Tomcat utilization goes > to 100 percent being used by Tomcat. Any ideas why the utilization would > go so high

RE: Deploying to a subfolder

2008-10-03 Thread McEahern, Mark S
Mark Thomas wrote: > That is the wrong docBase so the error makes sense but it > should have been converted to ...\apps#myapp What's interesting is that the automatic deployment process takes the war file that I place in webapps/apps#myapp.war and creates a corresponding file in this folder: C

CPU utilization and Tomcat 5.5.20

2008-10-03 Thread Reis, Tom
We are running Tomcat 5.5.20 with jvm 1.5.0_14. Tomcat utilization goes to 100 percent being used by Tomcat. Any ideas why the utilization would go so high. Thanks.

Re: Basic Tribes Questions

2008-10-03 Thread Filip Hanik - Dev Lists
answers inline Mike Wannamaker wrote: Hi, I am currently trying to use Tribes as the clustering layer on our server. My startup code looks like this. if(_tribesChannel == null) { // nothing to do if already running try { _tribesChannel =

Basic Tribes Questions

2008-10-03 Thread Mike Wannamaker
Hi, I am currently trying to use Tribes as the clustering layer on our server. My startup code looks like this. if(_tribesChannel == null) { // nothing to do if already running try { _tribesChannel = new GroupChannel(); // mu

Re: Deploying to a subfolder

2008-10-03 Thread Mark Thomas
McEahern, Mark S wrote: > The log says: > > Oct 3, 2008 11:40:37 AM org.apache.catalina.core.StandardContext > resourcesStart > SEVERE: Error starting static Resources > java.lang.IllegalArgumentException: Document base C:\Program > Files\Apache Software Foundation\Tomcat 6.0\webapps\apps\myapp do

RE: Deploying to a subfolder

2008-10-03 Thread McEahern, Mark S
> From: Mark Thomas [mailto:[EMAIL PROTECTED] > Sent: Friday, October 03, 2008 10:21 AM > To: Tomcat Users List > Subject: Re: Deploying to a subfolder > > McEahern, Mark S wrote: > > I'm using Tomcat 6.0.18. I'd like to deploy an application to the > > context; e.g., > > > > /apps/myapp > >

Re: AW: [TOMCAT] Internal Tomcat Server error (HTTP Status 500): NoClassDefFound

2008-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen, Steffen Heil wrote: > Hi > >> The method yielding the problem is the following one: >> >> private static PageLifecycleFactory getDefaultInstance() >>{ >> if (defaultInstance == null) >> { >> defaultInstance = new Def

Re: Deploying to a subfolder

2008-10-03 Thread Mark Thomas
McEahern, Mark S wrote: > I'm using Tomcat 6.0.18. I'd like to deploy an application to the > context; e.g., > > /apps/myapp > > Here's what I've tried: > > 1. Rename the war file myapp.war --> apps#myapp.war. > > 2. Copy apps#myapps.war to the webapps folder. > > 3. Start Tomcat. > > T

Deploying to a subfolder

2008-10-03 Thread McEahern, Mark S
I'm using Tomcat 6.0.18. I'd like to deploy an application to the context; e.g., /apps/myapp Here's what I've tried: 1. Rename the war file myapp.war --> apps#myapp.war. 2. Copy apps#myapps.war to the webapps folder. 3. Start Tomcat. The app is running after the first time I start the s

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-10-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad, Chad Kellerman wrote: > It's actually a vendor supplied application. I filed a bug/support request > and they returned with a patch. Were you able to inspect the patch? I'm interested to see what they chose to do. > I guess I was wondering if

Re: Support

2008-10-03 Thread Johnny Kewl
- Original Message - From: "Caldarale, Charles R" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, October 03, 2008 3:42 AM Subject: RE: Support From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Support Normally I always recomment lagging a JRE version as well... av

Re: JK and IIS - troubles?

2008-10-03 Thread Rainer Jung
br1 schrieb: > Rainer Jung-3 wrote: >> That might be the reason for trouble. If things start to get slow, the >> web server gets filled by all thenew requests still coming in without >> answering fast enough the existing ones. >> > This starts to make sense now. > I have a few suggestions inlin

Re: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-03 Thread Konstantin Kolinko
2008/10/3 Bhagwat, Vinit (Vinit) <[EMAIL PROTECTED]>: > Hi, > > I am getting following exception > > org.apache.jasper.JasperException: ServletException in > '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found > > when I ported my web application from tomcat 5.5.9 to 5.5.26 > > Follow

Re: Support

2008-10-03 Thread Johnny Kewl
- Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, October 03, 2008 2:37 PM Subject: RE: Support java jar bootstrap.jar works fine for me.. is there ANY possible workaround to this daemon bug? Thanks, Martin Gainty

Re: Native library issue on RHEL5

2008-10-03 Thread Rainer Jung
John Ozarchuk schrieb: > Here is the output of ldd libtcnative-1.so > > libssl.so.6 => /lib64/libssl.so.6 (0x2ace1000) > libcrypto.so.6 => /lib64/libcrypto.so.6 (0x2af2a000) > libapr-1.so.0 => /usr/lib64/libapr-1.so.0 (0x2b272000) > libpthread.so.0 => /lib64/lib

RE: Support

2008-10-03 Thread Martin Gainty
java jar bootstrap.jar works fine for me.. is there ANY possible workaround to this daemon bug? Thanks, Martin Gainty __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. T

Re: Tomcat JVM not releasing deleted files (lsof show delete inodes taking up disk space)

2008-10-03 Thread Chad Kellerman
It's actually a vendor supplied application. I filed a bug/support request and they returned with a patch. I guess I was wondering if there were any jvm startup options I may have over looked that may help with this sort of issues. But it definitely seems to be a coding issue. Thanks, Chad On

Re: Stop Hack attack

2008-10-03 Thread Brantley Hobbs
Mark Thomas wrote: Karthik Nanjangude wrote: Hi SPEC ( Single box) O/s : Unix 11 J2sdk : 1.6 DB : Oracle10g TOMCAT 6.0.18.0 RAM 16 GB A normal WEB application [ User id / Passwd for AAA ] on the following spec is successfully running LIVE [ non clustered mode ] Question : Some h

Re: Using JDT compiler from build.xml

2008-10-03 Thread Mark Thomas
Elalmaire wrote: > Hi, > I'm a new tomcat user. > I'm running Apache Tomcat ver 6.0.18 on Windows Vista with JRE 6 (so I've > setted JRE_HOME). >>From docs, I've read that it's possible to use a jre since "Tomcat 6.0 uses >>the Eclipse JDT Java compiler for compiling JSP pages", but when I try

RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-03 Thread Bhagwat, Vinit (Vinit)
Following is appBase setting for host in server.xml And there is no ROOT context defined. Vinit -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2008 3:49 PM To: Tomcat Users List Subject: Re: Problem with jasper-compiler when ported web applicat

Using JDT compiler from build.xml

2008-10-03 Thread Elalmaire
Hi, I'm a new tomcat user. I'm running Apache Tomcat ver 6.0.18 on Windows Vista with JRE 6 (so I've setted JRE_HOME). >From docs, I've read that it's possible to use a jre since "Tomcat 6.0 uses >the Eclipse JDT Java compiler for compiling JSP pages", but when I try to >compile with ant (the

Jasper compiler version, how to configure

2008-10-03 Thread Dave
In my development environment using JDK 1.5, the jsp compilation is fine. But after deploy to JBoss 4.0.5(w/ tomcat 5.5), the JSP compiler complains templates such as List I started JBoss using jdk 1.5, configured in run.sh (JAVA_HOME). It seems that the JSP compiler is not using the java ver

Re: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-03 Thread Mark Thomas
Bhagwat, Vinit (Vinit) wrote: > Hi, > > I am getting following exception > > org.apache.jasper.JasperException: ServletException in > '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found > > when I ported my web application from tomcat 5.5.9 to 5.5.26 > > Following is code sni

Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26

2008-10-03 Thread Bhagwat, Vinit (Vinit)
Hi, I am getting following exception org.apache.jasper.JasperException: ServletException in '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found when I ported my web application from tomcat 5.5.9 to 5.5.26 Following is code snippet from test1.jsp page under webapps/testapp/dir

Re: Stop Hack attack

2008-10-03 Thread Mark Thomas
Karthik Nanjangude wrote: > Hi > > SPEC ( Single box) > O/s : Unix 11 > J2sdk : 1.6 > DB : Oracle10g > TOMCAT 6.0.18.0 > RAM 16 GB > > > > A normal WEB application [ User id / Passwd for AAA ] on the following spec > is successfully running LIVE [ non clustered mode ] > > Question : S

Stop Hack attack

2008-10-03 Thread Karthik Nanjangude
Hi SPEC ( Single box) O/s : Unix 11 J2sdk : 1.6 DB : Oracle10g TOMCAT 6.0.18.0 RAM 16 GB A normal WEB application [ User id / Passwd for AAA ] on the following spec is successfully running LIVE [ non clustered mode ] Question : Some hacker is trying to bring the System down by polling

Re: Support

2008-10-03 Thread Mark Thomas
Caldarale, Charles R wrote: > The msvcr71.dll file (not msvci70.dll, whatever that is) is required to run > the Tomcat service launcher, but not needed when Tomcat is run via scripts. > > The reason it didn't show up on JRE/JDK 5 is because installation of that JVM > version slams a copy of the