You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ajay Patel <ap...@officebeacon.com> on 2014/04/16 14:51:16 UTC

Deploy solr.war on glassfish server

Hi there
i am trying to deply the solr.war on glassfish server while deploying 
those war file i get the following error. can some one please guide me 
for this same. that how can i deploy solr.war in galssfish server.

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>)]. 
Please see server.log for more details.

Thanks
Ajay Patel


Re: Deploy solr.war on glassfish server

Posted by Shawn Heisey <so...@elyograg.org>.
On 4/16/2014 6:51 AM, Ajay Patel wrote:
> i am trying to deply the solr.war on glassfish server while deploying
> those war file i get the following error. can some one please guide me
> for this same. that how can i deploy solr.war in galssfish server.
> 
> 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>)].
> Please see server.log for more details.

There appears to be an incompatibility between the version of Guava in
Solr (14.0.1 for current 4.x releases) and newer releases of Glassfish.

https://java.net/jira/browse/GLASSFISH-20579

I see what looks like a workaround in the glassfish bug report.

Unexpected bugs and incompatibilities with other servlet containers are
part of the reason that we recommend running Solr in the included jetty,
and why there are plans to make Solr into a standalone appplication for
version 5.

Thanks,
Shawn


Re: Deploy solr.war on glassfish server

Posted by Ajay Patel <ap...@officebeacon.com>.
Solr Version is 4.7.1  and glassfish version is 4 .

On Wednesday 16 April 2014 06:39 PM, Alexandre Rafalovitch wrote:
> What does server log actually says? At this point, this is very
> glassfishy. I'd look for mentions of missing jars, e.g. for logging.
>
> Also, which version of Solr.
>
> Regards,
>     Alex.
> Personal website: http://www.outerthoughts.com/
> Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency
>
>
> On Wed, Apr 16, 2014 at 7:51 PM, Ajay Patel <ap...@officebeacon.com> wrote:
>> Hi there
>> i am trying to deply the solr.war on glassfish server while deploying those
>> war file i get the following error. can some one please guide me for this
>> same. that how can i deploy solr.war in galssfish server.
>>
>> 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>)].
>> Please see server.log for more details.
>>
>> Thanks
>> Ajay Patel
>>


Re: Deploy solr.war on glassfish server

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
What does server log actually says? At this point, this is very
glassfishy. I'd look for mentions of missing jars, e.g. for logging.

Also, which version of Solr.

Regards,
   Alex.
Personal website: http://www.outerthoughts.com/
Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency


On Wed, Apr 16, 2014 at 7:51 PM, Ajay Patel <ap...@officebeacon.com> wrote:
> Hi there
> i am trying to deply the solr.war on glassfish server while deploying those
> war file i get the following error. can some one please guide me for this
> same. that how can i deploy solr.war in galssfish server.
>
> 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>)].
> Please see server.log for more details.
>
> Thanks
> Ajay Patel
>