You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Shantanu Sen <ss...@pacbell.net> on 2004/06/05 02:10:50 UTC

Fix for AXIS-1337

I downloaded the latest source code and ran 
ant clean all-tests and got the error shown at the end
of the mail. Any ideas what is the problem?

Anyway, I am attaching a file:
org.apache.axis.wsdl.symbolTable.Utils.java, which
fixes the AXIS-1337 bug that I filed. I am getting the
following error before and after changing the code, so
I am assuming that my change did not cause it. 

The changed Utils.java fixes the bug and I have tested
it with the wsdl that I submitted in the bug as the
test case. The change is the addition of new code from
line 267 to 274. Also, I have fixed the indentation of
the enclosing while loop.

Can someone tell me what else I need to do to ensure
that this gets checked in to the beta codebase?

Thanks,
Shantanu Sen


---------- error when running the all-tests ----------
    [junit] Running
test.badWSDL.WSDL2JavaFailuresTestCase
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time
elapsed: 1.625 sec


    [junit] Running test.functional.FunctionalTests
    [junit] - Testing echo interop sample.
    [junit] - Test complete.
    [junit] - Testing JAX-RPC GetInfo sample.
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Testing undeployment...
    [junit] - Test complete.
    [junit] - Testing JAX-RPC hello sample.
    [junit] - Test complete.
    [junit] - Testing JAX-RPC Address sample.
    [junit] - Test complete.
    [junit] - Testing JAXM DelayedStockQuote sample.
    [junit] - Testing stock sample.
    [junit] - Testing JWS...
    [junit] - Testing Java Binding...
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Testing service with SOAPAction: ""...
    [junit] - Testing undeployment...
    [junit] - Test complete.
    [junit] - Testing TCP transport.
     [java] - TCPListener received new connection:
Socket[addr=/127.0.0.1,port=2
451,localport=8088]
    [junit] - Testing deployment...
    [junit] - Enter: TCPSender::invoke
    [junit] - Created an insecure HTTP connection
    [junit] - Exit: TCPSender::invoke
    [junit] - OK!
     [java] - TCPListener received new connection:
Socket[addr=/127.0.0.1,port=2
452,localport=8088]
    [junit] - Testing service...
    [junit] - Testing TCP stock service...
    [junit] - Enter: TCPSender::invoke
    [junit] - Created an insecure HTTP connection
    [junit] - Exit: TCPSender::invoke
    [junit] - Enter: TCPSender::invoke
     [java] - TCPListener received new connection:
Socket[addr=/127.0.0.1,port=2
453,localport=8088]
    [junit] - Created an insecure HTTP connection
    [junit] - Exit: TCPSender::invoke
    [junit] - OK!
    [junit] - Test complete.
    [junit] - Testing transport sample.
    [junit] - Testing deployment...
    [junit] - Testing service with symbol IBM...
    [junit] - Testing service with symbol XXX...
    [junit] - Test complete.
    [junit] - Testing bidbuy sample.
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Test complete.
    [junit] - Testing misc sample.
    [junit] - Testing service...
    [junit] - Test complete.
    [junit] - Testing element sample.
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Testing undeployment...
    [junit] - Test complete.
    [junit] - Testing message sample.
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Test complete.
    [junit] - Testing faults sample.
    [junit] - Testing deployment...
    [junit] - Testing service...
    [junit] - Test complete.
    [java] java.lang.InternalError: Converter
malfunction (Unicode) -- please s
ubmit a bug report via
http://java.sun.com/cgi-bin/bugreport.cgi
     [java]     at
sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecode
r.java:233)
     [java]     at
sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecode
r.java:249)
     [java]     at
sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.j
ava:295)
     [java]     at
sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
     [java]     at
java.io.InputStreamReader.read(InputStreamReader.java:167)
     [java]     at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XM
LEntityManager.java:3265)
     [java]     at
org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipStr
ing(XMLEntityManager.java:3025)
     [java]     at
org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatch
er.dispatch(XMLDocumentScannerImpl.java:577)
     [java]     at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
ument(XMLDocumentFragmentScannerImpl.java:329)
     [java]     at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
tion.java:525)
     [java]     at
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
tion.java:581)
     [java]     at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)

     [java]     at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
Parser.java:1175)
     [java]     at
javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
     [java]     aaxist
org.apache.axis.encoding.DeserializationContextImpl.parse(Des
erializationContextImpl.java:218)
     [java]     at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:640)

     [java]     at
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
     [java]     at
org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)

     [java]     at
org.apache.axis.transport.http.SimpleAxisWorker.execute(Simpl
eAxisWorker.java:428)
     [java]     at
org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxi
sWorker.java:155)
     [java]     at
org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxi
sServer.java:241)
     [java]     at
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleA
xisServer.java:284)
     [java]     at
org.apache.axis.transport.http.SimpleAxisServer.start(SimpleA
xisServer.java:292)
     [java]     at
org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAx
isServer.java:373)
    [junit] - Testing deployment...
     [java] Exception in thread "main"

     [java] Java Result: 1


     [java] - TCPListener received new connection:
Socket[addr=/127.0.0.1,port=2
500,localport=8088]
     [java] - AxisListener quitting.


[runaxisfunctionaltests] Error from HTTP read:
java.net.ConnectException: Connec
tion refused: connect

BUILD FAILED
D:\axis-build\ws-axis\java\build.xml:336: Following
error occured while executin
g this line
D:\axis-build\ws-axis\java\buildTest.xml:249:
Following error occured while exec
uting this line
D:\axis-build\ws-axis\java\buildTest.xml:177: Test
test.functional.FunctionalTes
ts failed

Total time: 10 minutes 31 seconds




Re: Fix for AXIS-1337

Posted by Davanum Srinivas <da...@gmail.com>.
add the patch to the bug itself in jira.

thanks,
dims

On Fri, 4 Jun 2004 17:10:50 -0700 (PDT), Shantanu Sen <ss...@pacbell.net> wrote:
> 
> I downloaded the latest source code and ran
> ant clean all-tests and got the error shown at the end
> of the mail. Any ideas what is the problem?
> 
> Anyway, I am attaching a file:
> org.apache.axis.wsdl.symbolTable.Utils.java, which
> fixes the AXIS-1337 bug that I filed. I am getting the
> following error before and after changing the code, so
> I am assuming that my change did not cause it.
> 
> The changed Utils.java fixes the bug and I have tested
> it with the wsdl that I submitted in the bug as the
> test case. The change is the addition of new code from
> line 267 to 274. Also, I have fixed the indentation of
> the enclosing while loop.
> 
> Can someone tell me what else I need to do to ensure
> that this gets checked in to the beta codebase?
> 
> Thanks,
> Shantanu Sen
> 
> ---------- error when running the all-tests ----------
>     [junit] Running
> test.badWSDL.WSDL2JavaFailuresTestCase
>     [junit] Tests run: 9, Failures: 0, Errors: 0, Time
> elapsed: 1.625 sec
> 
>     [junit] Running test.functional.FunctionalTests
>     [junit] - Testing echo interop sample.
>     [junit] - Test complete.
>     [junit] - Testing JAX-RPC GetInfo sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Testing undeployment...
>     [junit] - Test complete.
>     [junit] - Testing JAX-RPC hello sample.
>     [junit] - Test complete.
>     [junit] - Testing JAX-RPC Address sample.
>     [junit] - Test complete.
>     [junit] - Testing JAXM DelayedStockQuote sample.
>     [junit] - Testing stock sample.
>     [junit] - Testing JWS...
>     [junit] - Testing Java Binding...
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Testing service with SOAPAction: ""...
>     [junit] - Testing undeployment...
>     [junit] - Test complete.
>     [junit] - Testing TCP transport.
>      [java] - TCPListener received new connection:
> Socket[addr=/127.0.0.1,port=2
> 451,localport=8088]
>     [junit] - Testing deployment...
>     [junit] - Enter: TCPSender::invoke
>     [junit] - Created an insecure HTTP connection
>     [junit] - Exit: TCPSender::invoke
>     [junit] - OK!
>      [java] - TCPListener received new connection:
> Socket[addr=/127.0.0.1,port=2
> 452,localport=8088]
>     [junit] - Testing service...
>     [junit] - Testing TCP stock service...
>     [junit] - Enter: TCPSender::invoke
>     [junit] - Created an insecure HTTP connection
>     [junit] - Exit: TCPSender::invoke
>     [junit] - Enter: TCPSender::invoke
>      [java] - TCPListener received new connection:
> Socket[addr=/127.0.0.1,port=2
> 453,localport=8088]
>     [junit] - Created an insecure HTTP connection
>     [junit] - Exit: TCPSender::invoke
>     [junit] - OK!
>     [junit] - Test complete.
>     [junit] - Testing transport sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service with symbol IBM...
>     [junit] - Testing service with symbol XXX...
>     [junit] - Test complete.
>     [junit] - Testing bidbuy sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Test complete.
>     [junit] - Testing misc sample.
>     [junit] - Testing service...
>     [junit] - Test complete.
>     [junit] - Testing element sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Testing undeployment...
>     [junit] - Test complete.
>     [junit] - Testing message sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Test complete.
>     [junit] - Testing faults sample.
>     [junit] - Testing deployment...
>     [junit] - Testing service...
>     [junit] - Test complete.
>     [java] java.lang.InternalError: Converter
> malfunction (Unicode) -- please s
> ubmit a bug report via
> http://java.sun.com/cgi-bin/bugreport.cgi
>      [java]     at
> sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecode
> r.java:233)
>      [java]     at
> sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecode
> r.java:249)
>      [java]     at
> sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.j
> ava:295)
>      [java]     at
> sun.nio.cs.StreamDecoder.read(StreamDecoder.java:180)
>      [java]     at
> java.io.InputStreamReader.read(InputStreamReader.java:167)
>      [java]     at
> org.apache.xerces.impl.XMLEntityManager$EntityScanner.load(XM
> LEntityManager.java:3265)
>      [java]     at
> org.apache.xerces.impl.XMLEntityManager$EntityScanner.skipStr
> ing(XMLEntityManager.java:3025)
>      [java]     at
> org.apache.xerces.impl.XMLDocumentScannerImpl$XMLDeclDispatch
> er.dispatch(XMLDocumentScannerImpl.java:577)
>      [java]     at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc
> ument(XMLDocumentFragmentScannerImpl.java:329)
>      [java]     at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
> tion.java:525)
>      [java]     at
> org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfigura
> tion.java:581)
>      [java]     at
> org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
> 
>      [java]     at
> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAX
> Parser.java:1175)
>      [java]     at
> javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>      [java]     aaxist
> org.apache.axis.encoding.DeserializationContextImpl.parse(Des
> erializationContextImpl.java:218)
>      [java]     at
> org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:640)
> 
>      [java]     at
> org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>      [java]     at
> org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
> 
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisWorker.execute(Simpl
> eAxisWorker.java:428)
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxi
> sWorker.java:155)
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxi
> sServer.java:241)
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisServer.start(SimpleA
> xisServer.java:284)
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisServer.start(SimpleA
> xisServer.java:292)
>      [java]     at
> org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAx
> isServer.java:373)
>     [junit] - Testing deployment...
>      [java] Exception in thread "main"
> 
>      [java] Java Result: 1
> 
>      [java] - TCPListener received new connection:
> Socket[addr=/127.0.0.1,port=2
> 500,localport=8088]
>      [java] - AxisListener quitting.
> 
> [runaxisfunctionaltests] Error from HTTP read:
> java.net.ConnectException: Connec
> tion refused: connect
> 
> BUILD FAILED
> D:\axis-build\ws-axis\java\build.xml:336: Following
> error occured while executin
> g this line
> D:\axis-build\ws-axis\java\buildTest.xml:249:
> Following error occured while exec
> uting this line
> D:\axis-build\ws-axis\java\buildTest.xml:177: Test
> test.functional.FunctionalTes
> ts failed
> 
> Total time: 10 minutes 31 seconds
> 
>