disable the passivating cache, it seems we have some issues with beans that
are not in a normal state.
We will track this down but for everything including production, setting big
RAM for this kind of situation is ok. FYI we disabled the cache to run the
benchmarks on E4500 with many million calls and everything is fine
so just change your standardjboss.xml to "no passivation"
marc
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Rico Hendriks
|Sent: Monday, November 27, 2000 7:20 AM
|To: jBoss
|Subject: RE: [jBoss-User] TRANSACTION ROLLBACK EXCEPTION after sitting
|idle
|
|
|I have the same problem using either Oracle or Hypersonic. I use the Music
|sample app available on your web site to reproduce the problem with 2.0
|Final.
|
|Do you have any idea when this might be fixed? We are building custom CRMs
|and currently are using Inprise but are evaluating various app servers such
|as WebLogic and WebSphere for future releases. I would like to be able to
|build on jboss and evaluate it as well. But the null problem would prevent
|that.
|
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury
|Sent: Friday, November 17, 2000 5:26 PM
|To: jBoss
|Subject: RE: [jBoss-User] TRANSACTION ROLLBACK EXCEPTION after sitting
|idle
|
|
|... ok maybe it is a real bug then...
|
|a bug we didn't see in testing? it seems pretty obvious though...
|
|will check, can you open a bugzilla for this?
|
|
|marc
|
|
||-----Original Message-----
||From: [EMAIL PROTECTED]
||[mailto:[EMAIL PROTECTED]]On Behalf Of Richard Backhouse
||Sent: Friday, November 17, 2000 2:44 PM
||To: jBoss
||Subject: Re: [jBoss-User] TRANSACTION ROLLBACK EXCEPTION after sitting
||idle
||
||
||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]
||
||
|
|
|
|--
|--------------------------------------------------------------
|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]