You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Josef Stadelmann (Created) (JIRA)" <ji...@apache.org> on 2011/11/01 10:24:32 UTC

[jira] [Created] (AXIS2-5176) HappyAxis.jsp found in error for axis2-1.6.1

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

                 Key: AXIS2-5176
                 URL: https://issues.apache.org/jira/browse/AXIS2-5176
             Project: Axis2
          Issue Type: Bug
          Components: samples
    Affects Versions: 1.6.1
         Environment: Windows Vista SP2, JDK 1.5.0_18, 
            Reporter: Josef Stadelmann
            Priority: Minor


Just built axis2-1.6.1 from sources at tags/1.6.1, installed it, and deployed the axis2.war to a Tomcat running on Windows Vista.

The validation page returns an error for the Version/getVersion Service when triggered by the Happyness Page. 

Asking the Version Service straigth by a browser worked properly. 
i.e.
http://c036357:8080/axis2/services/Version?getVersion
returned properly
<ns:getVersionResponse xmlns:ns="http://axisversion.sample">
  <ns:return>Hi - the Axis2 version is 1.6.1</ns:return>
</ns:getVersionResponse>

so it is not the deployed Version service but the client in our case HappyAxis.jsp calling the service.

The fix is very simple but needs to be included into happyAxis.jsp by a developer with privs to commit into the trunk sources, maybe also change it into the tags/1.6.1 sources if that fits the policy.

Inside HappyAxis.jsp 
change from
OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", "ns1");
to
OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1");

As the stack trace said!

Josef


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Assigned] (AXIS2-5176) HappyAxis.jsp found in error for axis2-1.6.1

Posted by "Sagara Gunathunga (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  reassigned AXIS2-5176:
-----------------------------------------

    Assignee: Sagara Gunathunga 
    
> HappyAxis.jsp found in error for axis2-1.6.1
> --------------------------------------------
>
>                 Key: AXIS2-5176
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5176
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.6.1
>         Environment: Windows Vista SP2, JDK 1.5.0_18, 
>            Reporter: Josef Stadelmann
>            Assignee: Sagara Gunathunga 
>            Priority: Minor
>              Labels: HappyAxis
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Just built axis2-1.6.1 from sources at tags/1.6.1, installed it, and deployed the axis2.war to a Tomcat running on Windows Vista.
> The validation page returns an error for the Version/getVersion Service when triggered by the Happyness Page. 
> Asking the Version Service straigth by a browser worked properly. 
> i.e.
> http://c036357:8080/axis2/services/Version?getVersion
> returned properly
> <ns:getVersionResponse xmlns:ns="http://axisversion.sample">
>   <ns:return>Hi - the Axis2 version is 1.6.1</ns:return>
> </ns:getVersionResponse>
> so it is not the deployed Version service but the client in our case HappyAxis.jsp calling the service.
> The fix is very simple but needs to be included into happyAxis.jsp by a developer with privs to commit into the trunk sources, maybe also change it into the tags/1.6.1 sources if that fits the policy.
> Inside HappyAxis.jsp 
> change from
> OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", "ns1");
> to
> OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1");
> As the stack trace said!
> Josef

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (AXIS2-5176) HappyAxis.jsp found in error for axis2-1.6.1

Posted by "Sagara Gunathunga (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5176.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
                   1.6.2

Fixed in r1195893.
                
> HappyAxis.jsp found in error for axis2-1.6.1
> --------------------------------------------
>
>                 Key: AXIS2-5176
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5176
>             Project: Axis2
>          Issue Type: Bug
>          Components: samples
>    Affects Versions: 1.6.1
>         Environment: Windows Vista SP2, JDK 1.5.0_18, 
>            Reporter: Josef Stadelmann
>            Assignee: Sagara Gunathunga 
>            Priority: Minor
>              Labels: HappyAxis
>             Fix For: 1.6.2, 1.7.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Just built axis2-1.6.1 from sources at tags/1.6.1, installed it, and deployed the axis2.war to a Tomcat running on Windows Vista.
> The validation page returns an error for the Version/getVersion Service when triggered by the Happyness Page. 
> Asking the Version Service straigth by a browser worked properly. 
> i.e.
> http://c036357:8080/axis2/services/Version?getVersion
> returned properly
> <ns:getVersionResponse xmlns:ns="http://axisversion.sample">
>   <ns:return>Hi - the Axis2 version is 1.6.1</ns:return>
> </ns:getVersionResponse>
> so it is not the deployed Version service but the client in our case HappyAxis.jsp calling the service.
> The fix is very simple but needs to be included into happyAxis.jsp by a developer with privs to commit into the trunk sources, maybe also change it into the tags/1.6.1 sources if that fits the policy.
> Inside HappyAxis.jsp 
> change from
> OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample/xsd", "ns1");
> to
> OMNamespace omNs = fac.createOMNamespace("http://axisversion.sample", "ns1");
> As the stack trace said!
> Josef

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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