[jboss-user] [Beginners Corner] - Re: Error deploying simple servlet

xmedeko do-not-reply at jboss.com
Wed Jul 15 10:57:34 EDT 2009


Hi,

is you are using WPT plugin (and I guess you are) then a "hot run" should be working for you. Don't export your project. Just deploy it. If you do not see it in the list of the deployable stuff, then you have probably made just plain Java project. You have to make Java Web project.

Whey you deploy your project directly, then hot run should work fine for JSPs, HTMLs, etc. You can double click on the JBoss server in the server view and set the "Publishing interval" to 0sec if you are impatient.

But if you change some Java code, you have to redeploy the whole application. The redeploy is made via touching the web.xml file. There's a special button in Eclipse top tool bar for this - such a white hand with index finger pointing up, tooltip is "Touch descriptors". Or you can right click on the war node in Jboss server and chose "Full redeploy"

Other possibility is to use JBoss Tools Archiver. Then you may have just plain Java project. Just pack your project by JBoss archiver and chose automatic archive update or update it manually by pressing one button.

Cheers
Andy

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243815#4243815

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243815



More information about the jboss-user mailing list