war - Not able to access REST within EAR -
i using jboss deploy ear application contains restful war file. using javax.was.rs.applicationpath, , rest accessible , running ok when deploy war directly on server.
problem when deploy within ear file, not able access it.
in application.xml, have following
<module> <web> <web-uri>tp-server.war</web-uri> <context-root>/api</context-root> </web> </module> in javax.ws.rs.application:
@applicationpath("/") public class applicationconfig extends application { } is there special configuration make rest works in ear?
thanks
got problem solved. think tried republished app.
Comments
Post a Comment