Hey all,

Where is the algorithms that parse the properties files documented?

I'm finding that when I change the persistor from the default to sql, 
then the "persistor_sql.properties" is found (see below):

Copied from the log:
19:48:56,606  [IsisConfigurationBuilderResourceStreams main       
INFO ]  'persistor_sql.properties' FOUND

However, none of the sql persistor properties specified within are 
available:

Caused by: 
org.apache.isis.alternatives.objectstore.sql.SqlObjectStoreException: 
No driver specified for database connection

Even though the file contains the required information.

If I put the pesistor property values into "isis.properties", then they're 
found and all is A-OK.

Am I misinterpreting the purpose of the persistor_sql.properties file?
Why aren't the values specified therein found?

Contents of persistor_sql.properties:
isis.persistence.sql.jdbc.driver=org.hsqldb.jdbcDriver
isis.persistence.sql.jdbc.connection=jdbc:hsqldb:file:hsql-db/tests
isis.persistence.sql.jdbc.user=sa
isis.persistence.sql.jdbc.password=


If I debug into the framework, then in JdbcConnector.java, line 80, the 
configuration:
 IsisConfiguration params = IsisContext.getConfiguration();
does not contain the contents of persistor_sql.properties.

Any suggestions?

Regards,
Kevin

Reply via email to