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

Re: [xmlblaster] Error in XmlBlaster



OK,
I have now committed the changed on the DEV_85 branch too.

Michele

Juergen Prinz wrote:
I'm on branch DEV_85 (multithread mico)
What shall I do?

Greetings
Juergen


Hi Juergen,
The empty string is now fixed. Note that if the size of the content is zero, the content argument is set to NULL when invoking the I_Callback.update(...) method.


The changes are in the main cvs branch.

Greetings
Michele


Jürgen Prinz wrote:

After publishing a MessageUnit with an empty content (explicitly set with (string)"" using c++, the Xml-Blaster produced :


java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
stackTrace=java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
at java.sql.Timestamp.valueOf(Timestamp.java:128)
at org.xmlBlaster.util.Timestamp.valueOf(Timestamp.java:225)
at org.xmlBlaster.protocol.corba.CorbaDriver.convert(CorbaDriver.java:539)
at



org.xmlBlaster.protocol.corba.CallbackCorbaDriver.sendUpdate(CallbackCorbaDriver
.java:123)


at


org.xmlBlaster.engine.dispatch.CbDispatchConnection.doSend(CbDispatchConnection.
java:147)


at


org.xmlBlaster.util.dispatch.DispatchConnection.send(DispatchConnection.java:189
)


at


org.xmlBlaster.util.dispatch.DispatchConnectionsHandler.send(DispatchConnections
Handler.java:359)


at org.xmlBlaster.util.dispatch.DispatchWorker.run(DispatchWorker.java:166)
at



EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:7
32)


at java.lang.Thread.run(Thread.java:479)
errorCode=communication.noConnection.dead message=The remote connection is not established and we have given up to poll for it. ->



http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcodes.listing.h
tml#communication.noConnection.dead


at


org.xmlBlaster.util.dispatch.DispatchManager.handleWorkerException(DispatchManag
er.java:375)


at org.xmlBlaster.util.dispatch.DispatchWorker.run(DispatchWorker.java:196)
at



EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:7
32)


       at java.lang.Thread.run(Thread.java:479)


versionInfo=version=0.85e,os.name=Linux,os.version=2.4.19-4GB,java.vm.vendor=Sun


Microsystems Inc.,java.vm.version=1.3.1_04-b02,os.arch=i386,build.timestamp=11/26/2003 09:19 AM,build.java.vendor=Sun Microsystems Inc.,build.java.version=1.3.1_04
errorCode



description=http://www.xmlblaster.org/xmlBlaster/doc/requirements/admin.errorcod
es.listing.html#communication.noConnection.dead





With seting the content to "empty", it was o.k.

Best regards
J.Prinz




--
Michele Laghi
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964
http://eclettic.tripod.com
http://www.xmlBlaster.org




--
Michele Laghi
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964
http://eclettic.tripod.com
http://www.xmlBlaster.org