Skip to Content
0
Former Member
Dec 04, 2008 at 03:47 PM

Java Crystal Reports client working on Tomcat 5.0 not on Sun 8.1, AxisFault

23 Views

Hi Experts,

I am given this task of integrating Crystal Reports in our Sun 8.1 applications. I am using the jars that come with the Business Objects cd (like dsws-session.jar, dsws-publish.jar, axis 1.1.jar etc). I am able to run this on Tomcat 5.0 but not on Sun java Application Server 8.1. The exception I am getting is as follows:

Cause Detail --->>>AxisFault

faultCode: Server.userException

faultSubcode:

faultString: java.lang.NullPointerException

faultActor:

faultNode:

faultDetail:

stackTrace: java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:396)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)

at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:246)

at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)

at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)

at org.apache.axis.client.Call.invokeEngine(Call.java:2583)

at org.apache.axis.client.Call.invoke(Call.java:2553)

at org.apache.axis.client.Call.invoke(Call.java:2248)

at org.apache.axis.client.Call.invoke(Call.java:2171)

at org.apache.axis.client.Call.invoke(Call.java:1691)

at com.businessobjects.dsws.session.SessionSoapStub.login(Unknown Source)

at com.businessobjects.dsws.session.Session.login(Unknown Source)

I tried to replace axis 1.1 with axis 1.4, but then I get another exception

Cause Detail --->>>java.lang.NoSuchFieldError: WRAPPED

at com.businessobjects.dsws.session.SessionSoapStub.<clinit>(Unknown Source)

at com.businessobjects.dsws.session.SessionLocator.getSessionSoap(Unknown Source)

at com.businessobjects.dsws.session.Session.createStub(Unknown Source)

at com.businessobjects.dsws.Consumer.<init>(Unknown Source)

at com.businessobjects.dsws.session.Session.<init>(Unknown Source)

I guess this is because the dsws-session.jar is not compatible with any axis other than 1.1. How should I proceed? Should I be continuing with axis 1.1 and apply some fix or should I go with axis 1.4 and get the dsws jars that work with axis 1.4? Why is it working with Tomcat 5.0/JDK 1.5? PLEASE HELP ASAP!!!!

Thanks,

Zahid.