|Eclipse Orion with JAX-RS Connector [message #1692084]
||Mon, 13 April 2015 10:17
| Murali Kris
Registered: July 2009
I would want to use/integrate the OSGi-JAX-RS connector @ http://eclipsesource.com/blogs/2014/02/04/step-by-step-how-to-bring-jax-rs-and-osgi-together/
with Eclipse Orion application.Here is how i went about to integrate:
a. Install the Orion .target system
b. Get all the sources from its GIT root.
c. Updated the target definition with JAX-RS Connector p2 repository.
d. Updated the available launch configuration called web-ide.launch with details of JAX-RS connector plug-ins(Connector, publisher, jersey-all etc) and Example JAX RS Example REST Service application.
e. When i launched it, it launched fine with the new bundles in active state.However it used the port 'org.eclipse.equinox.http.jetty.http.port' for launching the jetty and not 'org.osgi.service.http.port'
f. When launched using -Dorg.osgi.service.http.port removing the other, it used the default port number 8080.
g. Orion application launched fine on http://localhost:9090 while my REST service @ http://localhost:9090/services/hello threw the following error:
HTTP ERROR: 404
Problem accessing /services/hello. Reason:
Am i doing the right thing.
Please help me resolve this integration.
[Updated on: Mon, 13 April 2015 10:28]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01915 seconds