Sagara The fastest way to get that fixed is by one of the developers having svn https/checkout/commit privileges on the trunk sources of axis2 The corrective action required is given in my e-mail below. It's an easy one-liner as you can see below. THIS because I have never provided a patch file or do know how to make a patch file. And well - I can file a JIRA for administrative purpose. Josef - let me know, if that fits your demand
-----Ursprüngliche Nachricht----- Von: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] Gesendet: Montag, 31. Oktober 2011 12:05 An: java-user@axis.apache.org Cc: axis-u...@ws.apache.org Betreff: Re: [axis2] HappyAxis.jsp found in error for axis2-1.6.1 On Mon, Oct 31, 2011 at 4:09 PM, Stadelmann Josef <josef.stadelm...@axa-winterthur.ch> wrote: > Just have just built very successfully axis2-1.6.1 from tags/1.6.1 > > Just deployed successfully to my local running Tomcat 6.0.26 on Vindos Vista > under JDK 1.5.0_26 > > And the validation page returns an error for the Version/getVersion Service > when triggered by the Happyness Page > > And the stack trace received in the Tomcat Output Window is > > [INFO] Clustering has been disabled > > [INFO] Deploying module: addressing-1.6.1 - file:/C:/Program Files/Apache > Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/addressing-1.6.1.mar > > [INFO] Deploying module: jaxws-1.6.1 - file:/C:/Program Files/Apache > Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/axis2-jaxws-mar-1.6.1.mar > > [INFO] Deploying module: metadataExchange-1.6.1 - file:/C:/Program > Files/Apache Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/mex-1.6.1.mar > > [INFO] Deploying module: mtompolicy-1.6.1 - file:/C:/Program Files/Apache > Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/mtompolicy-1.6.1.mar > > [INFO] Deploying module: ping-1.6.1 - file:/C:/Program Files/Apache Software > Foundation/Apache Tomcat 6.0.26/webapps/axis2/WEB-INF/modules/ping-1.6.1.mar > > [INFO] Deploying module: script-1.6.1 - file:/C:/Program Files/Apache > Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/scripting-1.6.1.mar > > [INFO] Deploying module: soapmonitor-1.6.1 - file:/C:/Program Files/Apache > Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/modules/soapmonitor-1.6.1.mar > > [INFO] Deploying Web service: version-1.6.1.aar - file:/C:/Program > Files/Apache Software Foundation/Apache Tomcat > 6.0.26/webapps/axis2/WEB-INF/services/version-1.6.1.aar > > [ERROR] Exception occurred while trying to invoke service method getVersion > > org.apache.axis2.AxisFault: namespace mismatch require > http://axisversion.sample found http://axisversion.sample/xsd > > at > org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:190) > > at > org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117) > > at > org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40) > > at > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110) > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) > > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) > > at > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) > > at > org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) > > at > org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579) > > at > org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555) > > at java.lang.Thread.run(Thread.java:595) > > null > > I consider it a problem if source-kits build with maven successfully but > simple examples fail thereafter. > > I can modify the sources myself for my own sack but I can not checkin the > fix. > > Asking the Version Service straigth by a browser worked properly > > http://c036357:8080/axis2/services/Version?getVersion > > returned > > - <ns:getVersionResponse xmlns:ns="http://axisversion.sample"> > > <ns:return>Hi - the Axis2 version is 1.6.1</ns:return> > > </ns:getVersionResponse> > > So the following String in the HappyAxis.jsp page is wrong and needs to be > adjusted from > > OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", > "ns1"); > > to > > OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", > "ns1"); > > As the stack trace said! > > Do we need a JIRA? Yes please. Since you already have the fix, get the Axis2 trunk code from here[1] and provide a patch for this issue. [1] - http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/ > > Josef -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web - http://people.apache.org/~sagara/ LinkedIn - http://www.linkedin.com/in/ssagara --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org