When my Websphere application tries to make a call to a webservice, I get the exception:
javax.xml.ws.soap.SOAPFaultException: com.ibm.xtq.bcel.generic.ClassGenException: Branch target offset too large for short
at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1363)
at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1089)
I read that XL-TXE-J can be configured somehow, but I don't know if this is in correlation with my error. I also have no Idea where I should configure it.
How can I resolve this issue?
I have no idea why, but setting the com.ibm.xml.xlxp.jaxb.opti.level
JVM property to 1
makes the issue disappear.
You can configure it on your Websphere:
Application servers > [yourserver] > Process definition > Java Virtual Machine > Custom properties