java.lang.RuntimeException: Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app

Oracle Community | shralpfx | 5 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

    RuntimeException after relocating Glassfish installation

    Oracle Community | 5 years ago | shralpfx
    java.lang.RuntimeException: Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app

    Root Cause Analysis

    1. java.lang.RuntimeException

      Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app

      at org.glassfish.extras.osgicontainer.OSGiDeployer.getApplicationBundle()
    2. Embedded GlassFish Web
      OSGiDeployer.load
      1. org.glassfish.extras.osgicontainer.OSGiDeployer.getApplicationBundle(OSGiDeployer.java:128)
      2. org.glassfish.extras.osgicontainer.OSGiDeployer.load(OSGiDeployer.java:68)
      3. org.glassfish.extras.osgicontainer.OSGiDeployer.load(OSGiDeployer.java:62)
      3 frames
    3. Private APIs of Glassfish
      ApplicationInfo.load
      1. org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
      2. org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257)
      2 frames
    4. Kernel Classes
      ApplicationLoaderService.postConstruct
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      2. com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)
      3. com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:219)
      3 frames
    5. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
      2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
      3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
      6 frames
    6. Kernel Classes
      AppServerStartup.start
      1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)
      2. com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
      3. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
      3 frames
    7. Appserver Core
      GlassFishMain$Launcher.launch
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      2. com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
      3. com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:69)
      4. com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
      4 frames
    8. 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
    9. Appserver Core
      ASMain.main
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
      2. com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
      2 frames