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?

Thanks,
Chris


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

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.

/Nick

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

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email