[jboss-user] [JCA/JBoss] - Help: Mbean exceptions on jboss startup

sosoict1 do-not-reply at jboss.com
Tue Oct 9 10:19:20 EDT 2007


I configured a mbean service for JCA as follow:
-------------------------------------------------------------------------------------
my-service.xml
------------------------------------------------------------------------------------

 
      jboss.jca:service=RARDeployer
      <depends optional-attribute-name="ManagedConnectionFactoryName">
         
            <depends optional-attribute-name="OldRarDeployment">
            jboss.jca:service=RARDeployment,name=FileRA
            
            NoTransFile
         
      

      <depends optional-attribute-name="ManagedConnectionPool">
         
         0
         50
         5000
         15
         ByContainer
         
      
      <depends optional-attribute-name="CachedConnectionManager">
      jboss.jca:service=CachedConnectionManager
      
      <depends optional-attribute-name="JaasSecurityManagerService">
      jboss.security:service=JaasSecurityManager
      
   

----------------------------------------------------------------------------------

When starting jboss, some exceptions were threw out which said:

org.jboss.deployment.DeploymentException: No Attribute found with name: JNDIName
	at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:318)
...
..
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute at d0deb5 on mbean jboss.jca:service=NoTxCM,name=FileRA; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName)
	at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
	at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:380)
...
...
Caused by: javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName
	at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:428)
	at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608)

--------------------------------------------------------------------

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093052#4093052

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093052



More information about the jboss-user mailing list