- Q:.
Which databases are supported?
- Q:.
How can I change the datasource used by SCAM?
- Q:.
Where should I place my SCAM configuration file?
| |
Q:. |
Which databases are supported?
|
A:. |
Currrently are only PostgreSQL, MySQL and Hypersonic databases
supported as datasources.
|
Q:. |
How can I change the datasource used by SCAM?
|
A:. |
In the SCAM configuration file,
scam.properties,
the entry scam.repository.datasource
represents the JNDI-name associated with the datasource
(consult your JBoss documentation on how to associate a
datasource with a JNDI-name).
- JNDI-name for PostgresSQL databases
java:/PostgresDS
- JNDI-name for MySQL databases
java:/MySqlDS
- JNDI-name for Hypersonic databases
java:/DefaultDS
|
Q:. |
Where should I place my SCAM configuration file?
|
A:. |
The configuration file (
scam.properties) can be placed in different
locations, overloading each other. SCAM tries to read
the configuration file from theese locations, in this order:
from the loaction of the file
SCAMProperty.class
(ie inside of scamRepository.jar)
from $JAVA_HOME
/lib
from $CLASSPATH, which includes
the deployment directory (ie the directory where
scamRepository.jar
is deployed)
|