[ https://issues.jboss.org/browse/SEAMREMOTING-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jozef Hartinger reopened SEAMREMOTING-49: ----------------------------------------- The current fix is not correct, because ATM: # the other remoting examples are broken on AS7 (because there is no dependency part in the manifest nor dom4j deployed with the app) # all the remoting examples are broken on GF I would suggest to: * keep dom4j as a "provided" dependency and * put the dependency declaration to the manifest file of seam-remoting itself and * adding glassfish build profiles into examples (replacing JBoss AS 6 profiles which are useless now since dom4j is provided) > Cannot deploy model example on AS7.0.2.Final > -------------------------------------------- > > Key: SEAMREMOTING-49 > URL: https://issues.jboss.org/browse/SEAMREMOTING-49 > Project: Seam Remoting > Issue Type: Bug > Affects Versions: 3.1.0.Beta3 > Environment: Jboss AS 7.0.2.Final > Reporter: Marek Schmidt > Assignee: Shane Bryzak > Priority: Blocker > Fix For: 3.1.0.CR1 > > > ========================================================================= > JBoss Bootstrap Environment > JBOSS_HOME: /home/maschmid/testing/as7/jboss-as-7.0.2.Final-preview > JAVA: /usr/java/latest//bin/java > JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxPermSize=256m > -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true > -Dsun.rmi.dgc.client.gcInterval=3600000 > -Dsun.rmi.dgc.server.gcInterval=3600000 > -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true > ========================================================================= > 11:54:31,509 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA > 11:54:31,754 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA > 11:54:31,813 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting > 11:54:32,702 WARN [org.jboss.as] No security realm defined for native > management service, all access will be unrestricted. > 11:54:32,771 INFO [org.jboss.as] creating http management service using > network interface (management) port (9990) > 11:54:32,773 WARN [org.jboss.as] No security realm defined for http > management service, all access will be unrestricted. > 11:54:32,808 INFO [org.jboss.as.logging] Removing bootstrap log handlers > 11:54:32,828 INFO [org.jboss.as.connector.subsystems.datasources] > (Controller Boot Thread) Deploying JDBC-compliant driver class org.h2.Driver > (version 1.2) > 11:54:32,844 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller > Boot Thread) Activating Infinispan subsystem. > 11:54:32,938 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: > Activating Naming Subsystem > 11:54:32,948 INFO [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: > Starting Naming Service > 11:54:32,954 INFO [org.jboss.as.osgi] (Controller Boot Thread) JBAS011910: > Activating OSGi Subsystem > 11:54:32,986 INFO [org.jboss.as.security] (Controller Boot Thread) > Activating Security Subsystem > 11:54:32,988 INFO [org.jboss.remoting] (MSC service thread 1-1) JBoss > Remoting version 3.2.0.Beta2 > 11:54:33,007 INFO [org.xnio] (MSC service thread 1-1) XNIO Version > 3.0.0.Beta3 > 11:54:33,023 INFO [org.xnio.nio] (MSC service thread 1-1) XNIO NIO > Implementation Version 3.0.0.Beta3 > 11:54:33,231 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC > service thread 1-1) The Apache Tomcat Native library which allows optimal > performance in production environments was not found on the > java.library.path: > /usr/java/jdk1.6.0_24/jre/lib/amd64/server:/usr/java/jdk1.6.0_24/jre/lib/amd64:/usr/java/jdk1.6.0_24/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib > 11:54:33,251 INFO [org.jboss.as.remoting] (MSC service thread 1-4) Listening > on /127.0.0.1:9999 > 11:54:33,262 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE > subsystem > 11:54:33,281 INFO [org.jboss.as.jmx.JMXConnectorService] (MSC service thread > 1-4) Starting remote JMX connector > 11:54:33,384 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service > thread 1-3) Starting Coyote HTTP/1.1 on http--127.0.0.1-8080 > 11:54:33,618 INFO [org.jboss.as.connector] (MSC service thread 1-3) Starting > JCA Subsystem (JBoss IronJacamar 1.0.3.Final) > 11:54:33,661 INFO [org.jboss.as.connector.subsystems.datasources] (MSC > service thread 1-1) Bound data source [java:jboss/datasources/ExampleDS] > 11:54:34,063 INFO [org.jboss.as.deployment] (MSC service thread 1-2) Started > FileSystemDeploymentService for directory > /home/maschmid/testing/as7/jboss-as-7.0.2.Final-preview/standalone/deployments > 11:54:34,086 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS > 7.0.2.Final "Arc" started in 2806ms - Started 93 of 148 services (55 services > are passive or on-demand) > 11:55:07,468 INFO [org.jboss.as.server.deployment] (pool-2-thread-6) Content > added at location > /home/maschmid/testing/as7/jboss-as-7.0.2.Final-preview/standalone/data/content/0d/296e5ff284b4095f4ddd8e0e3b62a0aadd398f/content > 11:55:07,557 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) > Starting deployment of "remoting-model.war" > 11:55:08,224 INFO [org.jboss.jpa] (MSC service thread 1-4) read > persistence.xml for model > 11:55:08,237 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added > javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist > dependencies to remoting-model.war > 11:55:08,238 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added (default > provider) org.hibernate dependency to application deployment (since 1 PU(s) > didn't specify jboss.as.jpa.providerModule) > 11:55:08,239 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added > org.hibernate dependency to application deployment > 11:55:08,313 INFO [org.jboss.weld] (MSC service thread 1-3) Processing CDI > deployment: remoting-model.war > 11:55:08,557 INFO [org.jboss.weld] (MSC service thread 1-4) Starting > Services for CDI deployment: remoting-model.war > 11:55:08,584 INFO [org.jboss.weld.Version] (MSC service thread 1-4) > WELD-000900 1.1.2 (Final) > 11:55:08,616 INFO [org.jboss.jpa] (MSC service thread 1-3) starting > Persistence Unit Service 'remoting-model.war#model' > 11:55:08,733 INFO [org.hibernate.annotations.common.Version] (MSC service > thread 1-3) HCANN000001: Hibernate Commons Annotations {4.0.0.CR2} > 11:55:08,738 INFO [org.hibernate.Version] (MSC service thread 1-3) > HHH00412:Hibernate Core {4.0.0.CR2} > 11:55:08,739 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-3) > HHH00206:hibernate.properties not found > 11:55:08,741 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-3) > HHH00021:Bytecode provider name : javassist > 11:55:08,758 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread > 1-3) HHH00204:Processing PersistenceUnitInfo [ > name: model > ...] > 11:55:08,906 INFO > [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] > (MSC service thread 1-3) HHH00130:Instantiating explicit connection provider: > org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider > 11:55:09,089 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-3) > HHH00400:Using dialect: org.hibernate.dialect.H2Dialect > 11:55:09,094 WARN [org.hibernate.dialect.H2Dialect] (MSC service thread 1-3) > HHH00431:Unable to determine H2 database version, certain features may not > work > 11:55:09,097 INFO [org.hibernate.engine.jdbc.internal.LobCreatorBuilder] > (MSC service thread 1-3) HHH00423:Disabling contextual LOB creation as JDBC > driver reported JDBC version [3] less than 4 > 11:55:09,104 INFO > [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (MSC > service thread 1-3) HHH00268:Transaction strategy: > org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory > 11:55:09,107 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] > (MSC service thread 1-3) HHH00397:Using ASTQueryTranslatorFactory > 11:55:09,138 INFO [org.hibernate.validator.util.Version] (MSC service thread > 1-3) Hibernate Validator 4.2.0.Final > 11:55:09,251 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) > MSC00001: Failed to start service > jboss.persistenceunit."remoting-model.war#model": > org.jboss.msc.service.StartException in service > jboss.persistenceunit."remoting-model.war#model": Failed to start service > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780) > [jboss-msc-1.0.1.GA.jar:1.0.1.GA] > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) > [:1.6.0_24] > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) > [:1.6.0_24] > at java.lang.Thread.run(Thread.java:662) [:1.6.0_24] > Caused by: java.lang.ClassCastException: org.dom4j.DocumentFactory cannot be > cast to org.dom4j.DocumentFactory > at org.dom4j.DocumentFactory.getInstance(DocumentFactory.java:97) > at org.dom4j.DocumentHelper.getDocumentFactory(DocumentHelper.java:36) > at org.dom4j.DocumentHelper.createDocument(DocumentHelper.java:41) > at > org.hibernate.envers.configuration.RevisionInfoConfiguration.generateDefaultRevisionInfoXmlMapping(RevisionInfoConfiguration.java:86) > at > org.hibernate.envers.configuration.RevisionInfoConfiguration.configure(RevisionInfoConfiguration.java:322) > at > org.hibernate.envers.configuration.AuditConfiguration.<init>(AuditConfiguration.java:94) > at > org.hibernate.envers.configuration.AuditConfiguration.getFor(AuditConfiguration.java:134) > at > org.hibernate.envers.event.EnversIntegrator.integrate(EnversIntegrator.java:63) > at > org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:294) > at > org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1722) > at > org.hibernate.ejb.EntityManagerFactoryImpl.<init>(EntityManagerFactoryImpl.java:76) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:899) > at > org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:884) > at > org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:73) > at > org.jboss.as.jpa.service.PersistenceUnitService.createContainerEntityManagerFactory(PersistenceUnitService.java:143) > at > org.jboss.as.jpa.service.PersistenceUnitService.start(PersistenceUnitService.java:77) > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) > [jboss-msc-1.0.1.GA.jar:1.0.1.GA] > at > org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) > [jboss-msc-1.0.1.GA.jar:1.0.1.GA] > ... 3 more > 11:55:09,465 INFO [org.jboss.as.server.controller] (pool-2-thread-3) > Deployment of "remoting-model.war" was rolled back with failure message > {"Failed services" => {"jboss.persistenceunit.\"remoting-model.war#model\"" > => "org.jboss.msc.service.StartException in service > jboss.persistenceunit.\"remoting-model.war#model\": Failed to start service"}} > 11:55:09,501 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) > Stopped deployment remoting-model.war in 39ms -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ seam-issues mailing list seam-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/seam-issues