Adding some more info about JobInitializerServlet:
code is within init() method of the servlet (maybe it does matter?), something 
like that:
public void init(ServletConfig config) throws ServletException {
  |         String lookupName = "java:comp/env/jdbc/cms";
  |         //this code works!
  |         try {
  |             InitialContext ctx = new InitialContext();
  |             ctx.lookup(lookupName);
  |         } catch (Exception e) {
  |             log.error("Error looking up " + lookupName, e);
  |         }
  | 
  |         //this code inside manager doesn't work!
  |         try {
  |             QuartzManager.addAllJobs();
  |         } catch (Exception exc) {
  |             log.error("Error initializing quartz job's manager! ");
  |         }
  | }


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138302#4138302

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

Reply via email to