users@glassfish.java.net

Re: Error deploying Solr under Glassfish

From: Romain Grecourt <romain.grecourt_at_oracle.com>
Date: Wed, 31 Jul 2013 15:46:02 +0200

I found the following: https://java.net/jira/browse/GLASSFISH-20579.
See the last comment from Phil with the following example:

(Example: asadmin deploy --property implicitCdiEnabled=false <archive>)

On 7/31/13 2:11 PM, Fernando Sánchez Laulhé wrote:
> Hi to all
>
> In trying to deploy *solr.war* under Glassfish 4 the following error
> occurs
>
> *Error occurred during deployment: Exception while loading the app :
> CDI deployment failure:WELD-001408 Unsatisfied dependencies for type
> [Set<Service>] with qualifiers [@Default] at injection point
> [[BackedAnnotatedParameter] Parameter 1 of
> [BackedAnnotatedConstructor] @Inject
> com.google.common.util.**concurrent.ServiceManager(Set<**Service>)].*
>
> I have seen this error reported in several trials to deploy war flles.
> Does anybody has an on how to overcome this problem
>
> For reference, I am using
>
> * GlassFish Server Open Source Edition 4.0 (build 89)
> * Apache Solr 4.4.0
> * JDK 1.7.0_25-b15
> * CentOS Linux 6.4
>
> Any idea will be welcome
> Fernando
>
>