org.glassfish.osgijavaeebase.DeploymentException: Deployment of com.mywar >>> [257] failed because of following reason: Failed while deploying bundle >>> com.mywar [257] : java.lang.RuntimeException: Failed to deploy bundle [ >>> com.mywar [257] ], root cause: Exception while loading the app >>> at >>> org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125) >>> at >>> org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148) >>>

Oracle Community | Nithya Subramanian Guest | 6 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

    Re: OSGI wab deploy fails with "Inconsistent Module State" exception (glassfish  3.1)

    Oracle Community | 6 years ago | Nithya Subramanian Guest
    org.glassfish.osgijavaeebase.DeploymentException: Deployment of com.mywar >>> [257] failed because of following reason: Failed while deploying bundle >>> com.mywar [257] : java.lang.RuntimeException: Failed to deploy bundle [ >>> com.mywar [257] ], root cause: Exception while loading the app >>> at >>> org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125) >>> at >>> org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148) >>>
  2. 0

    Hybrid OSGi/WS application and Glassfish 3.1

    Oracle Community | 6 years ago | mkwapisz
    org.glassfish.osgijavaeebase.DeploymentException: Deployment of > pl.tewi.prototype.OsgiJsfWebApp [320] failed because of following reason: > Failed while deploying bundle pl.tewi.prototype.OsgiJsfWebApp [320] : > java.lang.RuntimeException: Failed to deploy bundle [ > pl.tewi.prototype.OsgiJsfWebApp [320] ], root cause: Exception while > loading > the app at > org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125) > > at > org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154) > at > org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107) > at > org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61) > > at > org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151) > > at > org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148) > >

    Root Cause Analysis

    1. org.glassfish.osgijavaeebase.DeploymentException

      Deployment of com.mywar >>> [257] failed because of following reason: Failed while deploying bundle >>> com.mywar [257] : java.lang.RuntimeException: Failed to deploy bundle [ >>> com.mywar [257] ], root cause: Exception while loading the app >>> at >>> org.glassfish.osgijavaeebase.AbstractOSGiDeployer.deploy(AbstractOSGiDeployer.java:125) >>> at >>> org.glassfish.osgijavaeebase.OSGiContainer.deploy(OSGiContainer.java:154) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.deploy(JavaEEExtender.java:107) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender.access$200(JavaEEExtender.java:61) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:151) >>> at >>> org.glassfish.osgijavaeebase.JavaEEExtender$HybridBundleTrackerCustomizer$1.call(JavaEEExtender.java:148) >>>

      at java.util.concurrent.FutureTask$Sync.innerRun()
    2. Java RT
      FutureTask$Sync.innerRun
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      1 frame