Issue while trying to create new Jasper Report Server connection(installed locally) from Jasper Studio 7.2.0

0

I'm getting the following error while trying to create new Jasper Report Server connection(installed locally) from Jasper Studio 7.2.0.

AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (404)
 faultActor: 
 faultNode: 
 faultDetail: 
    {}:return code:  404
<!doctype html>
<html lang="en">
<head>
    <title>HTTP Status 404 – Not Found</title>
    <style type="text/css">
        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;
        }
        .line {
             height           : 1px;
             background-color : #525D76;
             border           : none;
        }
    </style>
</head>
<body>
    <h1>HTTP Status 404 – Not Found</h1>
    <hr class="line" />
    <p><b>Type</b> Status Report</p>
    <p><b>Message</b> &#47;jasperserver&#47;services&#47;repository</p>
    <p><b>Description</b> The origin server did not find a current representation for the target
          resource or is not willing to disclose that one exists.</p>
    <hr class="line" />
    <h3>Apache Tomcat/8.5.30</h3>
</body>
</html>
{http://xml.apache.org/axis/}HttpErrorCode:404
 
(404)
    at com.jaspersoft.ireport.jasperserver.ws.http.JSSCommonsHTTPSender$3.handleResponse(JSSCommonsHTTPSender.java:245)
    at com.jaspersoft.ireport.jasperserver.ws.http.JSSCommonsHTTPSender$3.handleResponse(JSSCommonsHTTPSender.java:1)
    at org.apache.http.client.fluent.Response.handleResponse(Response.java:90)
    at com.jaspersoft.ireport.jasperserver.ws.http.JSSCommonsHTTPSender.invoke(JSSCommonsHTTPSender.java:221)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at com.jaspersoft.ireport.jasperserver.ws.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:328)
    at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:150)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:104)
    at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:145)
    at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:102)
    at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:92)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:94)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:89)
    at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:68)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Titirsu Banerjee's picture
Joined: Nov 5 2018 - 10:56am
Last seen: 1 month 1 week ago

1 Answer:

0

What are you entering for the server address?

Select the "Repository Explorer" tab on the right side of Jaspersoft Studio.

Select "Servers". List of Servers you've added should display. Right click on the server you've setup and select "Edit JasperReport Server Connection".

The URL should be something like "http://localhost:8080/jasperserver-pro/

 

Click on "Test Connection" to test the connection.

 

If you're still getting error, select "Advanced Settings" and uncheck "Use SOAP protocol only" 

hozawa's picture
47107
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 months 2 weeks ago
Feedback
randomness