Hi Dennis, I had a stray jar of our common objects leftover in tomcat/shared/lib. In this case, however, the objects were compiled, bound, and included in the project _shared.jar. So perhaps those two versions are loaded through separate classloaders and causing a conflict. Linus Dennis Sosnoski wrote: Hi Linus, Looking at the code I think the only way this could occur is if you either have two different versions of JiBX in use, or multiple classloaders loading the JiBX classes independently (which in theory should not happen because of classloader delegation - but in enterprise environments delegation is deliberately avoided at times). Is this what happened for you?I can make the error message more specific, if so. Thanks, - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Linus Kamb wrote:Turns out is was a class conflict outside of JiBX... Linus Kamb wrote:I am a bit stumped by this one. I am using Axis2-1.3, JiBX 1.1.5, Tomcat 5.5.25, java 1.5.0_13 I'm pretty sure I'm using the same versions of jibx binding compiler for the compile and as is used in the runtime. I've compiled using project copies of the jibx jars, as well as using the axis2 distro versions. Yet I get this error. On the client side I see: [java] org.apache.axis2.AxisFault: Binding information for class edu.iris.ws.phasepick.PhasePickQueryReturn must be regenerated with current binding compiler [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486) [java] at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389) [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211) [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163) [java] at edu.iris.ws.phasepick.PhasePickServiceStub.serviceVersion(PhasePickServiceStub.java:442) [java] at edu.iris.ws.phasepick.WebServiceClient.main(WebServiceClient.java:31) In the server logs, with Axis set to DEBUG output, the only thing I see is: 2008-04-02 10:39:16,631 [http-8082-Processor25] DEBUG org.apache.axis2.transport.http.AxisServlet - org.apache.axis2.AxisFault: Binding information for class edu.iris.ws.phasepick.PhasePickQueryReturn must be regenerated with current binding compiler No stack trace. Interestingly, there is no further detail about which compilers are involved, as in the errors shown in other list messages with this error. The compile runs fine. This is a run-time error. Axis will return the wsdl ok. Odd thing is, the service method I am calling has nothing to do with that class. The method I am calling returns a String. I've turned up some references to this error in various places, including on the list, but I don't see that they apply. Or at least, without the stack trace, I can't tell if the classloader is coming back as null. I don't think it is an element name issue. The binding compiler says it is 1.1.5: [java] Running binding compiler version jibx_1_1_5 Anyone have any ideas? thanks, Linus ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users |
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users