org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName)

Hibernate JIRA | Kunal Parikh | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    jboss-service.xml ================= <server> <mbean code="net.sf.hibernate.jmx.HibernateService" name="jboss.jca:service=HibernateFactory,name=HibernateFactory"> <depends>jboss.jca:service=RARDeployer</depends> <depends>jboss.jca:service=LocalTxCM,name=OracleDS</depends> <attribute name="MapResources">au/com/carsales/beans/common/ProductRef.hbm.xml,au/com/carsales/beans/common/Advertiser.hbm.xml,au/com/carsales/beans/common/Advert.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/OracleDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.Oracle9Dialect</attribute> <attribute name="UseOuterJoin">false</attribute> <attribute name="ShowSql">false</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> </mbean> </server> ================= Exception ================================ org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:490) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:375) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114) at org.jboss.system.ServiceController.install(ServiceController.java:198) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) Caused by: javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:351) at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:455) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:486) ================================

    Hibernate JIRA | 1 decade ago | Kunal Parikh
    org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName)
  2. 0

    jboss-service.xml ================= <server> <mbean code="net.sf.hibernate.jmx.HibernateService" name="jboss.jca:service=HibernateFactory,name=HibernateFactory"> <depends>jboss.jca:service=RARDeployer</depends> <depends>jboss.jca:service=LocalTxCM,name=OracleDS</depends> <attribute name="MapResources">au/com/carsales/beans/common/ProductRef.hbm.xml,au/com/carsales/beans/common/Advertiser.hbm.xml,au/com/carsales/beans/common/Advert.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/OracleDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.Oracle9Dialect</attribute> <attribute name="UseOuterJoin">false</attribute> <attribute name="ShowSql">false</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> </mbean> </server> ================= Exception ================================ org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:490) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:375) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114) at org.jboss.system.ServiceController.install(ServiceController.java:198) at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:204) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) Caused by: javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:351) at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:455) at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:486) ================================

    Hibernate JIRA | 1 decade ago | Kunal Parikh
    org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=ManagedConnectionFactoryName value=jboss.jca:service=LocalTxDS,name=Hibernate Resource Adapter on mbean jboss.jca:service=LocalTxCM,name=Hibernate Resource Adapter; - nested throwable: (javax.management.AttributeNotFoundException: not found: ManagedConnectionFactoryName)
  3. 0

    java.lang.NoSuchMethodError: org.jboss.metadata.ear.jboss.JBossAppMetaData.getModuleOrderEnum

    Coderanch | 3 years ago | Ashutosh Sh
    org.jboss.deployers.spi.DeploymentException: Error deploying: abcfm.cofie:service=SingletonService-Controller
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.management.AttributeNotFoundException

      not found: ManagedConnectionFactoryName

      at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute()
    2. JBoss Application Server J2SE
      MBeanServerImpl.setAttribute
      1. org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:351)
      2. org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:455)
      2 frames
    3. JBoss Application Server System
      ServiceConfigurator.setAttribute
      1. org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:486)
      1 frame