DEPLOYMENTS IN ERROR Deployment vfsfile

DEPLOYMENTS IN ERROR Deployment vfsfile

While deployment on JBoss server if you are getting below error:

org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

*** DEPLOYMENTS IN ERROR: Name -> Error

vfsfile:/C:/javahonk/eclipse/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1415246540761/deploy/SpringMVCJDBCTemplateTutorial.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/C:/javahonk/eclipse/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1415246540761/deploy/SpringMVCJDBCTemplateTutorial.war/ deployment failed


DEPLOYMENTS IN ERROR:
  Deployment "vfsfile:/C:/javahonk/eclipse/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1415246540761/deploy/SpringMVCJDBCTemplateTutorial.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/javahonk/eclipse/eclipse/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1415246540761/deploy/SpringMVCJDBCTemplateTutorial.war/ deployment failed

	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:439)
	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:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)

If you are deploying your application on older version of JBoss (In my case JBoss version was 5.1 community edition )  and  application I was trying to deploy was Spring MVC application (Version 4.0.6). JBoss older version is not compatible with new version of eclipse. To fix this issue I have to degrade Spring version to 3.0.6 and deploy again that fix the issue.

Leave a Reply

Your email address will not be published. Required fields are marked *