sorry for the mess in the post, I never saw the code tag and hence typed it manually. didn't know they were invisible ;)
hope nobody minds it so much.
Why are you trying to create a mbeanserver when there is one already available inside jboss? Use the RMIAdaptor to get an instance of adaptor and register ur servlet to the mbean server implementation stored at :JMImplementation:type=MBeanServerDelegate