users@glassfish.java.net

Re: RuntimeError when installing OSGi bundle via asadmin

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 24 Jul 2009 09:31:06 +0530

That's a bug. See:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=8847

glassfish_at_javadesktop.org wrote:
> Hi,
>
> when I try to install a bundle via asadmin (./asadmin deploy --type osgi ~/Programming/workspace/ScoringModule/target/ScoringModule.jar) it results in the following error. Actually the bundle gets installed but is not started. If I drop the same bundle in autodeploy-bundles, everythings is fine.
>
> Any ideas? BTW, V3 B56
>
> 23.07.2009 21:05:38 org.glassfish.api.ActionReport failure
> SCHWERWIEGEND: Exception while deploying the app
> java.lang.RuntimeException: Cannot install bundle com.sun.enterprise.deploy.shared.FileArchive_at_7c5238d5 in osgi runtime
> at org.glassfish.extras.osgicontainer.OSGiArchiveHandler.getClassLoader(OSGiArchiveHandler.java:141)
> at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoaders(DeploymentContextImpl.java:191)
> [Message sent by forum member 'rhwinzin' (rhwinzin)]
>
> http://forums.java.net/jive/thread.jspa?messageID=357292
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>