6 Replies Latest reply on Dec 14, 2010 11:23 AM by Wolfgang Knauf

    JBossDukesBank.ear deployment error

    gdeng Newbie

      Hi, Experts,

       

      I am a newbee of JBoss. I am playing around with the "Getting started with JBoss 4.0" release 5. I am using Jboss 5.1.0 GA version. I can start JBoss server ok, also the Hypersonic database access works fine both in http://localhost:8080/jmx-console and "ant -f jboss-build.xml db-list". The Duke's bank build is also ok without any errors. But the deploy build message looks much less than what in the guide, .

       

      C:\D\jboss51\j2eetutorial14\examples\bank>ant -f jboss-build.xml deploy
      Buildfile: C:\D\jboss51\j2eetutorial14\examples\bank\jboss-build.xml

      assemble-app:
         [delete] Deleting: C:\D\jboss51\j2eetutorial14\examples\bank\jar\JBossDukesBa
      nk.ear
            [ear] Building ear: C:\D\jboss51\j2eetutorial14\examples\bank\jar\JBossDuk
      esBank.ear

      deploy:
           [copy] Copying 1 file to C:\D\jboss51\server\default\deploy

      BUILD SUCCESSFUL
      Total time: 0 seconds

       

      When "ant -f jboss-build.xml deploy" is executed below ERROR shows up in JBoss server window. Does that mean JBossDukesBank.ear has something wrong? How to debug? Appreciate experts help.

       

      9:26:43,888 WARN  [HDScanner] Scan failed
      org.jboss.deployers.spi.DeploymentException: Exception determining structure: Ab
      stractVFSDeployment(JBossDukesBank.ear)
              at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
      ion(DeploymentException.java:49)
              at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers
      .determineStructure(AbstractStructuralDeployers.java:85)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.determineStructure(
      MainDeployerImpl.java:1004)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.determineDeployment
      Context(MainDeployerImpl.java:440)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
      eployerImpl.java:390)
              at org.jboss.deployers.plugins.main.MainDeployerImpl.addDeployment(MainD
      eployerImpl.java:300)
              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
      .addDeployment(MainDeployerAdapter.java:86)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
      nner.java:344)
              at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
      ner.java:255)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
      1)
              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(ThreadPoolExec
      utor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
      .java:908)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.RuntimeException: Error determining structure: JBossDukesBa
      nk.ear
              at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav
      a:293)
              at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.de
      termineStructure(StructureDeployerWrapper.java:73)
              at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
      doDetermineStructure(VFSStructuralDeployersImpl.java:196)
              at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.
      determineStructure(VFSStructuralDeployersImpl.java:221)
              at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers
      .determineStructure(AbstractStructuralDeployers.java:77)
              ... 16 more
      Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Elemen
      t {http://java.sun.com/xml/ns/j2ee}application is not bound as a global element.

              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
      er.java:203)
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
      er.java:183)
              at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java
      :161)
              at org.jboss.deployment.EARStructure.determineStructure(EARStructure.jav
      a:160)
              ... 20 more
      Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Element {http://java.su
      n.com/xml/ns/j2ee}application is not bound as a global element.
              at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE
      lement(SundayContentHandler.java:660)
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan
      dler.startElement(SaxJBossXBParser.java:401)
              at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour
      ce)
              at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Sourc
      e)
              at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn
      own Source)
              at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.s
      canRootElementHook(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
      Dispatcher.dispatch(Unknown Source)
              at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
      known Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
              at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
              at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
              at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour
      ce)
              at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars
      er.java:199)
              ... 23 more

       

      BR

      George

        • 1. Re: JBossDukesBank.ear deployment error
          gdeng Newbie

          When I try http://localhost:8080/bank/main in IE it gives below error.

           

          HTTP Status 404 - /bank/main


          type Status report

          message /bank/main

          description The requested resource (/bank/main) is not available.


          JBoss Web/2.1.3.GA

          • 2. Re: JBossDukesBank.ear deployment error
            Wolfgang Knauf Master

            Hi,

             

            the error message in your browser is "normal", because the app was not deployed.

             

            I assume an error in an XML file. Could you post the content of "JBossDukesBank.ear\application.xml"?

             

            Is it your intention to do a J2EE 1.4 related tutorial ;-)? JBoss 5.1 already supports JavaEE5, which has great simplifications. Using J2EE 1.4 is not recommended for Newbiews ;-).

             

            Best regards

             

            Wolfgang

            • 3. Re: JBossDukesBank.ear deployment error
              gdeng Newbie

              Thank you, Wolfgang, for the answer. I will try JavaEE5. But below is the content of bank\dd\application.xml,

              <?xml version="1.0" encoding="UTF-8"?>
              <application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
                  <display-name>JBossDukesBank</display-name>
                  <description>Application description</description>
                  <module>
                      <ejb>bank-ejb.jar</ejb>
                  </module>
                  <module>
                      <java>app-client.jar</java>
                  </module>
                  <module>
                      <web>
                          <web-uri>web-client.war</web-uri>
                          <context-root>bank</context-root>
                      </web>
                  </module>
                  <security-role>
                      <role-name>BankAdmin</role-name>
                  </security-role>
                  <security-role>
                      <role-name>BankCustomer</role-name>
                  </security-role>
              </application>

              • 4. Re: JBossDukesBank.ear deployment error
                Wolfgang Knauf Master

                Hi,

                 

                is there a small typo in your "schemaLocation" attribute, or did the forum break it? I see a space here: ""http://java.sun.com /xml/ns/j2ee"

                 

                And Eclipse complains about wrong element order: swap "description" and "display-name".

                 

                Hope this helps

                 

                Wolfgang

                • 5. Re: JBossDukesBank.ear deployment error
                  gdeng Newbie

                  Hi, Wolfgang,

                   

                  Thank you for your continous help on this problem. I updated the application.xml as you indicated. Now I got below errors.

                   

                  1. I rebuild the bank: prepare/compile/package-ejb/package-web/package-client/assemble-app

                  2. Start the Jboss server.

                  3. re-create the db: db-create-table/db-insert/db-list. And verify in IE http://localhost:8080/jmx-console that the db is ok.

                  4. ant -f jboss-build.xml deploy and below errors show up in Jboss server DOS window.

                   

                  21:57:40,703 ERROR [Ejb3ClientDeployer] Could not deploy vfszip:/C:/D/jboss51/se
                  rver/default/deploy/junk/JBossDukesBank.ear/app-client.jar/
                  javax.naming.NameAlreadyBoundException: classPathEntries
                          at org.jnp.server.NamingServer.bind(NamingServer.java:209)
                          at org.jnp.server.NamingServer.bind(NamingServer.java:167)
                          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:650)
                          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:611)
                          at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
                  .java:150)
                          at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
                  .java:61)
                          at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.de
                  ploy(AbstractSimpleVFSRealDeployer.java:56)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
                  nternalDeploy(AbstractSimpleRealDeployer.java:62)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
                  AbstractRealDeployer.java:50)
                          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
                  Wrapper.java:171)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
                  sImpl.java:1439)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1157)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1210)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
                  Impl.java:1098)
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:1631)
                          at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                  ctController.java:934)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:1082)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:984)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:822)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:553)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
                  Impl.java:781)
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
                  rImpl.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.AbstractProfileActi
                  on.install(AbstractProfileAction.java:53)
                          at org.jboss.system.server.profileservice.repository.AbstractProfileServ
                  ice.install(AbstractProfileService.java:361)
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:1631)
                          at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                  ctController.java:934)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:1082)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:984)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:822)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:553)
                          at org.jboss.system.server.profileservice.repository.AbstractProfileServ
                  ice.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:221)
                          at org.jboss.Main$1.run(Main.java:556)
                          at java.lang.Thread.run(Thread.java:619)
                  21:57:40,765 ERROR [AbstractKernelController] Error installing to Real: name=vfs
                  zip:/C:/D/jboss51/server/default/deploy/junk/JBossDukesBank.ear/ state=PreReal m
                  ode=Manual requiredState=Real
                  org.jboss.deployers.spi.DeploymentException: Could not deploy vfszip:/C:/D/jboss
                  51/server/default/deploy/junk/JBossDukesBank.ear/app-client.jar/
                          at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
                  .java:174)
                          at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
                  .java:61)
                          at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.de
                  ploy(AbstractSimpleVFSRealDeployer.java:56)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
                  nternalDeploy(AbstractSimpleRealDeployer.java:62)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
                  AbstractRealDeployer.java:50)
                          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
                  Wrapper.java:171)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
                  sImpl.java:1439)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1157)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1210)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
                  Impl.java:1098)
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:1631)
                          at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                  ctController.java:934)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:1082)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:984)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:822)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:553)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
                  Impl.java:781)
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
                  rImpl.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.AbstractProfileActi
                  on.install(AbstractProfileAction.java:53)
                          at org.jboss.system.server.profileservice.repository.AbstractProfileServ
                  ice.install(AbstractProfileService.java:361)
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:1631)
                          at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                  ctController.java:934)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:1082)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:984)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:822)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:553)
                          at org.jboss.system.server.profileservice.repository.AbstractProfileServ
                  ice.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:221)
                          at org.jboss.Main$1.run(Main.java:556)
                          at java.lang.Thread.run(Thread.java:619)
                  Caused by: javax.naming.NameAlreadyBoundException: classPathEntries
                          at org.jnp.server.NamingServer.bind(NamingServer.java:209)
                          at org.jnp.server.NamingServer.bind(NamingServer.java:167)
                          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:650)
                          at org.jnp.interfaces.NamingContext.bind(NamingContext.java:611)
                          at org.jboss.ejb3.deployers.Ejb3ClientDeployer.deploy(Ejb3ClientDeployer
                  .java:150)
                          ... 35 more
                  21:57:40,875 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of
                  incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                  DEPLOYMENTS IN ERROR:
                    Deployment "vfszip:/C:/D/jboss51/server/default/deploy/junk/JBossDukesBank.ear
                  /" is in error due to the following reason(s): javax.naming.NameAlreadyBoundExce
                  ption: classPathEntries

                  21:57:40,906 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8
                  080
                  21:57:40,937 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
                  21:57:40,937 INFO  [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
                  JBoss_5_1_0_GA date=200905221053)] Started in 1m:21s:109ms

                   

                   

                  21:59:43,828 ERROR [AbstractKernelController] Error installing to Real: name=vfs
                  zip:/C:/D/jboss51/server/default/deploy/JBossDukesBank.ear/ state=PreReal mode=M
                  anual requiredState=Real
                  org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.j2ee:service
                  =EjbModule,module="bank-ejb.jar"
                          at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
                  ion(DeploymentException.java:49)
                          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:118)
                          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:46)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.i
                  nternalDeploy(AbstractSimpleRealDeployer.java:62)
                          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(
                  AbstractRealDeployer.java:50)
                          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
                  Wrapper.java:171)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(Deployer
                  sImpl.java:1439)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1157)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1178)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
                  rst(DeployersImpl.java:1210)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
                  Impl.java:1098)
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:1631)
                          at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
                  ctController.java:934)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:1082)
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
                  actController.java:984)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:822)
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
                  ller.java:553)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
                  Impl.java:781)
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
                  rImpl.java:702)
                          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
                  .process(MainDeployerAdapter.java:117)
                          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
                  nner.java:362)
                          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
                  ner.java:255)
                          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
                  1)
                          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(ThreadPoolExec
                  utor.java:886)
                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
                  .java:908)
                          at java.lang.Thread.run(Thread.java:619)
                  Caused by: java.lang.IllegalStateException: jboss.j2ee:module="bank-ejb.jar",ser
                  vice=EjbModule is already installed.
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:716)
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
                  oller.java:540)
                          at org.jboss.system.ServiceController.doInstall(ServiceController.java:6
                  70)
                          at org.jboss.system.ServiceController.install(ServiceController.java:273
                  )
                          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:90)
                          ... 30 more
                  21:59:43,875 WARN  [HDScanner] Failed to process changes
                  org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incompl
                  ete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                  *** DEPLOYMENTS IN ERROR: Name -> Error

                  vfszip:/C:/D/jboss51/server/default/deploy/JBossDukesBank.ear/ -> org.jboss.depl
                  oyers.spi.DeploymentException: Error deploying: jboss.j2ee:service=EjbModule,mod
                  ule="bank-ejb.jar"


                  DEPLOYMENTS IN ERROR:
                    Deployment "vfszip:/C:/D/jboss51/server/default/deploy/JBossDukesBank.ear/" is
                  in error due to the following reason(s): java.lang.IllegalStateException: jboss
                  .j2ee:module="bank-ejb.jar",service=EjbModule is already installed.

                          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
                  loyersImpl.java:993)
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(Dep
                  loyersImpl.java:939)
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainD
                  eployerImpl.java:873)
                          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter
                  .checkComplete(MainDeployerAdapter.java:128)
                          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDSca
                  nner.java:369)
                          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScan
                  ner.java:255)
                          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
                  1)
                          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(ThreadPoolExec
                  utor.java:886)
                          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
                  .java:908)
                          at java.lang.Thread.run(Thread.java:619)

                  • 6. Re: JBossDukesBank.ear deployment error
                    Wolfgang Knauf Master

                    Hi,

                     

                    it seems that some "Manifest.mf" is the problem. See this:

                    http://community.jboss.org/message/554657

                    and

                    http://community.jboss.org/thread/65867

                     

                    Hope this helps

                     

                    Wolfgang