Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

jaxrs cxf deployment issues on weblogic 12c

$
0
0
If I exclude the javax.ws.rs-api-2.0 then the WebApplicationException class I am using is from that package. I have followed the direction on
http://docs.oracle.com/cd/E24329_01/web.1211/e24983/version.htm. I included the glassfish bundle:
<dependency>
<artifactId>jaxrs-ri</artifactId>
<groupId>org.glassfish.jersey.bundles</groupId>
<version>2.0</version>
</dependency>

And it seems to work but it looks like Jersey is running behind when looking at this WebLogic log message:

<Apr 3, 2014 3:19:30 PM MDT> <Warning> <weblogic.jaxrs.server.portable.servlet.JerseyServletContainerInitializer> <BEA-000000> <
**********
The application is using ServletContainerInitializer class org.glassfish.jersey.servlet.init.JerseyServletContainerInitializer that is loaded from:file:/home/myid/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/servers/AdminServer/tmp/_WL_user/enterprise-caching/y2gltg/war/WEB-INF/lib/jaxrs-ri-2.0.jar. This initializer overrides the one available in the system.
**********>

Are there anybody out there that has run CXF JAXRS 2.0 on WebLogic 12c?

Thanks
-Sonam

****************************************************************************************

Hi,

You probably need to exclude javax.ws.rs-api-2.0 when building a
CXF-based war, 3.0.0-milestone2 is expected to completely support JAX-RS
1.1 applications.

Sergey



read the migration to 3.x guideline but don't find any clues on it.

Viewing all articles
Browse latest Browse all 5648

Trending Articles