ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arkadiusz Burdach <...@touk.pl>
Subject Re: FATAL in BpelRuntimeContextImpl
Date Thu, 24 Jul 2008 12:56:09 GMT
Matthieu Riou wrote:
> I've just tried it and it works for me. I've actually added your test case
> to our test suite as I thought it was a good example of two sync MEXs
> happening at the same time. You can try it for yourself:
>
> http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.X/bpel-test/src/test/resources/bpel/2.0/TestConcurrentSyncMex/
>   
How can I run this test? If I do buildr test, I have a great deal of 
errors. Mainly java.lang.OutOfMemoryError: Java heap space.

$ echo $JAVA_OPTS
-Xms1024m -Xmx2048m

So I tried to comment out failing tests:
axis2-war/src/test/java/org/apache/ode/axis2/management/DeploymentTest.java
axis2-war/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java

but I have bigger problem with:
axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
I can't get it work at all. I have:

    [junit] DbError
    [junit] org.apache.ode.bpel.iapi.ContextException: DbError
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:544)
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl.loadAll(ProcessStoreImpl.java:456)
    [junit]     at org.apache.ode.axis2.ODEServer.init(ODEServer.java:194)
    [junit]     at 
org.apache.ode.axis2.Axis2TestBase$ODEAxis2Server.start(Axis2TestBase.java:70)
    [junit]     at 
org.apache.ode.axis2.Axis2TestBase.startServer(Axis2TestBase.java:36)
    [junit]     at 
org.apache.ode.axis2.Axis2TestBase.setUp(Axis2TestBase.java:45)
    [junit] Caused by: java.util.concurrent.ExecutionException: 
java.lang.OutOfMemoryError: Java heap space
    [junit]     at 
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
    [junit]     at java.util.concurrent.FutureTask.get(FutureTask.java:80)
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:542)
    [junit] Caused by: java.lang.OutOfMemoryError: Java heap space
    [junit]     at 
org.apache.xmlbeans.impl.store.CharUtil.allocate(CharUtil.java:397)
    [junit]     at 
org.apache.xmlbeans.impl.store.CharUtil.saveChars(CharUtil.java:441)
    [junit]     at 
org.apache.xmlbeans.impl.store.CharUtil.saveChars(CharUtil.java:419)
    [junit]     at 
org.apache.xmlbeans.impl.store.Cur$CurLoadContext.comment(Cur.java:3090)
    [junit]     at 
org.apache.xmlbeans.impl.store.Locale$SaxHandler.comment(Locale.java:3289)
    [junit]     at 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportComment(Piccolo.java:1190)
    [junit]     at 
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4394)
    [junit]     at 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
    [junit]     at 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
    [junit]     at 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
    [junit]     at 
org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
    [junit]     at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
    [junit]     at 
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
    [junit]     at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
    [junit]     at 
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:252)
    [junit]     at 
org.apache.ode.bpel.dd.DeployDocument$Factory.parse(DeployDocument.java:62)
    [junit]     at 
org.apache.ode.store.DeploymentUnitDir.getDeploymentDescriptor(DeploymentUnitDir.java:219)
    [junit]     at 
org.apache.ode.store.DeploymentUnitDir.scan(DeploymentUnitDir.java:141)
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl.load(ProcessStoreImpl.java:608)
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl$6.call(ProcessStoreImpl.java:461)
    [junit]     at 
org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:701)
    [junit]     at 
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    [junit]     at java.util.concurrent.FutureTask.run(FutureTask.java:123)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    [junit]     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    [junit]     at java.lang.Thread.run(Thread.java:595)

Is there is some solution for my problems? Maybe there is possibility to 
run only bpel-test without other?
I'm completely noob in rake/buildr.

> Now that I see your exact scenario, I remember having fixed something in the
> OutstandingRequestManager some time ago. Can you check if ODE 1.2 fixes the
> problem for you?
>   
I've checked. There is the same sitution. For replay this scenario, must 
be invoked about 10-15 processes paraller. Maybe this is the point, why 
it doesn't work on your machine but on yours does. I'm still trying to 
fix this bug but I will be thankful for any help.

Cheers, Arek

Mime
View raw message