>> PS: root tag of resources.xml is resources and not tomee

Done. However, it does not have any effect on 1.5.2, it continues to throw
the same error.

Built 1.6.0 snapshot today fresh. Now I do not get that error and Datasource
gets initialized. However, there are some other problems with JAX-RS. Even
when I tried to access my login page, which works perfectly in 1.5.1, it
seems to resolve it to a REST URL... But all my rest endpoints are under
/rest/.

When I type http://localhost:8080/dbapp1/login.xhtml, i get this. This works
in 1.5.1 though.

May 02, 2013 8:12:09 PM org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor
processRequest
WARNING: No root resource matching request path  has been found, Relative
Path: /. Please enable FINE/TRACE log level for more details.
May 02, 2013 8:12:09 PM
org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse
WARNING: javax.ws.rs.WebApplicationException
        at
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest(JAXRSInInterceptor.java:158)
        at
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage(JAXRSInInterceptor.java:90)
        at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
        at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
        at
org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
        at
org.apache.openejb.server.cxf.rs.CxfRsHttpListener.onMessage(CxfRsHttpListener.java:132)
        at org.apache.openejb.server.rest.RsServlet.service(RsServlet.java:53)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

I will try to put up a small application which might be useful.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Datasource-problem-with-TomEE-1-5-2-Works-in-1-5-1-tp4662607p4662653.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to