Derby, Tomcat and Warbler

I’m using Derby as an embedded database with Rails 3 and JRuby 1.5.
When I warble up my app and deploy it under Tomcat, my database
doesn’t carry over and doesn’t get created. What is the best way to
deploy a Derby db under Rails and Tomcat?


To unsubscribe from this list, please visit:

Where are the db files located? If they’re in the “db” directory, that
directory is not included by Warbler – you’ll have to add it by
specifying in config/warble.rb.

Also beware that when you use an embedded db in a container like
Tomcat, the files will usually end up inside the exploded war file
unless you configure them to live somewhere else, which means that
Tomcat could delete them when the application is redeployed.


On Mon, Apr 12, 2010 at 10:00 AM, Chris E. [email protected]

To unsubscribe from this list, please visit: