1 Reply Latest reply on Oct 12, 2008 9:22 AM by jaikiran pai

    Cannot Deploy My JBoss 4.2.2 Application in JBoss 5 CR2 - Il

    Alexandre Krohn Newbie

      Hi,

      I trying to deploy an application that works fine in JBoss 4.2.x in JBoss 5, and I am getting an Exception that says a service is already installed. I already tried 5 beta 1, 2, CR1 and CR2 with no success (The same error). My exception is shown below.


      2008-10-08 15:25:05,373 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (HDScanner) Error installing to Real: name=vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error during install jboss.security.tests:service=LoginConfig
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
      at org.jboss.system.ServiceController.install(ServiceController.java:263)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:95)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45)
      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:169)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1285)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1003)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1024)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1056)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:944)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      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:627)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:290)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.IllegalStateException: jboss.security.tests:service=LoginConfig is already installed.
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      at org.jboss.system.ServiceController.doInstall(ServiceController.java:654)
      at org.jboss.system.ServiceController.install(ServiceController.java:257)
      ... 30 more
      2008-10-08 15:25:05,389 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@8ad9a2{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war} unregisterClassLoader BaseClassLoader@8c3930{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war}
      2008-10-08 15:25:05,398 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] (HDScanner) UnifiedLoaderRepository removed(false) null
      2008-10-08 15:25:05,399 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderPolicy] (HDScanner) VFSClassLoaderPolicy@8184fa{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war} shutdown!
      2008-10-08 15:25:05,399 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@8c3930{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war} shutdown!
      2008-10-08 15:25:05,403 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@8ad9a2{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war} shutdown!
      2008-10-08 15:25:05,403 DEBUG [org.jboss.classloader.spi.ClassLoaderSystem] (HDScanner) DefaultClassLoaderSystem@7320f2 unregistered domain=ClassLoaderDomain@8ad9a2{name=vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war parentPolicy=AFTER_BUT_JAVA_BEFORE parent=BaseClassLoader@80329f{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear}}
      2008-10-08 15:25:05,403 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain@7b37fb{DefaultDomain} unregisterClassLoader BaseClassLoader@80329f{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear}
      2008-10-08 15:25:05,403 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] (HDScanner) UnifiedLoaderRepository removed(false) null
      2008-10-08 15:25:05,403 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderPolicy] (HDScanner) VFSClassLoaderPolicy@8a77ab{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear} shutdown!
      2008-10-08 15:25:05,403 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) BaseClassLoader@80329f{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear} shutdown!
      2008-10-08 15:25:05,405 DEBUG [org.jboss.classloading.spi.dependency.Domain] (HDScanner) org.jboss.classloading.spi.dependency.Domain@8a6c6f{vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war} add module VFSDeploymentClassLoaderPolicyModule vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear/NLWeb.war:0.0.0
      2008-10-08 15:25:05,406 DEBUG [org.jboss.classloading.spi.dependency.Domain] (HDScanner) org.jboss.classloading.spi.dependency.Domain@73e590{DefaultDomain} add module VFSDeploymentClassLoaderPolicyModule NL.ear:0.0.0
      2008-10-08 15:25:05,409 DEBUG [org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer] (HDScanner) Removing dynamic class root for vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear
      2008-10-08 15:25:05,413 WARN [org.jboss.system.server.profileservice.hotdeploy.HDScanner] (HDScanner) Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** CONTEXTS IN ERROR: Name -> Error

      vfszip:/Servers/jboss-5.0.0.CR2/server/default/deploy/NL.ear -> java.lang.IllegalStateException: jboss.security.tests:service=LoginConfig is already installed.


      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:709)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:661)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:291)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:221)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
      at java.lang.Thread.run(Thread.java:619)


      Any suggests?

      Krohn