sdmx save work | Products | Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
sdmx save work
September 13, 2011
2:17 pm
akram.amari
Tunisia
Member
Forum Posts: 4
Member Since:
September 6, 2011
Offline

How can i save my work in fusion registry ,,cause when i close the browser and reopen i loose all things even I have already commited,Laugh

September 14, 2011
8:35 am
Matt
Admin
Forum Posts: 11
Member Since:
March 29, 2011
Offline

When 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.

September 14, 2011
8:46 am
Matt
Admin
Forum Posts: 11
Member Since:
March 29, 2011
Offline

Sorry 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

October 9, 2011
10:09 pm
akram.amari
Tunisia
Member
Forum Posts: 4
Member Since:
September 6, 2011
Offline

Thinks for being intersted dear Matt i appreciate ,i owe you …;)

Powered by WishList Member - Membership Site Software