11 Replies Latest reply on May 5, 2009 8:47 AM by alesj

    Possible issue with WebBeansWebUrlIntegrationDeployer during

    beve

      Hi,

      we using the branch Branch_5_x and noticed something that I've not seen before and wanted to ask if this is the expected behavior.
      As part of our deployment (.esb archives) we sometimes create JBossWebMetaData to have a webservice deployed exposing a service in the esb as a web service.

      Upon undeployment I get this error:
      Exception:

      09:18:05,087 INFO [EsbDeployment] Stopping EBS Deployment 'Quickstart_publish_as_webservice'
      09:18:05,217 INFO [JDBCDataStore] Generated token 'authToken:E05882F0-3944-11DE-AA08-96330774DB7F' for user: 'jbossesb/JBoss ESB User'
      09:18:05,248 INFO [DeleteBindingFunction] Publisher 'jbossesb' deleted BindingTemplate with key: D9DBE5C0-3944-11DE-AA08-B20152A53F4F
      09:18:05,265 INFO [EsbDeployment] Destroying ESB Deployment 'Quickstart_publish_as_webservice'
      09:18:05,266 WARN [ServiceMessageCounterLifecycleResource] Calling cleanup on existing service message counters for identity ID-7
      09:18:05,316 INFO [EsbDeployment] Setting contract publishers : null
      09:18:05,324 INFO [QueueService] Queue[/queue/quickstart_publish_as_webservice_Request_esb_reply] stopped
      09:18:05,329 INFO [QueueService] Queue[/queue/quickstart_publish_as_webservice_Request_esb] stopped
      09:18:05,331 INFO [TomcatDeployment] undeploy, ctxPath=/Quickstart_publish_as_webservice
      09:18:05,348 INFO [DefaultEndpointRegistry] remove: jboss.ws:context=Quickstart_publish_as_webservice,endpoint=ESBServiceSample_HelloWorldPubService
      09:18:05,364 ERROR [WebBeansWebUrlIntegrationDeployer] Error during undeploy: vfszip:/opt/jboss/as/src/Branch_5_x/build/output/jboss-5.1.0.GA/server/default/deploy/Quickstart_publish_as_webservice.esb/jbm-queue-service.xml
      java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
       at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)
       at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:616)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:763)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.isLeaf(ZipEntryContext.java:956)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.isLeaf(ZipEntryHandler.java:129)
       at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:677)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
       at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)
       at org.jboss.deployers.vfs.plugins.structure.VFSDeploymentResourceLoaderImpl.getFile(VFSDeploymentResourceLoaderImpl.java:62)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext.getFile(AbstractVFSDeploymentContext.java:352)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit.getFile(AbstractVFSDeploymentUnit.java:101)
       at org.jboss.deployers.vfs.plugins.classloader.PathUrlIntegrationDeployer.isIntegrationDeployment(PathUrlIntegrationDeployer.java:48)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.isIntegrationDeployment(UrlIntegrationDeployer.java:183)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.undeploy(UrlIntegrationDeployer.java:143)
       at org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer.undeploy(AbstractOptionalVFSRealDeployer.java:76)
       at org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer.internalUndeploy(AbstractOptionalRealDeployer.java:91)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1356)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331)
       at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
       at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664)
       at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:338)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:231)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.util.zip.ZipException: error in opening zip file
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:203)
       at java.util.zip.ZipFile.<init>(ZipFile.java:234)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:474)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:609)
       ... 39 more
      09:18:05,587 ERROR [WebBeansWebUrlIntegrationDeployer] Error during undeploy: vfszip:/opt/jboss/as/src/Branch_5_x/build/output/jboss-5.1.0.GA/server/default/deploy/Quickstart_publish_as_webservice.esb/
      java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
       at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)
       at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:616)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:763)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:807)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191)
       at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
       at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107)
       at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)
       at org.jboss.deployers.vfs.plugins.structure.VFSDeploymentResourceLoaderImpl.getFile(VFSDeploymentResourceLoaderImpl.java:62)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext.getFile(AbstractVFSDeploymentContext.java:352)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit.getFile(AbstractVFSDeploymentUnit.java:101)
       at org.jboss.deployers.vfs.plugins.classloader.PathUrlIntegrationDeployer.isIntegrationDeployment(PathUrlIntegrationDeployer.java:48)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.isIntegrationDeployment(UrlIntegrationDeployer.java:183)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.undeploy(UrlIntegrationDeployer.java:143)
       at org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer.undeploy(AbstractOptionalVFSRealDeployer.java:76)
       at org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer.internalUndeploy(AbstractOptionalRealDeployer.java:91)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331)
       at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
       at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664)
       at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:338)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:231)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.util.zip.ZipException: error in opening zip file
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:203)
       at java.util.zip.ZipFile.<init>(ZipFile.java:234)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:474)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:609)
       ... 39 more
      ,,,
      09:18:05,642 ERROR [SeamWebUrlIntegrationDeployer] Error during undeploy: vfszip:/opt/jboss/as/src/Branch_5_x/build/output/jboss-5.1.0.GA/server/default/deploy/Quickstart_publish_as_webservice.esb/
      java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
       at org.jboss.virtual.plugins.context.AbstractExceptionHandler.handleZipEntriesInitException(AbstractExceptionHandler.java:39)
       at org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler.handleZipEntriesInitException(NamesExceptionHandler.java:63)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:616)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.checkIfModified(ZipEntryContext.java:763)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.getChild(ZipEntryContext.java:807)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.createChildHandler(ZipEntryHandler.java:191)
       at org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:684)
       at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
       at org.jboss.virtual.plugins.context.DelegatingHandler.getChild(DelegatingHandler.java:107)
       at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)
       at org.jboss.deployers.vfs.plugins.structure.VFSDeploymentResourceLoaderImpl.getFile(VFSDeploymentResourceLoaderImpl.java:62)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentContext.getFile(AbstractVFSDeploymentContext.java:352)
       at org.jboss.deployers.vfs.plugins.structure.AbstractVFSDeploymentUnit.getFile(AbstractVFSDeploymentUnit.java:101)
       at org.jboss.deployers.vfs.plugins.classloader.PathUrlIntegrationDeployer.isIntegrationDeployment(PathUrlIntegrationDeployer.java:48)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.isIntegrationDeployment(UrlIntegrationDeployer.java:183)
       at org.jboss.deployers.vfs.plugins.classloader.UrlIntegrationDeployer.undeploy(UrlIntegrationDeployer.java:143)
       at org.jboss.deployers.vfs.spi.deployer.AbstractOptionalVFSRealDeployer.undeploy(AbstractOptionalVFSRealDeployer.java:76)
       at org.jboss.deployers.spi.deployer.helpers.AbstractOptionalRealDeployer.internalUndeploy(AbstractOptionalRealDeployer.java:91)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331)
       at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
       at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664)
       at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679)
       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:338)
       at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:231)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
       at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
       at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:142)
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:166)
       at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: java.util.zip.ZipException: error in opening zip file
       at java.util.zip.ZipFile.open(Native Method)
       at java.util.zip.ZipFile.<init>(ZipFile.java:203)
       at java.util.zip.ZipFile.<init>(ZipFile.java:234)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.ensureZipFile(ZipFileWrapper.java:175)
       at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.acquire(ZipFileWrapper.java:245)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.initEntries(ZipEntryContext.java:474)
       at org.jboss.virtual.plugins.context.zip.ZipEntryContext.ensureEntries(ZipEntryContext.java:609)
       ... 39 more


      The SeamWebUrlIntegrationDeployer works with JBossWebMetaData as does the .esb archive. It look to me that the SeamWebUrlIntegrationDeployer is trying to perform work on the VFSDeploymentUnit after the .esb archive has be undeployed and removed.

      I've tried to add a check in SeamUrlIntegrationDeployer to see if the deployment root exists:
      private static final IgnoringZipExceptionsHandler exceptionHandler = new IgnoringZipExceptionsHandler();
       protected boolean isIntegrationDeployment(VFSDeploymentUnit unit)
       {
       String[] files = getFiles();
       if (files == null || files.length == 0)
       return false;
      
       VirtualFile root = unit.getRoot();
       root.getVFS().setExceptionHandler(exceptionHandler);
      
       if (exists(root))
       {
       for(String path : files)
       {
       VirtualFile vf = unit.getFile(path);
       if (vf != null)
       return true;
       }
       }
       return false;
       }
      
       protected boolean exists(final VirtualFile file)
       {
       try
       {
       return file.exists();
       }
       catch (final IOException e)
       {
       return false;
       }
       }
      
       private static class IgnoringZipExceptionsHandler extends AbstractExceptionHandler
       {
       @Override
       public void handleZipEntriesInitException(Exception e, String name)
       {
       if (!(e instanceof ZipException))
       {
       super.handleZipEntriesInitException(e, name);
       }
       }
       }
      

      This works but is more an attempt to understand the issue. Any thoughs on this?

      Thanks,

      /Daniel


        • 1. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
          alesj

          I guess it tries to do some check on a file that was deleted?

          • 2. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
            beve

             

            I guess it tries to do some check on a file that was deleted?

            Yeah, it will try to see if the deployment unit contains one of the following files:
            seam.properties
            META-INF/seam.properties
            WEB-INF/classes/seam.properties
            META-INF/components.xml
            WEB-INF/components.xml
            But none of these files exist in the deployment unit and the deployment units root no longer exist.






            • 3. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
              alesj

               

              "beve" wrote:

              Yeah, it will try to see if the deployment unit contains one of the following files:
              seam.properties
              META-INF/seam.properties
              WEB-INF/classes/seam.properties
              META-INF/components.xml
              WEB-INF/components.xml

              I know, I wrote the stuff. :-)

              "beve" wrote:

              But none of these files exist in the deployment unit and the deployment units root no longer exist.

              I guess it should say:
              "But none of these files exist in the deployment unit *since* the deployment units root no longer exist."
              :-)

              I'll fix this.

              • 4. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                beve

                 

                I know, I wrote the stuff. :-)

                Sorry, you've written a lot and it's easy to forget...at least I'm that way :)

                I'll fix this.

                Great, thanks for this!



                • 5. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                  alesj

                  Can you try the latest Deployers snapshot, 2.2.0-SNAPSHOT,
                  if it works for you?
                  You can probably just change the deployers-vfs.jar.

                  • 6. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                    beve

                     

                    Can you try the latest Deployers snapshot, 2.2.0-SNAPSHOT,
                    if it works for you?

                    Absolutely. Is that snapshot produced from a tag/branch?
                    When I build from trunk it does not produce a snapshot which is why I'm asking.



                    • 7. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                      beve

                      Sorry, just looked at the pom and the trunk version is the SNAPSHOT.

                      I get this upon deployment:

                      14:05:42,047 ERROR [AbstractKernelController] Error installing to Instantiated: name=DynamicDependencyCreator state=Described
                      org.jboss.joinpoint.spi.JoinpointException: Constructor not found org.jboss.webbeans.integration.deployer.env.DynamicDependencyCreator[] in [ReflectConstructorInfoImpl@8436ec{[ReflectClassInfoImpl@31dcf0{name=org.jboss.dependency.spi.Controller}]}]
                       at org.jboss.joinpoint.plugins.Config.findConstructorInfo(Config.java:275)
                       at org.jboss.kernel.plugins.config.Configurator.resolveConstructor(Configurator.java:290)
                       at org.jboss.kernel.plugins.config.Configurator.findConstructor(Configurator.java:256)
                       at org.jboss.kernel.plugins.config.Configurator.getConstructorJoinPoint(Configurator.java:213)
                       at org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getConstructorJoinPoint(AbstractKernelConfigurator.java:137)
                       at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:61)
                       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
                       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
                       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
                       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
                       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
                       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
                       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
                       at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
                       at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
                       at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
                       at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361)
                       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
                       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
                       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                       at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)
                       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271)
                       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
                       at org.jboss.Main.boot(Main.java:216)
                       at org.jboss.Main$1.run(Main.java:546)
                       at java.lang.Thread.run(Thread.java:595)

                      Do you know which other jar might need updating to test this?

                      Thanks

                      • 8. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                        alesj

                         

                        "beve" wrote:

                        Absolutely. Is that snapshot produced from a tag/branch?

                        Trunk.
                        "beve" wrote:

                        When I build from trunk it does not produce a snapshot which is why I'm asking.

                        Afaik trunk should produce snapshot.
                        Trunk's root pom:
                         <groupId>org.jboss.deployers</groupId>
                         <artifactId>jboss-deployers-parent</artifactId>
                         <version>2.2.0-SNAPSHOT</version>
                        


                        But this should already be in our snapshot repo, as I did "mvn deploy".

                        • 9. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                          alesj

                           

                          "beve" wrote:

                          I get this upon deployment:
                          14:05:42,047 ERROR [AbstractKernelController] Error installing to Instantiated: name=DynamicDependencyCreator state=Described
                          org.jboss.joinpoint.spi.JoinpointException: Constructor not found org.jboss.webbeans.integration.deployer.env.DynamicDependencyCreator[] in [ReflectConstructorInfoImpl@8436ec{[ReflectClassInfoImpl@31dcf0{name=org.jboss.dependency.spi.Controller}]}]
                          

                          Do you know which other jar might need updating to test this?

                          Weird ... as this is in wb-int:
                           @Constructor
                           public DynamicDependencyCreator(@Inject(bean = KernelConstants.KERNEL_CONTROLLER_NAME) Controller controller)
                           {
                           this.controller = controller;
                           }
                          

                          Looks like annotations lookup in MC kernel doesn't kick in.

                          • 10. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                            beve

                            I re-built the Branch_5_x with the 2.2.0-SNAPSHOT and then it worked as expected and the undeploy error is done. Looks good :)

                            Would it be alright to update the Branch_5_x to use this version of the deployers you think? Would make it easier for others to try this out and provide us feedback.

                            Thanks for you quick response on this!

                            /Daniel

                            • 11. Re: Possible issue with WebBeansWebUrlIntegrationDeployer du
                              alesj

                               

                              "beve" wrote:

                              Would it be alright to update the Branch_5_x to use this version of the deployers you think? Would make it easier for others to try this out and provide us feedback.

                              It's a snapshot, so you will have to clear it with our AS uber-lords. :-)
                              But I'm fine with it, as this is basically 2.0.6.GA + the fix.