users@glassfish.java.net

Re: Applet unable to invoke http request to Glassfish

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 06 Jan 2009 20:24:03 -0500

Salut,

glassfish_at_javadesktop.org wrote:
> Actually, the access log is enabled in my case and is logging fine. For example, I can hit the JSP that launches the applet and of course this url is logged in the access log and the applet starts. But, the applet initialization code I wrote expects to hit another JSP to collect some data and it is that JSP that is NOT logged. However, if I trap this URL in the Java Console for the applet and copy/paste it to the browser it works fine and is logged...
>
> So, for some reason the applet can not submit this request under Glassfish but works fine this way under JBoss. What would cause this behavior? How would you trouble-shoot this further?
>

A network sniffer log would help here. I recommend you install ngrep
(ngrep.sourceforge.net) or wireshark and grap the network traffic to see
if the Applet is really sending the request. If GlassFish receive the
request, then a test case would help me to diagnose what's happening :-)

A+

-- Jeanfrancois


  [Message sent by forum member 'jameshr' (jameshr)]
>
> http://forums.java.net/jive/thread.jspa?messageID=323465
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>