jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinivasa Mohan <oxyg...@sify.com>
Subject Re: Jackrabbit with JBOSS
Date Wed, 06 Jul 2005 15:47:18 GMT
Hi Edgar,

Thank you, I think this should help..

Thanks
Mohan

 edgarpoce@gmail.com:

> hi Mohan

A couple of quotes<br>from
http://incubator.apache.org/jackrabbit/arch/deploy/howto-model1.ht<br>ml
that might help you.

<quote>
Limitations: the application should<br>not be redeployed during the same
JVM process to avoid creating<br>duplicate Jackrabbit instances with the
same configuration. In case you<br>want to redeploy your application be
sure to shutdown the repository<br>when your application is undeployed.
It can be done by calling<br>RepositoryImpl.shutdown() (e.g. in the
destroy() method of a<br>servlet).
</quote>

<quote>
Important: remember that two Jackrabbit<br>instances should never read
from/write to the same physical storage.<br>This setup is not supported
and will lead to corrupt<br>data.
</quote>

BR,
edgar

On 7/6/05, Julien Viet<br><julien@jboss.org> wrote:
> this new error (ArrayOutOfBoundsException<br>in lucene) does not seem to be
> related to JBoss (the NPE in<br>classloader was) so
> I cannot help here
> 
> oxygen0@sify.com<br>wrote:
> 
> >Hi
> >
> >I installed jboss 4.0.2 and deployed my<br>application, now I dont
> >see the null pointer excpetion while<br>shutdown, but when I tried to
> >redeploy my application it came up<br>with the below mentioed error ..and I
> >am not able to login to the<br>repository, and this repeats even after
> >restarting the server ..
><br>>
> >Pls suggest me, I have this problem when I
> >use jackrabbit 1.0,<br>with 0.9.16 I don't have this ...
> >
> >20:10:23,337
> >WARN <br>[MultiIndex] Found uncommitted redo log. Applying changes
> >now...
><br>>20:10:43,103 ERROR [RepositoryImpl] Unable to start repository.
><br>>forcing shutdown.
> >20:10:43,103 INFO  [ObservationManagerFactory]
><br>>Notification of EventListeners stopped.
> >
> >20:10:43,103 INFO <br>[STDOUT]
> >Caused by: javax.jcr.RepositoryException: 0: 0: 0
><br>>20:10:43,103 INFO
> >[STDOUT]     at
><br>>org.apache.jackrabbit.core.SearchManager.(SearchManager.java:125)
><br>>
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManage<br>r
> >(RepositoryImpl.java:1141)
> >20:10:43,103 INFO  [STDOUT]    <br>at
><br>>org.apache.jackrabbit.core.RepositoryImpl.getSearchManager(RepositoryIm<br>p
> >l.java:550)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.<br>j
> >ava:412)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl.(RepositoryImpl.java:204
><br>>)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:35<br>8
> >)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableReposit<br>o
> >ry.java:116)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepos<br>i
> >tory.java:104)
> >20:10:43,103 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(Regis<br>t
> >ryHelper.java:57)
> >20:10:43,118 INFO  [STDOUT]     ... 30
><br>>more
> >20:10:43,118 INFO  [STDOUT] Caused by:
><br>>java.lang.ArrayIndexOutOfBoundsException: 0
> >20:10:43,118 INFO <br>[STDOUT]
> >    at
><br>>org.apache.jackrabbit.core.query.lucene.NodeIndexer.addBinaryValue(Node<br>I
> >ndexer.java:271)
> >20:10:43,118 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.NodeIndexer.addValue(NodeIndexe<br>r
> >.java:210)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDoc(NodeIndex<br>e
> >r.java:162)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.NodeIndexer.createDocument(Node<br>I
> >ndexer.java:116)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.SearchIndex.createDocument(Sear<br>c
> >hIndex.java:254)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.MultiIndex.addNodePersistent(Mu<br>l
> >tiIndex.java:456)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.MultiIndex.(MultiIndex.jav
><br>>a:209)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.<br>j
> >ava:88)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQuer<br>y
> >Handler.java:39)
> >20:10:43,134 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.SearchManager.(SearchManager.java:123)
><br>>
> >20:10:43,134 INFO  [STDOUT]     ... 39 more
> >
> >TIA
><br>>Mohan
> >
> >
> >
> >julien@jboss.org:
> >
> >> usually when it<br>happens it means that you are
> >using a classloader which
> >
> >has<br>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<br>jackrabbit
> >repository
> >to build a small applicaton.
> >>I<br>deployed jackrabbit with a web app
> >running in JBOSS Server ..I get<br>the following error when i shutdown
> >my
> >server..
> >>
><br>>>16:34:39,259 INFO  [STDOUT]
> >java.lang.NullPointerException
><br>>>16:34:39,259 INFO  [STDOUT]     at
><br>>org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:143)
><br>>>16:34:3
> >9,259 INFO  [STDOUT]     at
><br>>org.jboss.mx.loading.UnifiedClassLoader3.loadClassImpl(UnifiedClassLoad<br>e
> >r3.java:178)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader3.<br>j
> >ava:132)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>java.lang.ClassLoader.loadClass(ClassLoader.java:251)
><br>>>16:34:39,259
> >INFO  [STDOUT]     at
><br>>java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
><br>>>16:34:39
> >,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.(SegmentReader.java:89)
><br>>>16
> >:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:118)
><br>>>16:
> >34:39,259 INFO  [STDOUT]     at
><br>>org.apache.lucene.store.Lock$With.run(Lock.java:109)
><br>>>16:34:39,259
> >INFO
> > [STDOUT]     at
><br>>org.apache.lucene.index.IndexReader.open(IndexReader.java:111)
><br>>>16:3
> >4:3
> >9,259 INFO  [STDOUT]     at
><br>>org.apache.lucene.index.IndexReader.open(IndexReader.java:106)
><br>>>16:3
> >4:3
> >9,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.AbstractIndex.getIndexReader(
<br>> >Abs
> >tractIndex.java:127)
> >>16:34:39,259 INFO  [STDOUT]    <br>at
><br>>org.apache.jackrabbit.core.query.lucene.PersistentIndex.hasDocuments(
<br>> >Per
> >sistentIndex.java:110)
> >>16:34:39,259 INFO  [STDOUT]    <br>at
><br>>org.apache.jackrabbit.core.query.lucene.MultiIndex.maybeMergeIndexes(
<br>> >Mul
> >tiIndex.java:512)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.MultiIndex.commit(MultiIndex.
<br>> >jav
> >a:420)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.MultiIndex.close(MultiIndex.j
<br>> >ava
> >:308)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.query.lucene.SearchIndex.close(SearchIndex
<br>> >.ja
> >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(Repos
<br>> >ito
> >ryImpl.java:1175)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.jav
<br>> >a:6
> >55)
> >>16:34:39,259 INFO  [STDOUT]     at
><br>>org.apache.jackrabbit.core.RepositoryImpl$1.run(RepositoryImpl.java:2
<br>> >20)
> >
> >>
> >>Please suggest me..
> >>
> >>TIA
> >>Mohan
><br>>>
> >>
> >
> >
> >--
> >Julien
> >Viet
> >JBoss Portal Lead<br>Developer
> >
> >
> >
> ><br><http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@B<br>ottom>
> 
> 
> 
> --
> Julien Viet
> JBoss Portal Lead<br>Developer
> 
>


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