A few notes.
Bhakti Mehta wrote:
> Caused by: com.sun.xml.ws.util.ServiceConfigurationError:
> com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler: Provider
> com.sun.xml.ws.addressing.jaxws.WsaWSDLExtensionHandler could not be instantiated: java.lang.ClassCastException
The offending guy is the addressing, not the security.
Second, the call stack shows that the harness was indeed executing a
tool (wsimport.)
The fundamental problem is that the runtime jar has this
META-INF/services/com.sun.tools.ws.api.wsdl.TWSDLExtensionHandler that
it shouldn't have (and I can see a few other com.sun.tools.XXX in
META-INF/services, which must be also incorrect)
Thus the underlying issue is that jar files are not created correctly.
When I see the workspace, I only see one etc/META-INF/services
directory, but this needs to be split into two (and they should be
probably moved to rt/resources/META-INF/services and
tools/resources/META-INF/services)
Can you or Bobby talk to whoever has the stake on this and get this fix
implemented?
> at com.sun.xml.ws.util.ServiceFinder.fail(ServiceFinder.java:219)
> at
> com.sun.xml.ws.util.ServiceFinder.access$300(ServiceFinder.java:127)
> at
> com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.jav
> a:363)
> at com.sun.xml.ws.util.ServiceFinder.toArray(ServiceFinder.java:211)
> at
> com.sun.tools.ws.wsdl.parser.WSDLParser.<init>(WSDLParser.java:110)
> at
> com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLMo
> deler.java:143)
> at
> com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java
> :87)
> at
> com.sun.tools.ws.processor.Processor.runModeler(Processor.java:81)
> at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:545)
> at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
> at com.sun.tools.ws.Invoker.main(Invoker.java:69)
> at com.sun.tools.ws.WsImport.doMain(WsImport.java:34)
> ... 25 more
> Caused by: java.lang.ClassCastException
> at java.lang.Class.cast(Class.java:2920)
> at
> com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.jav
> a:358)
> ... 38 more
> There was 1 failure:
> 1) Client
> com.sun.xml.ws.test.model.TestDescriptor_at_d1e233(com.sun.xml.ws.test.e
> xec.ClientExecutor)junit.framework.AssertionFailedError: this test is
> skipped be
> cause of other failures
> at
> com.sun.xml.ws.test.exec.ClientExecutor.runBare(ClientExecutor.java:3
> 6)
> at com.sun.xml.ws.test.Main$1.doRun(Main.java:187)
> at com.sun.xml.ws.test.Main.run(Main.java:195)
> at com.sun.xml.ws.test.Main.doMain(Main.java:132)
> at com.sun.xml.ws.test.Main.main(Main.java:120)
> at WsTest.main(WsTest.java:9)
>
> FAILURES!!!
> Tests run: 4, Failures: 1, Errors: 1
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_ws-test-harness.dev.java.net
> For additional commands, e-mail: dev-help_at_ws-test-harness.dev.java.net
>
>
--
Kohsuke Kawaguchi
Sun Microsystems kohsuke.kawaguchi_at_sun.com