[jboss-jira] [JBoss JIRA] Reopened: (JBAS-1820) JCA 1.5 compliance bug
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Feb 16 08:07:37 EST 2007
[ http://jira.jboss.com/jira/browse/JBAS-1820?page=all ]
Adrian Brock reopened JBAS-1820:
--------------------------------
Re-opened since this is still unresolved.
Specifying the <resource-adapter-name/> should be enough.
The <depends> should be automatically added from that.
> 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