Topic RSS
2:17 pm
September 6, 2011
Offline8:35 am
March 29, 2011
OfflineWhen using the Registry User Interface (UI – or the web interface) any modifications made are local to your browser and must be committed in order to update the Registry. The first modification you make will result in the 'modifications' panel, which is located at the bottom of the web page, to automatically expand. The commit modifications panel may be collapsed or expanded at any time by clicking the “+” or “-” image located the right hand side of the modifications panel.
Each modification has a 'commit modification' button next to it. Clicking on this button will save the modification to the Registry. If a modification is not committed, then you will loose any changes by closing your browser window.
On committing a modification, the Registry will perform extra levels of validation before saving – if there are any errors with the commit, then an error panel will be shown and the Registry will not be updated. To give an example, it is possible to create a new Data Structure Definition in the UI which has no dimensions, but on committing this to the Registry as it will fail and the Registry will not be updated. This behaviour is due to the UI allowing structures to be created in small steps and therefore at certain stages in structure creation the structure may be in an invalid state for the Registry.
8:46 am
March 29, 2011
OfflineSorry I misread your post – you say even if you have committed.
The only thing I can put this down to, is if you are using an in-memory database (which the Registry uses by default) and you terminate your application server (Tomcat for instance). An in memory database will be deleted when tomcat is shutdown. The Registry will theoretically work against any SQL-92 compliment database, however it has only been tested against MySql. To make the Registry use a persistent database such as MySql, you can do the following:
Update the fusionregistry.properties file which is located under:
[tomcat]\webapps\FusionRegistry\WEB-INF\classes
You must comment out the in memory settings and uncomment the following:
database.driver=com.mysql.jdbc.Driver
database.username=root
database.password=password
database.url=jdbc:mysql://localhost:3306/fusion_registry
hibernate.dialect=org.hibernate.dialect.MySQLDialect
You must ensure the database usename/password and url are correct, and the database (fusion_registry in this example) exists. On application startup the Registry will create all the necessary database tables.
If you wish to use a different database, such as oracle, then you must change the database.driver property to use an Oracle driver, and you must put the database library (jar) file in [tomcat]\webapps\FusionRegistry\WEB-INF\lib
The Fusion Registry Administrator does provide a User Interface that changes these settings, if you wish to use that.
I hope this helps

Log In
Register
Home





