|
From: Stephane B. <ste...@be...> - 2004-06-24 12:52:49
|
Hi all, I just did a couple of changes to make it easier to customize datasources (and jndi name references to it in jboss-cmp-jdbc.xml, etc....). Please give it a try and tell me if anything is wrong. As a default it won't use 'DefaultDS', rather I'm defining another datasource reference to another db, the new datasource reference is ejbcaDS by default. A file ejbca-ds.xml with the appropriate db configuration will be copied to /server/default/deploy, so hopefully it should not break anything. The default hsqldb will also be stored in the file ejbcaDB rather than the JBoss localdb The goal was simply to keep manual interaction with the server to the bare minimum and avoid messing around the config files. I highly recommend each developper to copy .ejbca.properties.sample to ejbca.properties and customize it if needed. The file should be self explanatory as there is quite a good number of comments in it. If something is unclear, please ask questions and I will try to clarify It should not change anything for you if there is no customization. Keep in mind though that as you will use a new hsqldb file you will of course not have the data stored in localDB. Copying the localDB.* to ejbcaDB.* should be enough though. Cheers, Stephane |