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

2009-07-20 Thread xmedeko
Set Publishing interval to 0 sec. Otherwise you may Touch descriptor before 
your changes are copied into the deploy dir.

One more gotcha is, that the Touch descriptor is for the selected project in 
the Navigator or Packages or Project Explorer. So, you may have selected 
other project then the currently edited file belongs to.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4244064#4244064

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4244064
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-15 Thread xmedeko
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=bbop=viewtopicp=4243815#4243815

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-07-14 Thread Andy00
I fixed my problem, I upgraded eclipse to 3.5 and JBoss Tools 3.1 and now it's 
all ok.

It remains the issue of how to hot run the app without export every time a 
war.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243507#4243507

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243507
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user