Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Help with installing SOLRJ jar and dependencies?

Avatar

Level 1

Thanks in advance for any info,

We've been able to build an OSGI bundle for a SOLRJ jar and even get our classes using the SOLRJ classes to compile successfully.  However, we were not able to actually use SOLJR during runtime due to missing dependencies.  SOLRJ requires the list of following dependencies 

  • commons-httpclient-3.1.jar
  • wstx-asl-3.2.7.jar
  • slf4j-api-1.5.5.jar
  • commons-codec-1.3.jar
  • stax-api-1.0.1.jar
  • geronimo-stax-api_1.0_spec-1.0.1.jar
  • commons-logging-1.0.4.jar
  • commons-io-1.4.jar
  • commons-fileupload-1.2.1.jar

We're wondering what is the best way to import these jars, getting OSGI compatible bundles and actually import them within CQ5.  We've tried building our own bundles for these jars but we've had no luck in actually getting it to work.

Any help would be much appreciated.

1 Accepted Solution

Avatar

Correct answer by
Employee

Some of the information in this thread may be useful: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage... (including some links to documentation)

Please feel free to open a support ticket if none of the information helps you.

View solution in original post

2 Replies

Avatar

Level 2

Can you try by adding this in your pom file?

<dependency>

                <groupId>org.apache.servicemix.bundles</groupId>

                <artifactId>org.apache.servicemix.bundles.solr-solrj</artifactId>

                <version>4.xx</version>

            </dependency>

Avatar

Correct answer by
Employee

Some of the information in this thread may be useful: http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage... (including some links to documentation)

Please feel free to open a support ticket if none of the information helps you.