Hi,
We have a scheduled service that loops over the queued tasks and apppends the content of each task to single file on partner server. The append is done using pub.client.ftp:append service. But we have observed that sometimes when the pub.client.ftp:append runs it generates an error and ftp session is killed , so the tasks get stuck in a status delivering and then only way to reprocess these tasks manually.
I did add a few debug log statements in the code to pinpoint where exaclty we get the error and have seen that the error while executing pub.client.ftp:append service.
Logging Information
2006-06-02 21:43:01 CEST [ISP.0090.0003C] After Log In
2006-06-02 21:43:01 CEST [ISP.0090.0003C] Entered the Loop
2006-06-02 21:43:01 CEST [ISP.0090.0003C] Before append
2006-06-02 21:43:01 CEST [ISP.0090.0003C] 2006-06-02 21:43:01 itseelm-ax0006 B2B0376C IKEA.GreenPlants.ftp:pushToIDRSBatch ::: error occurred : com.wm.app.b2b.server.ServiceException: [ISS.0086.9194] Not logged in!
at pub.client.ftp.put_append(ftp.java:717)
at pub.client.ftp.append(ftp.java:808)
at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java(Compiled Code))
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java(Compiled Code))
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.step(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java(Compiled Code))
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java(Compiled Code))
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.Service.doInvoke(Service.java(Compiled Code))
at com.wm.app.b2b.server.Service.doInvoke(Service.java(Compiled Code))
at wm.tn.queuing.deliverBatch(queuing.java:588)
at sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java(Compiled Code))
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java(Compiled Code))
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java(Compiled Code))
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Compiled Code))
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Inlined Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.SessionInvoke.run(Session.java(Compiled Code))
at com.wm.util.pool.PooledThread.run(PooledThread.java(Compiled Code))
at java.lang.Thread.run(Thread.java:568)
Has anyone faced this issue earlier ?
Any help will be very much appreciated .
Regards
Yogesh