Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 18878 invoked from network); 18 Aug 2008 10:58:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Aug 2008 10:58:35 -0000 Received: (qmail 42186 invoked by uid 500); 18 Aug 2008 10:58:33 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 42165 invoked by uid 500); 18 Aug 2008 10:58:33 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 42154 invoked by uid 99); 18 Aug 2008 10:58:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 03:58:33 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2008 10:57:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 68BDB234C1B5 for ; Mon, 18 Aug 2008 03:57:44 -0700 (PDT) Message-ID: <1247514349.1219057064427.JavaMail.jira@brutus> Date: Mon, 18 Aug 2008 03:57:44 -0700 (PDT) From: "Sripathi Acharya (JIRA)" To: issues@cxf.apache.org Subject: [jira] Commented: (CXF-1750) CXF 2.1.1 And WebLogic 10 In-Reply-To: <1498496896.1218805665546.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1750?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623320#action_12623320 ] Sripathi Acharya commented on CXF-1750: --------------------------------------- Hi Glen, The application failed to deploy even with the weblogic-application.xml you have mentioned. One thing I noticed was, when I removed the classes DOMPayloadProvider and DOMMessageProvider from the cxf-2.1.1.jar, I am able to deploy the application on WebLogic successfully. I don't know if this error is due to the classes provided by CXF or the way these are instantiated by WebLogic server (also don't know from where its reading the bean configurations). Any help is highly appreciated. Sripathi > 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 > > 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 > <[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: > > > > implementor="org.apache.hello_world_soap_http.GreeterImpl" > address="/HelloWorld"> > > weblogic-application.xml has the following entry: > > webapp.encoding.default > UTF-8 > > > javax.jws.* > > 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. - You can reply to this email to add a comment to the issue online.