Session Problem ...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Session Problem ...

Rafal Kedziorski
Hi,

I'm testing my application with JBoss 4.0.3SP1 and
jetty-5.1.10-jboss-4.0.2.sar. I get a new session which looks so:

jsessionid=16t4913vd03jd.prog-01-1

(I'm using Apache and mod_jk)

But after sending requests to the server with the session
(http://10.0.60.120/xml;jsessionid=16t4913vd03jd.prog-01-1) the
server didn't know this session. But after a while I get this:

2006-01-17 10:56:35,024 INFO  [net.mgx.web.session.SessionListener]
sessionDestroyed() session destroyed (2ay5fo4j7bv8.prog-01-1)

Any ideas what's going wrong?


Best Regards,
Rafal



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: Session Problem ...

Rafal Kedziorski
Hi,

with Tomcat it's working.

Best Regards,
Rafal

At 17:45 17.01.2006, Rafal Kedziorski wrote:

>Hi,
>
>I'm testing my application with JBoss 4.0.3SP1 and
>jetty-5.1.10-jboss-4.0.2.sar. I get a new session which looks so:
>
>jsessionid=16t4913vd03jd.prog-01-1
>
>(I'm using Apache and mod_jk)
>
>But after sending requests to the server with the session
>(http://10.0.60.120/xml;jsessionid=16t4913vd03jd.prog-01-1) the
>server didn't know this session. But after a while I get this:
>
>2006-01-17 10:56:35,024 INFO  [net.mgx.web.session.SessionListener]
>sessionDestroyed() session destroyed (2ay5fo4j7bv8.prog-01-1)
>
>Any ideas what's going wrong?
>
>
>Best Regards,
>Rafal
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>_______________________________________________
>Jetty-support mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/jetty-support



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: Session Problem ...

Rafal Kedziorski
Hi,

and it's working with

jetty-5.1.8-jboss-4.0.2.sar


Best Regards,
Rafal

At 18:28 17.01.2006, Rafal Kedziorski wrote:

>Hi,
>
>with Tomcat it's working.
>
>Best Regards,
>Rafal
>
>At 17:45 17.01.2006, Rafal Kedziorski wrote:
>>Hi,
>>
>>I'm testing my application with JBoss 4.0.3SP1 and
>>jetty-5.1.10-jboss-4.0.2.sar. I get a new session which looks so:
>>
>>jsessionid=16t4913vd03jd.prog-01-1
>>
>>(I'm using Apache and mod_jk)
>>
>>But after sending requests to the server with the session
>>(http://10.0.60.120/xml;jsessionid=16t4913vd03jd.prog-01-1) the
>>server didn't know this session. But after a while I get this:
>>
>>2006-01-17 10:56:35,024 INFO  [net.mgx.web.session.SessionListener]
>>sessionDestroyed() session destroyed (2ay5fo4j7bv8.prog-01-1)
>>
>>Any ideas what's going wrong?
>>
>>
>>Best Regards,
>>Rafal
>>
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>for problems?  Stop!  Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>>_______________________________________________
>>Jetty-support mailing list
>>[hidden email]
>>https://lists.sourceforge.net/lists/listinfo/jetty-support



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support
Reply | Threaded
Open this post in threaded view
|

Re: Session Problem ...

Greg Wilkins-5
In reply to this post by Rafal Kedziorski
Rafal Kedziorski wrote:

> Hi,
>
> I'm testing my application with JBoss 4.0.3SP1 and
> jetty-5.1.10-jboss-4.0.2.sar. I get a new session which looks so:
>
> jsessionid=16t4913vd03jd.prog-01-1
>
> (I'm using Apache and mod_jk)
>
> But after sending requests to the server with the session
> (http://10.0.60.120/xml;jsessionid=16t4913vd03jd.prog-01-1) the server
> didn't know this session. But after a while I get this:
>
> 2006-01-17 10:56:35,024 INFO  [net.mgx.web.session.SessionListener]
> sessionDestroyed() session destroyed (2ay5fo4j7bv8.prog-01-1)
>
> Any ideas what's going wrong?
>

Very late response sorry.

Yes I think I know what is wrong!  Jetty is incorrectly encodng the ;
the jsessionid in the encoded URL.

There is a partial fix in HEAD for this.... but I need to do some more work on it
as I'm concerned there may be other encoding issues, before I do a release.

cheers




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jetty-support mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/jetty-support