Ok, thanks here is the Quartz job execute method.
| public void execute(JobExecutionContext jobExecutionContext) throws
JobExecutionException {
| try {
| Context ctx = getInitialContext("jnp://localhost:1099");
| FundingService fs = (FundingService)
ctx.lookup("policyService-1.2/FundingServiceBean/remote");
| List<Check> checks = fs.getAllActiveChecks();
| System.out.println("RUNNING");
| }
| catch (Exception e) {
| e.printStackTrace();
| throw new JobExecutionException("Unable to execute a scheduled
job", e, false);
| }
| }
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197217#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...