1 Reply Latest reply on Feb 17, 2014 6:00 AM by Tomaz Cerar

    VFS Error On Deploy

    Jonathan Devine Newbie

      Hi,

       

      We are trying to deploy our application on JBoss AS 7.2 (EAP 6.1) on a customer site and are getting a strange error that we have not seen at any point during development. The error is as below:

       

      12:58:40,532 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 69) Critical error during deployment: : com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:661) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:323) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      Caused by: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.get(FutureTask.java:188) [rt.jar:1.7.0_51]
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:648) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 13 more
      Caused by: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:135) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager$URITask.call(ConfigManager.java:1178) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager$URITask.call(ConfigManager.java:1147) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:639) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 13 more
      Caused by: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_51]
      at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_51]
      at org.jboss.vfs.spi.RealFileSystem.openInputStream(RealFileSystem.java:71) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:238) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.openCurrent(VirtualJarInputStream.java:211) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:115) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:102) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextEntry(VirtualJarInputStream.java:88) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:210) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:230) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.search(Classpath.java:144) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.search(Classpath.java:104) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:164) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:108) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 17 more

      12:58:40,560 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/application1]] (ServerService Thread Pool -- 69) JBWEB000287: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:276) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      Caused by: com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:661) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:323) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:216) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 11 more
      Caused by: java.util.concurrent.ExecutionException: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.get(FutureTask.java:188) [rt.jar:1.7.0_51]
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:648) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 13 more
      Caused by: javax.faces.FacesException: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:135) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager$URITask.call(ConfigManager.java:1178) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigManager$URITask.call(ConfigManager.java:1147) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:639) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 13 more
      Caused by: java.io.FileNotFoundException: c:\jboss-eap-6.1\domain\servers\server99\tmp\vfs\deploymentb16436344beee1c4\application1.war-61be63462047668b\WEB-INF\platform\configuration\org.eclipse.osgi\.manager\.fileTable.1 (The system cannot find the file specified)
      at java.io.FileInputStream.open(Native Method) [rt.jar:1.7.0_51]
      at java.io.FileInputStream.<init>(FileInputStream.java:146) [rt.jar:1.7.0_51]
      at org.jboss.vfs.spi.RealFileSystem.openInputStream(RealFileSystem.java:71) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualFile.openStream(VirtualFile.java:238) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.openCurrent(VirtualJarInputStream.java:211) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:115) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextJarEntry(VirtualJarInputStream.java:102) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at org.jboss.vfs.VirtualJarInputStream.getNextEntry(VirtualJarInputStream.java:88) [jboss-vfs-3.1.0.Final-redhat-2.jar:3.1.0.Final-redhat-2]
      at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:210) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.searchFromURL(Classpath.java:230) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.search(Classpath.java:144) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.facelets.util.Classpath.search(Classpath.java:104) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.loadURLs(MetaInfFacesConfigResourceProvider.java:164) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.configprovider.MetaInfFacesConfigResourceProvider.getResources(MetaInfFacesConfigResourceProvider.java:108) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      ... 17 more

      12:58:40,573 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 69) JBWEB001103: Error detected during context /application1 start, will stop it
      12:58:40,577 SEVERE [javax.faces] (ServerService Thread Pool -- 69) Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.
      12:58:40,578 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 69) Unexpected exception when attempting to tear down the Mojarra runtime: java.lang.IllegalStateException: Could not find backup for factory javax.faces.application.ApplicationFactory.
      at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1010) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]
      at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:342) [jboss-jsf-api_2.1_spec-2.1.19.1.Final-redhat-1.jar:2.1.19.1.Final-redhat-1]
      at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:141) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:314) [jsf-impl-2.1.19-redhat-1.jar:2.1.19-redhat-1]
      at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3427) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3920) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3839) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
      at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      12:58:40,579 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/application1]] (ServerService Thread Pool -- 69) Closing Spring root WebApplicationContext
      12:58:40,581 INFO  [org.springframework.context.support.DefaultLifecycleProcessor] (ServerService Thread Pool -- 69) Stopping beans in phase 2147483647
      12:58:40,582 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 69) Scheduler scheduler_$_NON_CLUSTERED paused.
      12:58:40,583 INFO  [com.abm.springframework.scheduling.quartz.AbmSchedulerFactoryBean] (ServerService Thread Pool -- 69) Shutting down Quartz Scheduler
      12:58:40,583 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 69) Scheduler scheduler_$_NON_CLUSTERED shutting down.
      12:58:40,583 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 69) Scheduler scheduler_$_NON_CLUSTERED paused.
      12:58:40,590 INFO  [org.quartz.core.QuartzScheduler] (ServerService Thread Pool -- 69) Scheduler scheduler_$_NON_CLUSTERED shutdown complete.
      12:58:46,271 INFO  [org.efs.openreports.providers.BirtProvider] (ServerService Thread Pool -- 69) BIRT Engine and OSGI Platform Shutdown
      12:58:46,286 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 69) MSC000001: Failed to start service jboss.web.deployment.default-host./application1: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./application1: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
      at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_51]
      at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
      at org.jboss.threads.JBossThread.run(JBossThread.java:122)
      Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
      at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161)
      at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
      at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
      ... 6 more

       

      This is on a Windows 2008 R2 server. There are 3 applications in the EAR but only one of them "application1" is failing. Is this an issue anyone has encountered?

       

      Thanks