Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Ognjen Blagojevic
Saumil, On 2.4.2013 5:01, saumil shah wrote: I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing Service is unavailable error , upon enabling DEBUG logs in Tomcat , we saw the

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread André Warnier
saumil shah wrote: Hello there, I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing Service is unavailable error , upon enabling DEBUG logs in Tomcat , we saw the error below

RE: Analyzing Connection Pool Errors/Leaks

2013-04-02 Thread Martin Gainty
Never met GK but there are a few things that he needs to implement to make Hibernate Production-Ready 1)Deprecate the home-made bag classes ..collection classes have been out for the better part of 5 years ..and force the op to upgrade their JDK to AT LEAST 1.5 to use ArrayListBagClass..Bag

Re: ecj 4.2.2

2013-04-02 Thread Konstantin Kolinko
2013/4/1 Ralph Schaer ralphsch...@gmail.com: Just a quick note. I saw on the changelog that Tomcat 7.0.40 is using ecj 4.2.2. So I created a bundle for this ecj version (like I did for 4.2.1http://marc.info/?l=tomcat-userm=135966507114107w=2), uploaded it to Sonatype and only a few hours

Re: Analyzing Connection Pool Errors/Leaks

2013-04-02 Thread chris derham
OK, I'll have to investigate the DB setting more thoroughly. The maximum sessions and processes in Oracle are higher than we were using for the test though (several hundred). We hit a similar situation a year ago. Essentailly Oracle has a TNS listener process that accepts connections. This is

NPE in SlowQuery

2013-04-02 Thread Tomasz Kowalczewski
Hello all, we are running Tomcat 7 on Amazon EC2: Server version: Apache Tomcat/7.0.22 Server built: Sep 27 2011 09:40:50 Server number: 7.0.22.0 OS Name:Linux OS Version: 2.6.34.7-56.40.amzn1.i686 Architecture: i386 JVM Version:1.7.0_03-b04 And get following exception on

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread saumil shah
Thanks andre..can we deploy 32 bit web applications on 64 bit tomcat? -Original Message- From: André Warnier Sent: 2 Apr 2013 08:51:00 GMT To: Tomcat Users List Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) saumil shah wrote: Hello there, I recently deployed one of

Re: NPE in SlowQuery

2013-04-02 Thread Daniel Mikusa
On Apr 2, 2013, at 8:15 AM, Tomasz Kowalczewski wrote: Hello all, we are running Tomcat 7 on Amazon EC2: Server version: Apache Tomcat/7.0.22 Server built: Sep 27 2011 09:40:50 Server number: 7.0.22.0 As you can see from the date, this version is getting to be pretty old. You

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Caldarale, Charles R
From: saumil shah [mailto:saumil...@hotmail.com] Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) Don't top post - it's annoying and confusing. can we deploy 32 bit web applications on 64 bit tomcat? The point being made is that your question doesn't make any sense. There's no

Re: NPE in SlowQuery

2013-04-02 Thread Tomasz Kowalczewski
On Tue, Apr 2, 2013 at 2:43 PM, Daniel Mikusa dmik...@vmware.com wrote: On Apr 2, 2013, at 8:15 AM, Tomasz Kowalczewski wrote: Hello all, we are running Tomcat 7 on Amazon EC2: Server version: Apache Tomcat/7.0.22 Server built: Sep 27 2011 09:40:50 Server number: 7.0.22.0 As

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread André Warnier
Caldarale, Charles R wrote: From: saumil shah [mailto:saumil...@hotmail.com] Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) Don't top post - it's annoying and confusing. can we deploy 32 bit web applications on 64 bit tomcat? The point being made is that your question doesn't

Re: Analyzing Connection Pool Errors/Leaks

2013-04-02 Thread David Landis
On Tue, Apr 2, 2013 at 5:54 AM, Martin Gainty mgai...@hotmail.com wrote: Never met GK but there are a few things that he needs to implement to make Hibernate Production-Ready 1)Deprecate the home-made bag classes ..collection classes have been out for the better part of 5 years ..and force

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread dvosbury1
Neven, After fixing the case sensitive properties in my context.xml resource element per Konstantin that error disappeared from the catalina.out log. I now get this error when trying to navigate through the site. Note. Some of the pages sometimes load but without the data driven elements and

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread Daniel Mikusa
On Apr 2, 2013, at 11:37 AM, dvosbu...@aol.com wrote: Neven, After fixing the case sensitive properties in my context.xml resource element per Konstantin that error disappeared from the catalina.out log. I now get this error when trying to navigate through the site. Note. Some of the

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread Neven Cvetkovic
David My bad, I gave you the wrong code for testing database connections. I was just typing the code from my head, I did not test it myself. I probably should have used Eclipse before I gave you the code ;) Here's a better version: ... % javax.naming.InitialContext naming = null;

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread dvosbury1
Neven, Thanks for the response. Yes, I checked and the HibernateUtil.class is where you said it would be. I also find hibernate3.jar under my WEB-INF/lib directory. Is there some kind of environment variable I need to set so that the HibernateUtil.class file is found? David

Re: Trouble loading MS SQl Server database driver in Tomcat 7.0.37

2013-04-02 Thread Neven Cvetkovic
David, I would like to split troubleshooting into three steps: - tomcat startup (no app deployed) - deploy application war file (copy war to webapps) - test application in browser This way you can really isolate and nail down the problem. When does the exception occur? Can you give us theee

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, On 4/1/13 11:01 PM, saumil shah wrote: I recently deployed one of the COTS products SAP Business Objects. When the product was deployed , everything seemed to run fine but yesterday we started experiencing Service is unavailable error

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread saumil shah
Thanks so much Chris this has been very very helpful ... appreciate you taking time out. Would stopping Tomcat6 service in Windows 2008 R2 take care of this orphan threads if you will ? Also, does force kill taskkill tomcat6 help either ? I understand its not a premanent solution but as a

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Saumil, On 4/2/13 5:01 PM, saumil shah wrote: Thanks so much Chris this has been very very helpful ... appreciate you taking time out. Would stopping Tomcat6 service in Windows 2008 R2 take care of this orphan threads if you will ? Also, does