[jboss-jira] [JBoss JIRA] Closed: (JBAS-1820) JCA 1.5 compliance bug
Weston Price (JIRA)
jira-events at jboss.com
Wed Dec 6 13:17:55 EST 2006
[ http://jira.jboss.com/jira/browse/JBAS-1820?page=all ]
Weston Price closed JBAS-1820.
------------------------------
Resolution: Out of Date
The current JCA implementation covers what is required by the spec. Being that this is the case and this issue has been sitting for awhile, I am closing it for now. Note, the JCA (1.6/2.0) specification should address this type of requirement in more detail.
> 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: Weston Price
> 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
More information about the jboss-jira
mailing list