I need some help to find out "Out Of the Box" scheduler, which can execute the code deployed on Weblogic (As part of EAR/WAR).
Our Current Environment:
1. App Server - Weblogic
2. Deployed/Installed on - SunOS 5.10
3. Java - JDK6
4. Current scheduler - Autosys
5. Standalone Spring batch - This is completely outside of Weblogic, as a different module
Autosys triggers the shell scripts at specified time for different jobs
Shell script loads all the jars in classpath, and executes a Spring batch 'Tasklet'
Tasklet then does rest of the business logic.
What is required:
I am trying to find an "Out of the box" scheduler, which can schedule the batches/jobs
Can trigger code within Weblogic (Because we want to eliminate standalone J2SE )
If possible - Have a UI using which we can track the status of the jobs.
We have been told that - Oracle is removing support for standalone J2SE in near future
If we are using Autosys - standalone J2SE would be required - which we want to eliminate
Based on our information- there is no way Autosys can directly call - code deployed in Weblogic
Tried to Find Myself:
I tried to find such scheduler myself, and got options of Quartz / Weblogic Job Scheduler / Timer with Work Manager.
Not in favour of writing code for scheduling/UI to check Job status / Job specific logs etc...
Not sure what is the best option suitable for my case.
Thanks for your help and time. Please let me know if more information is required towards solution.
I'd do some more research before worrying about J2SE disappearing. It's what most non-server Java applications run under. There has been talk for some time about how the JVM might fracture into something more like a small core with add-ons, but the basic functionality needed for Java apps has never been in question that I know of.
There are 2 popular schedulers for Java shops.
Within applications (web or non-web) the Quartz Scheduler is popular. And, incidentally, since you mentioned that you have Spring, Spring has a scheduler component subsystem that can use Quartz or other similar Java schedulers.
Within the OS (for shell scripts and such), the "cron" scheduler is standard within Linux, MacOS, and Unix - including Solaris/SunOS. For Windows, the equivalent is the Windows Scheduler.
For your Spring batch needs, you might also find Apache ServiceMix, based on Apache Karaf, to be useful. It has support for Quartz scheduling of jobs. I'm using it to do periodic scans of my email inbox for a certain type of mail which it purges of unwanted content and reformats to a more readable form.
If you are using Autosys to schedule stuff on other machines, I'm not sure what I would suggest out of the box, although a lot of recent systems use an MQ facility such as RabbitMQ as a common infrastructure to control remote agents.
Also, I think Oracle may have end-of-lifed Java 6, so that's probably a more immediate concern than an unlikely disappearance of Autosys support from Oracle. How well CA will support it is another matter, of course.
Being persecuted doesn't in any way prove your righteousness or your beliefs. Many people get persecuted because they are repugnant or annoying. Or just because they can be.
posted 3 years ago
Thanks Tim for quick response.
The pointers you have suggested are really helpful, and would play a part in how we manage this situation.
We are working on different options/alternatives, and would keep you posted on updates.
Many thanks one more time, for providing inputs in timely manner.
Whatever you say buddy! And I believe this tiny ad too: