문제

I am working in Drools-Guvnor-5.5.0.Final version and have configured repository.xml to save all assets + indexes in oracle db. But its not working like that. I want to deploy guvnor in a resilliancy environment where primary and secondary guvnor nodes are pointing to the same DB instance. I deployed guvnor on primary node with repository.xml pointing to ORACLE11 DB and imported/created some assets. Then deployed secondary guvnor pointing to the same DB. I am not able to see the packages and assets I have in primary Guvnor node. I can see the tables created in DB.

I am attaching the repository.xml configurations. In repository.xml I have configured the persistence manager defined in JackRabbit documentation for persistence of assets in db. While I have also used the auto generated repository file. This I generated from Administration panel in Guvnor.

Guvnor should not be keeping assets in Filesystem. Its required for Failover strategies to be keeping assets in DBs.

Kindly copy config file from the below link, https://community.jboss.org/thread/230419

도움이 되었습니까?

해결책

Thanks Thomas for the guidance. i tried out Clustering of jackrabbit in repository.xml and it worked for me. Now I have two member Guvnors in a clustered environment. Both poiting to same DB for fileSystem, persistentManager and DataStore.

Now What I did for testing is brought one cluster node down and make some changes in the other one. Now brought the second node alive and running and could see my latest assets even the changes made by other node was also available.

So this resolves my issue of keeping assets in DB to avoid backingup repository directory. Now I can depend on Database.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top