You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <de...@tuscany.apache.org> on 2010/04/13 12:16:48 UTC

[jira] Commented: (TUSCANY-3533) Out Of Memory error running JCA tests

    [ https://issues.apache.org/jira/browse/TUSCANY-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856362#action_12856362 ] 

Simon Laws commented on TUSCANY-3533:
-------------------------------------

Axis2 1.5.1 has fixed the old issues (TUSCANY-3149) related to the ListenerManager but the way that we configure the Axis Servlet has introduced a new one with the latest Axis code as the ListenerManager is caused to register two shutdown thread listeners. 

> Out Of Memory error running JCA tests
> -------------------------------------
>
>                 Key: TUSCANY-3533
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3533
>             Project: Tuscany
>          Issue Type: Bug
>          Components: OASIS Compliance - TUSCANY
>    Affects Versions: Java-SCA-2.0
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>
> Getting oom when running JCA otests....
> Running client_javacaa.JCA_2007_TestCase
> Implementation language set to: _POJO
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.node.impl.NodeImpl start
> INFO: Starting node: http://tuscany.apache.org/sca/1.1/nodes/default0 domain: de
> fault
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
> butions
> INFO: Loading contribution: file:/D:/sca-java-2.x/compliance-tests/java-caa/targ
> et/oasis-contributions/JCA_General_POJO.jar
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI
> mpl addEndpoint
> INFO: Add endpoint - (@32241042)Endpoint:  URI = TestClient/TestClient_0002TestC
> lient#service-binding(TestInvocation/TestInvocation)
> Service URI: http://localhost:8080/TestClient/TestInvocation
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI
> mpl addEndpoint
> INFO: Add endpoint - (@25504895)Endpoint:  URI = TestClient#service-binding(Test
> Invocation/TestInvocation)
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI
> mpl addEndpoint
> INFO: Add endpoint - (@17241004)Endpoint:  URI = TEST_JCA_2007ClientComponent1#s
> ervice-binding(Service1/Service1)
> 12-Apr-2010 11:44:35 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI
> mpl addEndpoint
> INFO: Add endpoint - (@13515521)Endpoint:  URI = TEST_JCA_2007CompositeComponent
> 2#service-binding(ParallelService/ParallelService)
> parallel execution with invocation count = 2000 maxWaitTime = 5000
> Exception in thread "Thread-31" java.lang.OutOfMemoryError: unable to create new
>  native thread
>        at java.lang.Thread.start0(Native Method)
>        at java.lang.Thread.start(Thread.java:597)
>        at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(Thread
> PoolExecutor.java:703)
>        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.ja
> va:652)
>        at org.oasisopen.sca.test.parallelCompositeClientImpl.executeTasks(paral
> lelCompositeClientImpl.java:82)
>        at org.oasisopen.sca.test.parallelCompositeClientImpl.operation1(paralle
> lCompositeClientImpl.java:58)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> ionInvoker.invoke(JavaImplementationInvoker.java:113)
>        at org.apache.tuscany.sca.binding.sca.provider.SCABindingInvoker.invoke(
> SCABindingInvoker.java:75)
>        at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invo
> ke(JDKInvocationHandler.java:236)
>        at org.apache.tuscany.sca.core.invocation.impl.JDKInvocationHandler.invo
> ke(JDKInvocationHandler.java:106)
>        at $Proxy215.operation1(Unknown Source)
>        at org.oasisopen.sca.test.ASM_0002_Client.runTest(ASM_0002_Client.java:5
> 7)
>        at org.oasisopen.sca.test.ASM_0002_Client.invokeTest(ASM_0002_Client.jav
> a:40)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementat
> ionInvoker.invoke(JavaImplementationInvoker.java:113)
>        at org.apache.tuscany.sca.core.databinding.wire.DataTransformationInterc
> eptor.invoke(DataTransformationInterceptor.java:66)
>        at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeI
> nvoker.java:91)
>        at org.apache.tuscany.sca.core.invocation.RuntimeInvoker.invoke(RuntimeI
> nvoker.java:74)
>        at org.apache.tuscany.sca.core.assembly.impl.RuntimeEndpointImpl.invoke(
> RuntimeEndpointImpl.java:229)
>        at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSServiceBindingProvider.i
> nvoke(JAXWSServiceBindingProvider.java:146)
>        at org.apache.tuscany.sca.binding.ws.jaxws.JAXWSServiceBindingProvider.i
> nvoke(JAXWSServiceBindingProvider.java:1)
>        at com.sun.xml.internal.ws.api.server.InstanceResolver$1.invokeProvider(
> InstanceResolver.java:215)
>        at com.sun.xml.internal.ws.server.InvokerTube$2.invokeProvider(InvokerTu
> be.java:142)
>        at com.sun.xml.internal.ws.server.provider.SyncProviderInvokerTube.proce
> ssRequest(SyncProviderInvokerTube.java:64)
>        at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:581)
>        at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540)
>        at com.sun.xml.internal.ws.api.pipe.Fiber.doRun(Fiber.java:525)
>        at com.sun.xml.internal.ws.api.pipe.Fiber.runSync(Fiber.java:422)
>        at com.sun.xml.internal.ws.server.WSEndpointImpl$2.process(WSEndpointImp
> l.java:226)
>        at com.sun.xml.internal.ws.transport.http.HttpAdapter$HttpToolkit.handle
> (HttpAdapter.java:375)
>        at com.sun.xml.internal.ws.transport.http.HttpAdapter.handle(HttpAdapter
> .java:175)
>        at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handleExc
> hange(WSHttpHandler.java:100)
>        at com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.handle(WS
> HttpHandler.java:77)
>        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
>        at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65)
>        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68)
>        at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.
> java:552)
>        at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65)
>        at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:524)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
> utor.java:885)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
> .java:907)
>        at java.lang.Thread.run(Thread.java:619)
> java.lang.OutOfMemoryError: unable to create new native thread
>        at java.lang.Thread.start0(Native Method)
>        at java.lang.Thread.start(Thread.java:597)
>        at java.util.concurrent.ThreadPoolExecutor.addIfUnderCorePoolSize(Thread
> PoolExecutor.java:703)
>        at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.ja
> va:652)
>        at sun.net.httpserver.ServerImpl$Dispatcher.handle(ServerImpl.java:349)
>        at sun.net.httpserver.ServerImpl$Dispatcher.run(ServerImpl.java:321)
>        at java.lang.Thread.run(Thread.java:619)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira