|
As an in-progress followup, the lack of a stack dump is due to java bug
4872096 (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4872096
) which can be worked around by adding -Xint to the vm arguments. I'm currently getting (with the middle cut out): java.lang.StackOverflowError at java.lang.String.charAt(String.java:443) at org.apache.xerces.util.XMLChar.isValidName(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.isXMLName(Unknown Source) at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source) at org.apache.axis.wsdl.fromJava.Types.createElementWithAnonymousType(Types.java:1699) at org.apache.axis.encoding.ser.BeanSerializer.writeField(BeanSerializer.java:411) at org.apache.axis.encoding.ser.BeanSerializer.writeSchema(BeanSerializer.java:346) at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1796) at org.apache.axis.wsdl.fromJava.Types.createElementWithAnonymousType(Types.java:1712) at org.apache.axis.encoding.ser.BeanSerializer.writeField(BeanSerializer.java:411) at org.apache.axis.encoding.ser.BeanSerializer.writeSchema(BeanSerializer.java:346) at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1796) at org.apache.axis.wsdl.fromJava.Types.createElementWithAnonymousType(Types.java:1712) ... (time passes) ... at org.apache.axis.wsdl.fromJava.Types.createElementWithAnonymousType(Types.java:1712) at org.apache.axis.encoding.ser.BeanSerializer.writeField(BeanSerializer.java:411) at org.apache.axis.encoding.ser.BeanSerializer.writeSchema(BeanSerializer.java:346) at org.apache.axis.wsdl.fromJava.Types.makeTypeElement(Types.java:1796) There don't seem to be any logging hooks in this code... guess it is time to move over to the -dev list... cheers, -mik Jay Glanville wrote: I've got a deployed service which is perfectly functional, but for which the ?wsdl option fails with a simple "Exception - java.lang.StackOverflowError" message (without a stack dump or any other information). The tomcat/catalina logs are similarly unhelpful. Also interesting is that java2wsdl doesn't seem to have any problem with the (undeployed) service. |
- axis on-the-fly wsdl generation problem Michael Thome
- RE: axis on-the-fly wsdl generation problem Jay Glanville
- Re: axis on-the-fly wsdl generation problem Michael Thome
- Re: axis on-the-fly wsdl generation problem Michael Thome
