Jan Papousek created RF-11935:
---------------------------------
Summary: Can't deploy Showcase on Openshift express
Key: RF-11935
URL:
https://issues.jboss.org/browse/RF-11935
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: showcase
Affects Versions: 4.2.0.CR1
Environment: OpenShift Express (JBoss AS 7.0.2.Final)
Reporter: Jan Papousek
When I try to deploy
[
Showcase|https://repository.jboss.org/nexus/content/groups/staging/org/ri...]
on Openshift (Express), it fails. Log from {{rhc-tail-files}} follows:
{code}
08:07:15,228 INFO [org.jboss.as.logging] Restored bootstrap log handlers
08:07:15,234 INFO [org.apache.coyote.http11.Http11Protocol] Stopping Coyote HTTP/1.1 on
http--127.1.45.1-8080
08:07:15,242 INFO [com.arjuna.ats.jbossatx] ARJUNA32018: Destroying
TransactionManagerService
08:07:15,243 INFO [com.arjuna.ats.jbossatx] ARJUNA32014: Stopping transaction recovery
manager
08:07:15,257 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" stopped in 38ms
/usr/bin/tail: showcase2/logs/boot.log: file truncated
08:07:16,671 INFO [org.jboss.modules] JBoss Modules version 1.0.2.GA
08:07:17,166 INFO [org.jboss.msc] JBoss MSC version 1.0.1.GA
08:07:17,298 INFO [org.jboss.as] JBoss AS 7.0.2.Final "Arc" starting
08:07:17,301 DEBUG [org.jboss.as.config] Configured system properties:
JAVA_HOME = /etc/alternatives/java_sdk_1.6.0
M2_HOME = /etc/alternatives/maven-3.0
OPENSHIFT_APP_CTL_SCRIPT =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/showcase2_ctl.sh
OPENSHIFT_APP_DIR = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/
OPENSHIFT_APP_DNS =
showcase2-jpapouse.rhcloud.com
OPENSHIFT_APP_NAME = showcase2
OPENSHIFT_APP_TYPE = jbossas-7.0
OPENSHIFT_APP_UUID = da31c29986b146a188b9788300830e48
OPENSHIFT_CONTAINER_UUID = da31c29986b146a188b9788300830e48
OPENSHIFT_DATA_DIR = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/data/
OPENSHIFT_HOMEDIR = /var/lib/libra/da31c29986b146a188b9788300830e48/
OPENSHIFT_INTERNAL_IP = 127.1.45.1
OPENSHIFT_INTERNAL_PORT = 8080
OPENSHIFT_LOG_DIR = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/logs/
OPENSHIFT_REPO_DIR = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/repo/
OPENSHIFT_RUN_DIR = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/run/
OPENSHIFT_TMP_DIR = /tmp/
PATH =
/usr/libexec/li/cartridges/jbossas-7.0/info/bin/:/usr/libexec/li/cartridges/abstract-httpd/info/bin/:/usr/libexec/li/cartridges/abstract/info/bin/:/etc/alternatives/java_sdk_1.6.0/bin:/etc/alternatives/maven-3.0/bin:/sbin:/usr/sbin:/bin:/usr/bin
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/jboss-modules.jar
java.class.version = 50.0
java.endorsed.dirs = /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/endorsed
java.ext.dirs =
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
java.io.tmpdir = /tmp
java.lang.Integer.IntegerCache.high = 20000
java.library.path =
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.net.preferIPv4Stack = true
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.6.0_22-b22
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.6
java.util.logging.manager = org.jboss.logmanager.LogManager
java.vendor = Sun Microsystems Inc.
java.vendor.url =
http://java.sun.com/
java.vendor.url.bug =
http://java.sun.com/cgi-bin/bugreport.cgi
java.version = 1.6.0_22
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 20.0-b11
javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema =
__redirected.__SchemaFactory
javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom =
__redirected.__XPathFactory
jboss.home.dir = /var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0
jboss.host.name = ex-node10
jboss.modules.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/modules
jboss.node.name = ex-node10
jboss.qualified.host.name =
ex-node10.prod.rhcloud.com
jboss.server.base.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone
jboss.server.config.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/configuration
jboss.server.data.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/data
jboss.server.deploy.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/data/content
jboss.server.log.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/log
jboss.server.name = ex-node10
jboss.server.temp.dir =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/tmp
line.separator =
logging.configuration =
file:/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/configuration/logging.properties
module.path =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/configuration/modules:/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/modules
org.apache.tomcat.util.LOW_MEMORY = true
org.jboss.boot.log.file =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/log/boot.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Linux
os.version = 2.6.32-220.4.1.el6.x86_64
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path =
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/alt-rt.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/netx.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/plugin.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/classes
sun.boot.library.path = /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command =
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/jboss-modules.jar
-mp
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/configuration/modules:/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/modules
-logmodule org.jboss.logmanager -jaxpmodule javax.xml.jaxp-provider
org.jboss.as.standalone
-Djboss.home.dir=/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = unknown
user.country = US
user.dir = /var/lib/libra/da31c29986b146a188b9788300830e48/git/showcase2.git
user.home = /var/lib/libra/da31c29986b146a188b9788300830e48
user.language = en
user.name = da31c29986b146a188b9788300830e48
user.timezone = America/New_York
08:07:18,529 INFO [org.jboss.as.logging] Removing bootstrap log handlers
==> showcase2/logs/server.log <==
08:07:18,558 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot
Thread) Deploying JDBC-compliant driver class org.h2.Driver (version 1.2)
08:07:18,567 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot
Thread) Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
08:07:18,577 INFO [org.jboss.as.connector.subsystems.datasources] (Controller Boot
Thread) Deploying non-JDBC-compliant driver class org.postgresql.Driver (version 8.4)
08:07:18,607 INFO [org.jboss.as.clustering.infinispan.subsystem] (Controller Boot Thread)
Activating Infinispan subsystem.
08:07:18,791 INFO [org.jboss.as.naming] (Controller Boot Thread) JBAS011800: Activating
Naming Subsystem
08:07:18,808 INFO [org.jboss.as.naming] (MSC service thread 1-3) JBAS011802: Starting
Naming Service
08:07:18,819 INFO [org.jboss.as.security] (Controller Boot Thread) Activating Security
Subsystem
08:07:19,140 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread
1-4) The Apache Tomcat Native library which allows optimal performance in production
environments was not found on the java.library.path:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
08:07:19,231 INFO [org.jboss.as.ee] (Controller Boot Thread) Activating EE subsystem
08:07:19,292 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1)
Starting Coyote HTTP/1.1 on http--127.1.45.1-8080
08:07:19,515 INFO [org.jboss.as.connector] (MSC service thread 1-4) Starting JCA
Subsystem (JBoss IronJacamar 1.0.3.Final)
08:07:19,585 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-4) Bound data source [java:jboss/datasources/ExampleDS]
08:07:20,461 INFO [org.jboss.as.deployment] (MSC service thread 1-2) Started
FileSystemDeploymentService for directory
/var/lib/libra/da31c29986b146a188b9788300830e48/showcase2/jbossas-7.0/standalone/deployments
08:07:20,492 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.0.2.Final
"Arc" started in 4255ms - Started 83 of 111 services (22 services are passive or
on-demand)
08:07:20,517 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting
deployment of "richfaces-showcase-4.2.0.CR1-openshift.war"
08:07:23,757 INFO [org.jboss.jpa] (MSC service thread 1-2) read persistence.xml for
richfaces-showcase
08:07:23,767 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added
javax.persistence.api, javaee.api, org.jboss.as.jpa, org.javassist dependencies to
richfaces-showcase-4.2.0.CR1-openshift.war
08:07:23,768 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)
08:07:23,769 INFO [org.jboss.as.jpa] (MSC service thread 1-3) added org.hibernate
dependency to application deployment
08:07:24,895 INFO [org.jboss.weld] (MSC service thread 1-2) Processing CDI deployment:
richfaces-showcase-4.2.0.CR1-openshift.war
08:07:26,611 INFO [org.jboss.weld] (MSC service thread 1-4) Starting Services for CDI
deployment: richfaces-showcase-4.2.0.CR1-openshift.war
08:07:26,670 INFO [org.jboss.weld.Version] (MSC service thread 1-4) WELD-000900 1.1.2
(Final)
08:07:26,806 INFO [org.jboss.jpa] (MSC service thread 1-3) starting Persistence Unit
Service 'richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase'
08:07:27,235 INFO [org.hibernate.annotations.common.Version] (MSC service thread 1-3)
HCANN000001: Hibernate Commons Annotations {4.0.0.CR2}
08:07:27,253 INFO [org.hibernate.Version] (MSC service thread 1-3) HHH00412:Hibernate
Core {4.0.0.CR2}
08:07:27,257 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-3)
HHH00206:hibernate.properties not found
08:07:27,260 INFO [org.hibernate.cfg.Environment] (MSC service thread 1-3)
HHH00021:Bytecode provider name : javassist
08:07:27,310 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-3)
HHH00204:Processing PersistenceUnitInfo [
name: richfaces-showcase
...]
08:07:27,643 INFO
[org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (MSC service
thread 1-3) HHH00130:Instantiating explicit connection provider:
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
08:07:28,191 INFO [org.hibernate.dialect.Dialect] (MSC service thread 1-3) HHH00400:Using
dialect: org.hibernate.dialect.HSQLDialect
08:07:28,201 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
08:07:28,211 INFO [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator]
(MSC service thread 1-3) HHH00268:Transaction strategy:
org.hibernate.engine.transaction.internal.jdbc.JdbcTransactionFactory
08:07:28,216 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (MSC service
thread 1-3) HHH00397:Using ASTQueryTranslatorFactory
08:07:28,312 INFO [org.hibernate.validator.util.Version] (MSC service thread 1-3)
Hibernate Validator 4.2.0.Final
08:07:28,502 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC00001: Failed
to start service
jboss.persistenceunit."richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase":
Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1780)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[:1.6.0_22]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[:1.6.0_22]
at java.lang.Thread.run(Thread.java:679) [:1.6.0_22]
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)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
... 3 more
08:07:28,747 INFO [org.jboss.as.server.controller] (DeploymentScanner-threads - 2)
Deployment of "richfaces-showcase-4.2.0.CR1-openshift.war" was rolled back with
failure message {"Failed services" =>
{"jboss.persistenceunit.\"richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase\""
=> "org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase\":
Failed to start service"}}
08:07:28,748 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) Service
status report
Services which failed to start:
service
jboss.persistenceunit."richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase":
org.jboss.msc.service.StartException in service
jboss.persistenceunit."richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase":
Failed to start service
08:07:28,749 ERROR [org.jboss.as.deployment] (DeploymentScanner-threads - 1)
{"Composite operation failed and was rolled back. Steps that failed:" =>
{"Operation step-2" => {"Failed services" =>
{"jboss.persistenceunit.\"richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase\""
=> "org.jboss.msc.service.StartException in service
jboss.persistenceunit.\"richfaces-showcase-4.2.0.CR1-openshift.war#richfaces-showcase\":
Failed to start service"}}}}
08:07:29,049 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) Stopped
deployment richfaces-showcase-4.2.0.CR1-openshift.war in 295ms
{code}
--
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