users@glassfish.java.net

Re: Server Auth Module (SAM) and osgi bundles

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Mon, 11 Apr 2011 08:39:43 -0700

On Apr 10, 2011, at 10:22 PM, Kumar Jayanti wrote:

>
> On 10-Apr-2011, at 1:49 PM, forums_at_java.net wrote:
>
>> The SAM OSGi bundle has to be dropped in GF-HOME/modules directory.
>>
>> Please see this post [1] for more details.
>>
>
> It is not generally advised to place user defined OSGI bundles in modules dir. Instead you should try ${com.sun.aas.InstanceRoot}/autodeploy/bundles
+1

or use : asadmin deploy --type osgi
so it becomes a managed operation and works in a clustered environment.

>
> regards,
> kumar
>
>
>
>> HTH
>>
>> Nithya
>>
>>
>> [1] http://blogs.sun.com/nithya/entry/modularized_osgi_custom_realms_in
>>
>> --
>>
>> [Message sent by forum member 'nitkal']
>>
>> View Post: http://forums.java.net/node/789008
>>
>>
>