RE: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-02-28 Thread Isaac Gonzalez
Christopher, From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, February 28, 2014 11:40 AM To: Tomcat Users List Subject: Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days -BEGIN PGP SIGNED MESSAGE-

RE: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-02-28 Thread Isaac Gonzalez
Christopher From: Christopher Schultz [ch...@christopherschultz.net] Sent: Friday, February 28, 2014 11:38 AM To: Tomcat Users List Subject: Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days -BEGIN PGP SIGNED MESSAGE-

RE: Tomcat 7.0.52 issue on our Sun Sparc with SunOS 5.10

2014-02-28 Thread Jay
Hi Konstantin, Thanks. it did cut the name during the unpacking. I unpacked it using " gunzip -c apache-tomcat-7.0.52.tar.gz |tar xvf - " and there was no warning or error. The original tar.gz file contains: DrawboardContextListener.class DrawboardContextListener.java But after unpacked, their n

Re: OT? : Connectors not needed?

2014-02-28 Thread Konstantin Kolinko
2014-02-28 23:00 GMT+04:00 Jeffrey Janner : > While working through a migration, I discovered something interesting. > Apparently you don't need any working connectors for a functioning (?) Tomcat > instance. > Setup: Tomcat 7.0.51, Java 1.7.0_51, Windows 2008 R2 64-bit > Config had only two both

Re: Stream closed- IOException exception

2014-02-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Prashant, On 2/28/14, 7:54 AM, Prashant Kadam wrote: > thanks Mark and Konstantin for your reply > > If you create the simplest possible JSP that demonstrates the > issue (start with the one you have and remove as much as you can) > and then post t

Re: DBCP2 connection pool leak?

2014-02-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Felipe, On 2/28/14, 1:22 PM, Felipe Jaekel wrote: > Hi, > > Today I tried to migrate my production server from 7.0.50 to > 8.0.3. > > After about 3 hours running I start to get JDBC > exceptions(stacktrace below) and the server stops responding. >

Re: AMD 64 version 1.6.0.45 jdk needed

2014-02-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Joseph, On 2/28/14, 9:55 AM, Joseph Kelly wrote: > I have a strange architecural problem , I am running the following > versions: > > Processor and arch version > > [root@evl3301581 java]# file /sbin/init /sbin/init: ELF 64-bit LSB > executable, A

Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-02-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Issac, On 2/27/14, 6:23 PM, Isaac Gonzalez wrote: > > -Original Message- From: Konstantin Kolinko > [mailto:knst.koli...@gmail.com] Sent: Thursday, February 27, 2014 > 2:40 PM To: Tomcat Users List Subject: Re: tomcat 6 refuses mod_jk > con

Re: tomcat 6 refuses mod_jk connections after server runs for a couple of days

2014-02-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 2/27/14, 5:40 PM, Konstantin Kolinko wrote: > 2014-02-28 2:06 GMT+04:00 Isaac Gonzalez > : >> Hi Christopher(and Konstantin), attached is a couple of thread >> dumps of when we experienced the issue again today. I also >> noticed we g

Re: DBCP2 connection pool leak?

2014-02-28 Thread Filip Hanik
you can try out tomcat-jdbc, and see if that solves your problem, it may help you narrow it down. http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html On Fri, Feb 28, 2014 at 11:26 AM, Mark Thomas wrote: > On 28/02/2014 18:22, Felipe Jaekel wrote: > > Hi, > > > > Today I tried to migrate my

OT? : Connectors not needed?

2014-02-28 Thread Jeffrey Janner
While working through a migration, I discovered something interesting. Apparently you don't need any working connectors for a functioning (?) Tomcat instance. Setup: Tomcat 7.0.51, Java 1.7.0_51, Windows 2008 R2 64-bit Config had only two both with the address= and port= parameters set. I had ye

Re: DBCP2 connection pool leak?

2014-02-28 Thread Mark Thomas
On 28/02/2014 18:22, Felipe Jaekel wrote: > Hi, > > Today I tried to migrate my production server from 7.0.50 to 8.0.3. > > After about 3 hours running I start to get JDBC exceptions(stacktrace > below) and the server stops responding. Looking at Amazon RDS monitoring it > shows the connection li

DBCP2 connection pool leak?

2014-02-28 Thread Felipe Jaekel
Hi, Today I tried to migrate my production server from 7.0.50 to 8.0.3. After about 3 hours running I start to get JDBC exceptions(stacktrace below) and the server stops responding. Looking at Amazon RDS monitoring it shows the connection limit reached 97%. Restarted the server and after about th

AMD 64 version 1.6.0.45 jdk needed

2014-02-28 Thread Joseph Kelly
Hello I have a strange architecural problem , I am running the following versions: Processor and arch version [root@evl3301581 java]# file /sbin/init /sbin/init: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), stripped Tomca

Re: Stream closed- IOException exception

2014-02-28 Thread Prashant Kadam
thanks Mark and Konstantin for your reply If you create the simplest possible JSP that demonstrates the issue (start with the one you have and remove as much as you can) and then post that JSP here, we can take a look. >> as you can see in stacktrace, there are many jsps forwarding request to ano

Re: Stream closed- IOException exception

2014-02-28 Thread Prashant Kadam
also for other navigation in my application, i can see below exception line with all the already posted stack trace ... javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: javax.servlet.jsp.JspException: org.apache.jasper.JasperException: java.lang.IllegalStateException: Exception occu

Re: Stream closed- IOException exception

2014-02-28 Thread Prashant Kadam
Please find below stack trace Feb 28, 2014 4:50:10 PM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception java.io.IOException: Stream closed at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:210) at org.apa

Re: Deploying web apps from war file using different url path

2014-02-28 Thread paul
Thanks for that, I changed my pom file finalName to look like: myApp##${version} This is exactly what I wanted and now my web app in the url is just myApp. On Fri, February 28, 2014 2:56 am, Mark Thomas wrote: > On 28/02/2014 10:38, p...@kuruma.co.uk wrote: > >> Is there a way to redefine the w

Re: Deploying web apps from war file using different url path

2014-02-28 Thread Mark Thomas
On 28/02/2014 10:38, p...@kuruma.co.uk wrote: > Is there a way to redefine the web app path from within the war file so it > always deploys with the build and tomcat uses this instead of the name of > the warfile\webapp and there is no changes to the tomcat configuration? Use the version marker. i

Deploying web apps from war file using different url path

2014-02-28 Thread paul
I am trying to work out how I can build my war file and then deploy it using a different path. I have looked at the tomcat docs (specifically): The locations for Context Descriptors are: 1. $CATALINA_BASE/conf/[enginename]/[hostname]/[webappname].xml I want to be able to build a war file wit

Re: Stream closed- IOException exception

2014-02-28 Thread Konstantin Kolinko
2014-02-28 13:11 GMT+04:00 Prashant Kadam : > Hi > > I am in process of upgrading from tomcat 7.0.33 to 7.0.52 but I am facing > IOException: Stream closed in one of the layout jsp. Underlying exception > is jasper exception - *org.apache.jasper.JasperException: > java.lang.IllegalStateException

Re: Stream closed- IOException exception

2014-02-28 Thread Mark Thomas
On 28/02/2014 09:11, Prashant Kadam wrote: > Hi > > I am in process of upgrading from tomcat 7.0.33 to 7.0.52 but I am facing > IOException: Stream closed in one of the layout jsp. Underlying exception > is jasper exception - *org.apache.jasper.JasperException: > java.lang.IllegalStateException

Stream closed- IOException exception

2014-02-28 Thread Prashant Kadam
Hi I am in process of upgrading from tomcat 7.0.33 to 7.0.52 but I am facing IOException: Stream closed in one of the layout jsp. Underlying exception is jasper exception - *org.apache.jasper.JasperException: java.lang.IllegalStateException: Response has already been committed*. Same code is w