Hi,

> The reason is that the client does not have an updated jboss-client.jar

OK. But now another error was thrown:

---- snip ----
[JAWS] Unable to read from ResultSet:
java.lang.reflect.InvocationTargetExceptio
n
[JAWS] java.sql.SQLException: Unable to load a ResultSet column into a
variable
of type 'byte': java.io.StreamCorruptedException: Caught EOFException while
read
ing the stream header
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(JDBCComma
nd.java:446)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JD
BCLoadEntityCommand.java:114)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndH
andleResult(JDBCQueryCommand.java:59)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.j
ava:155)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoa
dEntityCommand.java:77)
[JAWS]  at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPers
istenceManager.java:150)
[JAWS]  at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistence
Manager.java:277)
[JAWS]  at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntityS
ynchronizationInterceptor.java:188)
[JAWS]  at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstance
Interceptor.java:204)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.ja
va:133)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep
torCMT.java:263)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:9
9)
[JAWS]  at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.
java:144)
[JAWS]  at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
[JAWS]  at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:316)
[JAWS]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:222)
[JAWS]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPCon
tainerInvoker.java:187)
[JAWS]  at java.lang.reflect.Method.invoke(Native Method)
[JAWS]  at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[JAWS]  at sun.rmi.transport.Transport$1.run(Transport.java:142)
[JAWS]  at java.security.AccessController.doPrivileged(Native Method)
[JAWS]  at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[JAWS]  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4
43)
[JAWS]  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport
.java:643)
[JAWS]  at java.lang.Thread.run(Thread.java:484)
[XADataSource] Pool AS400Pool [0/1/Unlimited] returned object
org.jboss.minerva.
xa.XAConnectionImpl@63c624 to the pool.
[AllTypes] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is:
        java.sql.SQLException: Unable to load a ResultSet column into a
variable
 of type 'byte': java.io.StreamCorruptedException: Caught EOFException while
rea
ding the stream header; nested exception is:
        java.rmi.ServerException: Load failed; nested exception is:
        java.sql.SQLException: Unable to load a ResultSet column into a
variable
 of type 'byte': java.io.StreamCorruptedException: Caught EOFException while
rea
ding the stream header
[AllTypes] java.rmi.ServerException: Load failed; nested exception is:
[AllTypes]      java.sql.SQLException: Unable to load a ResultSet column
into a
variable of type 'byte': java.io.StreamCorruptedException: Caught
EOFException w
hile reading the stream header
[AllTypes] java.sql.SQLException: Unable to load a ResultSet column into a
varia
ble of type 'byte': java.io.StreamCorruptedException: Caught EOFException
while
reading the stream header
[AllTypes]      at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(J
DBCCommand.java:446)
[AllTypes]      at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleR
esult(JDBCLoadEntityCommand.java:114)
[AllTypes]      at
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeState
mentAndHandleResult(JDBCQueryCommand.java:59)
[AllTypes]      at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCC
ommand.java:155)
[AllTypes]      at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute
(JDBCLoadEntityCommand.java:77)
[AllTypes]      at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(
JAWSPersistenceManager.java:150)
[AllTypes]      at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPer
sistenceManager.java:277)
[AllTypes]      at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke
(EntitySynchronizationInterceptor.java:188)
[AllTypes]      at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(Entity
InstanceInterceptor.java:204)
[AllTypes]      at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxIntercept
orCMT.java:133)
[AllTypes]      at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Tx
InterceptorCMT.java:263)
[AllTypes]      at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCM
T.java:99)
[AllTypes]      at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInte
rceptor.java:144)
[AllTypes]      at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.ja
va:192)
[AllTypes]      at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:316
)
[AllTypes]      at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
(JRMPContainerInvoker.java:222)
[AllTypes]      at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke
(JRMPContainerInvoker.java:187)
[AllTypes]      at java.lang.reflect.Method.invoke(Native Method)
[AllTypes]      at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.jav
a:241)
[AllTypes]      at sun.rmi.transport.Transport$1.run(Transport.java:142)
[AllTypes]      at java.security.AccessController.doPrivileged(Native
Method)
[AllTypes]      at
sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[AllTypes]      at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTranspor
t.java:443)
[AllTypes]      at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPT
ransport.java:643)
[AllTypes]      at java.lang.Thread.run(Thread.java:484)
---- snap ----

I think it is because i am using the datatype VARCHAR(xxxx) FOR BIT DATA.
But it is the only datatype in DB2/400 that could be used for binary data.

CU

---
Ingo Bruell
OBL GmbH ([EMAIL PROTECTED])
Hude (Oldenburg)
Germany



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to