java.io.FileNotFoundException: C:\Software\jboss-eap-5.1\ server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\ reports-api-1.0.0-SNAPSHOT.jar Please confirm, if war is exploded and above location is available? -Vivek On Tue, Jun 11, 2013 at 11:52 AM, Codevally <code...@gmail.com> wrote: Hi All I am trying to do some exercise with Kundera and hbase combination. I am using JBoss as my application server and trying to deploy my EAR. *EAR structure:* * * *EAR* * |___ lib* * |___ kundera-core-2.5-jar-with-dependencies.jar* * |___ META-INF** * * |___ reports-api-1.0.0-SNAPSHOT.jar * The META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *having reference to the *kundera-core-2.5-jar-with-dependencies.jar *JAR as below. Class-Path: kundera-all-dependencies-1.0.0.jar Also the META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *has my persistence.xml and persistence_2_0.xsd files. But when I am starting my JBoss server, I ab getting the below exception. Really appreciate if you guys can help me. 15:59:54,151 INFO [KunderaPersistence] Loading Core 15:59:54,152 INFO [CoreLoader] Loading Kundera Core Metdata ... 15:59:54,155 INFO [KunderaPersistence] Loading Application MetaData and Initializing Client(s) For Persistence Unit(s) hbaseTest 15:59:54,164 INFO [PersistenceUnitConfiguration] Loading Metadata from persistence.xml ... 15:59:54,190 INFO [PersistenceUnitConfiguration] Finishing persistence unit metadata configuration ... 15:59:54,192 INFO [MetamodelConfiguration] No class to scan for persistence unit hbaseTest. Entities will be loaded from classpath/ context-path 15:59:54,198 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=reports-ear-1.0.0-SNAPSHOT.ear/reports-api-1.0.0-SNAPSHOT.jar#hbaseTest state=Creat com.impetus.kundera.classreading.ResourceReadingException: java.io.FileNotFoundException: C:\Software\jboss-eap-5.1\server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\reports-api-1.0.0-

Google Groups | Codevally | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    com.impetus.kundera.classreading.ResourceReadingException: java.io.FileNotFoundException:

    Google Groups | 4 years ago | Codevally
    java.io.FileNotFoundException: C:\Software\jboss-eap-5.1\ server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\ reports-api-1.0.0-SNAPSHOT.jar Please confirm, if war is exploded and above location is available? -Vivek On Tue, Jun 11, 2013 at 11:52 AM, Codevally <code...@gmail.com> wrote: Hi All I am trying to do some exercise with Kundera and hbase combination. I am using JBoss as my application server and trying to deploy my EAR. *EAR structure:* * * *EAR* * |___ lib* * |___ kundera-core-2.5-jar-with-dependencies.jar* * |___ META-INF** * * |___ reports-api-1.0.0-SNAPSHOT.jar * The META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *having reference to the *kundera-core-2.5-jar-with-dependencies.jar *JAR as below. Class-Path: kundera-all-dependencies-1.0.0.jar Also the META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *has my persistence.xml and persistence_2_0.xsd files. But when I am starting my JBoss server, I ab getting the below exception. Really appreciate if you guys can help me. 15:59:54,151 INFO [KunderaPersistence] Loading Core 15:59:54,152 INFO [CoreLoader] Loading Kundera Core Metdata ... 15:59:54,155 INFO [KunderaPersistence] Loading Application MetaData and Initializing Client(s) For Persistence Unit(s) hbaseTest 15:59:54,164 INFO [PersistenceUnitConfiguration] Loading Metadata from persistence.xml ... 15:59:54,190 INFO [PersistenceUnitConfiguration] Finishing persistence unit metadata configuration ... 15:59:54,192 INFO [MetamodelConfiguration] No class to scan for persistence unit hbaseTest. Entities will be loaded from classpath/ context-path 15:59:54,198 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=reports-ear-1.0.0-SNAPSHOT.ear/reports-api-1.0.0-SNAPSHOT.jar#hbaseTest state=Creat com.impetus.kundera.classreading.ResourceReadingException: java.io.FileNotFoundException: C:\Software\jboss-eap-5.1\server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\reports-api-1.0.0-

    Root Cause Analysis

    1. java.io.FileNotFoundException

      C:\Software\jboss-eap-5.1\ server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\ reports-api-1.0.0-SNAPSHOT.jar Please confirm, if war is exploded and above location is available? -Vivek On Tue, Jun 11, 2013 at 11:52 AM, Codevally <code...@gmail.com> wrote: Hi All I am trying to do some exercise with Kundera and hbase combination. I am using JBoss as my application server and trying to deploy my EAR. *EAR structure:* * * *EAR* * |___ lib* * |___ kundera-core-2.5-jar-with-dependencies.jar* * |___ META-INF** * * |___ reports-api-1.0.0-SNAPSHOT.jar * The META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *having reference to the *kundera-core-2.5-jar-with-dependencies.jar *JAR as below. Class-Path: kundera-all-dependencies-1.0.0.jar Also the META-INF of the *reports-api-1.0.0-SNAPSHOT.jar *has my persistence.xml and persistence_2_0.xsd files. But when I am starting my JBoss server, I ab getting the below exception. Really appreciate if you guys can help me. 15:59:54,151 INFO [KunderaPersistence] Loading Core 15:59:54,152 INFO [CoreLoader] Loading Kundera Core Metdata ... 15:59:54,155 INFO [KunderaPersistence] Loading Application MetaData and Initializing Client(s) For Persistence Unit(s) hbaseTest 15:59:54,164 INFO [PersistenceUnitConfiguration] Loading Metadata from persistence.xml ... 15:59:54,190 INFO [PersistenceUnitConfiguration] Finishing persistence unit metadata configuration ... 15:59:54,192 INFO [MetamodelConfiguration] No class to scan for persistence unit hbaseTest. Entities will be loaded from classpath/ context-path 15:59:54,198 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=reports-ear-1.0.0-SNAPSHOT.ear/reports-api-1.0.0-SNAPSHOT.jar#hbaseTest state=Creat com.impetus.kundera.classreading.ResourceReadingException: java.io.FileNotFoundException: C:\Software\jboss-eap-5.1\server\default\deploy\reports-ear-1.0.0-SNAPSHOT.ear\reports-api-1.0.0-

      at com.impetus.kundera.classreading.Reader.getResourceIterator()
    2. Kundera
      KunderaPersistence.createContainerEntityManagerFactory
      1. com.impetus.kundera.classreading.Reader.getResourceIterator(Reader.java:178)
      2. com.impetus.kundera.configure.MetamodelConfiguration.loadEntityMetadata(MetamodelConfiguration.java:222)
      3. com.impetus.kundera.configure.MetamodelConfiguration.configure(MetamodelConfiguration.java:107)
      4. com.impetus.kundera.configure.Configurator.configure(Configurator.java:65)
      5. com.impetus.kundera.KunderaPersistence.initializeKundera(KunderaPersistence.java:109)
      6. com.impetus.kundera.KunderaPersistence.createEntityManagerFactory(KunderaPersistence.java:81)
      7. com.impetus.kundera.KunderaPersistence.createContainerEntityManagerFactory(KunderaPersistence.java:65)
      7 frames
    3. org.jboss.jpa
      PersistenceUnitDeployment.start
      1. org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. JBoss Reflection
      BasicMethodJoinPoint.dispatch
      1. org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      2. org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      3. org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      3 frames
    6. JBoss Microcontainer Kernel
      InstallsAwareAction.installAction
      1. org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:243)
      2. org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      3. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:111)
      4. org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
      5. org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
      6. org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
      7. org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
      7 frames
    7. JBoss Microcontainer Dependency
      AbstractController.install
      1. org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      2. org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      3. org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      4. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      5. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
      6. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
      7. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      8. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
      9. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
      10. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
      10 frames
    8. JBoss Deployers VFS
      BeanMetaDataDeployer.deploy
      1. org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:125)
      2. org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:52)
      2 frames
    9. JBoss Deployers SPI
      AbstractRealDeployer.deploy
      1. org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      2. org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
      2 frames
    10. JBoss Deployers Impl
      DeployersImpl.install
      1. org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
      2. org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)
      3. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)
      4. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)
      5. org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1225)
      6. org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)
      6 frames
    11. JBoss Microcontainer Dependency
      AbstractController.change
      1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
      3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
      4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
      6. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)
      7. org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)
      7 frames
    12. JBoss Deployers Impl
      MainDeployerImpl.process
      1. org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)
      2. org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)
      2 frames
    13. JBoss Application Server System
      AbstractProfileService.install
      1. org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
      2. org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
      3. org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
      4. org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
      4 frames
    14. JBoss Microcontainer Dependency
      AbstractController.install
      1. org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      2. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)
      3. org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)
      4. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
      5. org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)
      6. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)
      7. org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)
      7 frames
    15. JBoss Application Server System
      AbstractProfileService.registerProfile
      1. org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
      1 frame
    16. org.jboss.system
      ProfileServiceBootstrap.start
      1. org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)
      1 frame
    17. org.jboss.bootstrap
      AbstractServerImpl.start
      1. org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
      1 frame
    18. JBoss Application Server Server
      Main$1.run
      1. org.jboss.Main.boot(Main.java:221)
      2. org.jboss.Main$1.run(Main.java:556)
      2 frames
    19. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame