jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abhinav Mishra <amis...@mdes.ms.gov>
Subject RE: Database Error while saving the node
Date Mon, 08 Oct 2007 17:20:29 GMT
This is happening when the node is added the first time and node is not
being saved.

Can you point me where to get the consistency checker from ?

Thanks
Abhinav

-----Original Message-----
From: Stefan Ivanov [mailto:stefko.ivanov@gmail.com] 
Sent: Monday, October 08, 2007 4:32 AM
To: users@jackrabbit.apache.org
Subject: Re: Database Error while saving the node

It seems there are inconsistencies in the repository? A solution may be to
reindex the node (save it once aggain, check refferences ...)
You can see the contrib's consistency checker.


2007/10/6, Abhinav Mishra <amishra@mdes.ms.gov>:
>
> Hi,
>
>
>
> Since yesterday we are getting strange DB error while saving a node.
> Earlier
> everything was working fine.
>
> Following error has been thrown by jackrabbit server
>
>
>
> Inner Exception
> :
>
javax.jcr.ItemNotFoundException:e630d2f3-e0ab-4e77-8e66-a417080d13dd/{http:
> //mdes.ms.gov/accessms}title
>
>            at
> gov.ms.mdes.access.framework.exception.BaseRunTimeException.wrapAndThrow
> (Bas
> eRunTimeException.java:138)
>
>            at
> gov.ms.mdes.access.framework.dms.DmsDataTemplate.save(DmsDataTemplate.java
> :7
> 0)
>
>            at
> gov.ms.mdes.access.framework.dms.BaseDmsDAO.save(BaseDmsDAO.java:47)
>
>            at
> gov.ms.mdes.access.batch.common.GenerateCorrespondence.generateReport
> (Genera
> teCorrespondence.java:835)
>
>            at
>
>
gov.ms.mdes.access.batch.common.GenerateCorrespondence.performBusinessProces
> s(GenerateCorrespondence.java:304)
>
>            at
>
>
gov.ms.mdes.access.batch.common.GenerateDocumentForDMS.performBusinessProces
> s(GenerateDocumentForDMS.java:24)
>
>            at
> gov.ms.mdes.access.batch.framework.BatchManager.runBatch(BatchManager.java
> :1
> 52)
>
>            at
> gov.ms.mdes.access.batch.framework.BatchManager.main(BatchManager.java:48)
>
> Caused by: javax.jcr.ItemNotFoundException:
> e630d2f3-e0ab-4e77-8e66-a417080d13dd/{http://mdes.ms.gov/accessms}title
>
>            at
> org.apache.jackrabbit.rmi.server.ServerObject.getRepositoryException
> (ServerO
> bject.java:111)
>
>            at
> org.apache.jackrabbit.rmi.server.ServerSession.save(ServerSession.java
> :212)
>
>            at sun.reflect.GeneratedMethodAccessor5271.invoke(Unknown
> Source)
>
>            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
>
>            at java.lang.reflect.Method.invoke(Unknown Source)
>
>            at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
>
>            at sun.rmi.transport.Transport$1.run(Unknown Source)
>
>            at java.security.AccessController.doPrivileged(Native Method)
>
>            at sun.rmi.transport.Transport.serviceCall(Unknown Source)
>
>            at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown
> Source)
>
>            at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
>
>            at java.lang.Thread.run(Unknown Source)
>
>            at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer
> (StreamRemoteC
> all.java:247)
>
>            at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
>
>            at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
>
>            at
> org.apache.jackrabbit.rmi.server.ServerSession_Stub.save(Unknown Source)
>
>            at
> org.apache.jackrabbit.rmi.client.ClientSession.save(ClientSession.java
> :207)
>
>            at
> gov.ms.mdes.access.framework.dms.DmsDataTemplate.save(DmsDataTemplate.java
> :6
> 6)
>
>            ... 6 more
>
>
>
>
>
> The following is from the server log
>
>
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 | 11845944 [RMI TCP
> Connection(46)-10.88.0.54] ERROR
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager - failed to
> write node state: ab35dd4b-5a7c-4623-a79e-ddd982899a6d
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 | com.ibm.db2.jcc.b.SqlException:
> DB2 SQL error: SQLCODE: -302, SQLSTATE: 22001, SQLERRMC: null
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.b.zc.d(zc.java:1351)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.a.db.l(db.java:366)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.a.db.a(db.java:64)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.a.r.a(r.java:48)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.a.tb.c(tb.java:266)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.b.ad.Z(ad.java:1666)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.b.ad.d(ad.java:2224)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.b.ad.V(ad.java:521)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> com.ibm.db2.jcc.b.ad.executeUpdate(ad.java:504)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager.store
> (SimpleD
> bPersistenceManager.java:585)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.AbstractPersistenceManager.store
> (AbstractPe
> rsistenceManager.java:75)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.db.SimpleDbPersistenceManager.store
> (SimpleD
> bPersistenceManager.java:446)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end
> (SharedIte
> mStateManager.java:574)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.SharedItemStateManager.update
> (SharedItemSta
> teManager.java:697)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update
> (LocalItemState
> Manager.java:315)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.XAItemStateManager.update
> (XAItemStateManage
> r.java:322)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.LocalItemStateManager.update
> (LocalItemState
> Manager.java:291)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.state.SessionItemStateManager.update
> (SessionItemS
> tateManager.java:257)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1189)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:805)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> org.apache.jackrabbit.rmi.server.ServerSession.save(ServerSession.java
> :210)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> java.lang.reflect.Method.invoke(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.rmi.transport.Transport$1.run(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> java.security.AccessController.doPrivileged(Native Method)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.rmi.transport.Transport.serviceCall(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at
> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
>
> INFO   | jvm 1    | 2007/10/06 13:31:05 |   at java.lang.Thread.run
> (Unknown
> Source)
>
> Please help.
>
>
>
>
>
> Regards
>
> Abhinav
>
>


Mime
View raw message