the service file looks like this (without lt, gt signs...):
mbean name="mybean" code="my.package.MyClass"
attribute name="jndiName" MY_JNDI_NAME
depends jboss:service=Naming
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201091#4201091
Reply to the post :
Hi, i have a simple service like this (mymbean-service.xml):
MY_JNDI_NAME
jboss:service=Naming
my start method (for the mbean) looks something like this:
Context rootCtx = new InitialContext();
| try {
| Name fullName = rootCtx.getNameParser("").parse(jndiNam