Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 18:12 GMT+03:00 Marc Boorshtein : >> >> You have to provide the actual source code. >> >> There is an example in the examples webapp that performs forwarding to >> a JSP and it works, >> >> \webapps\examples\WEB-INF\classes\ServletToJsp.java >> >> > So the good

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > > > Your request wrappers store their own reference to a > HttpServletRequest in addition to the one stored by the > ServletRequestWrapper class. > > > My guess is that your issue will be solved if you either override > ServletRequestWrapper.setRequest() to update your request field, or > use

Re: troughput difference

2015-12-24 Thread Christopher Schultz
Aurélien, On 12/24/15 4:17 AM, Aurélien Terrestris wrote: > probably this won't solve your problem but I notice that the random seems > slow : > Creation of SecureRandom instance for session ID generation using > [SHA1PRNG] took [9,870] milliseconds. > > Maybe should you then start by fixing

Re: troughput difference

2015-12-24 Thread Aurélien Terrestris
Hi probably this won't solve your problem but I notice that the random seems slow : Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [9,870] milliseconds. Maybe should you then start by fixing this, it has been discussed many times on the mailing list (

Re: Startup issue with security manager enabled on Tomcat 7.0.65 or later

2015-12-24 Thread Mark Thomas
On 23/12/2015 20:55, David Gietka - NOAA Federal wrote: > Hello Chris, > Thanks for your response. There was nothing else in the log (see below), > but with the latest version of tomcat 7 (7.0.67), I was able to start the > downloaded version of tomcat with -security enabled. I will review my >

Re: Tomcat 8.0.29-30 context root redirect changes break application

2015-12-24 Thread Mark Thomas
On 18/12/2015 21:47, Jason Rivard wrote: > On Fri, Dec 18, 2015 at 4:36 PM, Mark Thomas wrote: > >> On 18 December 2015 20:21:12 GMT+00:00, Jason Rivard >> wrote: > > [snip] >> > >> You can use sessionCookiePathUsesTrailingSlash on the Context to fix the

Re: 7.0.67 Possible Regresssion?

2015-12-24 Thread George Sexton
On 12/23/2015 8:14 PM, Konstantin Kolinko wrote: 2015-12-24 5:22 GMT+03:00 George Sexton : On 12/23/2015 6:59 PM, Konstantin Kolinko wrote: 2015-12-24 4:09 GMT+03:00 George Sexton : I'm seeing an unusual behavior change going from 7.0.65 ->

Re: Access mobile website (deployed on tomcat) locally.

2015-12-24 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/23/2015 11:24 PM, Ayushya Devmurari wrote: > Hi All, > > I have posted a question about deploying and accessing the mobile > website inside tomcat. Following is the link to the SO question. > >

Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
All, I'm having a very strange issue with request.getServletContext().getRequestDispatcher().forward(). It gives me a 404 on a JSP page that if I go to directly, works fine. This is with tomcat 8.0.30 on OSX on JDK : ava version "1.7.0_65" Java(TM) SE Runtime Environment (build 1.7.0_65-b17)

Re: Startup issue with security manager enabled on Tomcat 7.0.65 or later

2015-12-24 Thread Konstantin Kolinko
2015-12-23 23:55 GMT+03:00 David Gietka - NOAA Federal : > Hello Chris, > Thanks for your response. There was nothing else in the log (see below), > but with the latest version of tomcat 7 (7.0.67), I was able to start the > downloaded version of tomcat with -security

Re: troughput difference

2015-12-24 Thread Mark Thomas
On 23/12/2015 20:29, Christopher Schultz wrote: > Thanks for confirming that: often, we have people with two radically > different setups wanting to know why things are behaving differently. > > There have been many changes to the connector code between Tomcat 6 and > Tomcat 8, mostly to make

Re: handling tomcat failover - session transition to new node

2015-12-24 Thread Mark Thomas
On 22/12/2015 16:22, Jason Britton wrote: > Questions on particulars of session fail over in my on going quest for zero > downtime deployments - > > My current plan is to use JDBCStore for persisting to a database table > shared by all tomcats powering apps. But this has brought up a couple >

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Konstantin Kolinko
2015-12-24 17:37 GMT+03:00 Marc Boorshtein : > All, > > I'm having a very strange issue with > request.getServletContext().getRequestDispatcher().forward(). It gives me > a 404 on a JSP page that if I go to directly, works fine. This is with > tomcat 8.0.30 on OSX on JDK :

Re: Very Strange 404 to JSP with getRequestDispatcher().forward()

2015-12-24 Thread Marc Boorshtein
> > You have to provide the actual source code. > > There is an example in the examples webapp that performs forwarding to > a JSP and it works, > > \webapps\examples\WEB-INF\classes\ServletToJsp.java > > So the good news is that I got it to work by getting rid of any of the methods that were