click here for details... Sakai Executive Director Position Search now open
Issue Details (XML | Word | Printable)

Key: SAK-16409
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: John Bush
Reporter: Michael Lavacca
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Sakai

DB2 - Write error on CITATIONS_COLLECTION table

Created: 22-May-2009 10:07   Updated: 24-Nov-2009 09:01
Component/s: Citations
Affects Version/s: 2.6.x, 2.6.0, 2.7.0
Fix Version/s: 2.6.1, 2.7.0

Time Tracking:
Not Specified

File Attachments: 1. Text File SAK-16409.patch (117 kB)

Environment: DB2

2.6.x Status: Resolved
2.5.x Status: None
2.4.x Status: None


 Description  « Hide
To replicate:

1) Login as an instructor or admin (someone with upper-level privileges)
2) Go to a site with the Resources tool added. Enter the Resources tool.
3) Click the Add button next to any folder and select Add Citation List from the drop-down menu.

The resulting page contains a stack trace which specifies the below sql error. Tested 05/22/09 on sakai-2.6.0rc03.

Also, after a look up of the table CITATION_COLLECTIONS in the database the table was not found (not created).


0000009f BasicSqlServi W org.apache.commons.logging.impl.Jdk14Logger warn Sql.dbRead: sql: select PROPERTY_VALUE from CITATION_COLLECTION where (COLLECTION_ID = ? and PROPERTY_NAME = ?) bc12450b-ab97-4615-b094-0
68c62571384 sakai:most_recent_update
                                 com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2INST1.CITATION_COLLECTION
        at com.ibm.db2.jcc.c.fg.e(fg.java:1596)
        at com.ibm.db2.jcc.c.fg.a(fg.java:1206)
        at com.ibm.db2.jcc.b.gb.g(gb.java:140)
        at com.ibm.db2.jcc.b.gb.a(gb.java:39)
        at com.ibm.db2.jcc.b.w.a(w.java:34)
        at com.ibm.db2.jcc.b.vb.g(vb.java:139)
        at com.ibm.db2.jcc.c.fg.n(fg.java:1177)
        at com.ibm.db2.jcc.c.gg.eb(gg.java:1862)
        at com.ibm.db2.jcc.c.gg.d(gg.java:2295)
        at com.ibm.db2.jcc.c.gg.V(gg.java:424)
        at com.ibm.db2.jcc.c.gg.executeQuery(gg.java:407)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:93)
        at org.sakaiproject.db.impl.BasicSqlService.dbRead(BasicSqlService.java:545)
        at org.sakaiproject.db.impl.BasicSqlService.dbRead(BasicSqlService.java:464)


 All   Comments   Work Log   Change History   Subversion Commits   git Commits      Sort Order: Ascending order - Click to sort in descending order
John Bush added a comment - 16-Jul-2009 21:33
this is essentially a blocker for db2 support with citiations

Steve Smail added a comment - 17-Jul-2009 11:52
Hi John -

I've comitted the SQL file for DB2. Please take a look and make sure everything looks good.

Steve Smail added a comment - 24-Aug-2009 13:28
Hi John -

Is it ok if I close this issue? Once we do that, I think the merge to 2.6.x can take place.

Jean-François Lévêque added a comment - 02-Oct-2009 02:20
2.6.x merge r67079