Tuesday, November 11, 2014

solr and alfresco integration on jboss eap 6

When configuring solr with alfresco on jboss there is a lot of certificate bullshit. I was hitting the error:

ERROR | [ServerService Thread Pool -- 53] | 2014-11-10 12:41:30 | org.apache.catalina.core.StandardContext.java | JBWEB000287: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener: org.alfresco.error.AlfrescoRuntimeException: 10100000 Keystores are invalid

Caused by: org.alfresco.encryption.MissingKeyException: Key metadata is missing from keystore /usr/share/jbossas/modules/org/alfresco/configuration/main/alfresco/keystore/keystore

The problem is that alfresco looks for an keystore with the name keystore, and an alias metadata in the keystore. This keystore can be found in de alfresco.war file. Normally this keystore would be placed on the classpath by deployment but jboss works a little bit differt. So you need to extract the war and place the keystore on the classpath yourself.

After this, you can follow the manuals on the internet.

Did this post help you in any way can you please leave a comment? This will motivate me writing more posts.

1 comment:

  1. Thanks for one marvelous posting! I enjoyed reading it;Great post.The information was very useful.Keep the good work goin on!!
    Hadoop training in chennai | Mainframe training in chennai | SAP SD training in chennai