Hibernate version: 2.1.6
JBoss version: 3.2.3
Issue Description: The Hibernate service mapping shown below has served us well through several versions of Hibernate. When attempting to deploy the 2.1.6 JAR file we get the stack trace shown further below. It seems that UseOuterJoin is no longer applicable. Is there any new documentation as to deploying 2.1.6 with JBoss?
Mapping documents:
<server>
<mbean code="net.sf.hibernate.jmx.HibernateService" name="jboss.jca:service=HibernateFactory,
name=HibernateFactory">
<depends>jboss.jca:service=RARDeployer</depends>
<!-- Make it deploy ONLY after DataSource had been started -->
<depends>jboss.jca:service=LocalTxCM,name=OracleDS</depends>
<attribute name="MapResources">
mappings/com/teramedica/domain/hibernate/TMDBAuditActivity.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBAuditLogRepository.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBBag.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBBagLock.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBBodyPart.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBExternalNotification.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBFileEntry.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBLocation.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBFileInstanceTypeSequence.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBImagingServiceRequest.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBInternalValidationIssue.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBJob.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBJobFileInstance.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBModality.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBPatient.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBPatientId.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBPatientVisit.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBPerformanceMetric.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBQaIssue.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBRequestedProcedure.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBScheduledProcedureStep.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBStudy.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBSeries.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBSopInstance.hbm.xml,
mappings/com/teramedica/domain/hibernate/TMDBStudySession.hbm.xml
</attribute>
<attribute name="JndiName">java:/hibernate/HibernateSessionFactory</attribute>
<attribute name="Datasource">java:/OracleDS</attribute>
<attribute name="Dialect">net.sf.hibernate.dialect.Oracle</attribute>
<attribute name="TransactionStrategy">net.sf.hibernate.transaction.JTATransactionFactory</attribute>
<attribute name="TransactionManagerLookupStrategy">net.sf.hibernate.transaction.JBossTransactionManagerLookup</attribute>
<attribute name="UseOuterJoin">true</attribute>
<attribute name="ShowSql">false</attribute>
<attribute name="JdbcBatchSize">0</attribute>
<attribute name="UserTransactionName">UserTransaction</attribute>
<attribute name="Dialect">net.sf.hibernate.dialect.Oracle9Dialect</attribute>
<attribute name="UseOuterJoin">true</attribute>
<attribute name="DefaultSchema">sa</attribute>
<!--<attribute name="FetchSize">1</attribute>-->
</mbean>
</server>
Full stack trace of any exception that occurs:
10 Aug 2004 15:51:09,553 INFO [ServiceConfigurator main] 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:334)
at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:172)
at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
at org.jboss.system.ServiceController.install(ServiceController.java:225)
at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.install(Unknown Source)
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:778)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy6.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:394)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)
Name and version of the database you are using: Oracle 9.2.0.3
|