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

Reply via email to