[JBoss JIRA] Updated: (JBAS-1820) JCA 1.5 compliance bug
by Jesper Pedersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1820?page=all ]
Jesper Pedersen updated JBAS-1820:
----------------------------------
Assignee: Jesper Pedersen (was: Weston Price)
> JCA 1.5 compliance bug
> ----------------------
>
> Key: JBAS-1820
> URL: http://jira.jboss.com/jira/browse/JBAS-1820
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Affects Versions: JBossAS-4.0.2 Final
> Environment: Windows 2000
> Reporter: guillaume holler
> Assigned To: Jesper Pedersen
> Priority: Minor
> Attachments: jcasample.zip
>
>
> This is a deployment bug that affects inflow messages.
> JCA 1.5 specification states states that "Before a rsource adapter is undeployed, the application server must deactivate all active enpoints consuming messages from that specific resource adapter". This doesn't seem to be the case:
> 1 - start the server with a RAR and an MDB endpoint setup (the test connector accept messages from network and the mdb merely print them on the console after wainting 10s to easealy test enpoint concurrency issues).
> OK: I see the start() and endpointActivation(...) callback called
> 2 - run the client test several times (in a way that enables concurrent message consumption): OK (client OK, console prints all messages)
> 3 - undeploy RAR: I can see the stop callback, but no MDB undeploy or endpointDeactivation(...) callback on resource adapter.
> 4 - deploy RAR again: deployment OK, I can see the start() callback but no endpointActivation(...) callback called
> 5 - run the client test again: client OK, demonstrating the network endpoint is working, but no message printed on the console (no endpoint consumption).
> 6 - undeploy/deploy MDB: everything works again as in 2 (plus, messages pending from step 5 are obviously consumed)
> I think we should have, according to spec, an undeployment of MDBs that depend on the RAR service when the service is undeployed, and a furter restart should trigger a new endpointActivation callback.
--
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
17 years, 8 months
[JBoss JIRA] Updated: (JBAS-1437) RAR MetaData Repository
by Jesper Pedersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-1437?page=all ]
Jesper Pedersen updated JBAS-1437:
----------------------------------
Assignee: Jesper Pedersen (was: Weston Price)
> RAR MetaData Repository
> -----------------------
>
> Key: JBAS-1437
> URL: http://jira.jboss.com/jira/browse/JBAS-1437
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Adrian Brock
> Assigned To: Jesper Pedersen
> Priority: Minor
>
> Forums Discussion Thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=48681
> Implement a RAR MetaData repository.
> There are two use cases of this object:
> * A tool wants to retrieve information about how to configure a RAR deployment
> either inbound/outbound or admin object
> * Avoiding the need to specify the rar-name in jboss.xml, -ds.xml or admin object deployments when
> only one rar implements the connection definition or message listener.
> Design:
> 1) When a RAR is deployed/undeployed update the repository with information about the RAR including
> cross references by
> * ConnectionDefinition
> * MessageListener
> * AdminObject
> 2) When an MDB is deployed without identifying the rar, use the repository to try to guess the RAR
> 3) When a ConnectionFactory is deployed without identifying the rar, use the repository to try to guess the RAR
> 4) When an AdminObject is deployed without identifying the rar, use the repository to try to guess the RAR
> The algorithm to guess the RAR is
> a) Is there only one RAR implementing the object
> b) If there is more than one RAR, is there a specific RAR in the same top level deployment (EAR)
> as the referencing deployment
--
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
17 years, 8 months
[JBoss JIRA] Updated: (JBAS-2923) Making JCA security more pluggable
by Jesper Pedersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-2923?page=all ]
Jesper Pedersen updated JBAS-2923:
----------------------------------
Assignee: Jesper Pedersen (was: Weston Price)
> Making JCA security more pluggable
> ----------------------------------
>
> Key: JBAS-2923
> URL: http://jira.jboss.com/jira/browse/JBAS-2923
> Project: JBoss Application Server
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: JCA service
> Reporter: Adrian Brock
> Assigned To: Jesper Pedersen
>
> We need a mechanism to make JCA security more pluggable.
> This is to cater for use cases where some extra context needs to be used.
> The connection manager only understands a subject.
> The connection factory (e.g. DataSource) only understands the CRI (method parameters).
> The pooling uses both without needing to understand what they are in detail.
> This change would provide a "wrapper" connection manager that can do things
> more associated to context, e.g. it could be connection factory specific,
> i.e. it understands the CRI and can do things that the connection factory doesn't do
> or it can do things based on information.
> An example of other information would allowing a per deployment
> security domain such that you have different pre-configured user/password per ejb.
> With something like the following in META-INF/jboss-[web].xml
> <jboss>
> <enterprise-beans>
> <session>
> <ejb-name>Whatever</ejb-name>
> ...
> <resource-ref>
> <res-ref-name>jdbc/DataSource</res-ref-name>
> <jndi-name>java:/MySQLDS</jndi-name>
> <security-domain>FooBar</security-domain>
> </resource-ref>
> </session>
> </enterprise-beans>
> </jboss>
--
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
17 years, 8 months