Get over the mental hurdle of thinking of deploying an unpacked war as different from a packed one - they should be treated in exactly the same way. Unpacked is just more accessible (for development) than packed (for production).
If you want to set your application context either: 1. deploy an unpacked ear with it configured in application.xml (The standard J2EE way) 2. you can configure it in my.war/WEB-INF/jboss-web.xml (the proprietary JBoss way) 3. rename your war to <required-context>.war - common non-standard hack? All this and more is in : http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/contrib/jetty/FAQ?rev=HEAD&content-type=text/vnd.viewcvs-markup Let me know if you would like anything added. Jules bryan hansen wrote: > I am trying to define the context root of an > application without including it in an ear file. Is > this possible in JBoss/Jetty? About two weeks ago > someone on the list recommended not packaging an > application into a war to deploy, but instead placing > an unzipped directory (that would be your war) so that > you could work on JSP(s) and have them automatically > deploy and show the changes. This was a cool idea, but > then I realized we needed to change the context-root > of the application and the only way I know of doing > that is with the application.xml inside an ear. I > tried including one in a META-INF directory under the > folder that we deployed, but the change didn't take > affect. Any ideas as to how we might get this to work? > > Thanks, > > Bryan > > __________________________________________________ > Do You Yahoo!? > Sign up for SBC Yahoo! Dial - First Month Free > http://sbc.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Stuff, things, and much much more. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user