I am not sure if this is a Jboss or a Postgres JDBC
problem. I am saving Java Objects to a Postgres DB
using Entity Beans and then reading them back.
Works fine as long as I do not stop the Jboss server
after saving and before reading. If I do stop it then
I get the below log output.
Ken
[PhotosEJB] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested exception is:
Bad Integer ?; nested exception is:
java.rmi.ServerException: Load failed; nested exception is:
Bad Integer ?
[PhotosEJB] java.rmi.ServerException: Load failed; nested exception is:
[PhotosEJB] Bad Integer ?
[PhotosEJB] Bad Integer ?
[PhotosEJB] at org.postgresql.jdbc2.ResultSet.getInt(ResultSet.java:262)
[PhotosEJB] at org.postgresql.jdbc2.ResultSet.getObject(ResultSet.java:779)
[PhotosEJB] at
org.jboss.minerva.jdbc.ResultSetInPool.getObject(ResultSetInPool.java:557)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getResultObject(JDBCCommand.java:384)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.handleResult(JDBCLoadEntityCommand.java:114)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleResult(JDBCQueryCommand.java:59)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:158)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityCommand.java:77)
[PhotosEJB] at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPersistenceManager.java:150)
[PhotosEJB] at
org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersistenceManager.java:277)
[PhotosEJB] at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:192)
[PhotosEJB] at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:186)
[PhotosEJB] at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[PhotosEJB] at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:263)
[PhotosEJB] at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[PhotosEJB] at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:143)
[PhotosEJB] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[PhotosEJB] at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:323)
[PhotosEJB] at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:367)
[PhotosEJB] at java.lang.reflect.Method.invoke(Native Method)
[PhotosEJB] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[PhotosEJB] at sun.rmi.transport.Transport$1.run(Transport.java:142)
[PhotosEJB] at java.security.AccessController.doPrivileged(Native Method)
[PhotosEJB] at sun.rmi.transport.Transport.serviceCall(Transport.java:139)
[PhotosEJB] at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:443)
[PhotosEJB] at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:643)
[PhotosEJB] at java.lang.Thread.run(Thread.java:484)
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]