Deploying app seam 2.2.2 Final on Jboss 6.0.0 From Jboss 5.1.0GA
christianmcg Mar 12, 2013 12:56 PMHello,
I'm stuck with a problem migrating our app from Jboss 5.1.0GA to Jboss 6.0.0Final, I'm getting this error that deploy correctly on version 5.1.0. It is related with the persistence context but I'm not sure from where start to look. Could please give me any help?, thanks in advance,
Best regards,
Cristian.
My persistence.xml:
<?xml version="1.0" encoding="UTF-8"?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0"> <persistence-unit name="experience"> <provider>org.hibernate.ejb.HibernatePersistence</provider> <jta-data-source>experienceDatasource</jta-data-source> <!-- The <jar-file> element is necessary if you put the persistence.xml in the WAR and the classes in the JAR --> <!--<jar-file>../../vehicles.jar</jar-file>--> <properties> <property name="jboss.entity.manager.factory.jndi.name" value="java:/experienceEntityManagerFactory"/> <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/> <property name="hibernate.search.default.indexBase" value="${jboss.server.home.dir}/data/manager"/> <property name="hibernate.ejb.event.post-insert" value="org.hibernate.search.event.FullTextIndexEventListener"/> <property name="hibernate.ejb.event.post-update" value="org.hibernate.search.event.FullTextIndexEventListener"/> <property name="hibernate.ejb.event.post-delete" value="org.hibernate.search.event.FullTextIndexEventListener"/> <property name="hibernate.cache.use_query_cache" value="true"/> <property name="hibernate.cache.use_second_level_cache" value="true"/> <property name="hibernate.cache.use_structured_entries" value="true"/> <property name="hibernate.cache.region.factory_class" value="net.sf.ehcache.hibernate.SingletonEhCacheRegionFactory"/> <property name="hibernate.cache.region_prefix" value=""/> <property name="hibernate.generate_statistics" value="true"/> <property name="hibernate.show_sql" value="@hibernate_debug@"/> <property name="hibernate.format_sql" value="true"/> <property name="hibernate.jdbc.batch_size" value="50"/> <!-- property name="hibernate.jdbc.factory_class" value="net.bull.javamelody.HibernateBatcherFactory"/ --> </properties> </persistence-unit> </persistence>
manager-ds.xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE datasources PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN" "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"> <datasources> <local-tx-datasource> <jndi-name>experienceDatasource</jndi-name> <use-java-context>false</use-java-context> <connection-url>xxxxxxxxxxxxxxxxxxxxx</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class> <user-name>xxxxxxx</user-name> <password>xxxxxxx</password> </local-tx-datasource> </datasources>
components.xml
<?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:persistence="http://jboss.com/products/seam/persistence" xmlns:transaction="http://jboss.com/products/seam/transaction" xmlns:resteasy="http://jboss.com/products/seam/resteasy" xmlns:cache="http://jboss.com/products/seam/cache" xmlns:drools="http://jboss.com/products/seam/drools" xmlns:bpm="http://jboss.com/products/seam/bpm" xmlns:security="http://jboss.com/products/seam/security" xmlns:mail="http://jboss.com/products/seam/mail" xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:theme="http://jboss.com/products/seam/theme" xmlns:excel="http://jboss.com/products/seam/excel" xmlns:async="http://jboss.com/products/seam/async" xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.2.xsd http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.2.xsd http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.2.xsd http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.2.xsd http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.2.xsd http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.2.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.2.xsd http://jboss.com/products/seam/theme http://jboss.com/products/seam/theme-2.2.xsd http://jboss.com/products/seam/excel http://jboss.com/products/seam/excel-2.2.xsd http://jboss.com/products/seam/async http://jboss.com/products/seam/async-2.2.xsd http://jboss.com/products/seam/resteasy http://jboss.com/products/seam/resteasy-2.2.xsd"> <core:init debug="@seam_debug@" jndi-pattern="@jndiPattern@" /> <cache:eh-cache-provider configuration="/ehcache.xml"/> <resteasy:application resource-path-prefix="/api"/> <core:manager concurrent-request-timeout="3000" conversation-timeout="300000" conversation-id-parameter="cid" parent-conversation-id-parameter="pid" /> <theme:theme-selector cookie-enabled="true" theme="classic"> <theme:available-themes> <value>blueSky</value> <value>classic</value> <value>darkX</value> <value>deepMarine</value> <value>DEFAULT</value> <value>emeraldTown</value> <value>glassX</value> <value>japanCherry</value> <value>wine</value> </theme:available-themes> </theme:theme-selector> <!-- Make sure this URL pattern is the same as that used by the Faces Servlet --> <web:hot-deploy-filter url-pattern="*.html" /> <web:rewrite-filter view-mapping="*.html" /> <web:session invalidate-on-scheme-change="false" /> <transaction:ejb-transaction /> <persistence:managed-persistence-context name="entityManager" auto-create="true" persistence-unit-jndi-name="java:/experienceEntityManagerFactory" /> <drools:rule-base name="securityRules"> <drools:rule-files> <value>/security.drl</value> </drools:rule-files> </drools:rule-base> <security:rule-based-permission-resolver security-rules="#{securityRules}" /> <event type="org.jboss.seam.security.notLoggedIn"> <action execute="#{accessLogBean.saveNotLoggedIn}" /> <action execute="#{redirect.captureCurrentView}" /> </event> <event type="org.jboss.seam.security.loginSuccessful"> <action execute="#{accessLogBean.saveLoginSuccessful}" /> <action execute="#{redirect.returnToCapturedView}" /> </event> <event type="org.jboss.seam.security.loginFailed"> <action execute="#{accessLogBean.saveLoginFailed}" /> </event> <event type="org.jboss.seam.security.alreadyLoggedIn"> <action execute="#{accessLogBean.saveAlreadyLoggedIn}" /> </event> <event type="org.jboss.seam.security.notAuthorized"> <action execute="#{accessLogBean.saveNotAuthorized}" /> </event> <event type="org.jboss.seam.security.loggedOut"> <action execute="#{accessLogBean.saveLoggedOut}" /> </event> <event type="org.jboss.seam.security.rememberMe"> <action execute="#{accessLogBean.saveRememberMe}" /> </event> <event type="org.jboss.seam.postInitialization"> <action execute="#{ftpProcessor.scheduleRegistroVentasFtp}"/> <action execute="#{automaticProcessor.scheduleAutomaticProcess}"/> <action execute="#{interfacesTlcr.init}"/> </event> <!-- <mail:mail-session session-jndi-name="java:/Mail"/> --> <mail:mail-session host="@mail.server@" port="@mail.port@" tls="false" ssl="false"/> <!-- For use with jBPM pageflow or process management --> <!-- <bpm:jbpm> <bpm:process-definitions></bpm:process-definitions> <bpm:pageflow-definitions></bpm:pageflow-definitions> </bpm:jbpm> --> <security:jpa-identity-store user-class="com.barcelo.experience.model.Usuario" role-class="com.barcelo.experience.model.Rol"/> <security:jpa-permission-store user-permission-class="com.barcelo.experience.model.PermisoUsuario" /> <security:remember-me enabled="false" /> <async:quartz-dispatcher/> </components>
-
server.log.zip 23.5 KB