I get this error when I do a versionControlMethod, using classes12.jar and
Oracle 10g.

Looking through the stores code, the storeContent method is the same here as
when I do a putMethod (which works fine).  The difference must come from up
the line somewhere, in the creation of the RevisionContent object.  Is it
possibly some error in retrieving it, a permissions violation perhaps, that
is not being flagged, and so the stream sent to storeContent is empty ?  It
must be something like this, since put works.

Nick

 

 

http-8080-Processor24, 10-Nov-2004 10:19:43, root, PUT, 201 "Created", 250
ms, /files/Z2/AAA/cc/Working Files/g.doc

http-8080-Processor24, 10-Nov-2004 10:19:44, root, PROPPATCH, 207
"Multi-Status", 109 ms, /files/Z2/AAA/cc/Working Files/g.doc

10 Nov 2004 10:19:45 -
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter - ERROR - SQL error
17002 on /history/1: Io exception: No more data to

read from socket

java.sql.SQLException: Io exception: No more data to read from socket

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)

        at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:274)

        at
oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatemen
t.java:559)

        at
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
:1028)

        at
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedSta
tement.java:2888)

        at
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedState
ment.java:2960)

        at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Delegating
PreparedStatement.java:101)

        at
org.apache.slide.store.impl.rdbms.CommonRDBMSAdapter.storeContent(CommonRDBM
SAdapter.java:344)

        at
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.storeRevisionContent(
StandardRDBMSAdapter.java:1101)

        at
org.apache.slide.store.impl.rdbms.StandardRDBMSAdapter.createRevisionContent
(StandardRDBMSAdapter.java:1054)

        at
org.apache.slide.store.impl.rdbms.AbstractRDBMSStore.createRevisionContent(A
bstractRDBMSStore.java:823)

        at
org.apache.slide.store.AbstractStore.createRevisionContent(AbstractStore.jav
a:1347)

        at
org.apache.slide.store.ExtendedStore.createRevisionContent(ExtendedStore.jav
a:508)

        at org.apache.slide.content.ContentImpl.create(ContentImpl.java:515)

        at
org.apache.slide.webdav.util.VersioningHelper.versionControl(VersioningHelpe
r.java:306)

Reply via email to