Hi,
I am testing my first and simple adapter for our EIS and getting error on deploy:
[RARDeployer] org.jboss.deployment.DeploymentException: Invalid transaction support 'NoTransaction', it must be one of 'no_transaction', 'local_transaction' or 'xa_transaction'
I checked the source in CVS. This was fixed in earlier version of org.jboss.resource.RARMetaData.java (v. 1.5, current version is 1.9) to conform to the new connector dtd.
When I change to old syntax <transaction-support>no_transaction</transaction-support> in my ra.xml file I am getting another error:
[RARDeployer] Element '<authentication-mechanism>
<authentication-mechanism-type>BasicPassword</authentication-mechanism-type>
<credential-interface>javax.resource.spi.security.PasswordCredential</credential-interface>
</authentication-mechanism>' not recognised.
[AxsCciAdapterNoTx] Bound connection factory for resource adapter 'AxsCciAdapterNoTx' to JNDI name 'java:/AxsCciAdapterNoTx'
So my questions are:
1. Why JBoss is bundled with old code? I checked current download bundles, they all have
jbosscx.jar with old classes as of 6/21/01
2. Why source is not always available?
JBoss-2_4_1a_Tomcat-3_2_3.zip has only source for tomcat,
JBoss-2_4_1.zip has source, but not for resource adapters (org.jboss.resource package and its subpackages). Actually the src\org\jboss\resource directory exists with two subdirectories: pool and security, but all empty.
Earlier version JBoss-2.2.1 also did not include source for adapters.
3. Where can I get jbosscx.jar file compatible with my current version 2.4.0 or how I can
build jbooscx.jar file out of CVS?
4. If connection factory for my adapter is succesfully bound, what is security context for this if authentication mechanism was not recognised? What does this mean and could this adapter be used?
5. What I did wrong?
Any help appreciated.
Thanks,
msapozhn
