Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-12 Thread ramkumar
Hi, Thank you for your response. I dont the communication api version i think it is 2.0. I searched for latest version but i could not find it for windows OS. I get it from some uploader site. My WEB-INF\LIB has following jar files (1)commons-logging-1.1.1.jar (2)el-api

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-12 Thread Anurag Kapur
Thanks for your inputs. I have probably attached an incomplete snapshot of the memory utilization graph. What happens as more time progresses is that the utilization keeps increasing and the amount of heap that gets collected keeps decreasing. After some time the system starts doing Full GCs every

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-12 Thread Mark Thomas
On 12/10/2010 19:45, Christopher Schultz wrote: > markt marked this bug as FIXED, but I see no indication of a resolution. > Perhaps that was meant to be WONTFIX? Nope. I meant FIXED. As in "There is now an option you can use to disable this behaviour if you don't like it". Mark

Re: disabling session management

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emerson, On 10/11/2010 8:54 AM, emerson wrote: > Thousands of Session instances inside the sessioins attribute of the > org.apache.catalina.session.StandardManager. > In theory we are not calling getSessions on the middle tier and as you > mentioned,

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ramkumar, On 10/11/2010 5:00 AM, ramkumar wrote: > Hi , i am exporting war file using ecclipse ide(Ecclipse has option to > export .war file). I am starting tomcat service runner(tomcat6.exe) and my > server.xml file is Can you show us what is in you

Re: Error 503 ocurring when server under load

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 10/12/2010 3:22 PM, Jeffrey Janner wrote: > I just occurred to me that I don't think anyone's asked if these are > net-mounted file systems. I've seen this timestamp-shifting before, > but only on net-mounted filesystems. Usually the sou

RE: Error 503 ocurring when server under load

2010-10-12 Thread Jeffrey Janner
I just occurred to me that I don't think anyone's asked if these are net-mounted file systems. I've seen this timestamp-shifting before, but only on net-mounted filesystems. Usually the source and local systems are set to different timezones (or DST settings). > -Original Message- > F

RE: Error getting Thread dump on Windows

2010-10-12 Thread Jeffrey Janner
> -Original Message- > From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Sent: Tuesday, October 12, 2010 12:28 PM > To: Tomcat Users List > Subject: RE: Error getting Thread dump on Windows > > > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > > Subject: RE: Er

Re: Tomcat hung - still processing a request that has yet to finish

2010-10-12 Thread Konstantin Kolinko
2010/10/12 Jason Britton : > (..) I can > kill -9 it but didn't know if there was any additional information I could > gather before stopping it. > Take a thread dump (or better three dumps in a row). You will know what Servlet / JSP page is busy and what it is doing. Best regards, Konstantin Kol

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anurag, On 10/11/2010 12:30 PM, Anurag Kapur wrote: > I have added my problem statement with Images to by blog here: > http://anuragkapur-techbytes.blogspot.com/2010/10/tomcat-5527-memory-leak-in-escenic-cms.html The memory profile you show there app

Re: Error 503 ocurring when server under load

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/11/2010 4:40 PM, Rob G wrote: > So if I'm reading your email and the docs correctly. I should just > comment out the cachesize=10 from the workers.properties. I would. > And since for connection_pool_size (that replaced it) JK will > di

Tomcat hung - still processing a request that has yet to finish

2010-10-12 Thread Jason Britton
Hi all, Tomcat 6.0.29 on 64bit RHEL 5.5. This particular tomcat instance had been running fine for several days, today hung, stopped responding to requests, no interesting log messages appeared until calling shutdown.sh. Then the following appeared: (appears multiple times at end of log) ERROR 1

Re: Disable class monitoring for reloading container classes

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jane, On 10/9/2010 11:09 AM, Jane Muse wrote: > My understanding from the docs is that reloading="false" means you > can't drop in a war file while tomcat is running and expect it to > deploy. No, ("reloading" is meaningless) means that Tomcat will

Re: Disable class monitoring for reloading container classes

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jane, On 10/9/2010 12:02 AM, Jane Muse wrote: > Chris wrote: > >> It's too bad the >> log doesn't show the old timestamp versus the new one. > > The log shows the timestamp for the file I meant that it would be nice if the log said something like

Re: Disable class monitoring for reloading container classes

2010-10-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/10/2010 9:09 AM, André Warnier wrote: > What would be really nice, is if someone wrote a quick Java equivalent > to the perl script I submitted. See below. There's actually more code than absolutely necessary, but it's more straightforwa

Re: Configuring which Servlet is invoked

2010-10-12 Thread Mark Eggers
Yep, you're right on the Alias of course. This is what happens when I try to follow a thread at 3 am. Yes, for testing only. Obviously host files will have no impact for other hosts. Sorry for the comments. /mde/ - Original Message From: "Caldarale, Charles R" To: Tomcat Users List

RE: Access Log Valve - Query String

2010-10-12 Thread Leo Donahue - PLANDEVX
>-Original Message- >From: Leo Donahue - PLANDEVX [mailto:leodona...@mail.maricopa.gov] >Subject: Access Log Valve - Query String > >I am currently using the common pattern to log all requests using the >Access Log Valve. > >directory="c:/apache-tomcat-logs/webappname" >pref

RE: Error getting Thread dump on Windows

2010-10-12 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: Error getting Thread dump on Windows > Just need to know what's up with the Windows error when > taking a stack dump. Likely because the account used for the service has very restricted capabilities, or the current dire

RE: Error getting Thread dump on Windows

2010-10-12 Thread Jeffrey Janner
Never mind trying to solve the hang/busy problem. I think I have that one sussed. Just need to know what's up with the Windows error when taking a stack dump. > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Tuesday, October 12, 2010 11:58 AM > To: T

RE: Error getting Thread dump on Windows

2010-10-12 Thread Jeffrey Janner
I can use Process Explorer at the windows level to get the Windows stack of what appears to be the runaway thread: ntkrnlpa.exe+0x8db2e ntkrnlpa.exe+0x29a82 ntkrnlpa.exe+0x331a4 hal.dll+0x6199 hal.dll+0x63d9 hal.dll+0x6577 hal.dll+0x3902 jvm.dll!AsyncGetCallTrace+0x3baf0 The thread is using about

Error getting Thread dump on Windows

2010-10-12 Thread Jeffrey Janner
Tomcat 5.5.17 (running as a service) Java JDK 1.5.0_06 (yes, I know, really old) Windows Server 2003 SP2 (up to date) I have a Tomcat instance (one of many) that appears to have some hung/looping threads. I tried to use the system tray to take a thread dump (right-click, pick thread dump) a

Access Log Valve - Query String

2010-10-12 Thread Leo Donahue - PLANDEVX
I am currently using the common pattern to log all requests using the Access Log Valve. Question: I'd like to start logging the Query String - I think. The webapp is a JSF webapp, using Sun RI 1.2 of JSF. I'm not interested in logging the javax.faces.ViewState parameter, but if I us

Re: unable to access comm ports on apache tomcat 6.0.18

2010-10-12 Thread efftronics
Hi , I am sure that no other progams are mot using com ports. I am connecting to com port in listener class.Today i found that i am working with jdk1.6 and jre 1.4 please tell whether all these problems are due to different versions of jdk and jre ? Thank you. -- View this message in co

Re: Configuring which Servlet is invoked

2010-10-12 Thread André Warnier
Caldarale, Charles R wrote: For testing, this can be done in the hosts file. Only if the client is running on the same system as Tomcat. Not true. But it must be done in the hosts file of the client, not the server. - To u

APR based tomcat native library not found

2010-10-12 Thread efftronics
Hi, I am running apache tomcat 6.0.18 , java 1.6 on windows xp platform. I copied tcnative-1.dll and openssl.exe(1.1.14 version) in C:\apache-tomcat-6.0.18\bin . But i when i run startup.bat it showing that "APR based tcnative library not found" . I also tried with 1.1.8,1.1

RE: Configuring which Servlet is invoked

2010-10-12 Thread Caldarale, Charles R
> From: Mark Eggers [mailto:its_toas...@yahoo.com] > Subject: Re: Configuring which Servlet is invoked > If that's the case, then what I think you need are aliases > along with the default host definition. elements are *never* needed with the defaultHost; adding them may serve a documentation

Re: Printing using system commands from Tomcat as a service

2010-10-12 Thread Peter Crowther
On 12 October 2010 11:57, F2Andy wrote: > To > print, it creates a new file, which is then copied to lpt4: (which is > actually a USB port on a networked computer, via "net use") > > Exactly where and when is the "net use" running? There are two key points with Windows services: 1) A service st

Re: Printing using system commands from Tomcat as a service

2010-10-12 Thread Pid
On 12/10/2010 11:57, F2Andy wrote: > > Using Ruby on Rails on Tomcat, I want to sent a file to a printer, which > should be easy via a system command. It works if I run Tomcat from the > command line, but not if Tomcat is running as a service. > > Some details... > > I am using Tomcat 6 on Windo

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Christopher Dodunski
Problem solved!! Yes, I had been switching appBase paths trying to get it sorted. Deleting the rogue XML files has fixed the problem. I've been chasing red herrings half the day. Thank you very much for recognising the probable cause, and pointing me in the right direction. Regards, Chris.

Printing using system commands from Tomcat as a service

2010-10-12 Thread F2Andy
Using Ruby on Rails on Tomcat, I want to sent a file to a printer, which should be easy via a system command. It works if I run Tomcat from the command line, but not if Tomcat is running as a service. Some details... I am using Tomcat 6 on Windows Server 2003, Rail 2.3.9, JRuby 1.5.2 (I apprecia

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Pid
On 12/10/2010 11:21, Christopher Dodunski wrote: > Sorry, try this instead... > > optomus:/usr/local/tomcat/conf/Catalina# ls > blog.christopher.net.nz blog.optomus.com localhost > > [I have no defined for this next one, so I guess it's safe to delete] > optomus:/usr/local/tomcat/conf/Catalina

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Christopher Dodunski
Sorry, try this instead... optomus:/usr/local/tomcat/conf/Catalina# ls blog.christopher.net.nz blog.optomus.com localhost [I have no defined for this next one, so I guess it's safe to delete] optomus:/usr/local/tomcat/conf/Catalina# ls blog.christopher.net.nz/ christopher.xml host-manager.xml

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Pid
On 12/10/2010 10:45, Christopher Dodunski wrote: > Hi, > > I'm running Tomcat 6, an my directory structure seems slightly different. > But this is what I think you are asking for... > > optomus:~# ls /usr/local/tomcat/work/Catalina/ > blog.christopher.net.nz blog.optomus.com http: localhost >

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Christopher Dodunski
Hi, I'm running Tomcat 6, an my directory structure seems slightly different. But this is what I think you are asking for... optomus:~# ls /usr/local/tomcat/work/Catalina/ blog.christopher.net.nz blog.optomus.com http: localhost optomus:~# ls /usr/local/tomcat/work/Catalina/blog.christopher.

Re: Tomcat looking for document bases that don't exist

2010-10-12 Thread Pid
On 12/10/2010 10:22, Christopher Dodunski wrote: > Hi, > > I have added an additional to server.xml, with its own appBase, and > servicing several domains by way of elements. When Tomcat is > restarted, Catalina logs errors relating to not finding document bases. > These match applications run

Tomcat looking for document bases that don't exist

2010-10-12 Thread Christopher Dodunski
Hi, I have added an additional to server.xml, with its own appBase, and servicing several domains by way of elements. When Tomcat is restarted, Catalina logs errors relating to not finding document bases. These match applications running on my default "localhost" . Why is Tomcat looking for t

Re: Configuring which Servlet is invoked

2010-10-12 Thread Pid
On 12/10/2010 05:20, Christopher Dodunski wrote: > Catalina logs contain some entries that may shine some light on the matter... > > SEVERE: Error starting static Resources > java.lang.IllegalArgumentException: Document base > /home/roller/application/optomus does not exist or is not a readable >

RE: JSESSIONID weakness Severity in Tomcat 6.0.29?

2010-10-12 Thread Rob Gregory
As far as I know Tomcat will always generate a new id for each session it generates. As for how they have detected that your application is vulnerable to session fixation issues etc. try having a look at Burp Suite http://portswigger.net/burp/ which detects a great deal of web application flaws. R

Re: Configuring which Servlet is invoked

2010-10-12 Thread Christopher Dodunski
Hi, you're looking at an old version of . The latest (just above) contains "blog.optomus.com" and contains several elements. Chris. > On 12/10/2010 02:54, Christopher Dodunski wrote: >> http://blog.christopher.net.nz"; >> appBase="/home/roller/application" >> unpackWARs="true" au

Re: Is there a Bug with JConsole for monitering TOMCAT 6.0.29 Running on Linux

2010-10-12 Thread Pid
On 12/10/2010 06:53, Karthik Nanjangude wrote: > Hi > >>> Are you connecting through a firewall? > > No Firewall ( ALL of these server's are behind the Firewall and the servers > are available thru a local hub ) > > I am able to use Putty (SSH Port 22) to connect to that server for other > Acti

Re: Configuring which Servlet is invoked

2010-10-12 Thread Pid
On 12/10/2010 02:54, Christopher Dodunski wrote: > http://blog.christopher.net.nz"; > appBase="/home/roller/application" > unpackWARs="true" autoDeploy="true" > xmlValidation="false" xmlNamespaceAware="false" /> > > Remove the "http://"; bit from the name attribute. p

Re: Tomcat5 and ajp13 (port 8009) localhost only

2010-10-12 Thread Felix Schumacher
On Tue, 12 Oct 2010 09:42:13 +0200, Petr Hracek wrote: > Dear tomcat users, > > I would like to configure tomcat5 so that ajp13 which used port 8009 > will listen on localhost only. > In the front of tomcat5 is apache 2.2. > Could you please help me how to do that so that output of command > lsof

Tomcat5 and ajp13 (port 8009) localhost only

2010-10-12 Thread Petr Hracek
Dear tomcat users, I would like to configure tomcat5 so that ajp13 which used port 8009 will listen on localhost only. In the front of tomcat5 is apache 2.2. Could you please help me how to do that so that output of command lsof -i | grep java will show me that 8009 will be only localhost and not

Re: Configuring which Servlet is invoked

2010-10-12 Thread Mark Eggers
Chris, I'm going to leap into the middle of this discussion. Please feel free to discount what I'm going to say since I've just briefly glanced at the Roller 5.0 RC2 documentation. >From what I understand, the intent is to have one Roller application running >as the default web application (