I have built a rails application with jruby. Since I have no experience with deploying a rails application in a production environment, I have spent some time doing a manual deployment on a linux server with tomcat6 as application server.
In essence, I have made a war file of the rails application with help of the warbler gem and deployed that on the linux server.
I managed to get it up and running, but not yet exactly as I need it to be.
I have still some configuration issues. I hope you can help me or point me to the right place, since it may be a tomcat question. But I assume there must be some rails/tomcat expertise among the members of this group…
The point is, the URL in the development server is localhost:3000/invoices (using rails server)
The URL in the tomcat production environment is localhost:8080/rails/invoices
I can’t seem to figure out how I can change the port and the document root (/invoices instead of /rails/invoices) in tomcat.
thanks in advance!