tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject RE: JK 1.2.7 beta 3 + URL rewriting scheme issue
Date Thu, 16 Dec 2004 11:39:04 GMT
derrick, I have changed the subject for this email as you hijacked my one which i am still
researching.

> -----Original Message-----
> From: Derrick Koes [mailto:Derrick_Koes@skillsoft.com]
> Sent: 15 December 2004 23:19
> To: Tomcat Developers List
> Cc: Tim Lucia
> Subject: RE: JK throws java.lang.NumberFormatException when JSP is not
> found.
> 
> 
>  
> 
> I've been testing JK 1.2.7 beta 3 +.
> 
> For some reason, putting the jsessionid (URL rewriting) on 
> the URL makes JK not deliver it to Tomcat (get a new session 
> from tomcat for every request).  Running the same web app 
> with JK2 does not exhibit the problem.  
> HttpServletRequest.isRequestedSessionIdFromURL() returns true 
> for the JK2 configuration, but false for the JK configuration.
> 
> I'm assuming it must be JK that decides to remove it from the 
> URL (different URL rewriting scheme?), but I suppose it 
> *could* be a bug in Tomcat HttpServletRequest implementation. 
>  Does anyone have any suggestions?
> Below is a sample URL.
> http://dkoesxp/ilt/rd/b73d019ee9a5d0e5d43c2c64831b9f05/ilt/Ins
> tructorLedTraining.do;jsessionid=F63D242A6554BC9C5A2CF8D00D613
> F3F.dkoesxp:8009
> 
> The url rewriting part:
> 
> ;jsessionid=F63D242A6554BC9C5A2CF8D00D613F3F.dkoesxp:8009
> 
> Thanks,
> Derrick
> 
> 
> -----Original Message-----
> From: Allistair Crossley [mailto:Allistair.Crossley@QAS.com] 
> Sent: Wednesday, December 15, 2004 5:07 PM
> To: Tomcat Developers List; Tomcat Developers List
> Subject: RE: JK throws java.lang.NumberFormatException when 
> JSP is not found.
> 
> Hi,
>  
> Will add trace logging first thing tomorrow morning and let 
> you know. I really don't want to get a reputation for being 
> imaginative you know ;) but this looked pretty much the 
> direct cause to me, but I being to doubt myself ;) The stack 
> trace certainly is not my imagination, I did afterall paste 
> it into the email ;)
>  
> Will come back to you tomorrow, Cheers, Allistair.
> 
> 	-----Original Message----- 
> 	From: Mladen Turk [mailto:mturk@apache.org] 
> 	Sent: Wed 15/12/2004 19:43 
> 	To: Tomcat Developers List 
> 	Cc: 
> 	Subject: Re: JK throws java.lang.NumberFormatException 
> when JSP is not found.
> 	
> 	
> 
> 	Allistair Crossley wrote:
> 	> Hi Mladen,
> 	>
> 	> Just a follow-up on this decoding issue in JK. I have 
> just this moment accidentally come upon a scenario where I 
> can generate this error.
> 	>
> 	> You can generate it by requesting a JSP that does not 
> exist, so long as you have a /*.jsp mapping in urimapping.properties.
> 	>
> 	
> 	Did on IIS/WINXP/1.2.7-beta-3
> 	
> 	No mater what files I'm asking existing or not I can 
> not reproduce the
> 	error. Tested on 5.5.6 and 5.0.30.
> 	Really have no clue how to reproduce that.
> 	
> 	Please try turning log_level to trace, clear the logs, 
> restart IIS,
> 	and post the jk log file.
> 	
> 	Otherwise we are stuck :(.
> 	
> 	Regards,
> 	Mladen.
> 	
> 	
> 	
> ---------------------------------------------------------------------
> 	To unsubscribe, e-mail: 
> tomcat-dev-unsubscribe@jakarta.apache.org
> 	For additional commands, e-mail: 
> tomcat-dev-help@jakarta.apache.org
> 	
> 	
> 
> 
> 
> <FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
> -------------------------------------------------------
> QAS Ltd.
> Developers of QuickAddress Software
> <a href="http://www.qas.com">www.qas.com</a>
> Registered in England: No 2582055
> Registered in Australia: No 082 851 474
> -------------------------------------------------------
> </FONT>
> 
> 
> 
> 
Mime
View raw message