2 Replies Latest reply on Sep 20, 2006 11:05 AM by Wenbo Zhu

    no jboss-service.xml with POJO service bean ...?

    Wenbo Zhu Newbie

      It doesn't seem to be applicable for POJO service bean .. defined ither via annotation or via jboss.xml.

      Here I looking for a way to configure attributes of the target service bean during the deployment time - like the typical sar jboss-service.xml, in which you can set the attributes of MBean.


        • 1. Re: no jboss-service.xml with POJO service bean ...?
          Carlo de Wolf Master

          Please take a look at the service_deployment_descriptor tutorial. Although it doesn't use attributes it should be no problem to add them.

          • 2. Re: no jboss-service.xml with POJO service bean ...?
            Wenbo Zhu Newbie

            Thanks for the response.

            However, that's where I noticed the problem: in this tutorial, and the service bean tutorials, the jboss-service.xml obviously is not used - even it's left there (only with the following content):

            <?xml version="1.0" encoding="UTF-8"?>

            I also tested with some my own jboss-service.xml, in which I followed the default JMX/JDNI naming, in addition to setting a few attributes. However, it doesn't seem to me that POJO Service bean actually look into the META-INF/jboss-service.xml during the deployment.

            I then checked the xsd of jboss.xml, and it doesn't mentioned about setting attributes/bean-props . .which is understandable, as it's not for deployment purpose.

            Any further idea?