Use of json output throws exception.
------------------------------------

                 Key: MASHUP-675
                 URL: http://wso2.org/jira/browse/MASHUP-675
             Project: WSO2 Mashup Server
          Issue Type: Bug
    Affects Versions: 1.0
         Environment: Java 1.5.0_12-b04 on Windows XP SP2 (all known patches)
Clean install of Mashup Server 1.0.1 exe after uninstalling Mashup Server 1.0
            Reporter: Chad W Hinton
            Assignee: Channa Gunawardena


Forum post http://wso2.org/forum/thread/2883 indicates that using a url that 
looks like "https://localhost:7443/services/system/version?response=json"; would 
return json output.  The install included the Dynamic ResponseHandler 1.0 
pre-installed and globally engaged as reported from the modules menu of the 
wsasadmin management console.  

I receive the following stack trace when I attempt the above url:
<Exception>org.apache.axis2.AxisFault: The endpoint reference (EPR) for the 
Operation not found is /services/system-version?response=json and the WSA 
Action = null&#xd;
        at 
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:86)&#xd;
        at org.apache.axis2.engine.Phase.invoke(Phase.java:308)&#xd;
        at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:235)&#xd;
        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:135)&#xd;
        at 
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)&#xd;

        at 
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:129)&#xd;
        at 
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:803)&#xd;
        at 
org.wso2.mashup.transport.MashupServlet$MashupRestRequestProcessor.processURLRequest(MashupServlet.java:93)&#xd;
        at 
org.wso2.mashup.transport.MashupServlet.processRestRequest(MashupServlet.java:79)&#xd;
        at 
org.wso2.mashup.transport.MashupServlet.handleRestRequest(MashupServlet.java:54)&#xd;
        at org.wso2.wsas.transport.WSASServlet.doGet(WSASServlet.java:138)&#xd;

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)&#xd;
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)&#xd;
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)&#xd;
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)&#xd;
        at 
org.wso2.mashup.transport.ServiceUIFilter.doFilter(ServiceUIFilter.java:197)&#xd;
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)&#xd;

        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)&#xd;
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)&#xd;
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)&#xd;
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)&#xd;
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)&#xd;
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)&#xd;

        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)&#xd;
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)&#xd;
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)&#xd;
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)&#xd;
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)&#xd;
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)&#xd;

        at java.lang.Thread.run(Thread.java:595)&#xd;
</Exception>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to