From the JK debug log, I suspect the jsessionid part of the URL is being 
dropped somewhere between these two log lines.  Or, I suppose it could be added 
to the header.  In any event it is not longer part of the URL.  If anyone has 
any further insight that would be most helpful.

[Thu Dec 16 11:37:58 2004] [5228:5468] [debug] jk_isapi_plugin.c (753): Virtual 
Host redirection of 
/dkoesxp/ilt/rd/8a3c3f8d03bf435b1e1f0ec005b63a8b/ilt/spMySessions.do;jsessionid=24B27CD241D89FB2A217DF21497E84B3.dkoesxp8009
[Thu Dec 16 11:37:58 2004] [5228:5468] [debug] jk_uri_worker_map.c (682): 
Attempting to map URI 
'/dkoesxp/ilt/rd/8a3c3f8d03bf435b1e1f0ec005b63a8b/ilt/spMySessions.do' from 2 
maps



-----Original Message-----
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 16, 2004 6:39 AM
To: Tomcat Developers List
Subject: RE: JK 1.2.7 beta 3 + URL rewriting scheme issue

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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED]
> 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:[EMAIL PROTECTED] 
>       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: 
> [EMAIL PROTECTED]
>       For additional commands, e-mail: 
> [EMAIL PROTECTED]
>       
>       
> 
> 
> 
> <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>
> 
> 
> 
> 


Reply via email to