unable to access comm ports on apache tomcat 6.0.18

2010-10-08 Thread efftronics
Hi , I installed apache tomca 6.0.18 sucessfully.In some web application i want to write data to comm port, but my application returning "java.io.exception : unable to open port : com1".i sucessfully installed java communication api. it it working for other normal java application only with applic

RE: Disable class monitoring for reloading container classes

2010-10-08 Thread Jane Muse
Chris wrote: '/WEB-INF/lib/ant-1.6.5.jar' was modified; Date is now: Sun Aug 22 > 19:51:04 PDT 2010 Was: Sun Aug 22 18:51:04 PDT 2010 > INFO ContainerBackgroundProcessor[StandardEngine[Catalina]] > org.apache.catalina.core.StandardContext - Reloading this Context has > started Are you referring

RE: Disable class monitoring for reloading container classes

2010-10-08 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Disable class monitoring for reloading container classes > The timestamp of the file should be /the/ timestamp for the > file, and shouldn't be affected by the current DST settings. > The timestamp for the file itse

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jane, On 10/8/2010 7:40 PM, Jane Muse wrote: > > to see the modified() method being called, and it resource is triggering the reload in the webapp's log file. > > I set the system date to: 11/07/10 at 1:53:00 and started tomcat. At > 2:00 the tim

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/8/2010 5:20 PM, André Warnier wrote: > In that case, > - Jane's experience is still incomprehensible > - the possible bug I mentioned cannot happen +1 +1 > - but the logic used by Tomcat seems wasteful : aren't these a lot of > files fo

RE: Disable class monitoring for reloading container classes

2010-10-08 Thread Jane Muse
mailto:ch...@christopherschultz.net] Sent: Friday, October 08, 2010 8:07 AM To: Tomcat Users List Subject: Re: Disable class monitoring for reloading container classes -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/7/2010 5:52 PM, Pid wrote: > On 07/10/2010 22:30, Christopher Schult

RE: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Caldarale, Charles R
> From: Anurag Kapur [mailto:anuragka...@gmail.com] > Subject: Re: Tomcat 5.5.25 | Memory leak in Web Application > > Attachments are stripped: there is no image to view, here. > > I have attached the heap usage graph as a file this time (heap_usage.jpg) Please read Chris' statement again: attac

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
On Fri, Oct 8, 2010 at 11:04 PM, Anurag Kapur wrote: > Thanks for your response Chris. > > On Fri, Oct 8, 2010 at 10:07 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Anurag, >> >> On 10/8/2010 3:15 PM, Anurag Kapur wro

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
Thanks for your response Chris. On Fri, Oct 8, 2010 at 10:07 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Anurag, > > On 10/8/2010 3:15 PM, Anurag Kapur wrote: > > _Problem Statement_ > > Memory leak in web application runnin

Re: [OT] Disable class monitoring for reloading container classes

2010-10-08 Thread André Warnier
Jeffrey Janner wrote: .. God I really hate DST. Don't let me get started on a rant.) .. Right. As someone once asked me : "Why could they not leave the time as God gave us, he ?" - To unsubscribe, e-mail: users-unsubscr...@tom

RE: Disable class monitoring for reloading container classes

2010-10-08 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Friday, October 08, 2010 3:56 PM > To: Tomcat Users List > Subject: Re: Disable class monitoring for reloading container classes > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > André, >

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/8/2010 2:12 PM, André Warnier wrote: 0 1 2 3 4 5 !--!--!x-!--!x-! ... (you get the idea) At time t1, nothing has changed,

Re: Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anurag, On 10/8/2010 3:15 PM, Anurag Kapur wrote: > _Problem Statement_ > Memory leak in web application running on Tomcat _Solution Statement_ Fix your memory leak > _System Information_ > > Tomcat 5.5.27 This statement plus the subject line are

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/8/2010 2:12 PM, André Warnier wrote: > 0 1 2 3 4 5 > !--!--!x-!--!x-! ... (you get > the idea) > > At time t1, nothing has changed, and nothing happens.

Re: JDBC Leak Prevention and Security Manager

2010-10-08 Thread Mark Thomas
On 08/10/2010 21:20, George Sexton wrote: > Could any give me a hint as to what I need to add to the catalina.policy > file to make this work? > > Should I file this as a bug? https://issues.apache.org/bugzilla/show_bug.cgi?id=49209 Mark -

JDBC Leak Prevention and Security Manager

2010-10-08 Thread George Sexton
I'm running Tomcat 6.0.29 with the security manager enabled. I'm getting these entries in my log: 2010-10-07 12:09:01,710 WARN http-80-76 org.apache.catalina.loader.WebappClassLoader - JDBC driver de-registration failed for web application [] java.lang.reflect.InvocationTargetException at

Tomcat 5.5.25 | Memory leak in Web Application

2010-10-08 Thread Anurag Kapur
*Problem Statement* Memory leak in web application running on Tomcat *System Information* Tomcat 5.5.27 Apache HTTPD 2.2.9 Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode) Mod_proxy_http connector Solaris 10 x86 Tomcat JVM heap settings: min:2GB and max:2GB *Observations and

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread André Warnier
Christopher Schultz wrote: ... Technically speaking, the modification date isn't checked against the context startup date it's checked against the last modified date that was recorded by the ClassLoader. That makes sense because you might have a JAR file that's been updated but the timestam

Re: jsvc takes a really long time to start tomcat

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/8/2010 11:30 AM, Mark Shifman wrote: > jsvc used to stop and start my tomcat server very quickly (15-30 seconds). > > Recently, I noticed it stops right away but takes about 3 minutes to start. > (I of course don't know what I changed.)

Re: [OT] apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 10/8/2010 8:32 AM, André Warnier wrote: > Hans Magne Helland wrote: >> But now it uses a lot of CPU. Googled it, and saw people having >> CPU-usage issues with ESX Vmware and Tomcat. Is this a known thing? > > As a bit of an outsider, I'd te

jsvc takes a really long time to start tomcat

2010-10-08 Thread Mark Shifman
jsvc used to stop and start my tomcat server very quickly (15-30 seconds). Recently, I noticed it stops right away but takes about 3 minutes to start. (I of course don't know what I changed.) I have tried: 1.recompiling jsvc, 2.using the newest native commons-daemon-1.0.3-bin-linux-x86_64.tar.gz

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/7/2010 5:52 PM, Pid wrote: > On 07/10/2010 22:30, Christopher Schultz wrote: > >> If the above logic is the actual implementation, then the only time >> you'd have a problem is when you've deployed a webapp during the window >> covered by t

Re: deploy to public_html folder

2010-10-08 Thread William Biggs
there using a os called CloudLinux Server release 5.5 and Apache Tomcat/5.5.28 and jvm 1.6.0_17-b04 On , Pid wrote: > On 08/10/2010 00:49, Sreeprasad Govindankutty wrote: > > Upload the .WAR archive to /public_html/servlet > > Extract .WAR archive using Shell access using the unzip command > > Unl

Re: disabling session management

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emerson, On 10/8/2010 10:25 AM, emerson wrote: > We been doing some tuning on our TC environment and noticed that > tomcat is holding 30 megabytes of classes related to session > management. Which classes, specifically? > This is on our middletier s

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 10/8/2010 4:44 AM, Pid wrote: > On 08/10/2010 01:19, Jane Muse wrote: >> If I changed the system time zone not to change with daylight savings >> time, then it would be off by an hour. I don't think our customers would >> like that. Or am I mi

disabling session management

2010-10-08 Thread emerson
We been doing some tuning on our TC environment and noticed that tomcat is holding 30 megabytes of classes related to session management. This is on our middletier servler, where sessions are irrelevant. Is there a way to disabled session management for this server? What is the impact of using s

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 10/8/2010 4:44 AM, Mark Thomas wrote: > On 08/10/2010 01:11, Jane Muse wrote: >> This happens with both DST and standard time changes. What's interesting >> is if we go back in time to Oct 29 2006, it does not occur. From March >> 2007 forwar

Re: Error 503 ocurring when server under load

2010-10-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/7/2010 7:07 PM, Rob G wrote: > Christopher Schultz wrote >> I think you might want to compare the request processor counts you >> have for Tomcat versus mod_jk: the default maxThreads for a Tomcat >> is 200, while your MaxClients settings

RE: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

2010-10-08 Thread Caldarale, Charles R
> From: Hans Magne Helland [mailto:hansma...@gmail.com] > Subject: Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory > assigned - windows > But now it uses a lot of CPU. Googled it, and saw people having > CPU-usage issues with ESX Vmware and Tomcat. Time to start a new threa

Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

2010-10-08 Thread André Warnier
Hans Magne Helland wrote: So you would need 64 Bit versions of those libraries which are coming from BMC. I would be interested in the info whether they exist as well :) I now run ARS 7.6, with the newest Mid-Tier 7.6 on my test server and it runs with 64 bit Java :) But now it uses a lot of C

Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

2010-10-08 Thread Hans Magne Helland
> So you would need 64 Bit versions of those libraries which are coming from > BMC. I would be interested in the info whether they exist as well :) I now run ARS 7.6, with the newest Mid-Tier 7.6 on my test server and it runs with 64 bit Java :) But now it uses a lot of CPU. Googled it, and saw p

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread André Warnier
Jane Muse wrote: If I changed the system time zone not to change with daylight savings time, then it would be off by an hour. I don't think our customers would like that. Or am I misunderstanding your comment? Maybe Pid's comment was partly "tongue-in-cheek". You did not misunderstand, but of

Re: Error 503 ocurring when server under load

2010-10-08 Thread André Warnier
Pid wrote: ... Is this info in the original email? Yes. (If so, I think my mailer isn't behaving well). It seems also somewhat spastic. We've been receiving multiple copies of what you send. Or did you just have too much coffee lately ?

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Pid
On 08/10/2010 01:19, Jane Muse wrote: > If I changed the system time zone not to change with daylight savings > time, then it would be off by an hour. I don't think our customers would > like that. Or am I misunderstanding your comment? The system timezone is almost irrelevant, you could use UTC o

Re: Disable class monitoring for reloading container classes

2010-10-08 Thread Mark Thomas
On 08/10/2010 01:11, Jane Muse wrote: > This happens with both DST and standard time changes. What's interesting > is if we go back in time to Oct 29 2006, it does not occur. From March > 2007 forward, every fall and spring we get the error when the > application reloads. The DST time change rules

Re: deploy to public_html folder

2010-10-08 Thread Pid
On 08/10/2010 00:49, Sreeprasad Govindankutty wrote: > Upload the .WAR archive to /public_html/servlet > Extract .WAR archive using Shell access using the unzip command Unless you have inside knowledge about the OPs environment, that's poor advice. > On Thu, Oct 7, 2010 at 6:54 PM, William Biggs

Re: Tomcat auf MS Cluster?

2010-10-08 Thread Pid
On 07/10/2010 18:07, Jeffrey Janner wrote: >> -Original Message- >> From: Mark Thomas [mailto:ma...@apache.org] >> Sent: Wednesday, October 06, 2010 9:31 AM >> To: Tomcat Users List >> Subject: Re: Tomcat auf MS Cluster? >> >> On 06/10/2010 15:16, Jeffrey Janner wrote: >>> I agree with Mark

Re: Error 503 ocurring when server under load

2010-10-08 Thread Pid
On 08/10/2010 00:07, Rob G wrote: > Thanks to all for their replies to date. Much appreciated, I'll > respond to some of the points raised. Apologies if I'm asking basic > stuff but still getting my ahead around Tomcat and Apache integration. > > On 7 October 2010 18:31, André Warnier wrote: > >>