Why is the db directory not included in JRuby WAR when using Warbler? -


I've created a simple 'hello' type JRuby application Warbler is used for the war and deployed then JBoss is. However, I get the following error when using the application:

ActiveRecord :: JDBCError (driver encountered an unknown error: java.sql.SQLException: '/ opt / jboss / Server / Ruby / TMP / deploy / tmp8791905909469840942 Dimo- exp.war / WEB-INF / db / production.sqlite3 ':' /opt/jboss/server/ruby/tmp/deploy/tmp8791905909469840942demo-exp.war/WEB-INF/ Db 'does not exist):

When I dig into the demo file then the DB directory is missing from the web-directory.

Any thoughts?

There are usually only migration DB directory If you are using sqlite3 in the database file but when you have removed it is opened somewhere in the interior spaces of the servers are deployed in the production of a war and potentially Rediol will be away with your database file Rediol. If the file is read-only and you are not worried about the idea that you can easily warble config run and config / warble.rb and edited by DB directory And add the db to the config.dirs array.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -