2 Replies Latest reply on Nov 21, 2003 4:46 AM by Peter Ondruska

    JBoss 3.2.2 error marshalling arguments

    Peter Ondruska Newbie

      I've upgraded from 3.2.1 to 3.2.2 (w/ Jetty) and encounter these problems (relevant part has been attached) with all my Entity beans (and everything worked fine with 3.2.1 version):

      2003-10-30 14:28:14,298 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException in method: public abstract sequence.SequenceLocal sequence.SequenceLocalHome.create(java.lang.String) throws javax.ejb.CreateException, causedBy:
      java.sql.SQLException: error marshalling arguments; nested exception is:
      java.io.NotSerializableException: java.io.StringReader
      at RmiJdbc.RJPreparedStatement.setCharacterStream(RJPreparedStatement.java:617)
      at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.setCharacterStream(WrappedPreparedStatement.java:657)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil.setParameter(JDBCUtil.java:1208)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setArgumentParameters(JDBCAbstractCMPFieldBridge.java:338)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.setPrimaryKeyParameters(JDBCAbstractCMPFieldBridge.java:327)
      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.setPrimaryKeyParameters(JDBCEntityBridge.java:616)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCInsertPKCreateCommand.beforeInsert(JDBCInsertPKCreateCommand.java:77)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:143)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:518)
      at org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:208)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:269)
      at org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:580)