org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuterJoin

Hibernate JIRA | Gonzo | 1 decade ago
  1. 0

    If the "UseOuterJoin" Attribute is in the jboss-serivce.xml, the following exception occured while deploying the hibernate service archive: 13:51:55,457 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=HibernateFactory,name=HibernateFactory org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuterJoin at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:321) 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.GeneratedMethodAccessor19.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.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor13.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:460) 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) ==> When it's ommited all seems to be okay!!! here is the jboss-service.xml that doesn't work: <?xml version="1.0" encoding="UTF-8"?> <server> <!-- <classpath codebase="."/> --> <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=XXXDS</depends> <attribute name="MapResources">xxx.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/XXXDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.PostgreSQLDialect</attribute> <attribute name="UseOuterJoin">true</attribute> <attribute name="ShowSql">true</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute> </mbean> </server> here is the on that works: <?xml version="1.0" encoding="UTF-8"?> <server> <!-- <classpath codebase="."/> --> <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=XXXDS</depends> <attribute name="MapResources">xxx.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/XXXDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.PostgreSQLDialect</attribute> <attribute name="ShowSql">true</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute> </mbean> </server>

    Hibernate JIRA | 1 decade ago | Gonzo
    org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuterJoin
  2. 0

    If the "UseOuterJoin" Attribute is in the jboss-serivce.xml, the following exception occured while deploying the hibernate service archive: 13:51:55,457 INFO [ServiceConfigurator] Problem configuring service jboss.jca:service=HibernateFactory,name=HibernateFactory org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuterJoin at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:321) 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.GeneratedMethodAccessor19.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.deploy(MainDeployer.java:644) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608) at sun.reflect.GeneratedMethodAccessor13.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:460) 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) ==> When it's ommited all seems to be okay!!! here is the jboss-service.xml that doesn't work: <?xml version="1.0" encoding="UTF-8"?> <server> <!-- <classpath codebase="."/> --> <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=XXXDS</depends> <attribute name="MapResources">xxx.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/XXXDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.PostgreSQLDialect</attribute> <attribute name="UseOuterJoin">true</attribute> <attribute name="ShowSql">true</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute> </mbean> </server> here is the on that works: <?xml version="1.0" encoding="UTF-8"?> <server> <!-- <classpath codebase="."/> --> <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=XXXDS</depends> <attribute name="MapResources">xxx.hbm.xml</attribute> <attribute name="JndiName">java:/hibernate/HibernateFactory</attribute> <attribute name="Datasource">java:/XXXDS</attribute> <attribute name="Dialect">net.sf.hibernate.dialect.PostgreSQLDialect</attribute> <attribute name="ShowSql">true</attribute> <attribute name="CacheProvider">net.sf.ehcache.hibernate.Provider</attribute> <attribute name="UserTransactionName">UserTransaction</attribute> <attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute> <attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute> </mbean> </server>

    Hibernate JIRA | 1 decade ago | Gonzo
    org.jboss.deployment.DeploymentException: No Attribute found with name: UseOuterJoin
  3. 0

    DeploymentException: no classloader found cause... | JBoss Developer

    jboss.org | 12 months ago
    org.jboss.deployment.DeploymentException: No ClassLoaders found for: com.mycomp.sys.startup.StartupSvc; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: com.mycomp.sys.startup.StartupSvc)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Install dcm4chee on Centos

    Stack Overflow | 3 years ago | Ioanna
    org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
  6. 0

    Installed JBoss 4.2.3.GA but can't get my server started

    linuxquestions.org | 8 months ago
    org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.deployment.DeploymentException

      No Attribute found with name: UseOuterJoin

      at org.jboss.system.ServiceConfigurator.configure()
    2. JBoss Application Server System
      ServiceController.install
      1. org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:321)
      2. org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:160)
      3. org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      4. org.jboss.system.ServiceController.install(ServiceController.java:198)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    4. JBoss Application Server J2SE
      MBeanProxyExt.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      7 frames
    5. Unknown
      $Proxy4.install
      1. $Proxy4.install(Unknown Source)
      1 frame
    6. JBoss Application Server System JMX
      MainDeployer.deploy
      1. org.jboss.deployment.SARDeployer.create(SARDeployer.java:204)
      2. org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      3. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      4. org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      4 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:324)
      3 frames
    8. JBoss Application Server J2SE
      MBeanProxyExt.invoke
      1. org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      2. org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      3. org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      4. org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      5. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      6. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      7. org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      7 frames
    9. Unknown
      $Proxy7.deploy
      1. $Proxy7.deploy(Unknown Source)
      1 frame
    10. org.jboss.deployment
      AbstractDeploymentScanner$ScannerThread.run
      1. org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      2. org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:460)
      3. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      4. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      5. org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      5 frames