Hi,
I've tried your tutorial using Equniox and I'm getting an Exception when
trying to call the exampel URL:
16 Okt 2008 19:30:22 ERROR org.mortbay.log - EXCEPTION
java.lang.NullPointerException
at
org.wymiwyg.wrhapi.jetty.JettyWebServerFactory$2.handle(JettyWebServerFactory.java:79)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at
org.mortbay.jetty.nio.BlockingChannelConnector$Connection.run(BlockingChannelConnector.java:163)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)
How can I solve this problem? Thanks.
Regards,
Martin
Reto Bachmann-Gmür schrieb:
JAX-RS [1] (aka JSR 311) is the new Java API for RESTful Web Services.
At trialox.org we have implemented Triaxrs, a JAX-RS implementation,
that can run in OSGi containers. Our code is open source and licensed
under the apache 2.0 license. It allows discovery of root resources and
providers using the OSGi service registry. A tutorial is available which
shows the steps to create a RESTfull application and deploy it in the
felix OSGi container.
Triaxrs 0.3 implements most of the features of version 0.10 of the
JAX-RS API, a snapshot based on version 1.0 will be available soon. We
would like to invite you to test it and are happy to receive any feedback.
Website: http://trialox.org/projects/org.trialox.jaxrs/
Mercurial-source repository: http://scm.trialox.org/org.trialox.jaxrs/
Tutorial:
http://trialox.org/projects/org.trialox.jaxrs/tutorials/tutorial_1.xhtml
Download: http://repo.trialox.org/distro/org/trialox/org.trialox.jaxrs/0.3/
Cheers,
reto
1. http://jsr311.dev.java.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]