You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2007/12/15 18:36:45 UTC

[jira] Commented: (GERONIMO-3448) New threads launched from an EJB do not run as the same Subject as the launching thread

    [ https://issues.apache.org/jira/browse/GERONIMO-3448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552109 ] 

David Jencks commented on GERONIMO-3448:
----------------------------------------

EJB's are supposed to be prohibited from starting new threads.  The work manager spec proposed for javaee 6 apparently does specify the behavior you want for use of the executor.

> New threads launched from an EJB do not run as the same Subject as the launching thread
> ---------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3448
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3448
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.0.x, 2.1
>            Reporter: Vamsavardhana Reddy
>             Fix For: 2.0.x, 2.1
>
>
> New threads launched from an EJB context do not run as the same Subject as the thread that launched it.  This causes a failure when this new thread calls an EJB with restricted method permissions.  Looks like JBoss and BEA Weblogic carry over Subjects to new threads that are launched from within an EJB. 
> See http://marc.info/?l=geronimo-dev&m=118819475331338&w=2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.