cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wolf, Chris \(IT\)" <Chris.W...@morganstanley.com>
Subject RE: CXF on weblogic 9.2
Date Fri, 16 May 2008 15:26:15 GMT
Not sure about your JVM arg, but to get CXF working in WLS-9.2,
I had to make the following adjustments to weblogic-application.xml:


<?xml version="1.0" encoding="UTF-8"?>
<weblogic-application xmlns="http://www.bea.com/ns/weblogic/90">
    <xml>
      <parser-factory>
        <saxparser-factory>
          org.apache.xerces.jaxp.SAXParserFactoryImpl
        </saxparser-factory>
        <document-builder-factory>
          org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
        </document-builder-factory>
        <transformer-factory>
          org.apache.xalan.processor.TransformerFactoryImpl
        </transformer-factory>
      </parser-factory>
    </xml>
    <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>
        <package-name>org.apache.xerces.*</package-name>
        <package-name>org.apache.xalan.*</package-name>
    </prefer-application-packages>
</weblogic-application>
 

________________________________

From: Ron Holckener [mailto:ron.holckener@amdocs.com] 
Sent: Thursday, May 01, 2008 1:40 AM
To: cxf-user@incubator.apache.org; cxf-dev@incubator.apache.org
Subject: CXF on weblogic 9.2



Hi All,

 

I am trying to check CXF usage in my application.

I am using CXF 2.0.5, and need it as a client to call a remote web
service.

I managed to do that in a standalone which worked fine.

Now I need to run it on weblogic 9.2, I took the relevant jars (see
classpath) and added it to the AppServer classpath (first without adding
my new CXF code) and got the attached error log.

>From reading at some forums I also tried:

1)      In weblogic-application.xml

<prefer-application-packages>

     <package-name>javax.jws.*</package-name>

</prefer-application-packages>

2)      Jvm arguments

-Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory

 

All with no success.

Does the exception look familiar?

Can you point to an earlier version in which you have deployed on
weblogic 9.2 successfully?

Any help would be much appreciated.

 

Thanks,

Ron.

 

This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
--------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in error.

Mime
View raw message