HTTP Server Error

Dai Jun guiwuu at gmail.com
Mon May 25 02:42:48 EDT 2009


Hi manish_iitg,

I run the HTTP Server example in Netty's source code and submit your
form. It works correctly and browser also get right response. I don't
know how your problem happens, though, I like to find the reason with
you. Maybe you should check out the lastest codes first and test
again.

On Sat, May 23, 2009 at 4:19 PM, manish_iitg
<excellencetechnologies08 at gmail.com> wrote:
>
> hello,
>
> I just start today to work the HTTP Server Implementation of netty.
>
> I copied the code provided in the tutorial and made the HTTP server.
>
> The on the browser side, i created simple form, with "get" method.
>
> Here is the form code
> <form action="http://localhost:9096" method="get">
>                <input type="hidden" name="registration" value="yes">
>                <input type="hidden" name="username" value="manish">
>                <input type="hidden" name="password" value="manish">
>                <input type="submit" value="Submit      ">
> </form>
>
> After form submission i am getting this error on netty:
>
> Exception in thread "pool-13-thread-1" java.lang.NoSuchMethodError:
> org.jboss.netty.handler.codec.replay.ReplayingDecoder.<init>(Ljava/lang/Enum;Z)V
>        at
> org.jboss.netty.handler.codec.http.HttpMessageDecoder.<init>(HttpMessageDecoder.java:87)
>        at
> org.jboss.netty.handler.codec.http.HttpMessageDecoder.<init>(HttpMessageDecoder.java:81)
>        at
> org.jboss.netty.handler.codec.http.HttpRequestDecoder.<init>(HttpRequestDecoder.java:36)
>        at
> com.excel.server.http.usermanager.HttpServerPipelineFactory.getPipeline(HttpServerPipelineFactory.java:22)
>        at
> org.jboss.netty.channel.socket.nio.NioServerSocketPipelineSink$Boss.run(NioServerSocketPipelineSink.java:206)
>        at
> org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:78)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>        at java.lang.Thread.run(Unknown Source)
>
>
> I dont understand what the problem is. Could any help me out.
> --
> View this message in context: http://n2.nabble.com/HTTP-Server-Error-tp2961269p2961269.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>

-- 
Best regards,

Dai Jun or Danny Dai in English, http://guiwuu.googlepages.com
GTalk: guiwuu at gmail.com | QQ: 93409048 | MSN: guiwuu at hotmail.com |
Twitter: guiwuu




More information about the netty-users mailing list