Any Rife+Derby experts here ?
I want to use Derby in embedded mode. AFAICT if I do this then
I don't need to configure the DB in Tomcat's conf/ directory.
This ought to work in rep/datasources.xml :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE datasources SYSTEM "/dtd/datasources.dtd">
<datasources>
<datasource name="derby">
<driver>org.apache.derby.jdbc.EmbeddedDriver</driver>
<url>jdbc:derby:/opt/myapp/databases/rife;create=true</url>
<user>fred</user>
<password>fubarfubar</password>
<poolsize>5</poolsize>
</datasource>
</datasources>
I probably don't even need the <user> and <password> elements,
altho I assume that Rife uses the <poolsize> element.
It looks tho like if I do it this way, then I can't use the Derby
utilities such as "ij" and "dblook", since they would run in a
different JVM from Tomcat+Rife+Derby.
thx
fred
--
F.Baube *
Georgetown/MSFS/1988 * Act locally.
email fbaube#welho.com * Think pangalactically.
gsm +358 41 536 8192 *
wmd 60°11'10.8"N 24°57'36.9"E
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users