From time to time, deployment to JBoss fail with strange error:
The way to overcome this problem is:
16:31:28,428 WARN [ServiceController] Problem starting service jboss.web.deployment:war=invoker.war,id=1958881146org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:380) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)....
The way to overcome this problem is:
- Remove the deployment manually (delete the folder)
- Full deploy the application again
- Sometimes - even restart the machine because the deploy fails due to some missing resource (like port)
Comments