hey guys
thanks for the help, adding junit.jar to the ant/lib fixed it (although ant already has an
ant-junir.jar in its classpath already) and upgrading to ant 1.7 fixed the xerces bug.
Perhaps, you guys could put ant 1.7 as a requirement for building JBossWS on the Wiki to
avoid future confusion with other developers.
However, the tests are failing for me.
On the server side, I am regularly getting these exceptions which all basically relate to
the "setProperty must be overridden by all subclasses of SOAPMessage" message.
Every test seems to fail because of these exceptions.
| 14:10:57,445 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(Unknown Source)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessageInternal(Unknown
Source)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(Unknown Source)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(Unknown Source)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Unknown
Source)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Unknown
Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Unknown
Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:619)
| 14:10:57,477 ERROR [AbstractServiceEndpointServlet] Error processing web service
request
| java.lang.UnsupportedOperationException: setProperty must be overridden by all
subclasses of SOAPMessage
| at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:424)
| at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(Unknown Source)
| at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(Unknown Source)
| at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.toSOAPMessage(Unknown
Source)
| at
org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessage(Unknown Source)
| at
org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.createFaultMessageFromException(Unknown
Source)
| at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(Unknown Source)
| at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(Unknown Source)
| at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Unknown
Source)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Unknown
Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Unknown
Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
|
The vast majority of my unit tests fail (but not all fail, a minute portion of them do
pass).
I am guessing that my environment is not setup as the rest of the JBoss team.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000580#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...