Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-13744

Photoalbum cannot be deployed to Wildfly 8.1

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Cannot Reproduce Bug
    • Affects Version/s: 4.5.0.Alpha3
    • Fix Version/s: 4.5.0.Beta1
    • Component/s: examples
    • Labels:
      None
    • Environment:

      Wildfly 8.x
      RichFaces 4.5.0.Alpha3

    • Steps to Reproduce:
      Hide
      • Clone RF repo and checkout 4.5.0.Alpha3 release
      • Go to examples/photoalbum
        • Build it with

          mvn clean install

      • Start Wildfly 8.1
      • Deploy photoalbum
      • See server console for exceptions
        • In the beginning there are SQL errors which are not related to this
      Show
      Clone RF repo and checkout 4.5.0.Alpha3 release Go to examples/photoalbum Build it with mvn clean install Start Wildfly 8.1 Deploy photoalbum See server console for exceptions In the beginning there are SQL errors which are not related to this

      Description

      Photoalbum in RF 4.5.0.Alpha3 cannot be deployed to Wildfly. There is a WELD exception thrown:

      15:13:56,173 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."richfaces-photoalbum.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."richfaces-photoalbum.war".WeldStartService: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
      	at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
      Caused by: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getBeans() is not available during application initialization
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerValidated(BeanManagerProxy.java:159)
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.getBeans(BeanManagerProxy.java:91)
      	at org.jboss.solder.core.CoreExtension.failIfWeldExtensionsDetected(CoreExtension.java:215)
      	at org.jboss.solder.core.CoreExtension.afterBeanDiscovery(CoreExtension.java:208)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)
      	at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:125)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
      	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)
      	at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)
      	at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:128)
      	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:102)
      	at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63)
      	at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:35)
      	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:55)
      	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:372)
      	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:79)
      	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
       
      	at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:37)
      	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:55)
      	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:372)
      	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:79)
      	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	... 3 more
       
      15:13:56,205 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 2) JBAS014613: Operation ("deploy") failed - address: ([("deployment" => "richfaces-photoalbum.war")]) - failure description: {"JBAS014671: Failed services" => {"jboss.deployment.unit.\"richfaces-photoalbum.war\".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"richfaces-photoalbum.war\".WeldStartService: Failed to start service
          Caused by: org.jboss.weld.exceptions.DefinitionException: Exception List with 1 exceptions:
      Exception 0 :
      org.jboss.weld.exceptions.IllegalStateException: WELD-001332: BeanManager method getBeans() is not available during application initialization
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.checkContainerValidated(BeanManagerProxy.java:159)
      	at org.jboss.weld.bean.builtin.BeanManagerProxy.getBeans(BeanManagerProxy.java:91)
      	at org.jboss.solder.core.CoreExtension.failIfWeldExtensionsDetected(CoreExtension.java:215)
      	at org.jboss.solder.core.CoreExtension.afterBeanDiscovery(CoreExtension.java:208)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:93)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:266)
      	at org.jboss.weld.event.ExtensionObserverMethodImpl.sendEvent(ExtensionObserverMethodImpl.java:125)
      	at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
      	at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:232)
      	at org.jboss.weld.event.ObserverNotifier.notifyObserver(ObserverNotifier.java:169)
      	at org.jboss.weld.event.ObserverNotifier.notifyObservers(ObserverNotifier.java:128)
      	at org.jboss.weld.event.ObserverNotifier.fireEvent(ObserverNotifier.java:102)
      	at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:63)
      	at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:35)
      	at org.jboss.weld.bootstrap.events.AfterBeanDiscoveryImpl.fire(AfterBeanDiscoveryImpl.java:55)
      	at org.jboss.weld.bootstrap.WeldStartup.deployBeans(WeldStartup.java:372)
      	at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:79)
      	at org.jboss.as.weld.WeldStartService.start(WeldStartService.java:92)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      	at java.lang.Thread.run(Thread.java:724)
      "}}
      15:13:56,541 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "richfaces-photoalbum.war" (runtime-name : "richfaces-photoalbum.war")
      15:13:56,543 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
      JBAS014777:   Services which failed to start:      service jboss.deployment.unit."richfaces-photoalbum.war".WeldStartService: org.jboss.msc.service.StartException in service jboss.deployment.unit."richfaces-photoalbum.war".WeldStartService: Failed to start service
      

      I cloned the whole RF repo to be sure.
      Also I tried older version of Wildfly (8.0) and EAP 6.3 but result was the same.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                manovotn Matej Novotny
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: