users@glassfish.java.net

Re: Deploying OSGi bundles to GlassFish using asadmin

From: S. Ali Tokmen <java_at_alishomepage.com>
Date: Sat, 13 Nov 2010 13:54:50 +0100

Hello, Alexis

Works perfectly well, thank you!

S. Ali Tokmen
http://ali.tokmen.com/

GSM (fr): +33 66 43 00 555 [Orange]
GSM (tr): +90 555 266 52 73 [Avea]

My AIM, ICQ, MSN Messenger and Yahoo IM
contact details are on http://contact.ali.tokmen.com


On 13.11.2010 13:07, Alexis Moussine-Pouchkine wrote:
> Try "asadmin deploy --type=osgi ..."
> -Alexis
>
> "S. Ali Tokmen" <java_at_alishomepage.com> wrote:
>
>> Hello
>>
>> When trying to use the asadmin's deploy command to deploy a bundle, I
>> get the following error messages.
>>
>> Glassfish 3.0.1:
>>
>> alitokmen$ bin/asadmin deploy simple-bundle-1.0.5-SNAPSHOT.jar
>> com.sun.enterprise.admin.cli.CommandException: remote failure:
>> There is no installed container capable of handling this application
>> com.sun.enterprise.deploy.shared.FileArchive_at_61809f0f
>> Command deploy failed.
>>
>> Glassfish 3.1-b29:
>>
>> alitokmen$ bin/asadmin deploy simple-bundle-1.0.5-SNAPSHOT.jar
>> org.glassfish.api.admin.CommandException: remote failure: Error
>> occurred during deployment: There is no installed container capable
>> of handling this application simple-bundle-1.0.5-SNAPSHOT. Please
>> see server.log for more details.
>> Command deploy failed.
>>
>> Is this expected?
>>
>> PS: Copying the bundle to the config's autodeploy/bundles directory
>> works wonderfully.
>>
>> Cheers
>>
>> --
>>
>> S. Ali Tokmen
>> http://ali.tokmen.com/
>>
>> GSM (fr): +33 66 43 00 555 [Orange]
>> GSM (tr): +90 555 266 52 73 [Avea]
>>
>> My AIM, ICQ, MSN Messenger and Yahoo IM
>> contact details are on http://contact.ali.tokmen.com
>>