FAQ - as it says there you're using a private/unsupported api so expect to have to change it
with every release.
At least until JBoss5 when we will have proper metadata classes so you can
deploy datasources and connection factories programmatically without using a -ds.xml.
I'm having a similar issue converting from JBoss 3 to JBoss 4. My server log using JBoss 4.0.5 shows the following:
org.jboss.deployment.DeploymentException: No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager; - nested throwable:(java.lang.ClassNotFoundException:
No ClassLoaders found for: org.jboss.resource.connectionmanager.LocalTxConnectionManager
I see it is missing from jboss-jca.jar. I don't see anything yet reading through the JBoss documentation on an alternative method. Should I look into TxConnectionManager or BaseConnectionManager2?