Hi I'd hate to ask a FAQ but here you go...
Please bear with me for the details: Environment: ------------- Using JBoss 2.4.4. (or 2.4.6.), we have problems using client transaction on Session beans from an EJB client swing application. The stateless Session beans are facade to some BMP entity beans using local interface, sometimes the Session beans access the database directly. We are using JAAS for security and each Session bean requires authentication on all their methods. All EJB are declared with a "Required" transaction. The database is Sybase 11.9.2.3 on Linux. The Problem: ------------- If the client creates a client transaction, the "commit" call fails on a Security Exception as the Principal is deemed "null" by JBoss and hence the call gets rejected. If the client does not use a transaction, it works fine and update the entity bean ok. Has anyone faced similar issues with client transactions and BMP Entity beans? Did you patch JBoss to avoid checking security credentials when called through local interfaces? For the BMP, how should you get a DB connection that will be attached to the given transaction? Any pointer most welcome, Many thanks Benoit Xhenseval. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
