10 Replies Latest reply on Jun 24, 2009 3:30 PM by Peter Johnson

    Unable to deploy Visual JSF project on Netbeans 6.5.1 to JBo

    Allen Arumainayagam Newbie

      Hi,
      I have searched the web and I am unable to find the answer so I am posting this here and hope some one would show me to the answer. I am unable to run a simple Visual JSF project because the deployment is failing. (Even the samples included with Netbeans 6.5.1.)

      Here is the log:

      20:12:39,093 INFO [TomcatDeployment] deploy, ctxPath=/LibraryWeb
      20:12:39,562 INFO [TomcatDeployment] deploy, ctxPath=/PatientDB
      20:12:39,781 INFO [TomcatDeployment] deploy, ctxPath=/
      20:12:40,140 INFO [TomcatDeployment] deploy, ctxPath=/helloworld
      20:12:40,187 WARNING [config] Unable to process deployment descriptor for context '/helloworld'
      20:12:40,187 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/helloworld'

      20:12:40,453 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
      20:12:40,640 INFO [TomcatDeployment] deploy, ctxPath=/jsfexample
      20:12:40,671 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/jsfexample'
      20:12:40,984 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      DEPLOYMENTS IN ERROR:
      Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/GettingStarted.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v3yed-9v/GettingStarted.war/ deployment failed
      Deployment "vfsfile:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v3l7z-9u/HelloAllen.war/ deployment failed
      Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/HelloAllen.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v444z-9w/HelloAllen.war/ deployment failed

      20:12:41,375 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      20:12:41,421 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      20:12:41,437 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:42s:109ms
      20:12:53,203 INFO [TomcatDeployment] deploy, ctxPath=/
      20:12:53,203 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
      org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:187)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:8
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      at $Proxy38.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
      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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      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.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.start(ServiceController.java:460)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
      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.hotdeploy.HDScanner.scan(HDScanner.java:362)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
      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:9
      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:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      20:12:53,437 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:187)
      at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
      at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
      at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
      at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:8
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
      at $Proxy38.start(Unknown Source)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
      at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
      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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
      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.ServiceController.doChange(ServiceController.java:688)
      at org.jboss.system.ServiceController.start(ServiceController.java:460)
      at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
      at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
      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.hotdeploy.HDScanner.scan(HDScanner.java:362)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
      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:9
      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:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      20:12:53,921 WARN [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

      *** DEPLOYMENTS IN ERROR: Name -> Error

      vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ -> org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/


      DEPLOYMENTS IN ERROR:
      Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/

      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
      at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
      at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
      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:9
      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:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

        • 1. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
          Allen Arumainayagam Newbie

          Want to clarify:
          Unable to deploy Visual JSF project on Netbeans 6.5.1 to JBoss 5.1.0 GA

          "CeylonSoft" wrote:
          Hi,
          I have searched the web and I am unable to find the answer so I am posting this here and hope some one would show me to the answer. I am unable to run a simple Visual JSF project because the deployment is failing. (Even the samples included with Netbeans 6.5.1.)

          Here is the log:

          20:12:39,093 INFO [TomcatDeployment] deploy, ctxPath=/LibraryWeb
          20:12:39,562 INFO [TomcatDeployment] deploy, ctxPath=/PatientDB
          20:12:39,781 INFO [TomcatDeployment] deploy, ctxPath=/
          20:12:40,140 INFO [TomcatDeployment] deploy, ctxPath=/helloworld
          20:12:40,187 WARNING [config] Unable to process deployment descriptor for context '/helloworld'
          20:12:40,187 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/helloworld'

          20:12:40,453 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console
          20:12:40,640 INFO [TomcatDeployment] deploy, ctxPath=/jsfexample
          20:12:40,671 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/jsfexample'
          20:12:40,984 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

          DEPLOYMENTS IN ERROR:
          Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/GettingStarted.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v3yed-9v/GettingStarted.war/ deployment failed
          Deployment "vfsfile:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v3l7z-9u/HelloAllen.war/ deployment failed
          Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/HelloAllen.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v444z-9w/HelloAllen.war/ deployment failed

          20:12:41,375 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
          20:12:41,421 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
          20:12:41,437 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:42s:109ms
          20:12:53,203 INFO [TomcatDeployment] deploy, ctxPath=/
          20:12:53,203 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
          org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:187)
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:8
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
          at $Proxy38.start(Unknown Source)
          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
          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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
          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.ServiceController.doChange(ServiceController.java:688)
          at org.jboss.system.ServiceController.start(ServiceController.java:460)
          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
          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.hotdeploy.HDScanner.scan(HDScanner.java:362)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
          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:9
          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:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
          20:12:53,437 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ state=PreReal mode=Manual requiredState=Real
          org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:187)
          at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142)
          at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
          at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
          at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:8
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
          at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
          at $Proxy38.start(Unknown Source)
          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
          at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
          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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
          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.ServiceController.doChange(ServiceController.java:688)
          at org.jboss.system.ServiceController.start(ServiceController.java:460)
          at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
          at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
          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.hotdeploy.HDScanner.scan(HDScanner.java:362)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
          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:9
          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:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)
          20:12:53,921 WARN [HDScanner] Failed to process changes
          org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

          *** DEPLOYMENTS IN ERROR: Name -> Error

          vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ -> org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/


          DEPLOYMENTS IN ERROR:
          Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-u5gqh2-fw9v25d8-1-fw9v4jeg-a2/SinglePageCrudTable.war/

          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
          at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
          at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
          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:9
          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:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:619)


          • 2. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
            Peter Johnson Master

            Looks like there are a lot of WAR files deployed, and if I read the messages correctly many of them have conflicting contexts (several appear to use "/helloworld"). You should use a unique context for every app.

            If that doesn't help, try this. Remove all of your WAR files from the deploy directory. From a command prompt (not from NetBeans) start the app server - without your WARs it should start cleanly. Then add you WAR files to the deploy directory one at a time, waiting each time for the WAR to deploy before adding the next WAR. Then post the log output from the "start in xxx seconds" message on.

            • 3. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
              Allen Arumainayagam Newbie

              Hi Peter,

              Thanks for looking at the problem. Here is the log you asked me. The Visual JSF app is one of NetBeans 6.5.1 sample app.

              Log:

              13:17:32,851 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
              JBoss_5_1_0_GA date=200905221053)] Started in 1m:17s:63ms
              13:17:55,632 INFO [TomcatDeployment] deploy, ctxPath=/
              13:17:55,632 ERROR [AbstractKernelController] Error installing to Start: name=jb
              oss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
              org.jboss.deployers.spi.DeploymentException: Web mapping already exists for depl
              oyment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwavo
              nw5-1-fwavqrrx-9q/SinglePageCrudTable.war/
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
              Internal(TomcatDeployment.java:187)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
              (TomcatDeployment.java:142)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
              ment.java:461)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
              er.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
              java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
              :206)
              at $Proxy38.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
              n(StartStopLifecycleAction.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
              n(StartStopLifecycleAction.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
              pleInstallAction(SimpleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
              tall(AccessControllerContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install
              (AbstractControllerContextActions.java:51)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
              ctControllerContext.java:348)
              at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
              iceControllerContext.java:286)
              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.ServiceController.doChange(ServiceController.java:68
              8)
              at org.jboss.system.ServiceController.start(ServiceController.java:460)
              at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
              :163)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
              a:99)
              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.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)
              13:17:55,945 ERROR [AbstractKernelController] Error installing to Real: name=vfs
              zip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ stat
              e=PreReal mode=Manual requiredState=Real
              org.jboss.deployers.spi.DeploymentException: Web mapping already exists for depl
              oyment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwavo
              nw5-1-fwavqrrx-9q/SinglePageCrudTable.war/
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
              Internal(TomcatDeployment.java:187)
              at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
              (TomcatDeployment.java:142)
              at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
              ment.java:461)
              at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
              at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
              java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
              sorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
              er.java:157)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
              java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
              at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
              :206)
              at $Proxy38.start(Unknown Source)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
              n(StartStopLifecycleAction.java:42)
              at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
              n(StartStopLifecycleAction.java:37)
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
              pleInstallAction(SimpleControllerContextAction.java:62)
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
              tall(AccessControllerContextAction.java:71)
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install
              (AbstractControllerContextActions.java:51)
              at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
              ctControllerContext.java:348)
              at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
              iceControllerContext.java:286)
              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.ServiceController.doChange(ServiceController.java:68
              8)
              at org.jboss.system.ServiceController.start(ServiceController.java:460)
              at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
              :163)
              at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
              a:99)
              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.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)
              13:17:56,007 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:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ -
              > org.jboss.deployers.spi.DeploymentException: Web mapping already exists for de
              ployment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwa
              vonw5-1-fwavqrrx-9q/SinglePageCrudTable.war/


              DEPLOYMENTS IN ERROR:
              Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCr
              udTable.war/" is in error due to the following reason(s): org.jboss.deployers.sp
              i.DeploymentException: Web mapping already exists for deployment URL file:/F:/jb
              oss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwavonw5-1-fwavqrrx-9q/Sing
              lePageCrudTable.war/

              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)

              • 4. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                Peter Johnson Master

                According to this line:

                13:17:55,632 INFO [TomcatDeployment] deploy, ctxPath=/

                your app is attempting to use the root context. There is an app deployed that uses the root context. You will either have to change the context for your app, or remove the existing root app. Changing your context is usually the preferred approach.

                • 5. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                  Allen Arumainayagam Newbie

                  I changed the context; I am still getting the same deployment exceptions.

                  Log as follows:

                  15:23:00,007 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=
                  JBoss_5_1_0_GA date=200905221053)] Started in 54s:172ms
                  15:23:19,538 INFO [TomcatDeployment] deploy, ctxPath=/SinglePageCrudTable
                  15:23:19,601 ERROR [StandardContext] Context [/SinglePageCrudTable] startup fail
                  ed due to previous errors
                  java.lang.RuntimeException: mapped-name is required for jdbc/TRAVEL_ApacheDerby
                  of deployment SinglePageCrudTable.war
                  at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXmlReso
                  urceRefs(WebResourceHandler.java:178)
                  at org.jboss.web.tomcat.service.injection.WebResourceHandler.loadXml(Web
                  ResourceHandler.java:327)
                  at org.jboss.web.tomcat.service.TomcatInjectionContainer.processMetadata
                  (TomcatInjectionContainer.java:550)
                  at org.jboss.web.tomcat.service.WebCtxLoader.start(WebCtxLoader.java:158
                  )
                  at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
                  272)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  Internal(TomcatDeployment.java:310)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  (TomcatDeployment.java:142)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
                  ment.java:461)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                  java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                  sorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                  er.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                  java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
                  :206)
                  at $Proxy38.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
                  pleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
                  tall(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install
                  (AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
                  iceControllerContext.java:286)
                  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.ServiceController.doChange(ServiceController.java:68
                  8)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
                  :163)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:99)
                  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.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)
                  15:23:19,601 ERROR [StandardContext] Context [/SinglePageCrudTable] startup fail
                  ed due to previous errors
                  15:23:19,601 ERROR [AbstractKernelController] Error installing to Start: name=jb
                  oss.web.deployment:war=/SinglePageCrudTable state=Create mode=Manual requiredSta
                  te=Installed
                  org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/s
                  erver/default/tmp/5c4o02w-bwg54d-fwb06h68-1-fwb081d8-9o/SinglePageCrudTable.war/
                  deployment failed
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  Internal(TomcatDeployment.java:331)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  (TomcatDeployment.java:142)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
                  ment.java:461)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                  java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                  sorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                  er.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                  java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
                  :206)
                  at $Proxy38.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
                  pleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
                  tall(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install
                  (AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
                  iceControllerContext.java:286)
                  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.ServiceController.doChange(ServiceController.java:68
                  8)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
                  :163)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:99)
                  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.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)
                  15:23:19,648 ERROR [AbstractKernelController] Error installing to Real: name=vfs
                  zip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ stat
                  e=PreReal mode=Manual requiredState=Real
                  org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/s
                  erver/default/tmp/5c4o02w-bwg54d-fwb06h68-1-fwb081d8-9o/SinglePageCrudTable.war/
                  deployment failed
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  Internal(TomcatDeployment.java:331)
                  at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy
                  (TomcatDeployment.java:142)
                  at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeploy
                  ment.java:461)
                  at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                  at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
                  java:39)
                  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
                  sorImpl.java:25)
                  at java.lang.reflect.Method.invoke(Method.java:597)
                  at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
                  er.java:157)
                  at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                  at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                  at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.
                  java:264)
                  at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                  at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java
                  :206)
                  at $Proxy38.start(Unknown Source)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:42)
                  at org.jboss.system.microcontainer.StartStopLifecycleAction.installActio
                  n(StartStopLifecycleAction.java:37)
                  at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
                  pleInstallAction(SimpleControllerContextAction.java:62)
                  at org.jboss.dependency.plugins.action.AccessControllerContextAction.ins
                  tall(AccessControllerContextAction.java:71)
                  at org.jboss.dependency.plugins.AbstractControllerContextActions.install
                  (AbstractControllerContextActions.java:51)
                  at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
                  ctControllerContext.java:348)
                  at org.jboss.system.microcontainer.ServiceControllerContext.install(Serv
                  iceControllerContext.java:286)
                  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.ServiceController.doChange(ServiceController.java:68
                  8)
                  at org.jboss.system.ServiceController.start(ServiceController.java:460)
                  at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java
                  :163)
                  at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.jav
                  a:99)
                  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.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)
                  15:23:19,663 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:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCrudTable.war/ -
                  > org.jboss.deployers.spi.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA
                  /server/default/tmp/5c4o02w-bwg54d-fwb06h68-1-fwb081d8-9o/SinglePageCrudTable.wa
                  r/ deployment failed


                  DEPLOYMENTS IN ERROR:
                  Deployment "vfszip:/F:/jboss/jboss-5.1.0.GA/server/default/deploy/SinglePageCr
                  udTable.war/" is in error due to the following reason(s): org.jboss.deployers.sp
                  i.DeploymentException: URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o
                  02w-bwg54d-fwb06h68-1-fwb081d8-9o/SinglePageCrudTable.war/ deployment failed

                  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: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                    Peter Johnson Master

                    If you look closely you will see that you are not getting the same deployment exceptions. Originally you got this:

                    13:17:55,632 ERROR [AbstractKernelController] Error installing to Start: name=jb
                    oss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
                    org.jboss.deployers.spi.DeploymentException: Web mapping already exists for depl
                    oyment URL file:/F:/jboss/jboss-5.1.0.GA/server/default/tmp/5c4o02w-8bppvs-fwavo
                    nw5-1-fwavqrrx-9q/SinglePageCrudTable.war/

                    Now you are getting this:

                    5:23:19,601 ERROR [StandardContext] Context [/SinglePageCrudTable] startup fail
                    ed due to previous errors
                    java.lang.RuntimeException: mapped-name is required for jdbc/TRAVEL_ApacheDerby
                    of deployment SinglePageCrudTable.war

                    Fortunately, this second error message actually makes sense and hints at what you have to do to correct it. Based on the name, jdbc/TRAVEL_ApacheDerby, I suspect that this is your datasource name and you either forgot to mention it in your web.xml, or it does not appear in jboss-web.xml.

                    Post your web.xml and jboss-web.xml. Don't foget to use the "Code" tags around the source - select the source and hit the Code button above the input editor window. Also, use the Preview button to check the formatting before hitting Submit.

                    • 7. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                      Allen Arumainayagam Newbie

                      Peter thanks for all your input here are the web.xml and jboss-web.xml

                      web.xml:
                      <?xml version="1.0" encoding="UTF-8"?>
                      <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
                       <context-param>
                       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                       <param-value>client</param-value>
                       </context-param>
                       <context-param>
                       <param-name>com.sun.faces.validateXml</param-name>
                       <param-value>true</param-value>
                       </context-param>
                       <context-param>
                       <param-name>com.sun.faces.verifyObjects</param-name>
                       <param-value>false</param-value>
                       </context-param>
                       <filter>
                       <filter-name>UploadFilter</filter-name>
                       <filter-class>com.sun.webui.jsf.util.UploadFilter</filter-class>
                       <init-param>
                       <description>The maximum allowed upload size in bytes. If this is set to a negative value, there is no maximum. The default value is 1000000.</description>
                       <param-name>maxSize</param-name>
                       <param-value>1000000</param-value>
                       </init-param>
                       <init-param>
                       <description>The size (in bytes) of an uploaded file which, if it is exceeded, will cause the file to be written directly to disk instead of stored in memory. Files smaller than or equal to this size will be stored in memory. The default value is 4096.</description>
                       <param-name>sizeThreshold</param-name>
                       <param-value>4096</param-value>
                       </init-param>
                       </filter>
                       <filter-mapping>
                       <filter-name>UploadFilter</filter-name>
                       <servlet-name>Faces Servlet</servlet-name>
                       </filter-mapping>
                       <servlet>
                       <servlet-name>Faces Servlet</servlet-name>
                       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                       <init-param>
                       <param-name>javax.faces.LIFECYCLE_ID</param-name>
                       <param-value>com.sun.faces.lifecycle.PARTIAL</param-value>
                       </init-param>
                       <load-on-startup>1</load-on-startup>
                       </servlet>
                       <servlet>
                       <servlet-name>ExceptionHandlerServlet</servlet-name>
                       <servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class>
                       <init-param>
                       <param-name>errorHost</param-name>
                       <param-value>localhost</param-value>
                       </init-param>
                       <init-param>
                       <param-name>errorPort</param-name>
                       <param-value>24444</param-value>
                       </init-param>
                       </servlet>
                       <servlet>
                       <servlet-name>ThemeServlet</servlet-name>
                       <servlet-class>com.sun.webui.theme.ThemeServlet</servlet-class>
                       </servlet>
                       <servlet-mapping>
                       <servlet-name>Faces Servlet</servlet-name>
                       <url-pattern>/faces/*</url-pattern>
                       </servlet-mapping>
                       <servlet-mapping>
                       <servlet-name>ExceptionHandlerServlet</servlet-name>
                       <url-pattern>/error/ExceptionHandler</url-pattern>
                       </servlet-mapping>
                       <servlet-mapping>
                       <servlet-name>ThemeServlet</servlet-name>
                       <url-pattern>/theme/*</url-pattern>
                       </servlet-mapping>
                       <session-config>
                       <session-timeout>
                       30
                       </session-timeout>
                       </session-config>
                       <welcome-file-list>
                       <welcome-file>faces/Page1.jsp</welcome-file>
                       </welcome-file-list>
                       <error-page>
                       <exception-type>javax.servlet.ServletException</exception-type>
                       <location>/error/ExceptionHandler</location>
                       </error-page>
                       <error-page>
                       <exception-type>java.io.IOException</exception-type>
                       <location>/error/ExceptionHandler</location>
                       </error-page>
                       <error-page>
                       <exception-type>javax.faces.FacesException</exception-type>
                       <location>/error/ExceptionHandler</location>
                       </error-page>
                       <error-page>
                       <exception-type>com.sun.rave.web.ui.appbase.ApplicationException</exception-type>
                       <location>/error/ExceptionHandler</location>
                       </error-page>
                       <jsp-config>
                       <jsp-property-group>
                       <url-pattern>*.jspf</url-pattern>
                       <is-xml>true</is-xml>
                       </jsp-property-group>
                       </jsp-config>
                       <resource-ref>
                       <description>Creator generated DataSource Reference</description>
                       <res-ref-name>jdbc/TRAVEL_ApacheDerby</res-ref-name>
                       <res-type>javax.sql.DataSource</res-type>
                       <res-auth>Container</res-auth>
                       </resource-ref>
                       </web-app>
                      
                      jboss-web.xml:
                      
                      <?xml version="1.0" encoding="UTF-8"?>
                      <jboss-web>
                       <security-domain flushOnSessionInvalidation="false"/>
                       <context-root>/SinglePageCrudTable</context-root>
                      </jboss-web>
                      
                      


                      • 8. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                        Peter Johnson Master

                        The code is possibly complaining about the lack of a JNDI name (it appears that the code is attempting to look up the datasource by name and not finding it).

                        First, did you create a *-ds.xml file for your datasource and did you deploy it first? If you did not, you need to do that first. If you have a *-ds.xml file, add another entry to your jboss-web.xml file:

                        <?xml version="1.0" encoding="UTF-8"?>
                        <jboss-web>
                         <resource-ref>
                         <res-ref-name>jdbc/TRAVEL_ApacheDerby</res-ref-name>
                         <jndi-name>java:--the jndi name of your datasource, from *-ds.xml--</jndi-name>
                         </resource-ref>
                         <security-domain flushOnSessionInvalidation="false"/>
                         <context-root>/SinglePageCrudTable</context-root>
                        </jboss-web>
                        
                        


                        • 9. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                          Allen Arumainayagam Newbie

                          Hi Peter,

                          Thank you for the inputs. I was wondering if you can pointme in the write direction where I might information on creating the -ds.xml file and how I should bundle it.

                          Thanks,
                          Best Wishes,
                          Allen

                          • 10. Re: Unable to deploy Visual JSF project on Netbeans 6.5.1 to
                            Peter Johnson Master

                            There are examples for several databases in docs/examples/jca. Pick the one for your database, edit it to reflect your database info, and copy it to the deploy directory.

                            Note that IDEs by default do not know how to handle the *-ds.xml file. What I usually do is create a 'sql' directory within my project, edit the file there, and then either manually copy the file to the deploy directory or I use an Ant script to deploy the file.