2 Replies Latest reply on Aug 18, 2008 1:27 AM by dorbd

    SAR WAR EAR Jboss 4.2.2 Question

    dorbd

      Hi all,

      I am using:
      JBoss AS 4.2.2GA, Spring 2.5.

      I have this problem, need your assistance:
      I am using quartz scheduler, having my own class warping the quartz scheduler. All i need to happen is that when the jboss AS finish to load, my class 'execute()' method would be executed.

      I thought about this solution:Creating an EJB put it on my EAR which loads also on startup, Creating SAR file which looks in the jndi for above bean and execute its create method. This create method would do the logic part i need.
      Also i have a war file which been loaded while server is going up.

      Still i have problems with this solution:
      1) How to configure jboss AS to load my sar file only after my ear file loaded and all the jndi bindings done.
      2) After loading my sar file, I am getting a "No ClassLoaders found for:" error why?

      Does my solution is good or can you suggest something else?

      Thanks in advance for your help,
      Dor