Hi, tried <Context docBase="JAXRS" path="/" reloadable="true" source="org.eclipse.jst.jee.server:JAXRS"/> and it works fine (default generated by eclipse)
Romain Manni-Bucau Twitter: @rmannibucau Blog: http://rmannibucau.wordpress.com/ LinkedIn: http://fr.linkedin.com/in/rmannibucau Github: https://github.com/rmannibucau 2012/12/5 deetewari <[email protected]>: > The actual server.xml entry for Context is > > <Context > docBase="/home/user/Documents/workspace-sts/.metadata/.plugins/org.eclipse.wst.server.core/tmp1/wtpwebapps/WebApp" > path="" reloadable="true" source="org.eclipse.jst.jee.server:WebApp"> > > Secondly, in Eclipse if I need to make a webapp default, I set the context > path to "/" as it doesn't allow for an empty string. The deployed Context > entry's path attribute used to work ok with "/". Even if I manually edit and > set it to "", the error is still occurring. > > Thanks. > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/JAX-RS-webservices-do-not-work-on-TomEE-if-webapp-context-is-tp4659047p4659112.html > Sent from the OpenEJB User mailing list archive at Nabble.com.
