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#4197217

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197217
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to