What product/components do you use and which version/fix level are you on?
IS 10.7
What are you trying to achieve? Please describe it in detail.
Hello, I want to ask about a java service issue that happened on my IS, so i’m having a java services that include a runnable, it will execute (per interval duration) and invoke a method in a shared source, but it seems it doesn’t call the methods that invoked on the runnable and it stopped every time it run 1x,it supposed to be called every 10 seconds, below are the example codes
Runnable runnable = new Runnable() { public void run() {
System.out.println("Invoke Methods");
processDisabledConn();
System.out.println("Every 5 sec: "+ new java.util.Date());
}
};
ScheduledExecutorService service = Executors.newSingleThreadScheduledExecutor();
ScheduledFuture<?> beeperHandle=service.scheduleAtFixedRate(runnable, 0, 10, TimeUnit.SECONDS);
service.schedule(new Runnable(){
public void run() {
beeperHandle.cancel(true);
System.out.println("Exit Scheduler");
}
}, 30, TimeUnit.SECONDS);
Does anyone have idea about this? Why this happened, and any alternative to this issue? Thank you
#Service-Designer#Flow-and-Java-services#webMethods#Integration-Server-and-ESB