users@glassfish.java.net

Re: Filesystem bundle deployment in Glassfish v3

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Wed, 18 May 2011 06:38:03 +0530

I don't know how you enabled fileinstalled and concluded that it was
active. The recommended way to enable fileinstall in 3.1 is mentioned here:

http://markmail.org/message/itphcq7rqdc76gys

Give that a try.

Thanks,
Sahoo
On Wednesday 18 May 2011 12:43 AM, Nicolas Frankel wrote:
> 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 <mailto:nicolas@frankel.ch> | http://frankel.ch/
> Stay in touch LinkedIn <http://ch.linkedin.com/in/nicolasfrankel>
> 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
> <mailto: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
>
>