Ming, 

See below from TCP Mon:


REQUEST:
--------------------------

GET /trader_client HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, 
application/xaml+xml, application/x-ms-xbap, application/msword, 
application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.stonehenge.com:8072
Connection: Keep-Alive

GET /trader_client/ HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, 
application/xaml+xml, application/x-ms-xbap, application/msword, 
application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.stonehenge.com:8072
Connection: Keep-Alive

GET /trader_client HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, 
application/xaml+xml, application/x-ms-xbap, application/msword, 
application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.stonehenge.com:8072
Connection: Keep-Alive
Cookie: amlbcookie=01

GET /trader_client/ HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, 
application/xaml+xml, application/x-ms-xbap, application/msword, 
application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Accept-Encoding: gzip, deflate
Host: www.stonehenge.com:8072
Connection: Keep-Alive
Cookie: amlbcookie=01

GET /trader_client/ HTTP/1.1
Accept: image/jpeg, image/gif, image/pjpeg, application/x-ms-application, 
application/xaml+xml, application/x-ms-xbap, application/msword, 
application/x-shockwave-flash, */*
Accept-Language: en-US
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; 
Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Cookie: amlbcookie=01; 
iPlanetDirectoryPro=AQIC5wM2LY4Sfcx+yj+n/ceytdvsn35zfh1nf0ii8ygnh...@aajtsqacmde=#
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Cache-Control: no-cache
Host: www.stonehenge.com:8072






RESPONSE:
---------------------------
HTTP/1.1 302 Moved Temporarily
X-Powered-By: Servlet/2.5
Location: http://www.stonehenge.com:8072/trader_client/
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Date: Wed, 30 Sep 2009 22:10:41 GMT

0

HTTP/1.1 302 Moved Temporarily
X-Powered-By: Servlet/2.5
Server: Sun GlassFish Enterprise Server v2.1
Location: 
http://sp.stonehenge.com:8090/opensso/WSFederationServlet/metaAlias/Fedsp?goto=http%3A%2F%2Fwww.stonehenge.com%3A8072%2Ftrader_client%2F
Content-Type: text/html; charset=iso-8859-1
Content-Length: 0
Date: Wed, 30 Sep 2009 22:10:41 GMT

HTTP/1.1 302 Moved Temporarily
X-Powered-By: Servlet/2.5
Location: http://www.stonehenge.com:8072/trader_client/
Content-Type: text/html; charset=iso-8859-1
Transfer-Encoding: chunked
Date: Wed, 30 Sep 2009 22:10:46 GMT

0

HTTP/1.1 302 Moved Temporarily
X-Powered-By: Servlet/2.5
Server: Sun GlassFish Enterprise Server v2.1
Location: 
http://sp.stonehenge.com:8090/opensso/WSFederationServlet/metaAlias/Fedsp?goto=http%3A%2F%2Fwww.stonehenge.com%3A8072%2Ftrader_client%2F
Content-Type: text/html; charset=iso-8859-1
Content-Length: 0
Date: Wed, 30 Sep 2009 22:10:46 GMT

HTTP/1.1 500 Internal Server Error
Content-Type: text/html
Content-Language: 
Content-Length: 1525
Date: Wed, 30 Sep 2009 22:11:01 GMT
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";><html><head><title>Sun 
GlassFish Enterprise Server v2.1 - Error report</title><style 
type="text/css"><!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} 
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 
500 - </h1><hr/><p><b>type</b> Exception 
report</p><p><b>message</b></p><p><b>description</b>The server encountered an 
internal error () that prevented it from fulfilling this 
request.</p><p><b>exception</b> <pre>javax.servlet.ServletException: 
AmAgentFilter: An exception has occured</pre></p><p><b>root cause</b> 
<pre>javax.servlet.ServletException: com.iplanet.sso.SSOException: Invalid 
session ID.</pre></p><p><b>root cause</b> <pre>com.iplanet.sso.SSOException: 
Invalid session ID.</pre></p><p><b>note</b> <u>The full stack traces of the 
exception and its root causes are available in the Sun GlassFish Enterprise 
Server v2.1 logs.</u></p><hr/><h3>Sun GlassFish Enterprise Server 
v2.1</h3></body></html>



-----Original Message-----
From: Ming Jin [mailto:[email protected]] 
Sent: Wednesday, September 30, 2009 6:06 PM
To: [email protected]
Subject: Re: Metro CBS

Ben,
These are possible. However, the problem occurred at
2009-09-30T16:12:50.530-040,
while the time of last message in agent log is 09/30/2009 03:22:50:958 PM.
What's more, there is " at
org.apache.stonehenge.stocktrader.filter.STSFilter.doFilter(Unknown Source)"
in trader_client log, which means the agent has finished its job and sent
the SSO assertion back to the trader_client.

Do you have any kind of HTTP monitor software installed in your workstation?
Can you capture the request/response message in/out the port
8092(trader_client)? I suggest tcpmon https://tcpmon.dev.java.net/

On Wed, Sep 30, 2009 at 10:11 PM, Ben Dewey <[email protected]> wrote:

> Ming,
>
> A couple things stick out to me from the agent log:
>
> - serverconfig.xml probably missing
> - WebtopNaming.getLBCookieValue(): server id is null, returning null
> And
> - ERROR: RemoteHandler.getLogHostURL(): 'null' is malformed. null
>
>
> -Ben Dewey
>
> -----Original Message-----
> From: Ming Jin [mailto:[email protected]]
> Sent: Wednesday, September 30, 2009 5:03 PM
> To: [email protected]
> Subject: Re: Metro CBS
>
> Ben,
> 1. Do you create new user uid:0/xxx both in SP and IdP?
> 2. Can you paste the log message in the domain with port 8092
> 3. Can you upload the debug.log under
> j2ee_agents\appserver_v9_agent\Agent_{the max number}\logs\debug?
>
> On Wed, Sep 30, 2009 at 9:33 PM, Ben Dewey <[email protected]> wrote:
>
> > Ming,
> >
> > I have setup everything for the Passive STS based on the STS manual,
> > unfortunately I think I still missing something.
> >
> > 1. I access http://www.stonehenge.com:8092/trader_client
> >
> > 2. I get directed to https://sp.stonehenge.com:8181/opensso/fedlet
> >
> > 3. I get directed to https://idp.stonehenge.com:8183/opensso/fedlet
> >
> > 4. I get directed to https://idp.stonehenge.com:8183/opensso/UI/login
> >
> > 5. I login using User0 and xxx
> >
> > 6. I get directed back to the trader client page with an 'Invalid session
> > ID' error below [1]
> >
> > Any idea what I'm missing?
> >
> > - Ben Dewey
> >
> >
> > [1]: HTTP Status 500 -
> >
> > type Exception report
> >
> > message
> > descriptionThe server encountered an internal error () that prevented it
> > from fulfilling this request.
> >
> > exception
> > javax.servlet.ServletException: AmAgentFilter: An exception has occured
> >
> > root cause
> > javax.servlet.ServletException: com.iplanet.sso.SSOException: Invalid
> > session ID.
> >
> > root cause
> > com.iplanet.sso.SSOException: Invalid session ID.
> >
>
>
>
> --
> Ming Jin
>
> Consultant
> Thoughtworks, Inc
> Twitter: https://twitter.com/mingjin
>



-- 
Ming Jin

Consultant
Thoughtworks, Inc
Twitter: https://twitter.com/mingjin

Reply via email to