0 Replies Latest reply on Jun 6, 2006 5:45 PM by Stephen Fikes

    Service descriptor in an ear file

    Stephen Fikes Newbie

      I have some unusual requirement where I need a service to be initialized after the deployment of some session beans. I've written the service as a JMX bean and I'd like it to be triggered upon the deployment of the ear file containing my beans. I can manually get things to work by first deploying my .ear then copying the -service.xml to the deploy directory. Any way to package the -service.xml into my .ear to get this to work automatically?

      I've tried putting it in the root of the .ear and also in META-INF but neither approach seems to work (i.e. nothing happens). I am using JBoss AS 4.0.4.