<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="https://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Jboss application deploys and works for a while then throws exception
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/brownrobertl">Robert Brown</a> in <i>JBoss AS Development Deployment Framework</i> - <a href="https://community.jboss.org/message/722288#722288">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi Jboss community,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>i'm new to JBOSS so please be gentile with me. I have an application that</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>1. deploys properly into JBOSS 5.1</p><p>2. uses quartz to wake up and run every 2 hours where it connects to a database and reads some tables</p><p>3. After the 4th or 5th run, I get the following errors</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>2012-03-07 15:39:23,657 INFO&#160; [com.cox.procera.InterfaceTopology] (QuartzScheduler_Worker-3) (ga) database : gainesville<br/>2012-03-07 15:39:23,695 INFO&#160; [org.hibernate.cfg.AnnotationConfiguration] (QuartzScheduler_Worker-3) Mapping package com.proceranetworks.psm.source.<br/>2012-03-07 15:39:23,695 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.me<br/>2012-03-07 15:39:23,695 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.Interface onaces<br/>2012-03-07 15:39:23,697 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,697 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.Modem on tab<br/>2012-03-07 15:39:23,698 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,698 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.Lock on tabl<br/>2012-03-07 15:39:23,699 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.meCache<br/>2012-03-07 15:39:23,699 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.InterfaceCacnterfaceCache<br/>2012-03-07 15:39:23,700 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,700 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.PSM on table<br/>2012-03-07 15:39:23,701 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.mhe<br/>2012-03-07 15:39:23,701 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.ModemCache oCache<br/>2012-03-07 15:39:23,703 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,703 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.Market on ta<br/>2012-03-07 15:39:23,704 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,704 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.LogInfo on t<br/>2012-03-07 15:39:23,705 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,705 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.NewDLB on ta<br/>2012-03-07 15:39:23,706 INFO&#160; [org.hibernate.cfg.AnnotationBinder] (QuartzScheduler_Worker-3) Binding entity from annotated class: com.cox.procera.m<br/>2012-03-07 15:39:23,706 INFO&#160; [org.hibernate.cfg.annotations.EntityBinder] (QuartzScheduler_Worker-3) Bind entity com.cox.procera.model.DLB on tablence<br/>2012-03-07 15:39:23,715 INFO&#160; [org.hibernate.cfg.search.HibernateSearchEventListenerRegister] (QuartzScheduler_Worker-3) Unable to find org.hibernatt.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.<br/>2012-03-07 15:39:23,718 WARN&#160; [org.hibernate.mapping.RootClass] (QuartzScheduler_Worker-3) composite-id class does not override equals(): com.cox.prompoundKey<br/>2012-03-07 15:39:23,718 WARN&#160; [org.hibernate.mapping.RootClass] (QuartzScheduler_Worker-3) composite-id class does not override hashCode(): com.cox..CompoundKey<br/>2012-03-07 15:39:23,718 INFO&#160; [org.hibernate.util.NamingHelper] (QuartzScheduler_Worker-3) JNDI InitialContext properties:{}<br/>2012-03-07 15:39:23,718 INFO&#160; [org.hibernate.connection.DatasourceConnectionProvider] (QuartzScheduler_Worker-3) Using datasource: java:/MySqlGaines<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) RDBMS: MySQL, version: 5.0.77-log<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) JDBC driver: MySQL-AB JDBC Driver, version: mysql-conne.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 Oct 2006) $, $Revision: 5908 $ )<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.dialect.Dialect] (QuartzScheduler_Worker-3) Using dialect: org.hibernate.dialect.MySQLDialect<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.engine.jdbc.JdbcSupportLoader] (QuartzScheduler_Worker-3) Disabling contextual LOB creation as JDBC driJDBC version [3] less than 4<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.transaction.TransactionFactoryFactory] (QuartzScheduler_Worker-3) Transaction strategy: org.hibernate.tBCTransactionFactory<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.transaction.TransactionManagerLookupFactory] (QuartzScheduler_Worker-3) No TransactionManagerLookup conTA environment, use of read-write or transactional second-level cache is not recommended)<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Automatic flush during beforeCompletion(): disabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Automatic session close at end of transaction: disabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) JDBC batch size: 15<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) JDBC batch updates for versioned data: disabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Scrollable result sets: enabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) JDBC3 getGeneratedKeys(): enabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Connection release mode: after_transaction<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Maximum outer join fetch depth: 3<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Default batch fetch size: 1<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Generate SQL with comments: enabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Order SQL updates by primary key: disabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Order SQL inserts for batching: disabled<br/>2012-03-07 15:39:23,719 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Query translator: org.hibernate.hql.ast.ASTQueryTransla<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.hql.ast.ASTQueryTranslatorFactory] (QuartzScheduler_Worker-3) Using ASTQueryTranslatorFactory<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Query language substitutions: {}<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) JPA-QL strict compliance: enabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Second-level cache: enabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Query cache: disabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Cache region factory : org.hibernate.cache.impl.NoCachiry<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Optimize cache for minimal puts: disabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Structured second-level cache entries: disabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Statistics: enabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Deleted entity synthetic identifier rollback: disabled<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Default entity-mode: pojo<br/>2012-03-07 15:39:23,720 INFO&#160; [org.hibernate.cfg.SettingsFactory] (QuartzScheduler_Worker-3) Named query checking : enabled<br/>2012-03-07 15:39:23,724 INFO&#160; [org.hibernate.impl.SessionFactoryImpl] (QuartzScheduler_Worker-3) building session factory<br/>2012-03-07 15:39:23,726 ERROR [com.cox.procera.InterfaceTopology] (QuartzScheduler_Worker-3) [PersistenceUnit: gainesville] Unable to build EntityMa<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3) javax.persistence.PersistenceException: [PersistenceUnit: gainesville] Unable to bnagerFactory<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configu78)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(Hiberna.java:127)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at com.cox.procera.InterfaceTopology.executeInternal(InterfaceTopology.java:<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.quartz.core.JobRunShell.run(JobRunShell.java:203)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3) Caused by: org.hibernate.MappingException: could not instantiate id generator [entcox.procera.model.InterfaceCache]<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFac)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.mapping.SimpleValue.createIdentifierGenerator(SimpleValue.j<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.impl.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:229)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:13<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationCjava:867)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configu70)<br/>2012-03-07 15:39:23,728 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; ... 6 more<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3) Caused by: org.hibernate.MappingException: Dialect does not support sequences<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.dialect.Dialect.getSequenceNextValString(Dialect.java:628)<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.id.SequenceGenerator.configure(SequenceGenerator.java:88)<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.id.SequenceHiLoGenerator.configure(SequenceHiLoGenerator.ja<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.id.IdentifierGeneratorFactory.create(IdentifierGeneratorFac)<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; ... 11 more<br/>2012-03-07 15:39:23,729 INFO&#160; [com.cox.procera.InterfaceTopology] (QuartzScheduler_Worker-3) end of this cycle, now release the lock by this server:</p><p>2012-03-07 15:39:23,729 ERROR [com.cox.procera.InterfaceTopology] (QuartzScheduler_Worker-3) caught Exception At END: Transaction already active<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3) java.lang.IllegalStateException: Transaction already active<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:35)<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at com.cox.procera.InterfaceTopology.executeInternal(InterfaceTopology.java:<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.quartz.core.JobRunShell.run(JobRunShell.java:203)<br/>2012-03-07 15:39:23,729 ERROR [STDERR] (QuartzScheduler_Worker-3)&#160;&#160;&#160;&#160;&#160;&#160; at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:<br/>2012-03-07 15:39:23,733 INFO&#160; [org.hibernate.impl.SessionFactoryImpl] (QuartzScheduler_Worker-3) closing</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I've included a snippet of my persistence.xml and genoracle-ds.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>persistence.xml</p><p>&#160;&#160; &lt;persistence-unit name="gainesville" transaction-type="RESOURCE_LOCAL"&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;provider&gt;org.hibernate.ejb.HibernatePersistence&lt;/provider&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;com.cox.procera.model.Interface&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;class&gt;com.cox.procera.model.Modem&lt;/class&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;properties&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.driver_class"&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="com.mysql.jdbc.Driver" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.url"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="jdbc:mysql://databasecredentials" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.username"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="user" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.password"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="password" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.max_fetch_depth"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="3" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.show_sql"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="false" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.format_sql"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="true" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.generate_statistics"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="true" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.pool_size"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="10" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.connection.release_mode"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="after_transaction" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.use_sql_comments"</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; value="true" /&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.hbm2ddl.auto" value="validate"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;/properties&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160; &lt;non-jta-data-source&gt;java:/MySqlGainesvilleDS&lt;/non-jta-data-source&gt;</p><p>&#160;&#160;&#160; &lt;/persistence-unit&gt; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>genoracle.xml</p><p>&#160;&#160;&#160;&#160;&#160; &lt;local-tx-datasource&gt;</p><p>&#160;&#160;&#160; &lt;jndi-name&gt;MySqlGainesvilleDS&lt;/jndi-name&gt;</p><p>&#160;&#160;&#160; &lt;connection-url&gt;jdbc:mysql://databaseip&lt;/connection-url&gt;</p><p>&#160;&#160;&#160; &lt;driver-class&gt;com.mysql.jdbc.Driver&lt;/driver-class&gt;</p><p>&#160;&#160;&#160; &lt;user-name&gt;user&lt;/user-name&gt;</p><p>&#160;&#160;&#160; &lt;password&gt;password&lt;/password&gt;</p><p>&#160;&#160;&#160; &lt;exception-sorter-class-name&gt;org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter&lt;/exception-sorter-class-name&gt;</p><p>&#160;&#160;&#160;&#160; &lt;metadata&gt;</p><p>&#160;&#160;&#160;&#160;&#160;&#160; &lt;type-mapping&gt;mySQL&lt;/type-mapping&gt;</p><p>&#160;&#160;&#160; &lt;/metadata&gt;</p><p>&#160; &lt;/local-tx-datasource&gt;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>any guidance is greatly appreciated.</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/722288#722288">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss AS Development Deployment Framework at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2072">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>