oskopek / carcv

CarCV - A car recognizing and speed calculating platform
Apache License 2.0
8 stars 13 forks source link

CarCV fails to deploy on Wildfly8 on OpenShift #21

Closed oskopek closed 10 years ago

oskopek commented 10 years ago

server.log excerpt:

2014-01-01 16:44:54,407 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "ROOT.war" (runtime-name: "ROOT.war")
2014-01-01 16:44:54,519 INFO  [org.jboss.as.remoting] (MSC service thread 1-4) JBAS017100: Listening on 127.12.255.1:9999
2014-01-01 16:44:56,112 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/datasources/MySQLDS]
2014-01-01 16:44:56,113 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-1) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
2014-01-01 16:44:58,615 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."ROOT.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.0.CR1.jar:1.2.0.CR1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module "deployment.ROOT.war:main" from Service Module Loader]
        at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.getEjbClass(BusinessViewAnnotationProcessor.java:231)
        at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.deploy(BusinessViewAnnotationProcessor.java:89)
        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [wildfly-server-8.0.0.CR1.jar:8.0.0.CR1]
        ... 5 more
Caused by: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module "deployment.ROOT.war:main" from Service Module Loader]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:197) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:443) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:431) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:373) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:118) [jboss-modules.jar:1.3.0.Final]
        at org.jboss.as.ejb3.deployment.processors.BusinessViewAnnotationProcessor.getEjbClass(BusinessViewAnnotationProcessor.java:229)
        ... 7 more

2014-01-01 16:44:58,645 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "ROOT.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"ROOT.war\".POST_MODULE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"ROOT.war\".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment \"ROOT.war\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module \"deployment.ROOT.war:main\" from Service Module Loader]
    Caused by: java.lang.ClassNotFoundException: org.carcv.web.beans.StorageBean from [Module \"deployment.ROOT.war:main\" from Service Module Loader]"}}
2014-01-01 16:44:58,709 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([("subsystem" => "webservices")]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.ws.config is missing [jboss.web.common.server]"]}
2014-01-01 16:44:58,717 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) JBAS014613: Operation ("add") failed - address: ([
    ("subsystem" => "ejb3"),
    ("service" => "remote")
]) - failure description: {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.ejb3.connector is missing [jboss.remoting.remotingConnectorInfoService.http-remoting-connector]"]}
2014-01-01 16:44:59,308 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 28) JBAS018559: Deployed "ROOT.war" (runtime-name : "ROOT.war")
2014-01-01 16:44:59,314 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.remoting.remotingConnectorInfoService.http-remoting-connector (missing) dependents: [service jboss.ejb3.connector] 
      service jboss.web.common.server (missing) dependents: [service jboss.ws.config] 
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."ROOT.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."ROOT.war".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "ROOT.war"

2014-01-01 16:44:59,719 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.12.255.1:9990/management
2014-01-01 16:44:59,725 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.12.255.1:9990
2014-01-01 16:44:59,725 ERROR [org.jboss.as] (Controller Boot Thread) JBAS015875: WildFly 8.0.0.CR1 "WildFly" started (with errors) in 43404ms - Started 186 of 240 services (3 services failed or missing dependencies, 72 services are lazy, passive or on-demand)
2014-01-01 16:45:00,324 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment ROOT.war (runtime-name: ROOT.war) in 115ms
2014-01-01 16:45:00,707 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "ROOT.war" (runtime-name: "ROOT.war")
2014-01-01 16:45:00,708 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777:   Services which failed to start:      service jboss.deployment.unit."ROOT.war".POST_MODULE
oskopek commented 10 years ago

Fixed with 76ee984f3009deabbddb2757a8f75e780bf7e7b3 and 69cf3a07bdf2b76f569ea059555ec3da441b217d