hi
We are using jersey version is 1.1.1-ea and our war
file is deployed on JBOSS 5.1.0
and we see the following error is seen in JBOSS container logs :
2009-10-13 06:42:34,621 SEVERE
[com.sun.jersey.server.impl.application.WebApplicationImpl] (main) [failed to
localize] no.root.res.in.res.cfg()
2009-10-13 06:42:34,621 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/opensso]]
(main) StandardWrapper.Throwable
com.sun.jersey.api.container.ContainerException: [failed to localize]
no.root.res.in.res.cfg()
at
com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:773)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:645)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:419)
at
com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
at
com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
at
com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:455)
at
com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:178)
at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:442)
at javax.servlet.GenericServlet.init(GenericServlet.
this war file works OK on tomcat, glassfish and few other web containers that we have
test.
any clues on how to resolve this?
here is snippet of our web.xml
<servlet>
<servlet-name>ws</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>com.sun.jersey.config.property.resourceConfigClass</param-name>
<param-value>com.sun.jersey.api.core.PackagesResourceConfig</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>com.sun.identity.entitlement</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
thanks
--
Dennis Seah
OpenSSO - https://opensso.dev.java.net
Sun Microsystems Inc.
Ph: (408) 276-6670 x16670