Yes, the only items that will be copied to the other nodes in the cluster are the items found in the farm folder. It is assumed that all of the other required items will have been installed on all nodes.
I did try putting my JDBC driver in lib on all nodes and the *-service.xml file in the farm dir as well as my application but I had problems with the deployment order on the different nodes.
I have never tried putting other items in the farm folder so I do not know if you could deploy your JDBC driver in that way.
The solution that I found was to deploy absolutely everything in a single ear (Including my JDBC driver) and put the ear into farm, everything deploys fine across the cluster.
I do however have some problems with redeployments (I can not get them to work) but that looks more like a classloader issue.
you are right, only what is in /farm is... farmed! :)
For the deployment issues, can you try a recent Branch_3_2? with these, the content of farm is deployed AFTER anything in deploy.
Sorry, I wrote all my forum posts before we finally got things working. Now that we have it working, the two issues we have are why farming doesn't redeploy on the farmed machines, and why our client app is not using round robin when connecting to the servers. It uses one and then sticks to that server, unless it goes down, then it seems to find the other server after some time.
Sorry Sacha, regarding other posts. I did read the doco, we bought it. I understood what it meant but I suppose as I was digging deeper, finding the ha-client jar got me a little confused. Why is that there if it is not needed? Or, what is it for? Does it provide something I could use on the client?
I got the 3.2.2 branch from sourceforge CVS, the RC1 build. Is that the latest. I saw your post a while back regarding grabbing the latest branch becuase you fixed something. At that time there was only 3.2.1 available, so when I saw 3.2.2RC1, I assumed you had it fixed in that branch? If not, where in the CVS repository do I get the latest build? I run Eclipse and have the CVS repository view opened and can't seem to figure out what of the many folders there I should be grabbing. Do I need to build it?
I will test the farming stuff. As for ha-client.jar it is needed for fat java clients that want to use clustering. That is a requirements.
I figured that. But how? Do I just put it in my apps classpath, and suddenly it works? Or do I have to make specific use of it in some proprietary fashion to use jboss clustering? If so, I need to know how so that I can abstract that just in case we decide to deploy on another server. Is there any information regarding the client HA library that instructs on how to use it?
I also need help in setting upt cluster. Appreciate if you can help me with those docs that you have and some additional know-how.
You will need to pay for the clustering documentation, there should be a link to the right of the page saying 'BUY Jboss DOCO'
for the original farming issue, I just tried with 3.2.x (last 3.2.x) and it works, try again. If it doesn't work for you with such release:
- put jboss logging in debug mode on both nodes
- try again
- zip BOTH log files and either attach them here or send them to email@example.com
Took you a while to respond. ;) I figured out the problem, wasn't nothing to do with farming. However, in a later post I noticed that while hot-deploy works fine, hot-redeploy does not, although I did see that hot-undeploy works.