Sep 7th, 2007, 03:27 PM
Premissions problem with WebLogicJndiMBeanServerFactoryBean?
It appears that on Weblogic 8.1 that all I have to do to configure an mbeanserver is put the following in my context file (specifying credentials is no longer necessary):
<bean id="mbeanServer" class="org.springframework.jmx.support.WebLogicJnd iMBeanServerFactoryBean"/>
When I deploy though, I get the following error:
org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'mbeanServer' defined in URL [file:C:/source/myApp/WEB-INF/classes/config/JMXBeans.xml]: Initialization of bean failed; nested exception is org.springframework.jmx.MBeanServerNotFoundExcepti on: Could not find WebLogic's MBeanHome object in JNDI; nested exception is javax.naming.NoPermissionException: User <anonymous> does not have permission on weblogic.management.home to perform lookup operation.
Did I read the docs wrong?