hmmmmm the tx is O for a long time... are you sure?

send me the classes if need be

marc


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Ingo Bruell
> Sent: Friday, August 25, 2000 4:02 AM
> To: jboss-dev; jboss-jaws
> Subject: [jBoss-Dev] transaction problems
>
>
> Hi,
>
> After following steps I have a lock on an EntityBean:
>
> findByPrimaryKey()
> getValue()
> setValue()   // Another Property
> findByPrimaryKey() // The same EntityBean as before
> getValue() // After or in this method the client hangs and the server too.
>
> If I to start the client again, without canceling the first
> client, it hangs
> on the first setValue(). For all methods I have set transaction
> to required.
>
> ---- snip ----
> [Default] JRMPCI:invokeHome create
> [Default] Tx is null
> [wb/Workbench] TX_REQUIRED for create
> [wb/Workbench] Begin tx
> [wb/Workbench] SSC:invokeHome:mi is create map is createHome
> [wb/Workbench] JRMPCI:invokeHome create
> [wb/Workbench] Tx is tx:Xid:0
> [wb/UserManager] TX_REQUIRED for create
> [wb/UserManager] TX_REQUIRED for login
> [wb/UserManager] JRMPCI:invokeHome findByPrimaryKey
> [wb/UserManager] Tx is tx:Xid:0
> [wb/UserManager] invokeHome
> [wb/User] TX_REQUIRED for findByPrimaryKey
> [JAWS] Exists command executing: SELECT COUNT(*) AS Total FROM
> wbuser WHERE
> id=?
>
> [JAWS] Set parameter: idx=1, jdbcType=CHAR, value=ADMIN
> [wb/User] TX_REQUIRED for setLoginDate
> [JAWS] Load command executing: SELECT
> loginDate,name,role,id,userShort FROM
> wbus
> er WHERE id=?
> [JAWS] Set parameter: idx=1, jdbcType=CHAR, value=ADMIN
> [JAWS] Got result: idx=1, value=null, class=null, JDBCtype=DATE
> [JAWS] Got result: idx=2, value=Administrator                           ,
> class=
> java.lang.String, JDBCtype=CHAR
> [JAWS] Got result: idx=3, value=1, class=java.lang.Integer,
> JDBCtype=INTEGER
> [JAWS] Got result: idx=4, value=ADMIN     , class=java.lang.String,
> JDBCtype=CHA
> R
> [JAWS] Got result: idx=5, value=ADM, class=java.lang.String, JDBCtype=CHAR
> [wb/User] Tx is tx:Xid:0
> [wb/User] TX_REQUIRED for getRole
> [wb/User] Tx is tx:Xid:0
> [wb/Workbench] commiting
> [wb/Workbench] beforeCompletion called
> [JAWS] Store command executing: UPDATE wbuser SET loginDate=? WHERE id=?
> [JAWS] Set parameter: idx=1, jdbcType=DATE, value=Fri Aug 25 12:50:13
> GMT+02:00
> 2000
> [wb/Workbench] afterCompletion called
> [Default] JRMPCI:invokeHome findByPrimaryKey
> [Default] Tx is null
> [Default] invokeHome
> [wb/User] TX_REQUIRED for findByPrimaryKey
> [wb/User] Begin tx
> [JAWS] Exists command executing: SELECT COUNT(*) AS Total FROM
> wbuser WHERE
> id=?
>
> [JAWS] Set parameter: idx=1, jdbcType=CHAR, value=ADMIN
> [wb/User] commiting
> [wb/User] TX_REQUIRED for getRole
> [wb/User] Begin tx
> ---- snap ----
>
>
> CU
>
> ---
> Ingo Bruell
> OBL GmbH ([EMAIL PROTECTED])
> Hude (Oldenburg)
> Germany
>
>
>


Reply via email to