Hi, I use muse v2.2.0 on win Xp and Apache Tomcat 6.0.10, I attempt to run simple example at:
muse-2.2.0-bin\samples\j2ee\simple\ I create a directory to work prova\simple\ I use following commands: - copy file SimpleResource.wsdl from muse-2.2.0-bin\samples\j2ee\simple\wsdl\ to prova\simple\ - setclasspath (from bin directory of muse) - wsdl2java -j2ee axis2 -wsdl SimpleResource.wsdl - ant - copy simple.war in webapps directory of tomcat and start tomcat - wsdl2java -proxy -wsdl SimpleResource.wsdl - ant - copy client source from muse-2.2.0-bin\samples\j2ee\simple\src\org\apache\muse\test\simple\ to prova\simple\ I don't modificate any source file of simple example, I compile and execute client to test the service deployed on tomcat, but I receive a 500 Internal Server Error mesage from tomcat. client send SOAP message: <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope "> <soap:Header> <wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing"> http://39.237.153.42:8080/simple/services/SimpleResource</wsa:To> <wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing"> http://ws.apache.org/muse/test/simple/first/FirstOperation</wsa:Action> <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing ">uuid:76b74850-826c-7b82-c35f-406f4430cb08</wsa:MessageID> <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:Address> http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Address> </wsa:From> <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing" wsa:IsReferenceParameter="true">MuseResource-1</muse-wsa:ResourceId> </soap:Header> <soap:Body> <first:FirstOperation xmlns:first=" http://ws.apache.org/muse/test/simple/first">Hello, World!</first:FirstOperation> </soap:Body> </soap:Envelope> and tomcat reply with message: HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 3044 Date: Sat, 31 Mar 2007 09:52:50 GMT Connection: close <html><head><title>Apache Tomcat/6.0.10 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font- size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans- serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font- family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>javax.servlet.ServletException: Servlet.init () for servlet AxisServlet threw exception org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :104) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java :216) org.apache.coyote.http11.Http11Processor.process (Http11Processor.java :844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:634) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445) java.lang.Thread.run (Unknown Source) </pre></p><p><b>root cause</b> <pre> javax.xml.stream.FactoryConfigurationError: Provider javax.xml.stream.XMLInputFactory could not be instantiated: java.lang.InstantiationException javax.xml.stream.XMLInputFactory.newInstance(Unknown Source) org.apache.axiom.om.util.StAXUtils.getXMLInputFactory(StAXUtils.java:40) org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:66) org.apache.axis2.deployment.DescriptionBuilder.buildOM( DescriptionBuilder.java:86) org.apache.axis2.deployment.AxisConfigBuilder.populateConfig( AxisConfigBuilder.java:58) org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration ( DeploymentEngine.java:690) org.apache.axis2.deployment.WarBasedAxisConfigurator.<init>( WarBasedAxisConfigurator.java:129) org.apache.axis2.transport.http.AxisServlet.initConfigContext( AxisServlet.java :373) org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:317) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java :104) org.apache.catalina.connector.CoyoteAdapter.service (CoyoteAdapter.java :216) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process( Http11Protocol.java:634) org.apache.tomcat.util.net.JIoEndpoint$Worker.run (JIoEndpoint.java:445) java.lang.Thread.run(Unknown Source) </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.10 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.10</h3></body></html> what is the problem? regards Donato
