You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/12/22 05:03:00 UTC

[jira] [Resolved] (JCR-2225) ORA-01460 ClusterNode: Unable to commit log entry

     [ https://issues.apache.org/jira/browse/JCR-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-2225.
---------------------------------
    Resolution: Not A Bug

> ORA-01460 ClusterNode: Unable to commit log entry
> -------------------------------------------------
>
>                 Key: JCR-2225
>                 URL: https://issues.apache.org/jira/browse/JCR-2225
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.5.6
>         Environment: Oracle DB 10 -  linux - jackrabbit 1.5.6
>            Reporter: Lorenzo Pavesi
>            Priority: Critical
>
> Clustering over Oracle doesn't work the LOCAL_VERSION tables go out of sinc with the global revision, jcr element (ie nt:file...and all) added into the first cluster node aren't available from the second cluster nodes
> 23.07.2009 14:50:29 *ERROR* ClusterNode: Unable to commit log entry. (ClusterNode.java, line 655)
> org.apache.jackrabbit.core.journal.JournalException: Unable to append revision 27384.
>         at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJournal.java:558)
>         at org.apache.jackrabbit.core.journal.AppendRecord.update(AppendRecord.java:251)
>         at org.apache.jackrabbit.core.cluster.ClusterNode$WorkspaceUpdateChannel.updateCommitted(ClusterNode.java:650)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager$Update.end(SharedItemStateManager.java:754)
>         at org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:1092)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:337)
>         at org.apache.jackrabbit.core.state.XAItemStateManager.update(XAItemStateManager.java:347)
>         at org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:312)
>         at org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:313)
>         at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1103)
>         at com.vodafone.superstore.utils.CommunityPlaceUtils.createComunityPlace(CommunityPlaceUtils.java:376)
>         at com.vodafone.superstore.populate.lbs.AddCommunityPlace.createCommunityPlace(AddCommunityPlace.java:223)
>         at com.vodafone.superstore.populate.lbs.AddCommunityPlace.doPost(AddCommunityPlace.java:159)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: java.sql.SQLException: ORA-01460: unimplemented or unreasonable conversion requested
>         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
>         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
>         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:582)
>         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
>         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
>         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2152)
>         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2035)
>         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2876)
>         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:609)
>         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:685)
>         at org.apache.jackrabbit.core.journal.DatabaseJournal.append(DatabaseJournal.java:552)
>         ... 26 more
>  /**
>      * {@inheritDoc}
>      * <p/>
>      * We have already saved away the revision for this record.
>      */
>     protected void append(AppendRecord record, InputStream in, int length)
>             throws JournalException {
>         try {
>             checkConnection();
>             insertRevisionStmt.clearParameters();
>             insertRevisionStmt.clearWarnings();
>             insertRevisionStmt.setLong(1, record.getRevision());
>             insertRevisionStmt.setString(2, getId());
>             insertRevisionStmt.setString(3, record.getProducerId());
>             insertRevisionStmt.setBinaryStream(4, in, length);
>             insertRevisionStmt.execute();
>         } catch (SQLException e) {
>             close(true);
>             String msg = "Unable to append revision " + lockedRevision + ".";
>             throw new JournalException(msg, e);
>         }
>     }



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)