Hi Henk,
you probably have a problem with the relative dir that's used since
I'm pretty sure that the current working directory is different when
it runs as a war in tomcat. You could just try to replace ../dbs/
with an absolute path where the tomcat user has permissions to write
into.
Hope this helps,
Geert
On 31 Aug 2006, at 14:53, henk wrote:
Hi,
maybe this is not really rife related, but I'll try anyway ;-)
I'm using Derby as my datasource for my web application.
->
<datasource name="derby">
<driver>org.apache.derby.jdbc.EmbeddedDriver</driver>
<url>jdbc:derby:../dbs/<config param="database_name"/
>;create=true</url>
<user><config param="database_user"/></user>
<password><config param="database_password"/></password>
<poolsize>5</poolsize>
</datasource>
If I deploy this as a war file under tomcat, the database files are
not being created.
What do you recommend when using derby and rife under tomcat ? Is
it better to store the database files somewhere else in the file
system ? I read the pages in the Rife wiki where this solution is
described, but are there other possibilities ?
Thanks
Henk
--
\ /
- marsman
contact me : henk[remove] at marsman-it dot be
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users