-
1. Re: how to share file system folder accoss Jboss Application
chicken Nov 5, 2008 1:46 AM (in response to chicken)are there any suggestions for me, please?
-
2. Re: how to share file system folder accoss Jboss Application
noelo Nov 5, 2008 8:32 PM (in response to chicken)Some suggestions
If its properties that you want to load you could look at the Jboss property-service.
It also might be an idea to bind the data to jndi and look it up in your apps..
Alternatively you could look at look at using jboss cache.
regards
Noel -
3. Re: how to share file system folder accoss Jboss Application
chicken Nov 5, 2008 9:42 PM (in response to chicken)"noelo" wrote:
Some suggestions
If its properties that you want to load you could look at the Jboss property-service.
It also might be an idea to bind the data to jndi and look it up in your apps..
Alternatively you could look at look at using jboss cache.
regards
Noel
Thank for your suggestions but perhaps you misunderstood what i mean.
my problem is
- my application stores and access data in a folder ( for example: I use a folder to store all uploaded data C:\\upload)
- if there are two nodes in my clustering environment, for ex: node A and node B, there will be two upload folder, one in node A and another in node B. So I could not sure that data in node A and node B is the same.
- to solve this problem, I plan to create a share folder in the network and All nodes in the cluster will share the same data folder.
- because, I don't have any experience in this problem so I am not sure that solution is good enough (can all nodes concurrently access for reading and writing data in one share folder?). can I just use a normal share folder as I do in Windows system or I have to use special devices or other softwares?
- any one who have experience in this problem could give me your real-practice solution? -
4. Re: how to share file system folder accoss Jboss Application
frankthetank Nov 13, 2008 2:28 AM (in response to chicken)I have the same issues.
The common guideline here seems to use a TreeCache to replicate the data between the nodes (somehow).
But I am not really happy with this solution.
There already seems to exist all the required elements in how the farming (FarmMemberService, ClusterFileTransfer) does the replication, I (we) would just need to have the distributer send us a notification if something has been modified.
Plus, being able to have folder structures (including exploded archives) would be a really nice fix.
Maybe someone from the team can help us out and if there is no real solution, maybe support us with finding & developing a good solution.