Hello, adventurous types.

Because I'm still unsure of how to handle the issues with depending on 
Sun's connector.jar in CVS, I've made a zip available at 
http://mi6.myip.org/users/toby/jca20010114.zip of the current state of 
the implementation. My web server screws up MIME types so be careful.

The zip file can be unzipped when sitting in the jboss directory (it 
contains src/main/...). It also contains a diff that should be applied 
(very small).

Also, you'll need to obtain the JCA classes from Sun and put 
connector.jar in src/lib.

It should then build. If you want it to do anything you then need a 
resource adapter. I've made Sun's reference adapter (I believe there are 
no license problems with this) available at 
http://mi6.myip.org/users/toby/blackbox-xa.rar.

So, once you have that somewhere you can deploy it. Currently you have 
to do this using JMX, e.g. with the web interface (8082) - find 
J2ee:service=RARDeployer and invoke "deploy" with the URL to where you 
saved the rar (you could even point it at my web site for a laugh).

If the deployment goes okay you should then have a connection factory in 
JNDI at java:/BlackBoxDS which should behave very similarly to 
java:/DefaultDS (it's just a fancy XADataSourceLoader at this point).

Then you can run all the normal JDBC tests against java:/BlackBoxDS and 
they should all work fine :-)

Documentation is only what's here and in the source at the moment. I'll 
write some actual docs in the coming week.

Toby.


Reply via email to