You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "cdac.vikram@gmail.com" <cd...@gmail.com> on 2015/12/09 11:03:48 UTC
RE: jaxrs cxf deployment issues on weblogic 12c
Hi Folks,
I am deploying my code to weblogic 12c and getting the below jersey error:
because of this I am not getting UI properly, no css, no js nothing getting
loaded and getting 500 Internal server error
weblogic.jaxrs.server.portable.servlet.JerseyServletContainerInitializer
onStartup
INFO: The list of resource packages:org.apache.cxf.jaxrs.servlet
org.apache.cxf.jaxrs.validation org.apache.cxf.jaxrs.provider
but I dont have jersey in my project.
I added below config in my weblogic.xml and deployed and tested but still
the problem is there.
<wls:prefer-application-resources>
<wls:resource-name>META-INF/services/*</wls:resource-name>
</wls:prefer-application-resources>
Please suggest me how to resolve this.
Thanks,
Vikram
--
View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5763737.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: jaxrs cxf deployment issues on weblogic 12c
Posted by pskarthic <ka...@pointelsolutions.com>.
I have tried all the above but I am getting below exception, please advise
####<6 Aug, 2018, 12:22:06,360 PM IST> <Error> <HTTP> <PTLLTP008>
<AdminServer> <[ACTIVE] ExecuteThread: '11' for queue:
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <>
<b2276e62-bf3f-4b42-80a7-cc63a3297980-00000028> <1533538326360>
<[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] >
<BEA-101216> <Servlet: "JAX-RS/Jersey#1" failed to preload on startup in Web
application: "GenServiceV1.9.war".
java.lang.NoClassDefFoundError: org/apache/abdera/model/Element
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.getDeclaredMethods(Class.java:1975)
at
org.glassfish.jersey.server.model.IntrospectionModeller$2.run(IntrospectionModeller.java:253)
at java.security.AccessController.doPrivileged(Native Method)
at
org.glassfish.jersey.server.model.IntrospectionModeller.getAllDeclaredMethods(IntrospectionModeller.java:247)
at
org.glassfish.jersey.server.model.IntrospectionModeller.checkForNonPublicMethodIssues(IntrospectionModeller.java:172)
at
org.glassfish.jersey.server.model.IntrospectionModeller.doCreateResourceBuilder(IntrospectionModeller.java:119)
at
org.glassfish.jersey.server.model.IntrospectionModeller.access$000(IntrospectionModeller.java:80)
at
org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:112)
at
org.glassfish.jersey.server.model.IntrospectionModeller$1.call(IntrospectionModeller.java:109)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
--
Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html
Re: jaxrs cxf deployment issues on weblogic 12c
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi
I've collected some info here:
http://cxf.apache.org/docs/application-server-specific-configuration-guide.html#ApplicationServerSpecificConfigurationGuide-WebLogic
Cheers, Sergey
On 09/12/15 10:03, cdac.vikram@gmail.com wrote:
> Hi Folks,
>
> I am deploying my code to weblogic 12c and getting the below jersey error:
> because of this I am not getting UI properly, no css, no js nothing getting
> loaded and getting 500 Internal server error
>
> weblogic.jaxrs.server.portable.servlet.JerseyServletContainerInitializer
> onStartup
> INFO: The list of resource packages:org.apache.cxf.jaxrs.servlet
> org.apache.cxf.jaxrs.validation org.apache.cxf.jaxrs.provider
>
> but I dont have jersey in my project.
>
> I added below config in my weblogic.xml and deployed and tested but still
> the problem is there.
>
> <wls:prefer-application-resources>
> <wls:resource-name>META-INF/services/*</wls:resource-name>
> </wls:prefer-application-resources>
>
> Please suggest me how to resolve this.
>
> Thanks,
> Vikram
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5763737.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/