Jump to content
We've recently updated our Privacy Statement, available here ×

JasperServer InvocationTargetException


naaimah

Recommended Posts

Hey all!

I have just started to work on jasperServer. I first installed it using bundled tomcat howver the browser page doesnt open if I access it after restarting my laptop.

I installed it using the existing Tomcat 6.0 with existing MySQL. The standalone jasperServer runs fine through the browser.

However, when I made a basic JIClient application (according to the Jasper Web services guide), it gives the following error. Kindly reply. I am using NetBeans 6.7.1, JasperServer-ce 3.7.0 with jdk 1.6.0-17.

 

Mar 21, 2010 2:25:19 PM org.apache.axis.Message setup
SEVERE: InvocationTargetException:
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.apache.axis.Message.setup(Message.java:352)
        at org.apache.axis.Message.<init>(Message.java:235)
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        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.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:171)
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378)
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299)
        at jasperwork.MyJiClient.runReport(MyJiClient.java:51)
        at jasperwork.Main.main(Main.java:48)
Caused by: Error reading data stream:  Error in MIME data stream, start boundary not found, expected:  ------=_Part_0_6651905.1269163518485

        at org.apache.axis.attachments.MultiPartRelatedInputStream.<init>(MultiPartRelatedInputStream.java:339)
        at org.apache.axis.attachments.AttachmentsImpl.<init>(AttachmentsImpl.java:119)
        ... 22 more
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.RuntimeException
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException
        at org.apache.axis.Message.setup(Message.java:361)
        at org.apache.axis.Message.<init>(Message.java:235)
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        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.jasperserver.irplugin.wsclient.RepositorySoapBindingStub.runReport(RepositorySoapBindingStub.java:171)
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378)
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299)
        at jasperwork.MyJiClient.runReport(MyJiClient.java:51)
        at jasperwork.Main.main(Main.java:48)

Caused by: java.lang.RuntimeException
        at org.apache.axis.Message.setup(Message.java:361)
        at org.apache.axis.Message.<init>(Message.java:235)
        at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:779)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
        ... 14 more
Exception in thread "main" AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: java.lang.RuntimeException
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}stackTrace:java.lang.RuntimeException
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:378)
        at com.jaspersoft.jasperserver.irplugin.wsclient.WSClient.runReport(WSClient.java:299)
        at jasperwork.MyJiClient.runReport(MyJiClient.java:51)
        at jasperwork.Main.main(Main.java:48)

        

Link to comment
Share on other sites

  • 2 years later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...