Question

I am trying a sample project that requires me to enable the JAX-RS 1.1 provided IBM worklight server. However I am not able to find that feature in eclipse server.xml design page. Please suggest how I can get that enabled.

Unable to find Feature jax-rs 1.1 Please help!!

Screenshot provided in the tutorial

Était-ce utile?

La solution

If you check in this subdirectory of Eclipse, you will see that the Liberty server included in Worklight Studio does not include the jax-rs 1.1 feature.

/plugins/com.worklight.studio.plugin_6.1.0.00-20131219-1900/liberty/wlp/lib

This is not documented. I figure this out because it also does not include the managed-beans 1.0 feature, which I needed for a project this week.

For reference here is the list of all Liberty profile features: http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.wlp.nd.multiplatform.doc%2Fae%2Frwlp_feat.html

You might be able to copy the jax-rs 1.1 feature from a full Liberty install by following these directions (I haven't tested this, and would hesitate to do so inside of Worklight Studio, obviously not a supported modification): http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.wlp.nd.multiplatform.doc%2Fae%2Frwlp_feat.html

Autres conseils

I thought it was supposed to be supported.

Liberty Core supports the JEE Web Profile which contains JAX-RS. See http://pic.dhe.ibm.com/infocenter/wasinfo/v8r5/index.jsp?topic=%2Fcom.ibm.websphere.wlp.nd.doc%2Fae%2Frwlp_feat.html

Did you try adding <feature>jaxrs-1.1</feature> to the server.xml file?

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top