[jbossts-issues] [JBoss JIRA] (JBTM-1747) CNFE when invoking a plain Web service with standalone-xts.xml config

Paul Robinson (JIRA) jira-events at lists.jboss.org
Thu Jul 4 09:14:20 EDT 2013

     [ https://issues.jboss.org/browse/JBTM-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Robinson updated JBTM-1747:

    Comment: was deleted

(was: Conversation with Gytis on a potential solution:

pfrobinson: whilst you are at it, can you have a quick check to see if you can add modules to the classloader in that phase too?
[12:06pm] gytist: you mean dependencies like org.jboss.xts?
[12:10pm] pfrobinson: yeah
[12:10pm] pfrobinson: I want to scan for the use of @Transactional and then add the org.jboss.jts depenedency to the deployment
[12:10pm] gytist: I think it is, some of the subsystems automatically add dependencies
[12:11pm] pfrobinson: yeah, that was my thoughts too
[12:11pm] pfrobinson: for example, if persistence.xml is present, you add the jpa deps
[12:11pm] gytist: I saw it when I was researching my issue on Monday
[12:11pm] gytist: need to find it again
[12:12pm] gytist: grep for this class WSDependenciesProcessor
[12:12pm] gytist: that's what you need
[12:12pm] pfrobinson: great, thanks)

> CNFE when invoking a plain Web service with standalone-xts.xml config
> ---------------------------------------------------------------------
>                 Key: JBTM-1747
>                 URL: https://issues.jboss.org/browse/JBTM-1747
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: XTS
>            Reporter: Paul Robinson
>            Assignee: Gytis Trikleris
>             Fix For: 5.0.0.M4
>   Original Estimate: 2 days
>          Time Spent: 5 hours
>  Remaining Estimate: 1 day, 3 hours
> I've not had chance to reproduce this, but this is what I think I did:
> 1. Start Wildfly with the standalone-xts.xml configuration
> 2. Deploy a plain (non-XTS) web service to the server
> 3. Invoke the web service from inside this server, ensuring that org.jboss.xts is not in the dependencies. Which it shouldn't be if you are just invoking a plain WS.
> 4. Observe the CNFE on one of the TXBridge interceptors (I don't remember which).
> I think the problem is that XTS is adding the handler chain for doing default context propagation to all web services, rather than just those that have the XTS dependency.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the jbossts-issues mailing list