Em alguns cliente que utilizam o Pentaho, já me ocorreu por algumas vezes os seguintes erros nos logs:
ERROR [RepositoryImpl] Failed to initialize workspace 'default'
javax.jcr.RepositoryException: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@494c702a
...
...
Unable to start repository, forcing shutdown...
ERROR [RepositoryImpl] failed to start Repository: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@724f11af
...
...
E isso impossibilitava que o servidor BI Pentaho funcionasse.
Quando isso ocorre, é bom recorrer aos seus backups ou algo que o valha.
Mas e se vc não tem backup e tudo o que tem é o Pentaho BI server corrompido?
Bem, chorar é uma alternativa.
Outra alternativa é você tentar apagar os índices (index) das pastas internas ao jackrabbit.
Então, tente isso:
- Pare o serviço BI Server;
- Remova por completo as seguintes pastas:
- ./biserver-ce/pentaho-solutions/system/jackrabbit/repository/repository/index
- ./biserver-ce/pentaho-solutions/system/jackrabbit/repository/workspaces/default/index
- ./biserver-ce/pentaho-solutions/system/jackrabbit/repository/workspaces/security/index
- ./biserver-ce/pentaho-solutions/system/jackrabbit/repository/version/index
- Reinicie o BI Server.
Pronto, verifique se tudo voltou ao normal e seja feliz novamente. :)
Esta solução resolveu o seguinte erro:
ResponderExcluircom.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate Exception occurred when intialization
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.sun.xml.ws.transport.http.servlet.SpringBinding#0' defined in file [/opt/pentaho/pentaho-server/pentaho-solutions/system/pentahoServices.spring.xml]: Cannot create inner bean '(inner bean)#1a58c4da' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1a58c4da': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalStateException