Issue description
When trying to publish a report from TIBCO Jaspersoft Studio to TIBCO JasperReports Server you encounter one of the following errors (depends on whether you are using REST or SOAP web services to connect to the server):
org.apache.http.client.HttpResponseException: Found
at com.jaspersoft.studio.server.protocol.restv2.RESTv2ExceptionHandler.handleException(RESTv2ExceptionHandler.java:75)
at com.jaspersoft.studio.server.protocol.restv2.ARestV2ConnectionJersey.toObj(ARestV2ConnectionJersey.java:51)
at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.addOrModifyResource(RestV2ConnectionJersey.java:344)
at com.jaspersoft.studio.server.protocol.ProxyConnection.addOrModifyResource(ProxyConnection.java:275)
at com.jaspersoft.studio.server.publish.Publish.publishResources(Publish.java:171)
at com.jaspersoft.studio.server.publish.Publish.publish(Publish.java:59)
at com.jaspersoft.studio.server.publish.wizard.Publish2ServerWizard$3.run(Publish2ServerWizard.java:273)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
OR
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (302)Found
faultActor:
faultNode:
faultDetail:
{}:return code: 302
{http://xml.apache.org/axis/}HttpErrorCode:302
(302)Found
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.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:336)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:101)
at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:122)
at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:83)
at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:82)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:99)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:95)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:76)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Reason and Solution
This issue is most likely caused by using http:// connection URL instead of https://. Check you TIBCO JasperReports Server connection configuration and make the corresponding changes.
Recommended Comments
There are no comments to display.