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 Aleksander Slominski <as...@cs.indiana.edu> on 2004/06/14 00:09:05 UTC

how to make java build slower than C++ makefiles?

hi,

i am not sure if it classifies as bug/issue but here it goes ...

it is is really sad to see how long does it take to do full axis rebuilt 
(ant all) on even very fast machine (dual 2Ghz 1GB ram) - is there any 
particular reason why each test is compiled separately? clover?

    Total time: 17 minutes 11 seconds

even build war file take over 2 minutes:

    Total time: 2 minutes 10 seconds

why samples are built one _after_ one for 'ant war' and not in one 
javac? that has serious implications as time to build .war again without 
*any* change (shouldnt it be zero or close to it) is:

    Total time: 1 minute 53 seconds

anyway i am sure there are perfectly good reasons ...

and still it does bring some of precious memories of waiting for long 
C++ builds that and the excitement of waiting for DelayedStockQuote test 
to complete (several minutes) and then just having one of next tests 
failing anyway  ...

    [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.
    [junit] - Testing deployment...
    [junit] - Enter: TCPSender::invoke
     [java] - TCPListener received new connection: 
Socket[addr=/127.0.0.1,port=54799,localport=8088]
    [junit] - Created an insecure HTTP connection
    [junit] - Exit: TCPSender::invoke
    [junit] - OK!
    [junit] - Testing service...
    [junit] - Testing TCP stock service...
     [java] - TCPListener received new connection: 
Socket[addr=/127.0.0.1,port=54800,localport=8088]
    [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=54801,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.
    [junit] - Testing deployment...
     [java] Exception in thread "main" java.lang.InternalError: 
Converter malfunction (Unicode) -- please submit a bug report via 
http://java.sun.com/cgi-bin/bugreport.cgi
     [java]     at 
sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java:235)
     [java]     at 
sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:251)
     [java]     at 
sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
     [java]     at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
     [java]     at 
java.io.InputStreamReader.read(InputStreamReader.java:167)
     [java]     at 
org.apache.xerces.impl.XMLEntityScanner.load(XMLEntityScanner.java:1643)
     [java] - TCPListener received new connection: 
Socket[addr=/127.0.0.1,port=54848,localport=8088]
[runaxisfunctionaltests] Error from HTTP read: 
java.net.ConnectException: Connection refused
     [java]     at 
org.apache.xerces.impl.XML11EntityScanner.skipString(XML11EntityScanner.java:1018)
     [java] - AxisListener quitting.
     [java]     at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:188)

BUILD FAILED
file:/home/aslom/Forge/AXIS/ws-axis/java/buildTest.xml:177: Test 
test.functional.FunctionalTests failed

Total time: 17 minutes 11 seconds
     [java]     at 
org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:188)
     [java]     at 
org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:593)
     [java]     at 
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148)

~> java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

CPUs: Intel(R) XEON(TM) CPU 2.00GHz stepping 04
Memory: 1029784k/1048512k available (1302k kernel code, 18344k reserved, 
475k data, 120k init, 131008k highmem)

-- 
The best way to predict the future is to invent it - Alan Kay