4 Replies Latest reply on Jul 11, 2014 9:36 AM by Marc Durand

    Error deploying SAR file in WildFly 8.1

    Marc Durand Newbie

      We are upgrading from JBoss AS 7.1 to WildFly 8.1.  Our SAR file which deployed in JBoss AS is not deploying in WildFly.  This is the error in the log:

       

      2014-07-10 13:11:33,129 ERROR (MSC service thread 1-1:::::::) [weld] JBAS016000: Failed to setup Weld contexts: javax.naming.NameNotFoundException: BeanManager -- service jboss.naming.context.java.module.rpq-server."rpq-server.sar".BeanManager

        at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:104)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:179)

        at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:235)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)

        at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)

        at javax.naming.InitialContext.lookup(InitialContext.java:411)

        at javax.naming.InitialContext.lookup(InitialContext.java:411)

        at org.jboss.as.weld.arquillian.WeldContextSetup.setup(WeldContextSetup.java:70)

        at org.jboss.as.service.AbstractService.invokeLifecycleMethod(AbstractService.java:67)

        at org.jboss.as.service.StartStopService.start(StartStopService.java:56)

        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:722)

      Are SAR deployments still supported?  We are using the standalone-full configuration.

       

      Thanks in advance!

      Marc