Based on your file naming convention, I assume you are using Windows. Windows has some rather strange file locking issues. Here is what I think is happening. The last time you updated the JSP successfully, and JBossAS noticed that and updated it, for some reason Windows kept the file locked. Then when you made the update in Eclipse and deployed it, Windows noticed the file was still locked so it semi-deleted the old JSP, keeping it available for JBossAS, which still sees the old copy and not the new copy. Not until you reboot JBossAS will Windows release the old JSP and fully delete it. Wierdnesses like this can be affected by Windows updates, and possibly even Java updates.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140619#4140619
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140619
Thanks for the response again. Well I had tried that.. in fact had tried several combinations of the URL Pattern but its all the same ! I wouldnt have thought that creating a simple web serivce would be so frustrating :-(
Personally, I dont think there is anything wrong with the code, the code i have written is very basic and as shown on the JBoss site. I am just wondering if its anything to do with the JBoss server configuration itself. Do any JBoss specific files need to be modified?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140618#4140618
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140618