[jboss-user] [Installation, Configuration & DEPLOYMENT] - Error on Deploying: The virtual file is closed

Theodor Ramisch do-not-reply at jboss.com
Fri Aug 24 08:34:54 EDT 2007


Hi,

I've just installed Jboss jboss-5.0.0.Beta2 with using jdk-1_5_0_12 and created a new dynamic web project in Eclipse. After associating the project with the server, I started JBoss the first time.

Unfortunately I get the following error for my new, blank web project:


  | 14:19:43,656 ERROR [SecurityDeployer] Error during deployment: vfsfile:/C:/javaweb/JBOSS/server/default/deploy/xxxxx/WebContent/META-INF/MANIFEST.MF
  | java.lang.IllegalStateException: The virtual file is closed
  | 	at org.jboss.virtual.VirtualFile.getHandler(VirtualFile.java:84)
  | 	at org.jboss.virtual.VirtualFile.getName(VirtualFile.java:96)
  | 	at org.jboss.deployers.plugins.structure.AbstractDeploymentContext.getSimpleName(AbstractDeploymentContext.java:252)
  | 	at org.jboss.deployers.plugins.deployer.AbstractDeploymentUnit.getSimpleName(AbstractDeploymentUnit.java:79)
  | 	at org.jboss.deployment.security.SecurityDeployer.deploy(SecurityDeployer.java:68)
  | 	at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
  | 	at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
  | 	at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerAspect.java:53)
  | 	at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_z_process_4072869.invoke(MainDeployerAspect_z_process_4072869.java)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:371)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:247)
  | 	at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
  | 	at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
  | 	at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
  | 	at org.jboss.Main.boot(Main.java:210)
  | 	at org.jboss.Main$1.run(Main.java:522)
  | 	at java.lang.Thread.run(Unknown Source)
  | 14:19:46,031 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/web.xml state=Create mode=Manual requiredState=Installed
  | java.lang.NullPointerException
  | 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:158)
  | 	at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:138)
  | 	at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:367)
  | 	at org.jboss.web.deployers.WebModule.startModule(WebModule.java:104)
  | 	at org.jboss.web.deployers.WebModule.start(WebModule.java:80)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	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:184)
  | 	at $Proxy0.start(Unknown Source)
  | 	at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
  | 	at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46)
  | 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233)
  | 	at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:238)
  | 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724)
  | 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:445)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:555)
  | 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:489)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:335)
  | 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:205)
  | 	at org.jboss.system.ServiceController.doChange(ServiceController.java:656)
  | 	at org.jboss.system.ServiceController.start(ServiceController.java:431)
  | 	at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:142)
  | 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:103)
  | 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
  | 	at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:56)
  | 	at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52)
  | 	at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:170)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:592)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:476)
  | 	at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:406)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | 	at java.lang.reflect.Method.invoke(Unknown Source)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:121)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:110)
  | 	at org.jboss.profileservice.aop.MainDeployerAspect.process(MainDeployerAspect.java:53)
  | 	at org.jboss.aop.advice.org.jboss.profileservice.aop.MainDeployerAspect_z_process_4072869.invoke(MainDeployerAspect_z_process_4072869.java)
  | 	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | 	at AOPContainerProxy$0.process(AOPContainerProxy$0.java)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:371)
  | 	at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:247)
  | 	at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89)
  | 	at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:403)
  | 	at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:342)
  | 	at org.jboss.Main.boot(Main.java:210)
  | 	at org.jboss.Main$1.run(Main.java:522)
  | 	at java.lang.Thread.run(Unknown Source)
  | 

I've searched Google for "The virtual file is closed" but it seems like nobody else has this problem. OS is WinXP SP2. Let me know if you need any additional information and I will try to provide you as much as possible.

Thanks and best regards,

  Theodor

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

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



More information about the jboss-user mailing list