Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

SQLException: Unexpected token OFPUBSUBITEM

$
0
0

I just randomly got this in the log although I didn't do anything with pubsub:

 

There's a SQL error in the PURGE_FOR_SIZE statement.

Strangely, nobody else had it?

 

java.sql.SQLException: Unexpected token OFPUBSUBITEM, requires FROM in statement [DELETE ofPubsubItem FROM ofPubsubItem LEFT JOIN (SELECT id FROM ofPubsubItem WHERE serviceID=? AND nodeID=? ORDER BY creationDate DESC LIMIT ?) AS noDelete ON ofPubsubItem.id = noDelete.id WHERE noDelete.id IS NULL AND ofPubsubItem.serviceID = ? AND nodeID = ?] 
        at org.hsqldb.jdbc.Util.throwError(Unknown Source) 
        at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source) 
        at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) 
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) 
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43) 
        at java.lang.reflect.Method.invoke(Method.java:483) 
        at org.logicalcobwebs.proxool.WrappedConnection.invoke(WrappedConnection.java:162)  
        at org.logicalcobwebs.proxool.WrappedConnection.intercept(WrappedConnection.java:8 7) 
        at $java.sql.Wrapper$$EnhancerByProxool$$694b7953.prepareStatement(<generated>) 
   at org.jivesoftware.openfire.pubsub.PubSubPersistenceManager.purgeItems(PubSubPers istenceManager.java:1874) 
   at org.jivesoftware.openfire.pubsub.PubSubPersistenceManager.access$000(PubSubPers istenceManager.java:62) 
   at org.jivesoftware.openfire.pubsub.PubSubPersistenceManager$2.run(PubSubPersisten ceManager.java:279) 
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)  
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)  
        at java.lang.Thread.run(Thread.java:745) 

Viewing all articles
Browse latest Browse all 10742

Trending Articles