[embjopr-issues] [JBoss JIRA] Commented: (EMBJOPR-116) java.lang.RuntimeException thrown adding resource that was previously Deleted

Charles Crouch (JIRA) jira-events at lists.jboss.org
Wed Mar 25 15:37:25 EDT 2009


    [ https://jira.jboss.org/jira/browse/EMBJOPR-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12459082#action_12459082 ] 

Charles Crouch commented on EMBJOPR-116:
----------------------------------------

Even after EMBJOPR-119 was fixed I'm still seeing this. The underlying exception is below. This log includes deploying the war (servlets-examples.war) originally, deleting it, then trying to deploy it again (where it fails).

13:59:38,359 INFO  [CreateResourceRunner] Creating resource through report: CreateResourceReport: ResourceType=[ResourceType
[id=0, category=Service, name=Web Application (WAR), plugin=JBossAS5]], ResourceKey=[null]
13:59:38,453 INFO  [DeployHandler] Handle stream, deploymentTarget: names=[servlets-examples.war], copyContent=true, descrip
tion=file:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/tmp/embjopr/servlets-examples.war
13:59:38,484 INFO  [DeployHandler] End handle stream, repositoryName: vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/def
ault/deploy/servlets-examples.war/
13:59:38,500 INFO  [DeployHandler] Begin start, [vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/deploy/servlets-
examples.war/]
13:59:38,968 INFO  [TomcatDeployment] deploy, ctxPath=/servlets-examples
13:59:39,062 INFO  [STDOUT] ContextListener: attributeAdded('com.sun.faces.config.WebConfiguration', 'com.sun.faces.config.W
ebConfiguration at 629cf0')
13:59:39,062 INFO  [STDOUT] ContextListener: attributeRemoved('com.sun.faces.config.WebConfiguration', 'com.sun.faces.config
.WebConfiguration at 629cf0')
13:59:39,078 INFO  [[/servlets-examples]] ContextListener: contextInitialized()
13:59:39,078 INFO  [[/servlets-examples]] SessionListener: contextInitialized()
13:59:39,093 INFO  [DeployHandler] End start, [vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/deploy/servlets-ex
amples.war/]
13:59:39,093 INFO  [CreateResourceRunner] Sending create response to server: CreateResourceResponse[RequestId=1, Status=Succ
ess]
13:59:39,093 INFO  [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
13:59:42,109 WARN  [ManagementViewImpl] Failed to merged the following runtime ManagedObjects: {jboss.web:name=http-127.0.0.
1-8080,type=ThreadPool/=ManagedObject{jboss.web:name=http-127.0.0.1-8080,type=ThreadPool}, jboss.system:type=ServerInfo/jbos
s.system:type=ServerInfo=ManagedObject{jboss.system:type=ServerInfo}, jboss.web:name=http-127.0.0.1-8080,type=GlobalRequestP
rocessor/=ManagedObject{jboss.web:name=http-127.0.0.1-8080,type=GlobalRequestProcessor}, jboss.web:host=127.0.0.1,type=Host/
=ManagedObject{jboss.web:host=127.0.0.1,type=Host}}
13:59:42,562 WARN  [InventoryManager] ***PERF*** discovery for [No Tx Datasource] Resources took 3437 ms.
13:59:42,609 INFO  [NavigationContent] Resource of type [ResourceType[id=0, category=Service, name=Web Application (WAR), pl
ugin=JBossAS5]] added beneath Resource [Resource[id=-3, type=JBossAS Server, key=/usr/bin/jboss, name=JBAS (default), parent
=LENOVO-A4A86477, version=5.0 CR1]].
13:59:42,625 INFO  [ContentManager] Discovered 1 new packages for Resource with id [-45].
13:59:42,718 INFO  [RuntimeDiscoveryExecutor] Scanned 0 servers and found 0 total descendant Resources.
14:06:43,921 INFO  [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
14:06:44,343 INFO  [RuntimeDiscoveryExecutor] Scanned 0 servers and found 0 total descendant Resources.
14:06:57,656 INFO  [DeleteResourceRunner] Deleting resource from request: 1
14:06:57,656 INFO  [DeployHandler] Remove, [vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/deploy/servlets-examp
les.war/]
14:06:57,671 INFO  [NavigationContent] Resource [Resource[id=-45, type=Web Application (WAR), key=vfszip:/C:/usr/apps/jboss/
jboss-5.1.0.Beta1/server/default/deploy/servlets-examples.war/, name=servlets-examples.war, parent=JBAS (default), version=?
]] deleted.
14:06:57,687 INFO  [RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at platform...
14:07:00,906 WARN  [ManagementViewImpl] Failed to merged the following runtime ManagedObjects: {jboss.web:name=http-127.0.0.
1-8080,type=ThreadPool/=ManagedObject{jboss.web:name=http-127.0.0.1-8080,type=ThreadPool}, jboss.system:type=ServerInfo/jbos
s.system:type=ServerInfo=ManagedObject{jboss.system:type=ServerInfo}, jboss.web:name=http-127.0.0.1-8080,type=GlobalRequestP
rocessor/=ManagedObject{jboss.web:name=http-127.0.0.1-8080,type=GlobalRequestProcessor}, jboss.web:host=127.0.0.1,type=Host/
=ManagedObject{jboss.web:host=127.0.0.1,type=Host}}
14:07:01,265 WARN  [InventoryManager] ***PERF*** discovery for [No Tx Datasource] Resources took 3422 ms.
14:07:01,406 INFO  [RuntimeDiscoveryExecutor] Scanned 0 servers and found 0 total descendant Resources.
14:07:39,140 INFO  [CreateResourceRunner] Creating resource through report: CreateResourceReport: ResourceType=[ResourceType
[id=0, category=Service, name=Web Application (WAR), plugin=JBossAS5]], ResourceKey=[null]
14:07:39,156 INFO  [DeployHandler] Handle stream, deploymentTarget: names=[servlets-examples.war], copyContent=true, descrip
tion=file:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/tmp/embjopr/servlets-examples.war
14:07:39,156 INFO  [DeployHandler] End handle stream, repositoryName: vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/def
ault/deploy/servlets-examples.war/
14:07:39,187 INFO  [DeployHandler] Begin start, [vfszip:/C:/usr/apps/jboss/jboss-5.1.0.Beta1/server/default/deploy/servlets-
examples.war/]
14:07:39,203 INFO  [TomcatDeployment] undeploy, ctxPath=/servlets-examples
14:07:39,203 INFO  [[/servlets-examples]] SessionListener: contextDestroyed()
14:07:39,203 INFO  [[/servlets-examples]] ContextListener: contextDestroyed()
14:07:39,281 INFO  [TomcatDeployment] deploy, ctxPath=/servlets-examples
14:07:39,328 ERROR [StandardContext] Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\usr\apps\jboss\jboss-5.1.0.Beta1\server\default\tmp\awa37-77ezjb-fsq4pb
ys-1-fsqdqxcf-8wy\servlets-examples.war does not exist or is not a readable directory
        at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:148)
        at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4021)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4188)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
        at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
        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: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 $Proxy36.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(SimpleControllerContextActi
on.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:1598)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        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.jav
a: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:1598)
        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
        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:698)
        at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
        at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.processCheckComplete(AbstractDeployHand
ler.java:330)
        at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:240)
        at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:169)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
        at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
        at org.jboss.remoting.Client.invoke(Client.java:1708)
        at org.jboss.remoting.Client.invoke(Client.java:612)
        at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.ja
va:285)
        at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.jav
a:170)
        at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:222)
        at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:85)
        at org.rhq.plugins.jbossas5.util.DeploymentUtils.deployArchive(DeploymentUtils.java:75)
        at org.rhq.plugins.jbossas5.ApplicationServerComponent.createContentBasedResource(ApplicationServerComponent.java:26
9)
        at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:129)
        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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
14:07:39,343 ERROR [StandardContext] Error in resourceStart()
14:07:39,343 ERROR [StandardContext] Context [/servlets-examples] startup failed due to previous errors

> java.lang.RuntimeException thrown adding resource that was previously Deleted
> -----------------------------------------------------------------------------
>
>                 Key: EMBJOPR-116
>                 URL: https://jira.jboss.org/jira/browse/EMBJOPR-116
>             Project: Embedded Jopr
>          Issue Type: Bug
>          Components: Web App/Integration
>            Reporter: Shelly McGowan
>            Assignee: Shelly McGowan
>             Fix For: 1.2
>
>
> Navigation:
> Applications ==> Web Applications
> Add new Resource
> Browse to Resource
> CONTINUE
> When war archive status is 'UP', Delete .war from applications list
> Confirmation: Successfully deleted Web Application (WAR) 'hellothere.war'. 
> Server side shows war was undeployed.
> Follow the same navigation steps, but this time upon Adding Resource, the following is displayed to client (and server.log):
> Failed to create Resource hellothere.war - cause: java.lang.RuntimeException:org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed DEPLOYMENTS IN ERROR: Deployment "vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed -> org.jboss.deployers.client.spi.IncompleteDeploymentException:Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/ -> org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed DEPLOYMENTS IN ERROR: Deployment "vfszip:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/deploy/hellothere.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/TEST/Branch_5_x/build/output/jboss-5.1.0.CR1/server/default/tmp/3j001-aeo7z0-fsjbdjc2-1-fsjbg47o-ec/hellothere.war/ deployment failed
> Reproducing this issue is blocked due to EMBJOPR-115.  Assigning to myself for tracking.   

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the embjopr-issues mailing list