Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8026405

javax/xml/ws/clientjar/TestWsImport.java failing on JDK 8 nightly aurora test runs

    XMLWordPrintable

Details

    • b115
    • windows

    Backports

      Description

        ----------System.out:(33/1787)----------
        port = 61039
        parsing WSDL...


        [ERROR] Server returned HTTP response code: 502 for URL: http://localhost:61039/hello?wsdl

        Failed to read the WSDL document: http://localhost:61039/hello?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.


        [ERROR] Could not find wsdl:service in the provided WSDL(s):

        At least one WSDL with at least one service definition needs to be provided.


        Failed to parse the WSDL.

        Downloading the WSDL and associated metadata

        Exception in thread "main" java.lang.IllegalStateException: DOMStreamReader: Calling next() at END_DOCUMENT
        at com.sun.xml.internal.ws.streaming.DOMStreamReader._next(DOMStreamReader.java:764)
        at com.sun.xml.internal.ws.streaming.DOMStreamReader.next(DOMStreamReader.java:737)
        at com.sun.xml.internal.ws.util.xml.XMLStreamReaderToXMLStreamWriter.bridge(XMLStreamReaderToXMLStreamWriter.java:92)
        at com.sun.tools.internal.ws.util.WSDLFetcher.fetchFile(WSDLFetcher.java:121)
        at com.sun.tools.internal.ws.util.WSDLFetcher.fetchWsdls(WSDLFetcher.java:86)
        at com.sun.tools.internal.ws.wscompile.WsimportTool.buildWsdlModel(WsimportTool.java:437)
        at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:190)
        at com.sun.tools.internal.ws.wscompile.WsimportTool.run(WsimportTool.java:168)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.tools.internal.ws.Invoker.invoke(Invoker.java:159)
        at com.sun.tools.internal.ws.WsImport.main(WsImport.java:42)
        ----------System.err:(26/1629)----------
        java.io.FileNotFoundException: wsjar.jar (The system cannot find the file specified)
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:220)
        at java.util.zip.ZipFile.<init>(ZipFile.java:150)
        at java.util.jar.JarFile.<init>(JarFile.java:158)
        at java.util.jar.JarFile.<init>(JarFile.java:95)
        at TestWsImport.main(TestWsImport.java:104)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:724)
        java.lang.RuntimeException: wsjar.jar (The system cannot find the file specified)
        at TestWsImport.main(TestWsImport.java:114)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:724)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: wsjar.jar (The system cannot find the file specified)
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: wsjar.jar (The system cannot find the file specified)

        =====

        The ws.jar file not found exception is a result of the wsimport tool not running (system.out printing)
        Need to investigate what's happening. Possible port configuration issue.

        Attachments

          Issue Links

            Activity

              People

                coffeys Sean Coffey
                coffeys Sean Coffey
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: