Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
JSESSIONID problem. SP.AM

JSESSIONID problem. SP.AM

2004-02-04       - By Chugh, Sanjay

 Back
Well, yes you are correct. Currently I have to use windows 2000 in
vmware for the second machine. But we have done the same thing with
windows xp on another developers machine hitting my tomcat, and that
works fine. His IE settings are the same as mine as well. I've tried
setting all the security settings on my IE to the lowest and told it to
accedpt all cookies, and still it does not work.
What I don't understand is when the new child popup window is opened by
clicking on the link (it uses window.open()), why do I loose the cookie?
And why does this only happen on my machine, and on no other developer,
that have the same OS and software.

-- Sanjay

-- --Original Message-- --
From: Papillon [mailto:leakim@(protected)]
Sent: Wednesday, February 04, 2004 5:42 PM
To: Tomcat Users List
Subject: Re: JSESSIONID problem. SP.AM


You say both IE are sames but you seems to have two differents OS
windows XP(server 2003 ?) and windows 2000 You've a lot security
problems with XP so with cookies too. Try to set the security very low,
accept all type of cookies temporaly to be sure it's not a security's
windows problem...

Papillon

> De�: "Chugh, Sanjay" <schugh@(protected)>
> R�pondre �: "Tomcat Users List" <tomcat-user@(protected)> Date
> : Wed, 4 Feb 2004 15:52:46 -0700 : "Tomcat Users List"
> <tomcat-user@(protected)> Objet�: JSESSIONID problem.
>
> Thanks. I have changed the subject because it better reflects the
> problem after some analysis. Thanks to Papillon for suggesting to use
> burp proxy. However, now I am at a loss to explain the behaviour after

> analyzing the log from burp proxy. When I run IE on my box and target
> TomCat on my box, and I click on a link in my app which launches
> another window, the http header is:
>
> ======================================================
> http://schughpc:8080  [10.32.2.41]
> ======================================================
> GET /Workplace/FormServlet?cmd=blank&context=form HTTP/1.0
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint,
> application/msword, application/x-shockwave-flash, */*
> Referer:
> http://localhost:8080/Workplace/properties/DocumentForm.jsp?policyObje
> ct
>
StoreName=eForms&objectStoreName=eForms&vsId=%7B0A1D7877-B64B-4927-B698-
>
9642C6DB6B60%7D&windowId=56657&policyId=%7B14CBF1E8-606C-4D7F-AE88-54033
>
5681DD7%7D&returnUrl=http%3A%2F%2Flocalhost%3A8080%2FWorkplace%2FWcmBrow
>
se.jsp%3FwindowId%3DmainWindow&id=%7B8121190B-BF94-454D-92EB-2262A3FD71D
> E%7D
> Accept-Language: en-us
> Proxy-Connection: Keep-Alive
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
CLR
> 1.0.3705)
> Host: schughpc:8080
>
>
> ======================================================
>
> Here you can see the JSESSIONID cookie is missing when it was present
> in all the headers grabbed by burp proxy prior to this one.
>
> When I run IE on another machine but still target TomCat on my
> machine, the http header for the same request looks like:
>
> ======================================================
> http://schughpc:8080  [10.32.2.41]
> ======================================================
> GET /Workplace/FormServlet?cmd=blank&context=form HTTP/1.0
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
> Referer:
> http://schughpc:8080/Workplace/properties/DocumentForm.jsp?policyObjec
> tS
>
toreName=eForms&objectStoreName=eForms&vsId=%7B0A1D7877-B64B-4927-B698-9
>
642C6DB6B60%7D&windowId=87588&policyId=%7B14CBF1E8-606C-4D7F-AE88-540335
>
681DD7%7D&returnUrl=http%3A%2F%2Fschughpc%3A8080%2FWorkplace%2FWcmBrowse
>
.jsp%3FwindowId%3DmainWindow&id=%7B8121190B-BF94-454D-92EB-2262A3FD71DE%
> 7D
> Accept-Language: en-us
> Proxy-Connection: Keep-Alive
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
CLR
> 1.0.3705)
> Host: schughpc:8080
> Cookie: JSESSIONID=68AF13A9B0FE3C8A200BDB594E753ECC
>
>
> ======================================================
>
> You can see the cookie is present.
> The requests afterwards use this cookie and everything works fine.
>
> However in the latter case (where the cookie is missing), the next
> request receives a new cookie and everything starts falling apart.
>
> IE on both machine is set up identically.
>
> If anyone knows or has any suggestions as to the problem, it would be
> much appreciated.
>
> Thanks,
>
> -- Sanjay
>
>
> -- --Original Message-- --
> From: Papillon [mailto:leakim@(protected)]
> Sent: Wednesday, February 04, 2004 2:02 PM
> To: Tomcat Users List
> Subject: Re: Is this a Tomcat problem? Someone please point me in
> theright direction to solve this problem...
>
>
> Try burp proxy (Thanks again Mr Yansheng Lin) to see differences. Your
> server have only one ip ? No NAT on your network ? WAN adress ? My
> problem is not the same but perhaps it can help you in research :
> http://www.mail-archive.com/tomcat-user@(protected)/msg117526.h
> tm
> l
>
> Good luck !
>
>
>
>> De�: "Chugh, Sanjay" <schugh@(protected)>
>> R�pondre �: "Tomcat Users List" <tomcat-user@(protected)>
> Date
>> : Wed, 4 Feb 2004 12:43:40 -0700 : "Tomcat Users List"
>> <tomcat-user@(protected)> Objet�: Is this a Tomcat problem?
>> Someone please point me in the right direction to solve this
>> problem...
>>
>> I am part of a large team working on a java project with Tomcat. We
>> are using jdk1.3.1 and Tomcat 4.1.18. The problem is that the latest
>> build of our application has a problem on my machine. I've tracked it

>> down to what seems like a problem with the session. When code that
>> retreives information from the session is executed, it is not giving
>> a
>
>> valid result back. The part that I am having problem with is that it
>> is a problem only on my machine. In fact if I hit the Tomcat server
>> on
>
>> my machine from another machine on the network, then everything works
>> fine as well. The same is true if I hit the Tomcat server on my
>> machine from a virtual machine running also on my machine. It is only

>> when I run the application itself on my machine. I did just check one

>> other thing. That is I started IE on my machine but hit the tomcat
>> server on another physical machine. This time the application worked
>> fine on my machine. This is all very confusing, and I am at a loss to

>> explain what is is on my machine or my tomcat server that is causing
>> a
>
>> problem.
>>
>> I've compared the different machine configuration (they are all
>> pretty
>
>> similar). The Internet Explore options on all the machines are
>> identical.
>>
>> I would apreciate any ideas someone might have to offer.
>>
>> Thanks,
>>
>>
>> -- Sanjay
>>
>>
>> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
>> For additional commands, e-mail: tomcat-user-help@(protected)
>>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>
>
>
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)
>


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)




-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.