I think there is a bug in the reporting of the Passivation because I see
the same message when 
I run my app. I don't have any beans with null ids. I know that for sure
!

Richard Backhouse
Oak Grove Software

marc fleury wrote:
> 
> ||Hello Marc,
> |
> |I've just installed jBoss 2.0-FINAL and I still get this same problem.
> 
> no wonder ...
> 
> |It may be the way I have something
> |configured because I would exepct everyone to be seeing this problem.
> |
> |Regards,
> |
> |-Dave
> |
> 
> Dave, from your own stack...
> 
> |> |[Bean Cache] Passivated overaged bean UserBean with id = null
> 
> do you create a bean with id = null in your code ?
> 
> Then of course you get
> 
> |> |[UserBean] java.lang.NullPointerException
> |> |[UserBean]  at java.lang.reflect.Field.get(Native Method)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getPkFieldValue(JDBCCom
> 
> since your id (primary key or Pk) is null!!!!
> 
> please double check where in your application you create a pk with id = null
> and then come back and say it works :)
> 
> we should throw exceptions on null create I guess, would prevent this ...
> 
> Also I would be surprised if this disturbed JBoss in any way :) I mean it
> should just discard that instance and continue, did you see any discrepancy?
> 
> marc
> 
> |On Mon, 13 Nov 2000, marc fleury wrote:
> |
> |> we know that is actually fixed as of this morning in CVS, will
> |ship with new
> |> FINAL
> |> marc
> |>
> |>
> |> |-----Original Message-----
> |> |From: [EMAIL PROTECTED]
> |> |[mailto:[EMAIL PROTECTED]]On Behalf Of Dave Dribin
> |> |Sent: Monday, November 13, 2000 4:47 PM
> |> |To: [EMAIL PROTECTED]
> |> |Subject: [jBoss-User] TRANSACTION ROLLBACK EXCEPTION after sitting idle
> |> |
> |> |
> |> |Hello,
> |> |
> |> |If jBoss is sitting idle for a while (5-10 minutes or so), the next
> |> |request results in a TRANSACTION ROLLBACK EXCEPTION.  Below is the
> |> |console log I'm getting.  If I restart jBoss, everything works fine.
> |> |I'm using jBoss 2.0 BETA PROD 04 with JDK 1.3 and an Oracle 8 backend
> |> |on Red Hat 6.1.
> |> |
> |> |-Dave
> |> |
> |> |
> |> |[Bean Cache] Passivated overaged bean UserBean with id = null
> |> |[Bean Cache] Passivated overaged bean UserBean with id = null
> |> |[Bean Cache] Passivated overaged bean UserBean with id = null
> |> |[Bean Cache] Resized cache for bean UserBean: old size = 369,
> |new size = 50
> |> |[UserBean] TRANSACTION ROLLBACK EXCEPTION:Load failed; nested
> |> |exception is:
> |> |    java.lang.NullPointerException; nested exception is:
> |> |    java.rmi.ServerException: Load failed; nested exception is:
> |> |    java.lang.NullPointerException
> |> |[UserBean] java.rmi.ServerException: Load failed; nested exception is:
> |> |[UserBean]  java.lang.NullPointerException
> |> |[UserBean] java.lang.NullPointerException
> |> |[UserBean]  at java.lang.reflect.Field.get(Native Method)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.getPkFieldValue(JDBCCom
> |> |mand.java:598)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.setPrimaryKeyParameters
> |> |(JDBCCommand.java:344)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.setParameters
> |> |(JDBCLoadEntityCommand.java:92)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand
> |> |.java:157)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.jdbc.JDBCLoadEntityCommand.execute(JDBCL
> |> |oadEntityCommand.java:77)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.loadEntity(JAWSPe
> |> |rsistenceManager.java:150)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.CMPPersistenceManager.loadEntity(CMPPersisten
> |> |ceManager.java:277)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(Entit
> |> |ySynchronizationInterceptor.java:192)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstan
> |> |ceInterceptor.java:204)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.
> |> |java:133)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterc
> |> |eptorCMT.java:263)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityIntercepto
> |> |r.java:144)
> |> |[UserBean]  at
> |> |org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
> |> |
> |> |
> |> |-Dave
> |> |
> |> |
> |> |
> |> |--
> |> |--------------------------------------------------------------
> |> |To subscribe:        [EMAIL PROTECTED]
> |> |To unsubscribe:      [EMAIL PROTECTED]
> |> |Problems?:           [EMAIL PROTECTED]
> |> |
> |> |
> |>
> |>
> |>
> |> --
> |> --------------------------------------------------------------
> |> To subscribe:        [EMAIL PROTECTED]
> |> To unsubscribe:      [EMAIL PROTECTED]
> |> Problems?:           [EMAIL PROTECTED]
> |>
> |>
> |
> |
> |
> |--
> |--------------------------------------------------------------
> |To subscribe:        [EMAIL PROTECTED]
> |To unsubscribe:      [EMAIL PROTECTED]
> |Problems?:           [EMAIL PROTECTED]
> |
> |
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]


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

Reply via email to