[jboss-user] [Installation, Configuration & Deployment] - Tomcat to JBoss Conversion - tomcat context files
do-not-reply at jboss.com
Tue Jan 16 10:00:46 EST 2007
Currently we have some apps deployed to Tomcat and are working on migrating those apps to JBoss. Currently all of our web applications are running on Tomcat. I have a question about how to replicate a useful Tomcat configuration in JBoss.
In our CATALINA_BASE/conf/Catalina/localhost directory we are making use of context files on our development instances to greatly simplify the development process. Here is an example of one of the files that we have in the conf/Catalina/localhost directory.
| <Context docBase="C:\data\dev\code\myApp\target\myApp"
This effectively causes Tomcat to load the application from the docBase directory rather than actually deploying the war file to the webapps directory. This is very useful in our web application development as we can then use maven to do things like run maven war:war-resources to copy a changed jsp file while the application is live to try out a new jsp file. This is much much faster than copying the war file to the webapps directory. I have been unsuccessful in getting this to work in JBoss.
Is there a section of the Knowledge Base or manual that explains how to set something like this up?
Any help is greatly appreciated.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002305#4002305
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002305
More information about the jboss-user