jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oxyg...@sify.com
Subject Re: Jackrabbit with JBOSS
Date Wed, 06 Jul 2005 14:18:21 GMT
Hi

I installed jboss 4.0.2 and deployed my application, now I dont see the null pointer excpetion
while shutdown, but when I tried to redeploy my application it came up with the below mentioed
error ..and I am not able to login to the repository, and this repeats even after restarting
the server ..

Pls suggest me, I have this problem when I use jackrabbit 1.0, with 0.9.16 I don't have this
...

20:10:23,337 WARN  [MultiIndex] Found uncommitted redo log. Applying changes now...
20:10:43,103 ERROR [RepositoryImpl] Unable to start repository. forcing shutdown.
20:10:43,103 INFO  [ObservationManagerFactory] Notification of EventListeners stopped.

20:10:43,103 INFO  [STDOUT] Caused by: javax.jcr.RepositoryException: 0: 0: 0
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:125)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1141)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.RepositoryImpl.getSearchManager(RepositoryImpl.java:550)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:412)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:204)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:358)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
20:10:43,103 INFO  [STDOUT]     at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
20:10:43,118 INFO  [STDOUT]     ... 30 more
20:10:43,118 INFO  [STDOUT] Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
20:10:43,118 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addBinaryValue(NodeIndexer.java:271)
20:10:43,118 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.addValue(NodeIndexer.java:210)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndexer.java:162)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(NodeIndexer.java:116)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(SearchIndex.java:254)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.MultiIndex.addNodePersistent(MultiIndex.java:456)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:209)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:88)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:39)
20:10:43,134 INFO  [STDOUT]     at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:123)
20:10:43,134 INFO  [STDOUT]     ... 39 more

TIA
Mohan


 julien@jboss.org:

> usually when it happens it means that you are using a classloader which<br>
has been cycled by the server.

do you have that on a redeploy<br>?

what is your version of JBoss ?

oxygen0@sify.com<br>wrote:

>Hi
>
>I am using the 1.0 version of jackrabbit repository<br>to build a small applicaton.
>I deployed jackrabbit with a web app<br>running in JBOSS Server ..I get the following
error when i shutdown my<br>server.. 
>
>16:34:39,259 INFO  [STDOUT]<br>java.lang.NullPointerException
>16:34:39,259 INFO  [STDOUT]     at<br>org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:143)
>16:34:3<br>9,259 INFO  [STDOUT]     at<br>org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoade<br>r3.java:178)
>16:34:39,259 INFO  [STDOUT]     at<br>org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.j<br>ava:132)
>16:34:39,259 INFO  [STDOUT]     at<br>java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>16:34:39,259<br>INFO  [STDOUT]     at<br>java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>16:34:39<br>,259 INFO  [STDOUT]     at<br>org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:104)<br>
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:89)
>16<br>:34:39,259 INFO  [STDOUT]     at<br>org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:118)
>16:<br>34:39,259 INFO  [STDOUT]     at<br>org.apache.lucene.store.Lock$With.run(Lock.java:109)
>16:34:39,259 INFO<br> [STDOUT]     at<br>org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
>16:34:3<br>9,259 INFO  [STDOUT]     at<br>org.apache.lucene.index.IndexReader.open(IndexReader.java:106)
>16:34:3<br>9,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(Abs<br>tractIndex.java:127)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.PersistentIndex.hasDocuments(Per<br>sistentIndex.java:110)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.MultiIndex.maybeMergeIndexes(Mul<br>tiIndex.java:512)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.MultiIndex.commit(MultiIndex.jav<br>a:420)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.MultiIndex.close(MultiIndex.java<br>:308)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.query.lucene.SearchIndex.close(SearchIndex.ja<br>va:170)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.SearchManager.close(SearchManager.java:165)
<br>>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(Reposito<br>ryImpl.java:1175)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:6<br>55)
>16:34:39,259 INFO  [STDOUT]     at<br>org.apache.jackrabbit.core.RepositoryImpl$1.run(RepositoryImpl.java:220)<br>
>
>Please suggest me..
>
>TIA
>Mohan
>  
>


-- 
Julien<br>Viet
JBoss Portal Lead Developer



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message