Folks!
I finally made it to get the WebDAV JCA connector and the example running.
I have to admit that the code is of pretty poor quality, but I had only little time and wanted to finish this before feature freeze for 2.1.
I am sincerely sorry for this and I will take care of it ASAP.
Anyway, what can you do to try the connector
(1) 'cvs update' to get latest version of the client from CVS
(2) Assure you have JBoss intalled
(3) Modify build.xml in the webdavclient dir to let property jboss.deploy.dir point to the deployment dir of JBoss. E.g. mine is set to "E:/Programme/jboss-3.2.3/server/default/deploy".
(4) Type 'ant clean deploy-jca-exmaple-jboss' to let the rar file for the descriptor and the war for the example be deployed in JBoss
(5) Start the Slide server
(6) Now invoke the example servlet: http://localhost:8080/connector-example (replace host and port with the server Slide is running on)
(7) If everything works ok you will see an output like this:
> Tx: [EMAIL PROTECTED]
> Factory: [EMAIL PROTECTED]
> Connection1: [EMAIL PROTECTED]
> WR1: http://localhost:8888/slide/files
> WR2: http://localhost:8888/slide/files
> WR1 sees Content
> WR2 sees this before commit
> HTTP Status 404 - Not Found: No object found at /files/file1
>
> type Status report
>
> message Not Found: No object found at /files/file1
>
> description The requested resource (Not Found: No object found at /files/file1) is not available.
> Apache Tomcat/5.0.16
>
> WR2 sees this after commit Content
otherwise you will get nasty exceptions that you might want to post to this list.
(8) Have a look at the TestServlet in webdavclient\connector\example\src\java\connector. There you can see that JNDI lookups for a user transaction and for the webdav connection factory are done. Now a transaction is started and a webdav connection is created from the factory. Upon creation it will be enlistet in the transaction already started. The rest should be pretty obvious.
Have fun trying and report back any issues / comments / whatever.
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
