users@glassfish.java.net

Re: Primefaces.jar as GlassFish module

From: Harald Wellmann <hwellmann.de_at_googlemail.com>
Date: Tue, 05 Jun 2012 22:07:22 +0200

Am 05.06.2012 21:33, schrieb Peter Penzov:
> I managed to deploy Primefaces as module with the command: add-library
> --type common /opt/primefaces.jar
>

add-library is for plain old libraries, not for OSGi bundles. Try

     asadmin deploy --type osgi primefaces.jar

or simply copy your bundle to glassfish/domains/domain1/autodeploy/bundles.

Regards,
Harald