[jboss-user] [Installation, Configuration & DEPLOYMENT] - Migration from Jboss5 Beta4 to CR1 - DeploymentException in

alex-jboss69 do-not-reply at jboss.com
Tue Jul 22 16:02:00 EDT 2008


I have a web application running on Jboss5 beta4, but when I try to deploy it on Jboss5 CR1, a org.jboss.deployers.spi.DeploymentException is thrown. I couldn't identify any specific reason for the error in the log file, even when setting all the log4j categories to DEBUG.

Any suggestion for what could cause this kind of error ?
Is there a way to get a log with more specific messages ?


2008-07-22 15:25:13,796 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] webContext: /myapp-web
2008-07-22 15:25:13,796 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] warURL: file:/C:/jboss/jboss-5.0.0.CR1/server/default/tmp/deploy/myapp-web34477-exp.war/
2008-07-22 15:25:13,796 DEBUG [org.apache.tomcat.util.modeler.BaseModelMBean] Invoke findAliases
2008-07-22 15:25:13,796 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/myapp-web, vfsUrl=myapp-web.war
2008-07-22 15:25:13,796 DEBUG [org.apache.tomcat.util.modeler.Registry] Managed= jboss.web:j2eeType=WebModule,name=//localhost/myapp-web,J2EEApplication=none,J2EEServer=none
2008-07-22 15:25:13,796 DEBUG [org.apache.tomcat.util.modeler.BaseModelMBean] preRegister StandardContext[null] jboss.web:j2eeType=WebModule,name=//localhost/myapp-web,J2EEApplication=none,J2EEServer=none
2008-07-22 15:25:13,796 DEBUG [org.apache.catalina.core.StandardContext] Setting deployment descriptor public ID to 'null'
2008-07-22 15:25:13,796 DEBUG [org.jboss.web.tomcat.service.deployers.TomcatDeployment] Using session cookies default setting
2008-07-22 15:25:13,796 DEBUG [org.apache.catalina.core.StandardContext] AddChild jboss.web:type=Host,host=localhost StandardContext[/myapp-web]
2008-07-22 15:25:13,796 DEBUG [org.apache.tomcat.util.modeler.BaseModelMBean] Invoke addChild
2008-07-22 15:25:13,812 DEBUG [org.apache.catalina.startup.ContextConfig] Cannot find message associated with key contextConfig.destroy
2008-07-22 15:25:13,812 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/myapp-web state=Create mode=Manual requiredState=Installed
org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss/jboss-5.0.0.CR1/server/default/tmp/deploy/myapp-web34477-exp.war/ deployment failed
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:360)
	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:139)
	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431)
	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:112)
	at org.jboss.web.deployers.WebModule.start(WebModule.java:90)
	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:585)
	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: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 $Proxy35.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:271)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:624)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:442)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:88)
	at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.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:174)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1392)
	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:784)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:912)
	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:834)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:672)
	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:455)
	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:257)
	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:135)
	at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
	at org.jboss.Main.boot(Main.java:209)
	at org.jboss.Main$1.run(Main.java:544)
	at java.lang.Thread.run(Thread.java:595)
2008-07-22 15:25:13,812 DEBUG [org.jboss.management.j2ee.LocalJBossServerDomain] handleNotification: javax.management.Notification[source=jboss.system:service=ServiceController][type=org.jboss.system.ServiceMBean.destroy][message=]
2008-07-22 15:25:13,812 DEBUG [org.jboss.management.j2ee.factory.DefaultManagedObjectFactoryMap] Failed to find factory for event: javax.management.Notification[source=jboss.system:service=ServiceController][type=org.jboss.system.ServiceMBean.destroy][message=]
2008-07-22 15:25:13,812 DEBUG [org.jboss.system.ServiceCreator] Removing mbean from server: jboss.web.deployment:war=/myapp-web


Any suggestion/comment would be appreciated

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4165980#4165980

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4165980



More information about the jboss-user mailing list