You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Stadelmann Josef <jo...@axa-winterthur.ch> on 2011/10/31 11:39:23 UTC

[axis2] HappyAxis.jsp found in error for axis2-1.6.1

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:1
90)
        at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RP
CMessageReceiver.java:117)
        at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLo
gic(AbstractInOutMessageReceiver.java:40)
        at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessa
geReceiver.java:110)
        at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
        at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
t(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(Applica
tionFilterChain.java:290)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.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:2
98)
        at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.j
ava:859)
        at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proce
ss(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
- <http://c036357:8080/axis2/services/Version?getVersion>
<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?

Josef


AW: [axis2] HappyAxis.jsp found in error for axis2-1.6.1

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
No problem, you're welcome, I will file the JIRA tomorrow and place 
as a hint the one-liner solution, it's a real easy one.
I just have no clue and no prives for delivering this fix 
Right into trunk sources, and hence have to use e-mailings.
Josef


-----Ursprüngliche Nachricht-----
Von: Sagara Gunathunga [mailto:sagara.gunathunga@gmail.com] 
Gesendet: Montag, 31. Oktober 2011 17:05
An: java-user@axis.apache.org
Betreff: Re: [axis2] HappyAxis.jsp found in error for axis2-1.6.1

Hi Josef,

It seems you got wrong interpretation about my suggestion or I wrote
it in such way that :)

There is no such demand or administrative requirements. We keep
encouraging people to active on mailing list and provide patches
regularly  and become a part of the community and this is all about
"community over code" concept. Since you are active on user list for
sometime I felt to write above suggestion.

If it is convenient to you please fill up JIRA issue or I'm happy to
do all those steps myself.

BTW thanks for finding a hidden issue and the solution.



On Mon, Oct 31, 2011 at 8:16 PM, Stadelmann Josef
<jo...@axa-winterthur.ch> wrote:
> 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.gunathunga@gmail.com]
> Gesendet: Montag, 31. Oktober 2011 12:05
> An: java-user@axis.apache.org
> Cc: axis-user@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
> <jo...@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-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>



-- 
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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: [axis2] HappyAxis.jsp found in error for axis2-1.6.1

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi Josef,

It seems you got wrong interpretation about my suggestion or I wrote
it in such way that :)

There is no such demand or administrative requirements. We keep
encouraging people to active on mailing list and provide patches
regularly  and become a part of the community and this is all about
"community over code" concept. Since you are active on user list for
sometime I felt to write above suggestion.

If it is convenient to you please fill up JIRA issue or I'm happy to
do all those steps myself.

BTW thanks for finding a hidden issue and the solution.



On Mon, Oct 31, 2011 at 8:16 PM, Stadelmann Josef
<jo...@axa-winterthur.ch> wrote:
> 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.gunathunga@gmail.com]
> Gesendet: Montag, 31. Oktober 2011 12:05
> An: java-user@axis.apache.org
> Cc: axis-user@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
> <jo...@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-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: java-user-help@axis.apache.org
>
>



-- 
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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


AW: [axis2] HappyAxis.jsp found in error for axis2-1.6.1

Posted by Stadelmann Josef <jo...@axa-winterthur.ch>.
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.gunathunga@gmail.com] 
Gesendet: Montag, 31. Oktober 2011 12:05
An: java-user@axis.apache.org
Cc: axis-user@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
<jo...@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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org


Re: [axis2] HappyAxis.jsp found in error for axis2-1.6.1

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Mon, Oct 31, 2011 at 4:09 PM, Stadelmann Josef
<jo...@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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org