jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Viet <jul...@jboss.org>
Subject Re: Jackrabbit with JBOSS
Date Wed, 06 Jul 2005 14:59:37 GMT
this new error (ArrayOutOfBoundsException in lucene) does not seem to be 
related to JBoss (the NPE in classloader was) so
I cannot help here

oxygen0@sify.com wrote:

>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.(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(RepositoryImp
>l.java:550)
>20:10:43,103 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.j
>ava:412)
>20:10:43,103 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.RepositoryImpl.(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(BindableReposito
>ry.java:116)
>20:10:43,103 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableReposi
>tory.java:104)
>20:10:43,103 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(Regist
>ryHelper.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(NodeI
>ndexer.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(NodeIndexe
>r.java:162)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(NodeI
>ndexer.java:116)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(Searc
>hIndex.java:254)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.MultiIndex.addNodePersistent(Mul
>tiIndex.java:456)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.MultiIndex.(MultiIndex.jav
>a:209)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.j
>ava:88)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQuery
>Handler.java:39)
>20:10:43,134 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.SearchManager.(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
>
>has been cycled by the server.
>
>do you have that on a redeploy
>?
>
>what is your version of JBoss ?
>
>oxygen0@sify.com
>wrote:
>
>>Hi
>>
>>I am using the 1.0 version of jackrabbit
>repository
>to build a small applicaton.
>>I deployed jackrabbit with a web app
>running in JBOSS Server ..I get the following error when i shutdown
>my
>server.. 
>>
>>16:34:39,259 INFO  [STDOUT]
>java.lang.NullPointerException
>>16:34:39,259 INFO  [STDOUT]     at
>org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:143)
>>16:34:3
>9,259 INFO  [STDOUT]     at
>org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoade
>r3.java:178)
>>16:34:39,259 INFO  [STDOUT]     at
>org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.j
>ava:132)
>>16:34:39,259 INFO  [STDOUT]     at
>java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>16:34:39,259
>INFO  [STDOUT]     at
>java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>>16:34:39
>,259 INFO  [STDOUT]     at
>org.apache.lucene.index.SegmentReader.initialize(SegmentReader.java:104)
>
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.lucene.index.SegmentReader.(SegmentReader.java:89)
>>16
>:34:39,259 INFO  [STDOUT]     at
>org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:118)
>>16:
>34:39,259 INFO  [STDOUT]     at
>org.apache.lucene.store.Lock$With.run(Lock.java:109)
>>16:34:39,259
>INFO
> [STDOUT]     at
>org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
>>16:3
>4:3
>9,259 INFO  [STDOUT]     at
>org.apache.lucene.index.IndexReader.open(IndexReader.java:106)
>>16:3
>4:3
>9,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(
>Abs
>tractIndex.java:127)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.PersistentIndex.hasDocuments(
>Per
>sistentIndex.java:110)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.MultiIndex.maybeMergeIndexes(
>Mul
>tiIndex.java:512)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.MultiIndex.commit(MultiIndex.
>jav
>a:420)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.MultiIndex.close(MultiIndex.j
>ava
>:308)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.query.lucene.SearchIndex.close(SearchIndex
>.ja
>va:170)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.SearchManager.close(SearchManager.java:165
>)
>
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(Repos
>ito
>ryImpl.java:1175)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.jav
>a:6
>55)
>>16:34:39,259 INFO  [STDOUT]     at
>org.apache.jackrabbit.core.RepositoryImpl$1.run(RepositoryImpl.java:2
>20)
>
>>
>>Please suggest me..
>>
>>TIA
>>Mohan
>>  
>>
>
>
>-- 
>Julien
>Viet
>JBoss Portal Lead Developer
>
>
>
> <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom>



-- 
Julien Viet
JBoss Portal Lead Developer


Mime
View raw message