I have written a custom MBean for deploying my own service.sar during Jboss start up...and this the jboss-service.xml
<?xml version="1.0" encoding="UTF-8" ?> | <server> | <mbean code="com.jboss.example.NBCustomService" name="com.jboss.example.NBCustomService:service=NBCustomService"> | <attribute name="JndiName">service/CustomService</attribute> | <depends>jboss:service=Naming</depends> | </mbean> | i put this xml inside the META-INF and made a sar out of it and deployed it on the jBoss server. But I am getting the following error. [ServiceConfigurator] Problem configuring service com.newbreak.service:service=NBUserObjectService | org.jboss.deployment.DeploymentException: No Attribute found with name: JndiName | Can anyone point out whats going wrong. thks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888139#3888139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3888139 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user