Thursday, June 2, 2011

Re: 500 non-HTTP request or response in Equinox

Remove servlet-api and test. I suppose Equinox have this jar.

2011/6/2 Jose Luis Hernandez <jose.hernandezga@gmail.com>
Yes!
I have created another custom bundle which includes servlet-api
library. After that, I import the bundle in my war.

On Jun 2, 4:54 pm, Juan Pablo Gardella <gardellajuanpa...@gmail.com>
wrote:
> Are you package servlet-api jar in your war?
>
> 2011/6/2 Jose Luis Hernandez <jose.hernande...@gmail.com>
>
>
>
>
>
>
>
> > Hello!
> > I am deploying a GWT application on Equinox! I have developed a Spring
> > framework (Spring Dynamic Modules) in Equinox to run bundles. Well,
> > when I run GWT application I get first html page. However if I click a
> > button to call server, the server reply with 500 non-HTTP request or
> > response.
> > The trace is:
>
> > HTTP ERROR: 500</h2><pre>non-HTTP request or response</pre>
> > <p>RequestURI=/ZB_app/zbapp/app</p><h3>Caused by:</
> > h3><pre>javax.servlet.ServletException: non-HTTP request or response
>
> >    at javax.servlet.http.HttpServlet.service(HttpServlet.java:715)
>
> >    at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
>
> >    at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> > 362)
>
> >    at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> > 216)
>
> >    at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> > 181)
>
> >    at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> > 726)
>
> >    at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
>
> >    at
>
> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCol lection.java:
> > 206)
>
> >    at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
> > 114)
>
> >    at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > 152)
>
> >    at org.mortbay.jetty.Server.handle(Server.java:320)
>
> >    at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> > 505)
>
> >    at org.mortbay.jetty.HttpConnection
> > $RequestHandler.content(HttpConnection.java:842)
>
> >    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
>
> >    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:
> > 211)
>
> >    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:
> > 380)
>
> >    at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> > 395)
>
> >    at org.mortbay.thread.BoundedThreadPool
> > $PoolThread.run(BoundedThreadPool.java:450)
>
> > Spring includes package javax.servlet and I import such package. Could
> > someone help me please??
> > Thanks in advance!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscribe@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment