Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
4.0
-
None
-
None
-
Tomcat winbdows, Postgres, etc.
-
Firefox
-
Postgres (EnterpriseDB 8.1.3.12 on linux)
-
1.5
-
not sure
-
Windows XP
Description
When I try to create a new entry (URL http://playersblog-local.station.sony.com/roller-ui/authoring/entryAdd!save.rol) I am getting an error "Error saving new entry" –
In the log file I am seeing the following exceptions:
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: ERROR: unterminated quoted string at or near "'\') GROUP
BY t0.name, t0.total ORDER BY t0.name ASC"
[code=0, state=42601]
....
Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: ERROR: syntax error at or near "t0"
{prepstmnt 18493627 UPDATE roller_tasklock t0 SET timeacquired = CURRENT_TIMESTAMP, client = ?, lastrun = ?, timeleased = ? WHERE (t0.name = ? AND t0.timeacquired = ? AND ? < CURRENT_TIMESTAMP) [params=(String) defaultClientId, (Timestamp) 2007-12-17 15:50:00.0, (int) 30, (String) ScheduledEntriesTask, (Timestamp) 1969-12-31 16:00:00.0, (Timestamp) 1969-12-31 16:00:00.0]}[code=0, state=42601]
...
WARN 2007-12-17 15:50:00,119 JPAThreadManagerImpl:registerLease - Error obtaining lease, assuming race condition.
<0.9.7-incubating nonfatal general error> org.apache.openjpa.persistence.PersistenceException: ERROR: syntax error at or near "t0"
[code=0, state=42601]
FailedObject: org.apache.openjpa.jdbc.kernel.exps.ExpContext@1dfb8d0
....
WARN 2007-12-17 15:50:34,572 WebloggerRuntimeConfig:getProperty - Trouble accessing property: site.shortName
<0.9.7-incubating nonfatal general error> org.apache.openjpa.persistence.PersistenceException: ERROR: current transaction is aborted, commands ignored until end of transaction block
[code=0, state=25P02]
....
NestedThrowables:
java.sql.SQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
....