-
1. Re: Guvnor is not keeping assets in Database as said in Documentation. Its keeping in File System
ahmedza Jul 21, 2013 2:25 AM (in response to ahmedza)I have been able to see the packages but without assets in secondary server. While in primary server packages and assets both are visible. This happened when I configured the following,
Configurations
1. Configured DataStore in repository.xml.
<Repository>
<FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="driver" value="oracle.jdbc.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/>
<param name="user" value="wkflw_ownr"/>
<param name="password" value="wkflw_ownr"/>
<param name="schema" value="oracle"/>
<param name="schemaObjectPrefix" value="FS_"/>
</FileSystem>
</Repository>
<Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/>
<Workspace name="${wsp.name}">
<FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="driver" value="oracle.jdbc.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/>
<param name="user" value="wkflw_ownr"/>
<param name="password" value="wkflw_ownr"/>
<param name="schema" value="oracle"/>
<param name="schemaObjectPrefix" value="FS_WS_${wsp.name}_"/>
</FileSystem>
<PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager">
<param name="driver" value="oracle.jdbc.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/>
<param name="user" value="wkflw_ownr"/>
<param name="password" value="wkflw_ownr"/>
<param name="schema" value="oracle"/>
<param name="tableSpace" value=""/>
<param name="externalBLOBs" value="false"/>
<param name="schemaObjectPrefix" value="PM_WS_${wsp.name}_" />
</PersistenceManager>
</workspace>
</workspaces>
<Versioning rootPath="${rep.home}/version"> <!-- Configures the filesystem to use for versioning for the respective persistence manager --> <FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem"> <param name="driver" value="oracle.jdbc.OracleDriver"/> <param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/> <param name="user" value="wkflw_ownr"/> <param name="password" value="wkflw_ownr"/> <param name="schema" value="oracle"/> <param name="schemaObjectPrefix" value="Versioning_FS_"/> </FileSystem> <PersistenceManager class="org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager"> <param name="driver" value="oracle.jdbc.OracleDriver"/> <param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/> <param name="user" value="wkflw_ownr"/> <param name="password" value="wkflw_ownr"/> <param name="schema" value="oracle"/> <param name="tableSpace" value=""/> <param name="externalBLOBs" value="false"/> <param name="schemaObjectPrefix" value="Versioning_PM_" /> </PersistenceManager> </Versioning> <DataStore class="org.apache.jackrabbit.core.data.db.DbDataStore"> <param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/> <param name="user" value="wkflw_ownr"/> <param name="password" value="wkflw_ownr"/> <param name="databaseType" value="oracle"/> <param name="driver" value="oracle.jdbc.OracleDriver"/> <param name="minRecordLength" value="1024"/> <param name="maxConnections" value="3"/> <param name="copyWhenReading" value="true"/> <param name="tablePrefix" value=""/> <param name="schemaObjectPrefix" value="ds_"/> </DataStore> 2. Configured workspace.xml file in the following paths. (Latest file attached)
a. jboss-eap-6.0/bin/repository/workspaces/default
b. jboss-eap-6.0/bin/repository/workspaces/security
<Workspace name="default">
<FileSystem class="org.apache.jackrabbit.core.fs.db.OracleFileSystem">
<param name="driver" value="oracle.jdbc.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/>
<param name="user" value="wkflw_ownr"/>
<param name="password" value="wkflw_ownr"/>
<param name="schema" value="oracle"/>
<param name="schemaObjectPrefix" value="FS_WS_${wsp.name}_"/>
</FileSystem>
<PersistenceManager class="org.apache.jackrabbit.core.persistence.pool.OraclePersistenceManager">
<param name="driver" value="oracle.jdbc.OracleDriver"/>
<param name="url" value="jdbc:oracle:thin:@dolnxprodvm271:6516:wkflwop"/>
<param name="user" value="wkflw_ownr"/>
<param name="password" value="wkflw_ownr"/>
<param name="schema" value="oracle"/>
<param name="tableSpace" value=""/>
<param name="externalBLOBs" value="false"/>
<param name="schemaObjectPrefix" value="PM_WS_${wsp.name}_" />
</PersistenceManager>
</Workspace>
-
workspace.xml 2.2 KB
-
-
2. Re: Guvnor is not keeping assets in Database as said in Documentation. Its keeping in File System
ahmedza Sep 24, 2013 3:07 AM (in response to ahmedza)I got it working by configuring JackRabbit Cluster. I also configured DataStore in Guvnor's repository.xml.
-
3. Re: Guvnor is not keeping assets in Database as said in Documentation. Its keeping in File System
mail2gkishor Dec 4, 2013 1:20 AM (in response to ahmedza)HI Zahid,
I have implemented guvnor 5.5 in my application, I will be using guvnor as a repository for rules(spreadsheets) and deployed in Tomcat6. For authentication we are using LDAP and Oracle 11g as database repository.
I have followed the documentation and did the setup. Can you please share some tips, best practices for performance and memory which you followed while doing this .And I want to know where and all we can use property files for using in multiple environment. I am pretty new to this so your suggestions will be more value added to me. Thank you so much in advance.
Regards,
Kishore