Hello,
I’m using webMethods 10.3, when I was using the scheduler the service wouldn’t run instead it came out error just like this “java.io.IOException: java.net.ConnectException: Connection timed out: connect” and then suspended. But when I tried to run it on ag designer it succeed.
can you share a screenshot of the config of the scheduled task in IS Admin, please?
What are you trying to implement with this scheduled task?
Please provide an outline of the service.
You can get more information about the error from the Admin UI at Logs->error logs with stacktrace expanded and the Logs-> server logs.
From your flow , it looks like the exception can happen in two steps, step1 - pub.client:http or step 4: insert adapter to sql server,
you can run those steps separately to pinpoint the source of the problem.
it looked like based on the error that appeared, the error came from pub.client:http. but when tried to run it through softwareAG or postman, it ran smoothly. only when i tried to run it from scheduler, it always came back with this error.
can you share the inputs for pub.client:http step please, exluding the url/auth-section, but keep the method etc.?
Additionally you can add pub.flow:debugLog steps before, between and after each of your steps, which will write some markers to the server.log.
Or you can wrap all these steps in a try-catch block using pub.flow.getLastError as the first step in the catch sequence and the write this information to the server.log with pub.flow:debugLog.
As you can see on the picture, I already put try-catch block but the error did not appear on the log server tab. The only error that I get is from scheduler row.
A note on terminology – there is just one scheduler. And it manages tasks. We define tasks not “schedulers”. The task gets suspended, not the (system) scheduler.
it turns out the problems laid on the server. the production IS somehow connected to developer IS. if the scheduler stopped on developer IS, it affected to production IS and made the scheduler on production IS also stopped.
do you happen to know how to solve this kind of problem?
Hi,
Scheduler details are stored in the ISInternal JDBC Pool. Please check your ISInternal DB Pool configuration and make sure that you are not sharing the same DB configuration for your DEV and PROD.