cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gladwin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-1750) CXF 2.1.1 And WebLogic 10
Date Wed, 13 Apr 2011 00:41:05 GMT

    [ https://issues.apache.org/jira/browse/CXF-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019142#comment-13019142
] 

Gladwin commented on CXF-1750:
------------------------------

Web Service with CXF and Weblogic 11g issue has been resolved with an enhancement in CXF version
2.4 and 2.3.4

Reference JIRA: [https://issues.apache.org/jira/browse/CXF-3363]

> CXF 2.1.1 And WebLogic 10
> -------------------------
>
>                 Key: CXF-1750
>                 URL: https://issues.apache.org/jira/browse/CXF-1750
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>         Environment: WebLogic 10
>            Reporter: Sripathi Acharya
>             Fix For: Invalid
>
>
> Hi All,
> I'm facing the following exception when I build the webservice from the CXF sample hello_world.wsdl
and try to deploy on WebLogic 10
> <Aug 15, 2008 12:20:34 PM BST> <Error> <HTTP> <BEA-101125> <[weblogic.servlet.internal.WebAppServletContext@14627f
- appName: 'HelloWorld', name: 'HelloWorldWeb', context-path: '/HelloWorldWeb'] Error occurred
while instantiating servlet: "org.apache.cxf.js.rhino.DOMPayloadProvider".
> java.lang.InstantiationException: org.apache.cxf.js.rhino.DOMPayloadProvider
>         at java.lang.Class.newInstance0(Class.java:335)
>         at java.lang.Class.newInstance(Class.java:303)
>         at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:187)
>         at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:203)
>         at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:254)
> I've used CXF wsdl2java converter to build the server side code.
> My EAR model is as follows:
> HelloWorld.ear
>     -META-INF
>         -weblogic-application.xml
>     -HelloWorldWeb.war
>         -wsdl
>             -hello_world.wsdl
>         -WEB-INF
>             -lib
>             -classes
>             -web.xml
>             -bean.xml
> The bean XML has the following entry:
> 	<import resource="classpath:META-INF/cxf/cxf.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
> 	<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
> 	<jaxws:endpoint id="HelloWorld"
> 		implementor="org.apache.hello_world_soap_http.GreeterImpl"
> 		address="/HelloWorld">
> 	</jaxws:endpoint>
> weblogic-application.xml has the following entry:
>     <application-param>
>         <param-name>webapp.encoding.default</param-name>
>         <param-value>UTF-8</param-value>
>     </application-param>
>     <prefer-application-packages>
>         <package-name>javax.jws.*</package-name>
>     </prefer-application-packages> 
> Workaround:
> I've modified the DOMPayloadProvider source to include default constructor, which allowed
me to deploy the application on to WebLogic 10.
> P.S. The application works fine on Tomcat 6.0

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message