For anyone interested in a solution to this most obscure of obscure errors, read on!
I had two WAR files in Orion, both in the default application. Orion apparently treats the application like an EAR. Both applications did the same thing, one providing web services with Axis, the other using JiBX SOAP. Both WAR files had the same classes in, in the same packages, but their contents were different. If we just started up the app server, all was fine. We went to the new JiBX deployment and it worked. However, if we used our other way of starting up the server, which also ran the axis wsdd files to expose the services (bonkers design decision if you ask me!), then Orion seemed to load the service classes into some sort of cache. When they JiBX code looked for the service classes, instead of being given the ones from its own WAR file, it was given the cached ones from the other (axis) WAR file. Hence the method signature was no-where near what was expected, with multiple parameters and non-static methods. Took us a while to find that one! Tim. On Saturday 10 Sep 2005 08:47, Dennis Sosnoski wrote: > Hi Tim, > > Not much I can add to this offhand, other than what's probably obvious - > that the JibxSoap code isn't finding the getPerson method that's used by > your service. It looks like it *is* finding the class, though. The > method matching just looks for the specified method name, with a > parameter matching your input and returning something matching your > output. I have no clue what could be different about the Solaris > environment to cause this. > > - Dennis > > Tim Sawyer wrote: > >Anyone got any ideas what this means? > > > >org.jibx.runtime.ValidationException: Method getPerson not found with > > expected signature ((unknown source for object of type > >org.jibx.soap.server.OperationDefinition) > > at org.jibx.soap.server.OperationDefinition.postset(Unknown Source) > > at > >org.jibx.soap.server.OperationDefinition.JiBX_service_mapping_unmarshal_1_ > >0 (Unknown Source) > > at > > org.jibx.soap.server.JiBX_MungeAdapter.JiBX_service_mapping_unmarshal_1_1 > > () > > at > > org.jibx.soap.server.ServiceDefinition.JiBX_service_mapping_unmarshal_1_0 > > (Unknown Source) > > at > >org.jibx.soap.server.JiBX_service_mappingServiceDefinition_access.unmarsha > >l() at > >org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingC > >ontext.java:2515) at > >org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(Unmarshalling > >Context.java:2675) at > > org.jibx.soap.server.SOAPServlet.initServices(Unknown Source) at > > org.jibx.soap.server.SOAPServlet.init(Unknown Source) > > at javax.servlet.GenericServlet.init(GenericServlet.java:44) > > at com.evermind[Orion/2.0 (build 11018)]._ay._lce(.:1672) > > at com.evermind[Orion/2.0 (build 11018)]._ay._bsd(.:3976) > > at com.evermind[Orion/2.0 (build 11018)]._ay._lde(.:2502) > > at com.evermind[Orion/2.0 (build 11018)]._ay._nic(.:2198) > > at com.evermind[Orion/2.0 (build 11018)]._ax._lqc(.:449) > > at com.evermind[Orion/2.0 (build 11018)]._ax._tvb(.:189) > > at com.evermind[Orion/2.0 (build 11018)]._bf.run(.:62) > > > >Oddly, the code works in development (java 1.4.2/Tomcat or Orion 2.0) and > > yet fails when deployed to a Solaris box (java 1.4/Orion 2.0) > > > >getPerson method looks fine in code on Solaris box: > >public static > >com.company.tkbespoke.amb.scanner.params.GetPersonResponseParameter > >getPerson(com.company.tkbespoke.amb.scanner.params.GetPersonCallParameter) > >; > > > >Any thoughts anyone? > > > >ta, > > > >Tim. > > > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > >jibx-users mailing list > >[email protected] > >https://lists.sourceforge.net/lists/listinfo/jibx-users > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > jibx-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jibx-users ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ jibx-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jibx-users
