Help me!!! Could not send Message.

Hi all.

We need help to resolve the problem. Outsytems 10, JAVAEE, Jboss 6.4.6

The error appears randomly when running processes.

The error is shown on large values of lists



Error Detail
Back to Log
Id:
a8eadc6f-e758-41f4-a94a-3dd5f5e0cb94
Time of Log:
15-04-2020 13:31:52
eSpace:
FileNetFico
Tenant:
Users
User:

Session Id:

Server:
fico-pprom2-server2
Module:
Scheduler
Message:


Scheduler Service: Error executing request http://127.0.0.1/FileNetFico/ for Activity GeneratePart. Request duration = 360 secs.


Environment InformationeSpaceVer: 0 (Id=0, PubId=0, CompiledWith=10.0.1005.2)
RequestUrl:  (Method: )
ClassLoader: sun.misc.Launcher$AppClassLoader@2e5d6d97(777874839)
Path:
Locale:
DateFormat: yyyy-M-d
PID: 15874 ('15874@fico-pprom2-server2.sberbank.kz', Started='4/15/20 9:50:36 AM', Priv=71Mb, Virt=256Mb)
TID: 62
Thread Name: Activity Processor #10
JRE\: 25.51-b03
Stack:
Could not send Message.
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:147)
   at com.sun.proxy.$Proxy40.executeActivityActionv2(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at outsystems.hubedition.util.webservices.WebServiceClientProxy.invoke(Unknown Source)
   at com.sun.proxy.$Proxy40.executeActivityActionv2(Unknown Source)
   at outsystems.hubedition.runtimeplatform.processes.ActivityHandler.executeActivityActionv2(Unknown Source)
   at outsystems.hubedition.scheduler.ActivityJob.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.lambda$2(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$$Lambda$63/1642361687.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.servercommon.SandboxUtils.executeForSingleSandbox(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.innerExecuteConsumer(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.lambda$1(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$$Lambda$43/1514016405.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.servercommon.SandboxUtils.executeInMainSandbox(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.executeConsumer(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$1.executeImpl(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
   at outsystems.hubedition.util.ParameterizedThread.run(Unknown Source)

Case ?2







Error Detail


Back to Log


Id:
8ee0692e-634c-40df-8fb6-54f5d0554d4d
Time of Log:
15-04-2020 14:21:11
eSpace:
FileNetFico
Tenant:
Users
User:

Session Id:

Server:
fico-pprom2-server2
Module:
Scheduler
Message:


Scheduler Service: Error executing request http://127.0.0.1/FileNetFico/ for Activity StartMigration. Request duration = 365 secs.


Environment InformationeSpaceVer: 0 (Id=0, PubId=0, CompiledWith=10.0.1005.2)
RequestUrl:  (Method: )
ClassLoader: sun.misc.Launcher$AppClassLoader@2e5d6d97(777874839)
Path:
Locale:
DateFormat: yyyy-M-d
PID: 15874 ('15874@fico-pprom2-server2.sberbank.kz', Started='4/15/20 9:50:36 AM', Priv=77Mb, Virt=256Mb)
TID: 53
Thread Name: Activity Processor #1
JRE\: 25.51-b03
Stack:
Could not send Message.
   at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:147)
   at com.sun.proxy.$Proxy40.executeActivityActionv2(Unknown Source)
   at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
   at outsystems.hubedition.util.webservices.WebServiceClientProxy.invoke(Unknown Source)
   at com.sun.proxy.$Proxy40.executeActivityActionv2(Unknown Source)
   at outsystems.hubedition.runtimeplatform.processes.ActivityHandler.executeActivityActionv2(Unknown Source)
   at outsystems.hubedition.scheduler.ActivityJob.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.lambda$2(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$$Lambda$63/1642361687.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.servercommon.SandboxUtils.executeForSingleSandbox(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.execute(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.innerExecuteConsumer(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.lambda$1(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$$Lambda$43/1514016405.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action0_Lambda.execute(Unknown Source)
   at outsystems.hubedition.servercommon.SandboxUtils.executeInMainSandbox(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer.executeConsumer(Unknown Source)
   at outsystems.hubedition.scheduler.SchedulerProducerConsumer$1.executeImpl(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1.executeImplLambda(Unknown Source)
   at outsystems.hubedition.util.delegates.Action$Action1_Lambda.execute(Unknown Source)
   at outsystems.hubedition.util.ParameterizedThread.run(Unknown Source)

Please help us figure out the error and solve this problem.

The process is constantly restarted, memory is clogged and as a result, the application servers stop responding and fall.

Hi Sergey,

If I remember correctly, Automatic Activities can take up to 5min running, then they timeout... it seems yours are taking 360/60 = 6min? Have you considered breaking that activity's processing in smaller (and shorter) steps? On the OutSystems community and/or documentation sites there are posts, best practices and training on batch processing if I'm not mistaken, you may want to check those.

Hope this helps!

This is parallel batch process of migration blob to IBM FileNet. Number of threads migration set user. 

Activity must be running all night long.

Jorge Martins wrote:

Hi Sergey,

If I remember correctly, Automatic Activities can take up to 5min running, then they timeout... it seems yours are taking 360/60 = 6min? Have you considered breaking that activity's processing in smaller (and shorter) steps? On the OutSystems community and/or documentation sites there are posts, best practices and training on batch processing if I'm not mistaken, you may want to check those.

Hope this helps!

Hi Jorge. 

Could you share a link? Thanks!