axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Slominski <as...@cs.indiana.edu>
Subject Re: how to make java build slower than C++ makefiles?
Date Mon, 14 Jun 2004 16:56:28 GMT
Tom Jordahl wrote:

>In the beginning, 
>  
>
...

>It is a pretty serious project to undertake to revamp the system again.  I
>would probably be supportive of an effort to change things around back to
>the 'old' way of building.  I very rarely want to execute a single test.  
>
>  
>
Tom.

thanks for explanations and from them i think you made a pretty solid 
case about dangers of optimizations and  specifically of optimizations 
for something that is not needed (i think *all* unit tests should be run 
all time and the way to do it may be to find somehow how to speed 
wsdl2java execution from ant ...)

wasn't the other problem in the past that ant (or ant subtask called) 
running out of memory so axis could not be compiled? and that was 
rationale behind splitting build.xml into even smaller pieces?

>Although I *always* get the "Converter malfunction (Unicode) -- please
>submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi" error
>when I run all-tests these day too. :-(
>
>  
>
i am not sure what this error means but for fun i submitted bug report 
to sun.com and see what happens - it seems it is pretty popular problem:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4856364
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4094987
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4517705
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4929481
strange that is still not fixed ...

alek

>Go for it!
>
>--
>Tom Jordahl
>Macromedia Server Development
>
>-----Original Message-----
>From: Aleksander Slominski [mailto:aslom@cs.indiana.edu] 
>Sent: Sunday, June 13, 2004 6:09 PM
>To: 'axis-dev@ws.apache.org'
>Subject: 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(XMLVersionDete
>ctor.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:1
>88)
>     [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


Mime
View raw message