Re: Tomcat 7.0.68 - using websocket @ServerEndpoint to listen on alternate port

2016-03-24 Thread Luigi Suardi
Hi Chris. You are right. After opening a dedicated port for my Tomcat instance all is working fine. My servlet code (Jersey resources and ServerEndpoints) does not reference any port. Client code uses window.location.host and picks up any port from the URL. Only drawback is that the URL users

Re: Tomcat 8 Connection Reset Issue

2016-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Theo, On 3/24/16 1:19 PM, Theo Sweeny wrote: > Hello - we are running Tomcat v8.0.21 on RH7 with Java7. > > Recently we changed the datasource's to use connection pooling but > as a result we are seeing connection timeouts in the logs as seen > here

Re: the new code in WebappClassLoaderBase.filter() is not working correctly with Rhino engine anymore

2016-03-24 Thread Violeta Georgieva
Hi, 2016-03-24 18:02 GMT+02:00 Johan Compagner : > > Hi, > > we now get this exception: > > java.lang.StringIndexOutOfBoundsException: String index out of range: 3 >at java.lang.String.charAt(String.java:658) >at >

Re: the new code in WebappClassLoaderBase.filter() is not working correctly with Rhino engine anymore

2016-03-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, Quick question: what exact Tomcat version are you running? - -chris On 3/24/16 12:02 PM, Johan Compagner wrote: > Hi, > > we now get this exception: > > java.lang.StringIndexOutOfBoundsException: String index out of > range: 3 at

Tomcat 8 Connection Reset Issue

2016-03-24 Thread Theo Sweeny
Hello - we are running Tomcat v8.0.21 on RH7 with Java7. Recently we changed the datasource's to use connection pooling but as a result we are seeing connection timeouts in the logs as seen here - 2016-03-24 16:27:36,638 14321113 [http-nio-20180-exec-3] INFO

the new code in WebappClassLoaderBase.filter() is not working correctly with Rhino engine anymore

2016-03-24 Thread Johan Compagner
Hi, we now get this exception: java.lang.StringIndexOutOfBoundsException: String index out of range: 3 at java.lang.String.charAt(String.java:658) at org.apache.catalina.loader.WebappClassLoaderBase.filter(WebappClassLoaderBase.java:2780) at

Re: Tomcat 7.0.68 - using websocket @ServerEndpoint to listen on alternate port

2016-03-24 Thread Christopher Schultz
Luigi, On 3/23/16 12:26 PM, Luigi Suardi wrote: > I have a working websocket based application based on Tomcat 7.0.68 > examples in my local environment. There are issues (i.e. > java.lang.UnsupportedOperationException: HTTP upgrade is not > supported by the AJP protocol) when running the same

Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

2016-03-24 Thread Violeta Georgieva
2016-03-24 9:11 GMT+02:00 Palod, Manish : > > Hi Violeta, > We have tried 7.0.68 also, but same issue. OK We have a fix for something similar http://svn.apache.org/viewvc?view=revision=1734262 The fix will be available in 7.0.69 Can you build Tomcat 7 trunk and test your

RE: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

2016-03-24 Thread Palod, Manish
Hi Violeta, We have tried 7.0.68 also, but same issue. Regards Manish -Original Message- From: Violeta Georgieva [mailto:miles...@gmail.com] Sent: Thursday, March 24, 2016 12:36 PM To: Tomcat Users List Subject: Re: response.sendRedirect is not working in

Re: response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

2016-03-24 Thread Violeta Georgieva
Hi, 2016-03-24 8:18 GMT+02:00 Palod, Manish : > > Hello Experts, > We are using tomcat in our application from many years and things were working fine. > > After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is not working properly in application. > > We are

response.sendRedirect is not working in application after upgrade from 7.0.65 to 7.0.67

2016-03-24 Thread Palod, Manish
Hello Experts, We are using tomcat in our application from many years and things were working fine. After upgrade from tomcat 7.0.65 to 7.0.67, response.sendRedirect is not working properly in application. We are having spaces in between url attributes all the time ex. companyName=XYZ Inc=ABC