users@glassfish.java.net

Re: Filesystem bundle deployment in Glassfish v3

From: Nicolas Frankel <nicolas_at_frankel.ch>
Date: Tue, 17 May 2011 21:13:22 +0200

Hi Sahoo,

First of all, thanks for your answer. Mine is posted on StackOverflow. Its
content is:

   - asadmin version gives me "GlassFish Server Open Source Edition 3.1
   (build 43)"
   - I used jstack and found no fileinstall thread (file attached)

I'm available for further info.


Best regards,

Nicolas Fränkel
Java EE Architect - Sun Certified Professional
nicolas@frankel.ch | http://frankel.ch/
Stay in touch [image: LinkedIn]
<http://ch.linkedin.com/in/nicolasfrankel> [image:
Twitter] <http://twitter.com/nicolas_frankel>
Read my blog Vaadin courses on
JavaBlackBelt<http://blog.frankel.ch/vaadin-courses-on-javablackbelt>


2011/5/17 Sahoo <sanjeeb.sahoo_at_oracle.com>

> On Tuesday 17 May 2011 02:34 PM, Nicolas Frankel wrote:
>
> Hello,
>
> I'm trying to use the filesystem way (just drop the bundle) to deploy an
> OSGi bundle in Glassfish v3. When I put the bundle in autodeploy/bundles/,
> it doesn't work, no logs, nada, zip.
>
> - When I try the admin console or the telnet way, both works...
> - When I put the JAR in autodeploy, the logs tells me it cannot handle
> the file format
>
> I've enabled the Apache Felix File Install (3.1.10) (it shows as started in
> the OSGi Felix console). I've checked the
> org.apache.felix.fileinstall-autodeploy-bundles.cfg file and the property
> felix.fileinstall.dir: it read as
> ${com.sun.aas.instanceRoot}/autodeploy/bundles/ (default config).
>
> I'm basically stuck and would be grateful for help from Glassfish/OSGi
> experts.
>
> Thanks!
>
> Nicolas Fränkel
>
> You asked this in stackoverflow[1], didn't you? I posted a response there.
> Pl. check and reply back.
>
> Thanks,
> Sahoo
>
> [1]
> http://stackoverflow.com/questions/6028530/filesystem-bundle-deployment-in-glassfish-v3/6032498#6032498
>