That's interesting...  I haven't seen that one before myself, but I know 
others have seen OOM errors when trying to run the JAXWS test suite with 
trace enabled.  The other interesting bit is that the elapsed time for the 
tests is over double what the normal run is.  I'm not familiar with 
surefire so I can't comment on what overhead that might be adding.  Is 
there an additional tool that's needed to run that, or is it packaged with 
maven by default?

-Nick


Nicholas Gallardo
WebSphere  -  WebServices Development
[EMAIL PROTECTED]
Phone: 512-838-1182
Building: 901 / 5G-016



Glen Daniels <[EMAIL PROTECTED]> 
03/13/2007 12:46 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [axis2] JAXWS problems?






Hi Nick!

> 1) Yes this can be turned off.  I believe that is an attachments test 
case 
> that's writing out an image.

Thanks.

> 2) That's a somewhat misleading test.  It's purposely throwing an 
> exception in an async scenario to make sure the JAX-WS fault processing 
is 
> correct.  We can fix the logs so it looks a little more benign.

Also thanks, but I am actually seeing failures (though it's true I may 
have misinterpreted this one).  I've attached the surefire report for 
the JAXWS tests... look familiar, or is this a problem with my 
environment?

--Glen

-------------------------------------------------------------------------------
Battery: org.apache.axis2.jaxws.framework.JAXWSTest
-------------------------------------------------------------------------------
Tests run: 298, Failures: 1, Errors: 2, Time elapsed: 192.859 sec 

testTwoWaySyncNull(org.apache.axis2.jaxws.sample.NonWrapTests)  Time 
elapsed: 0.078 sec  <<< FAILURE!

[ stdout ] ---------------------------------------------------------------

------------------------------
Test : testTwoWaySyncNull
Retrieving document at 
'file:/C:/Projects/Axis2/modules/jaxws/test/org/apache/axis2/jaxws/sample/nonwrap/META-INF/doclit_nonwrap.wsdl'.


[ stderr ] ---------------------------------------------------------------



[ stacktrace ] -----------------------------------------------------------

junit.framework.AssertionFailedError: Expected WebServiceException
                 at junit.framework.Assert.fail(Assert.java:47)
                 at 
org.apache.axis2.jaxws.sample.NonWrapTests.testTwoWaySyncNull(NonWrapTests.java:60)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at junit.framework.TestCase.runTest(TestCase.java:154)
                 at junit.framework.TestCase.runBare(TestCase.java:127)
                 at 
junit.framework.TestResult$1.protect(TestResult.java:106)
                 at 
junit.framework.TestResult.runProtected(TestResult.java:124)
                 at junit.framework.TestResult.run(TestResult.java:109)
                 at junit.framework.TestCase.run(TestCase.java:118)
                 at junit.framework.TestSuite.runTest(TestSuite.java:208)
                 at junit.framework.TestSuite.run(TestSuite.java:203)
                 at junit.framework.TestSuite.runTest(TestSuite.java:208)
                 at junit.framework.TestSuite.run(TestSuite.java:203)
                 at 
junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
                 at 
junit.extensions.TestSetup$1.protect(TestSetup.java:19)
                 at 
junit.framework.TestResult.runProtected(TestResult.java:124)
                 at junit.extensions.TestSetup.run(TestSetup.java:23)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at 
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
                 at 
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
                 at 
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:126)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:87)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:63)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at 
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)

testFaultsService1(org.apache.axis2.jaxws.sample.FaultsServiceTests)  Time 
elapsed: 2.734 sec  <<< ERROR!

[ stdout ] ---------------------------------------------------------------

Retrieving document at 
'file:/C:/Projects/Axis2/modules/jaxws/test/org/apache/axis2/jaxws/sample/faultsservice/META-INF/FaultsService.wsdl'.
Calling PostConstruct to Initialize


[ stderr ] ---------------------------------------------------------------



[ stacktrace ] -----------------------------------------------------------

javax.xml.ws.WebServiceException: java.lang.OutOfMemoryError: Java heap 
space
                 at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:179)
                 at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:79)
                 at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:133)
                 at 
org.apache.axis2.jaxws.core.controller.AxisInvocationController.execute(AxisInvocationController.java:552)
                 at 
org.apache.axis2.jaxws.core.controller.AxisInvocationController.doInvoke(AxisInvocationController.java:110)
                 at 
org.apache.axis2.jaxws.core.controller.InvocationController.invoke(InvocationController.java:97)
                 at 
org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:265)
                 at 
org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:142)
                 at $Proxy56.throwFault(Unknown Source)
                 at 
org.apache.axis2.jaxws.sample.FaultsServiceTests.testFaultsService1(FaultsServiceTests.java:75)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at junit.framework.TestCase.runTest(TestCase.java:154)
                 at junit.framework.TestCase.runBare(TestCase.java:127)
                 at 
junit.framework.TestResult$1.protect(TestResult.java:106)
                 at 
junit.framework.TestResult.runProtected(TestResult.java:124)
                 at junit.framework.TestResult.run(TestResult.java:109)
                 at junit.framework.TestCase.run(TestCase.java:118)
                 at junit.framework.TestSuite.runTest(TestSuite.java:208)
                 at junit.framework.TestSuite.run(TestSuite.java:203)
                 at junit.framework.TestSuite.runTest(TestSuite.java:208)
                 at junit.framework.TestSuite.run(TestSuite.java:203)
                 at 
junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
                 at 
junit.extensions.TestSetup$1.protect(TestSetup.java:19)
                 at 
junit.framework.TestResult.runProtected(TestResult.java:124)
                 at junit.extensions.TestSetup.run(TestSetup.java:23)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at 
org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242)
                 at 
org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216)
                 at 
org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:126)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:87)
                 at 
org.apache.maven.surefire.Surefire.run(Surefire.java:63)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
                 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at 
org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)
Caused by: java.lang.OutOfMemoryError: Java heap space

[EMAIL PROTECTED]  Time elapsed: 3.797 sec  <<< ERROR!

[ stdout ] ---------------------------------------------------------------



[ stderr ] ---------------------------------------------------------------



[ stacktrace ] -----------------------------------------------------------

java.lang.OutOfMemoryError: Java heap space



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to