Thanks for the additional information.
here is my recommendations...
1. get back to a sane state for the server and the IDE.
i. find your app in the services explorer and use the Undeploy item from the right-click menu to undeploy it.
ii. stop the server.
iii. stop the IDE.
iv. start the IDE.
v. start the server.
vi. use the 'Undeploy and Deploy' item on the ent app's right-click menu.
2. Now that the app is deployed, do not use the 'Undeploy and Deploy' menu item again... Use the Run item instead. This item will...
i. rebuild any changed code.
ii. put it in the right place for directory deployment
iii. does deployment
iv. opens the browser on the "front page" of the app... see the Run property of the ent app project.
I have addressed the issue that you are running into as part of changes for NB 6.1... see
http://www.adam-bien.com/roller/abien/entry/re_deployment_problems_of_ears1... the issue ID is
http://www.netbeans.org/issues/show_bug.cgi?id=124728
You will still need to avoid using the 'Clean' or 'Clean and Build' items after the app is accessed by a user.
HTH,
vbk
[Message sent by forum member 'vbkraemer' (vbkraemer)]
http://forums.java.net/jive/thread.jspa?messageID=256834