[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] error report in JdbcManagerCommonTable.java: fix for the fix



Hi,

i have changed the fix from

  preStatement.setBinaryStream(5, blob_stream,  (int)sizeInBytes);

to

  preStatement.setBinaryStream(5, blob_stream, blob.length); 

as i got this exception:

-----------------------------------------------
[Aug 27, 2003 12:33:09 PM ERROR JdbcManagerCommonTable] error occured
when trying to rollback after exception: reason: java.sql.SQLException:
ERROR:  parser: parse error at or near "Qrollback" at character 495
 original reason:Batch entry 0 [Ljava.lang.Object; at 1ac3379 was
aborted.
Batch entry 0 [Ljava.lang.Object; at 1ac3379 was aborted.
        at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:106)
        at
org.xmlBlaster.util.queue.jdbc.JdbcManagerCommonTable.addEntries(JdbcManagerCommonTable.java:1032)
        at
org.xmlBlaster.util.queue.jdbc.JdbcQueueCommonTablePlugin.put(JdbcQueueCommonTablePlugin.java:335)
        at
org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:440)
        at
org.xmlBlaster.util.queue.cache.CacheQueueInterceptorPlugin.put(CacheQueueInterceptorPlugin.java:393)
        at
org.xmlBlaster.engine.TopicHandler.publish(TopicHandler.java:553)
        at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1581)
        at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1411)
        at
org.xmlBlaster.engine.RequestBroker.publish(RequestBroker.java:1405)
        at
org.xmlBlaster.engine.XmlBlasterImpl.publishArr(XmlBlasterImpl.java:205)
        at
org.xmlBlaster.protocol.corba.ServerImpl.publishArr(ServerImpl.java:144)
        at
org.xmlBlaster.protocol.corba.serverIdl.ServerPOATie.publishArr(ServerPOATie.java:63)
        at
org.xmlBlaster.protocol.corba.serverIdl.ServerPOA._invoke(ServerPOA.java:96)
        at
org.jacorb.poa.RequestProcessor.invokeOperation(RequestProcessor.java:247)
        at
org.jacorb.poa.RequestProcessor.process(RequestProcessor.java:496)
        at
org.jacorb.poa.RequestProcessor.run(RequestProcessor.java:635)
-----------------------------------------------

it now works fine here,
please update with cvs,

regards

Marcel