[JBoss JIRA] Closed: (JBAS-51) bug in cascade-delete with relationships in Jboss CMP
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-51?page=all ]
Dimitris Andreadis closed JBAS-51.
----------------------------------
> bug in cascade-delete with relationships in Jboss CMP
> -----------------------------------------------------
>
> Key: JBAS-51
> URL: http://jira.jboss.com/jira/browse/JBAS-51
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: CMP service
> Affects Versions: JBossAS-3.2.6 Final
> Environment: windows 2000 professinal, java 1.4.2, pentium 4
> Reporter: raj kumar
> Assigned To: Alexey Loubyansky
> Fix For: JBossAS-5.0.0.Beta1, JBossAS-3.2.8RC1, JBossAS-4.0.3RC2
>
> Original Estimate: 4 days
> Remaining Estimate: 4 days
>
> After posting in forum and after discussing with Mr Alexey Loubyansky ...i'm posting bug report...forum's url is :- http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57379
> This bug came to me while mapping CMP..and the situtation like:-
> here are 3 tables which are OperationDetail, Permission and SwitchPermission ... where OperationDetail is parent of Permission which have not-null foreign key in Permission say(OperationDetailID)... and Permission is an Parent of SwitchPermission....There is a cascade-delete set between Permission and SwitchPermission..... and when i tries to delete
> Permission then i got from the trace that it tries put "null" on the OperationDetailID which is a not-null FK in Permission table... and then the
> error occurs .....this is exactly what happens.. even after that i had set a <not-null/> in the jbosscmp-jdbc.xml...then also its not working ....This is basically what happening ......
> here is the whole Trace
> -------------------------------------------------------------------------------
> Start method=remove
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for remove
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=130
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: 130, object: 1cfd020, entry: 6906a1
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=13
> 0
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@1cfd020, tx=TransactionImpl:XidImpl [FormatId=257, Gl
> obalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@1cfd020, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.PermissionEJB]
> Store command NOT executed. Entity is not dirty or scheduled for *batch* cascade delete: pk=130
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.PermissionEJ
> B.UserEJB_permission] Read ahead cahce load: cmrField=UserEJB_permission pk=130
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] load dat
> a: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] No prelo
> ad data found: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=findByPrimaryKey
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for findByPrimary
> Key
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@c5a196#0#class com.le.nms.persistence.security.UserBean
> 2004-12-07 17:42:21,656 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.UserEJB#find
> ByPrimaryKey] Executing SQL: SELECT UserID FROM users WHERE UserID=?
> 2004-12-07 17:42:21,656 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.UserEJB#find
> ByPrimaryKey] Set parameter: index=1, jdbcType=VARCHAR, value=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityInstancePool] 0/100 Free instance:org.jbo
> ss.ejb.plugins.EntityInstancePool@c5a196#null#null#false#class com.le.nms.persistence.security.UserB
> ean
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TxInterceptorCMT: In finally
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=findByPrimaryKey
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=<no method>
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_SUPPORTS for <no method>
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@c5a196#1#class com.le.nms.persistence.security.UserBean
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.AbstractInstanceCache] Activated bean UserEJB w
> ith id = raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: raj, object: 76a247, entry: 980461
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryAdded, en
> try=key: raj, object: 76a247, entry: 980461
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=ra
> j
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityReentranceInterceptor] NON_ENTRANT invoca
> tion
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@76a247, tx=TransactionImpl:XidImpl [FormatId=257, Glo
> balId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.UserEJB] RESET PERSIS
> TENCE CONTEXT: id=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.UserEJB] load data: ent
> ity=UserEJB pk=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.UserEJB] No preload dat
> a found: entity=UserEJB pk=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.UserEJB] Defau
> lt eager-load for entity: readahead=null
> 2004-12-07 17:42:21,687 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.UserEJB] Executi
> ng SQL: SELECT Password, AccountExpiry, PasswordExpiry, GroupID, FirstName, LastName, Address1, Addr
> ess2, City, State, Country, PIN, EmailID, ContactNo, Mobile, Remarks, LoginStatus FROM users WHERE (
> UserID=?)
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.UserEJB#us
> erID] Set parameter: index=1, jdbcType=VARCHAR, value=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@76a247, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=le
> 52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.UserEJB] Remov
> e relation: field=permission id=raj relatedId=130
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@76a247, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=le
> 52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] End invoke, key=raj,
> ctx=org.jboss.ejb.EntityEnterpriseContext@76a247
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] End invoke, key=raj
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=<no method>
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.PermissionEJ
> B.operationDetail] Read ahead cahce load: cmrField=operationDetail pk=130
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] load dat
> a: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] No prelo
> ad data found: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=findByPrimaryKey
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for findByPrimary
> Key
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@a6a4b6#0#class com.le.nms.persistence.security.OperationDetailBean
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.UserEJB] Store
> command NOT executed. Entity is not dirty or scheduled for *batch* cascade delete: pk=raj
> 2004-12-07 17:42:21,687 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.OperationDet
> ailEJB#findByPrimaryKey] Executing SQL: SELECT OperationDetailID FROM operationdetail WHERE Operatio
> nDetailID=?
> 2004-12-07 17:42:21,687 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.OperationDet
> ailEJB#findByPrimaryKey] Set parameter: index=1, jdbcType=INTEGER, value=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityInstancePool] 0/100 Free instance:org.jbo
> ss.ejb.plugins.EntityInstancePool@a6a4b6#null#null#false#class com.le.nms.persistence.security.Opera
> tionDetailBean
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TxInterceptorCMT: In finally
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=findByPrimaryKey
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=<no method>
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_SUPPORTS for <no method>
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@a6a4b6#1#class com.le.nms.persistence.security.OperationDetailBean
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.AbstractInstanceCache] Activated bean Operation
> DetailEJB with id = 1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: 1001, object: af8fc0, entry: 6afa2
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryAdded, en
> try=key: 1001, object: af8fc0, entry: 6afa2
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=10
> 01
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityReentranceInterceptor] NON_ENTRANT invoca
> tion
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@af8fc0, tx=TransactionImpl:XidImpl [FormatId=257, Glo
> balId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.OperationDetailEJB] R
> ESET PERSISTENCE CONTEXT: id=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.OperationDetailEJB] loa
> d data: entity=OperationDetailEJB pk=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.OperationDetailEJB] No
> preload data found: entity=OperationDetailEJB pk=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.OperationDetai
> lEJB] Default eager-load for entity: readahead=null
> 2004-12-07 17:42:21,703 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.OperationDetailE
> JB] Executing SQL: SELECT OperationName FROM operationdetail WHERE (OperationDetailID=?)
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.OperationD
> etailEJB#operationDetailID] Set parameter: index=1, jdbcType=INTEGER, value=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@af8fc0, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=le
> 52//117, BranchQual=]
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.OperationDetai
> lEJB] Remove relation: field=PermissionEJB_operationDetail id=1001 relatedId=130
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@af8fc0, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=le
> 52//117, BranchQual=]
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] End invoke, key=1001
> , ctx=org.jboss.ejb.EntityEnterpriseContext@af8fc0
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] End invoke, key=1001
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=<no method>
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.PermissionEJ
> B.switchPermission] Read ahead cahce load: cmrField=switchPermission pk=130
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] load dat
> a: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] No prelo
> ad data found: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,703 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.PermissionEJB]
> Executing SQL: SELECT PermissionID, PermissionID, SwitchName FROM switchpermission WHERE (Permissio
> nID=?) OR (PermissionID=?)
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.SwitchPerm
> issionEJB#permissionID] Set parameter: index=1, jdbcType=INTEGER, value=130
> 2004-12-07 17:42:21,703 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.SwitchPerm
> issionEJB#permissionID] Set parameter: index=2, jdbcType=INTEGER, value=131
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.SwitchPermissionEJB] Ad
> d preload data: entity=SwitchPermissionEJB pk=Lecsar130 field=permission
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.SwitchPermissionEJB] Ad
> d preload data: entity=SwitchPermissionEJB pk=Lecsar131 field=permission
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] Add prel
> oad data: entity=PermissionEJB pk=131 field=switchPermission
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=<no method>
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_SUPPORTS for <no method>
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=Lecsar
> 130
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@177d80b#0#class com.le.nms.persistence.security.SwitchPermissionBean
> 2004-12-07 17:42:21,718 TRACE [org.jboss.ejb.plugins.AbstractInstanceCache] Activated bean SwitchPer
> missionEJB with id = Lecsar130
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: Lecsar130, object: 108cd64, entry: e490fa
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryAdded, en
> try=key: Lecsar130, object: 108cd64, entry: e490fa
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=Le
> csar130
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.EntityReentranceInterceptor] NON_ENTRANT invoca
> tion
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@108cd64, tx=TransactionImpl:XidImpl [FormatId=257, Gl
> obalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.SwitchPermissionEJB]
> RESET PERSISTENCE CONTEXT: id=Lecsar130
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.SwitchPermissionEJB] lo
> ad data: entity=SwitchPermissionEJB pk=Lecsar130
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.SwitchPermissionEJB] Pr
> eloading data: entity=SwitchPermissionEJB pk=Lecsar130 cmrField=permission
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.SwitchPermissi
> onEJB] Default eager-load for entity: readahead=null
> 2004-12-07 17:42:21,734 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.SwitchPermission
> EJB] Executing SQL: SELECT StopTime, StartTime FROM switchpermission WHERE (PermissionID=? AND Switc
> hName=?)
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.SwitchPerm
> issionEJB#permissionID] Set parameter: index=1, jdbcType=INTEGER, value=130
> 2004-12-07 17:42:21,734 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.SwitchPerm
> issionEJB#switchName] Set parameter: index=2, jdbcType=VARCHAR, value=Lecsar
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@108cd64, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.SwitchPermissi
> onEJB] Scheduled for batch-cascade-delete: Lecsar130
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@108cd64, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] End invoke, key=Lecs
> ar130, ctx=org.jboss.ejb.EntityEnterpriseContext@108cd64
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] End invoke, key=Lecsar13
> 0
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=<no method>
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMRFieldBridge.PermissionEJ
> B.GroupEJB_permission] Read ahead cahce load: cmrField=GroupEJB_permission pk=130
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] load dat
> a: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.ReadAheadCache.PermissionEJB] No prelo
> ad data found: entity=PermissionEJB pk=130
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.OperationDetail
> EJB] Store command NOT executed. Entity is not dirty or scheduled for *batch* cascade delete: pk=10
> 01
> 2004-12-07 17:42:21,750 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.SwitchPermissio
> nEJB] Store command NOT executed. Entity is not dirty or scheduled for *batch* cascade delete: pk=L
> ecsar130
> 2004-12-07 17:42:21,765 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.CascadeDeleteStrategy$BatchCascadeDele
> teStrategy.PermissionEJB] Removing SwitchPermissionEJB:Lecsar130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=remove
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for remove
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=Lecsar
> 130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: Lecsar130, object: 108cd64, entry: e490fa
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=Le
> csar130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@108cd64, tx=TransactionImpl:XidImpl [FormatId=257, Gl
> obalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@108cd64, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.SwitchPermissio
> nEJB] Store command NOT executed. Entity is not dirty or scheduled for *batch* cascade delete: pk=L
> ecsar130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=findByPrimaryKey
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED for findByPrimary
> Key
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get instance org.jboss.ejb.
> plugins.EntityInstancePool@9d7837#0#class com.le.nms.persistence.security.PermissionBean
> 2004-12-07 17:42:21,765 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.PermissionEJ
> B#findByPrimaryKey] Executing SQL: SELECT PermissionID FROM permission WHERE PermissionID=?
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.PermissionEJ
> B#findByPrimaryKey] Set parameter: index=1, jdbcType=INTEGER, value=130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstancePool] 0/100 Free instance:org.jbo
> ss.ejb.plugins.EntityInstancePool@9d7837#null#null#false#class com.le.nms.persistence.security.Permi
> ssionBean
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TxInterceptorCMT: In finally
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=findByPrimaryKey
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor] invokerBInding i
> s null in ProxyFactoryFinder
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start method=<no method>
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current transaction in MI is
> TransactionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_SUPPORTS for <no method>
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came in with tx Transa
> ctionImpl:XidImpl [FormatId=257, GlobalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] Begin invoke, key=130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy] entryPromotion
> , entry=key: 130, object: 1cfd020, entry: 6906a1
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] Begin invoke, key=13
> 0
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityReentranceInterceptor] NON_ENTRANT invoca
> tion
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] invoke called
> for ctx org.jboss.ejb.EntityEnterpriseContext@1cfd020, tx=TransactionImpl:XidImpl [FormatId=257, Gl
> obalId=le52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@1cfd020, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.PermissionEJB]
> Remove relation: field=switchPermission id=130 relatedId=Lecsar130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntitySynchronizationInterceptor] register, ctx
> =org.jboss.ejb.EntityEnterpriseContext@1cfd020, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=l
> e52//117, BranchQual=]
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] End invoke, key=130,
> ctx=org.jboss.ejb.EntityEnterpriseContext@1cfd020
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] End invoke, key=130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.LogInterceptor] End method=<no method>
> 2004-12-07 17:42:21,765 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.PermissionEJB]
> Executing SQL: UPDATE permission SET UserID=?, OperationDetailID=? WHERE PermissionID=?
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.Permission
> EJB#userID] Set parameter: index=1, jdbcType=VARCHAR, value=NULL
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.Permission
> EJB#operationDetailID] Set parameter: index=2, jdbcType=INTEGER, value=NULL
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.Permission
> EJB#permissionID] Set parameter: index=3, jdbcType=INTEGER, value=130
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityInstanceInterceptor] End invoke, key=Lecs
> ar130, ctx=org.jboss.ejb.EntityEnterpriseContext@108cd64
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.EntityLockInterceptor] End invoke, key=Lecsar13
> 0
> 2004-12-07 17:42:21,765 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TxInterceptorCMT: In finally
> 2004-12-07 17:42:21,765 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalExcep
> tion in method: public abstract void javax.ejb.EJBLocalObject.remove() throws javax.ejb.RemoveExcept
> ion,javax.ejb.EJBException, causedBy:
> java.sql.SQLException: General error, message from server: "Cannot add or update a child row: a foreign key constraint fails"
> at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1651
> ------------------------------------------------------------------------------
> i had tried this on jboss3.2.3.
> Thanks
> Raj
> Logic Eastern
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-43) security.test.SecurityProxyUnitTestCase failure
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-43?page=all ]
Dimitris Andreadis closed JBAS-43.
----------------------------------
> security.test.SecurityProxyUnitTestCase failure
> -----------------------------------------------
>
> Key: JBAS-43
> URL: http://jira.jboss.com/jira/browse/JBAS-43
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Priority: Minor
> Fix For: JBossAS-3.2.7 Final
>
>
> The org.jboss.test.security.test.SecurityProxyUnitTestCase fails due to the unsupported Subject.doAsPrivileged call. The jboss-jaas.jar implementation only addresses the jaas 1.0 extension problems with class loading of login modules. It does not provide a full Subject implementation and this will not be fixed for 3.2.7. This test would have to run with the server configured to use the 1.0 jaas.jar extension release, and either the jboss LoginContext related classes in the extension classpath, or the login modules in the extension classpath.
> <testcase classname="org.jboss.test.security.test.SecurityProxyUnitTestCase" name="testMethodAccess" time="0.296">
> <error message="RemoteException occurred in server thread; nested exception is:
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version of JAAS 1.0, use the JDK 1.4 version" type="java.rmi.ServerException">java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version of JAAS 1.0, use the JDK 1.4 version
> java.rmi.ServerException: RuntimeException; nested exception is:
> java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version of JAAS 1.0, use the JDK 1.4 version
> java.lang.UnsupportedOperationException: doAsPrivileged is not supported by this version of JAAS 1.0, use the JDK 1.4 version
> at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240)
> at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:215)
> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:117)
> at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
> at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:135)
> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
> at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
> at $Proxy2.read(Unknown Source)
> at org.jboss.test.security.test.SecurityProxyUnitTestCase.testMethodAccess(SecurityProxyUnitTestCase.java:71)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </error>
> </testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-45) jbossmx.compliance.monitor.BasicTestCase timeout
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-45?page=all ]
Dimitris Andreadis closed JBAS-45.
----------------------------------
> jbossmx.compliance.monitor.BasicTestCase timeout
> ------------------------------------------------
>
> Key: JBAS-45
> URL: http://jira.jboss.com/jira/browse/JBAS-45
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> The org.jboss.test.jbossmx.compliance.monitor.BasicTestCase is simply failing to see any monitor events and timing out when running under jdk1.3.1.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-47) Support for jaas CredentialExpiredException and AccountExpiredException
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-47?page=all ]
Dimitris Andreadis closed JBAS-47.
----------------------------------
> Support for jaas CredentialExpiredException and AccountExpiredException
> -----------------------------------------------------------------------
>
> Key: JBAS-47
> URL: http://jira.jboss.com/jira/browse/JBAS-47
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Security, EJB2
> Affects Versions: JBossAS-4.0.0 Final, JBossAS-3.2.6 Final, JBossAS-3.2.5 Final
> Environment: All
> Reporter: Sergio Berna
> Assigned To: Scott M Stark
> Fix For: JBossAS-4.0.1 Final, JBossAS-3.2.7 Final
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> When using a standalone EJB client and JAAS ClientLoginModule correctly authenticates user. But in case a CredentialsExpiredException or AccountExpiredException happens the exception that the standalone client receives is just SecurityException with no other information provided and no way to retrieve the exact cause from the client side.
> Inside the server it is possible to use
> org.jboss.security.SecurityAssociation and its corresponding key org.jboss.security.exception but this is not propagated to the client through the ClientLoginModule making it absolutely impossible for the client application, for example, to start a Credential change.
> I need a way to notify a standalone client of the corresponding javax.security.auth.login.LoginException
> that happens inside the JAAS LoginModule.
> In JDK 1.4 it would be possible to use the public Throwable initCause(Throwable cause) from SecurityException, but not in 1.3 or 1.2.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-44) pooled.test.BeanStressTestCase failure
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-44?page=all ]
Dimitris Andreadis closed JBAS-44.
----------------------------------
> pooled.test.BeanStressTestCase failure
> --------------------------------------
>
> Key: JBAS-44
> URL: http://jira.jboss.com/jira/browse/JBAS-44
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: EJB2
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> The org.jboss.test.pooled.test.BeanStressTestCase fails under jdk 1.3.1 due to a connect problem.
> <testcase classname="org.jboss.test.pooled.test.BeanStressTestCase" name="testOldProxy" time="0.032">
> <error type="java.lang.reflect.UndeclaredThrowableException">java.lang.reflect.UndeclaredThrowableException: java.net.BindException: Cannot assign requested address: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
> at java.net.Socket.<init>(Socket.java:268)
> at java.net.Socket.<init>(Socket.java:95)
> at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.getConnection(PooledInvokerProxy.java:236)
> at org.jboss.invocation.pooled.interfaces.PooledInvokerProxy.invoke(PooledInvokerProxy.java:322)
> at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:96)
> at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
> at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
> at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:173)
> at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:91)
> at $Proxy1.create(Unknown Source)
> at org.jboss.test.pooled.test.BeanStressTestCase.runOldProxy(BeanStressTestCase.java:192)
> at org.jboss.test.pooled.test.BeanStressTestCase.testOldProxy(BeanStressTestCase.java:176)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </error>
> </testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-41) jmx.test.SecureJMXInvokerUnitTestCase failure
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-41?page=all ]
Dimitris Andreadis closed JBAS-41.
----------------------------------
> jmx.test.SecureJMXInvokerUnitTestCase failure
> ---------------------------------------------
>
> Key: JBAS-41
> URL: http://jira.jboss.com/jira/browse/JBAS-41
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> There is a failure to receive remote notifications in the org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase when running under jdk 1.3.1_14.
> <testcase classname="org.jboss.test.jmx.test.SecureJMXInvokerUnitTestCase" name="testNotification" time="15.062">
> <failure message="Received 10 notifications, count=0" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: Received 10 notifications, count=0
> at org.jboss.test.jmx.test.JMXInvokerUnitTestCase.testNotification(JMXInvokerUnitTestCase.java:123)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </failure>
> </testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-42) security.test.SRPLoginModuleUnitTestCase failures
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-42?page=all ]
Dimitris Andreadis closed JBAS-42.
----------------------------------
> security.test.SRPLoginModuleUnitTestCase failures
> -------------------------------------------------
>
> Key: JBAS-42
> URL: http://jira.jboss.com/jira/browse/JBAS-42
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Security
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
> Original Estimate: 2 hours
> Time Spent: 2 hours
> Remaining Estimate: 2 hours
>
> There are several failures in the org.jboss.test.security.test.SRPLoginModuleUnitTestCase when running under jdk 1.3.1_14 due to unsatisfied JCE class depenendencies.
> <testcase classname="org.jboss.test.security.test.SRPLoginModuleUnitTestCase" name="testSRPLogin" time="0.266">
> <error message="Failed to complete SRP login, msg=RemoteException occurred in server thread; nested exception is:
> java.rmi.RemoteException: Unexpected exception in getSRPParameters; nested exception is:
> java.lang.NoClassDefFoundError: javax/crypto/Cipher" type="javax.security.auth.login.LoginException">javax.security.auth.login.LoginException: Failed to complete SRP login, msg=RemoteException occurred in server thread; nested exception is:
> java.rmi.RemoteException: Unexpected exception in getSRPParameters; nested exception is:
> java.lang.NoClassDefFoundError: javax/crypto/Cipher
> at org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:235)
> at javax.security.auth.login.LoginContext$3.run(LoginContext.java:361)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.login.LoginContext$State.login(LoginContext.java:368)
> at javax.security.auth.login.LoginContext.login(LoginContext.java:161)
> at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:226)
> at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.login(SRPLoginModuleUnitTestCase.java:214)
> at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLogin(SRPLoginModuleUnitTestCase.java:53)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> </error>
> </testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months
[JBoss JIRA] Closed: (JBAS-39) jbossnet.security.SecurityUnitTestCase
by Dimitris Andreadis (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-39?page=all ]
Dimitris Andreadis closed JBAS-39.
----------------------------------
> jbossnet.security.SecurityUnitTestCase
> --------------------------------------
>
> Key: JBAS-39
> URL: http://jira.jboss.com/jira/browse/JBAS-39
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Web Services
> Affects Versions: JBossAS-3.2.7 Final
> Environment: [starksm@banshee9100 case2471]$ $JAVA_HOME/bin/java -version
> java version "1.3.1_14"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_14-b03)
> Java HotSpot(TM) Client VM (build 1.3.1_14-b03, mixed mode)
> Reporter: Scott M Stark
> Assigned To: Scott M Stark
> Fix For: JBossAS-3.2.7 Final
>
>
> The org.jboss.test.jbossnet.security.SecurityUnitTestCase fails all tests with a 500 error when running under jdk 1.3.1_14. The server and testuite was also built with jdk 1.3.1_14.
> <error message="Error processing WSDL document:
> java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/jboss-net/services/Authentication?wsdl" type="javax.xml.rpc.ServiceException">javax.xml.rpc.ServiceException: Error processing WSDL document:
> java.io.IOException: Server returned HTTP response code: 500 for URL: http://loc
> alhost:8080/jboss-net/services/Authentication?wsdl
> at org.apache.axis.client.Service.initService(Service.java:287)
> at org.apache.axis.client.Service.<init>(Service.java:189)
> at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:246)
> at org.jboss.test.jbossnet.JBossNetTestBase.createService(JBossNetTestBase.java:56)
> at org.jboss.test.jbossnet.security.SecurityUnitTestCase.setUp(SecurityUnitTestCase.java:52)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years, 3 months