users@glassfish.java.net

Re: Accessing a servlet url without a web browser

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 21 Apr 2008 10:58:09 -0400

Hi,

just to recap. You star GlassFish v2, open a telnet session and try to
get access to your Servlet, right? That should work with v2 (v3 is
broken in that particular scenario). Now reading the email thread, you
seems to have issues with v2, right?

Can you edit ${glassfish.home}/domains/domain1/config/domain.xml and
remove the following like:

<property name="proxiedProtocols" value="..."/>

restart GlassFish and test again? Not that if you use telnet you need to
type fast the request line as if the bytes are sent to Grizzly too
slowly, Grizzly will think it is a DoS and close the connection.

Thanks

-- Jeanfrancois

glassfish_at_javadesktop.org wrote:
> I switched to GlassFish V2.
>
> I deployed myservlet GlassFish which runs on port 8080
> I am using windows XP and type [b]telnet localhost 8080[/b]
> then it shows me a window titled Telnet localhost
> But when i tried to type GET /Myservlet it comes back to command prompt.
>
> Could you please let me know a way to test this using telnet? ( I wanna verify that can i invoke myservlet atleast using telnet)
> [Message sent by forum member 'ruwanin84' (ruwanin84)]
>
> http://forums.java.net/jive/thread.jspa?messageID=270267
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>