users@glassfish.java.net

Re: Error deploying Solr under Glassfish

From: JJ Snyder <j.j.snyder_at_oracle.com>
Date: Mon, 05 Aug 2013 09:21:55 -0400

The referenced Jira gives instructions on turning off implicit CDI.
@Fernando, did you try that?

JJ
On 08/05/2013 09:19 AM, Romain Grecourt wrote:
> Phil, JJ, any idea ?
>
> On 7/31/13 3:46 PM, Romain Grecourt wrote:
>> 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
>>>
>>>
>>
>