http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/modules/webapp/conf/weblogic.xml
-- dims On 11/8/06, Charitha Kankanamge <[EMAIL PROTECTED]> wrote:
Hi all, I was trying to test Axis2-1.1 with Weblogic 9.2 on Ubuntu. I installed weblogic 9.2 and configured a domain in development mode. Then I copied axis2.war into /bea/user_projects/domain/mydomain/autodeploy directory. When I restarted the server, I was able to access axis2 admin console home page and was able to login to the console. However when I selected a service (eg:-version) and clicked on it, 'Internal server error' page is displayed and following exception appeared in the logs. [EMAIL PROTECTED] - appName: '_appsdir_axis2_war', name: 'axis2.war', context-path: '/axis2'] Root cause of ServletException. java.lang.NoSuchMethodError: javax.xml.stream.XMLOutputFactory.newInstance(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljavax/xml/stream/XMLOutputFactory; at org.apache.axiom.om.util.StAXUtils.getXMLOutputFactory(StAXUtils.java:97) at org.apache.axiom.om.util.StAXUtils.createXMLStreamWriter(StAXUtils.java:111) at org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:381) at org.apache.axis2.description.AxisService.getWSDL(AxisService.java:711) at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:580) As I understand, this error occurs, due to weblogic ships with jars which conflict with jars present in Axis2 (As stated in the Axis2 Application server specific configuration guide). 'Axis2 Application server specific configuration guide' instructs to set <prefer-web-inf-classes> to true in weblogic.xml. However it does not give a proper instructions on how to do that (How to configure weblogic.xml completely, where to put it etc..) I would be thankful if you can send me a sample weblogic.xml file with necessary axis2 configuration or please point me to a correct source where I can get these information. Thanks in advance, Charitha --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
