This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 53821 - Run Applcation with clear userdir exist with error message
Summary: Run Applcation with clear userdir exist with error message
Status: RESOLVED WONTFIX
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 58088 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-21 15:23 UTC by Petr Blaha
Modified: 2005-08-29 10:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-01-21 15:23:36 UTC
[Build 20050119]
Steps to reproduce:
1) create new Enterprise with web and ejb module
2) add sesson bean to ejb module
3) deploy j2ee app to App server
4) restart IDE with new userdir
5) open j2ee application and 'Run'
Get error: Deploying application in domain 
failed; Cannot deploy.  Application already
exists.  Please select the Redeploy option.
However, Redeploy option doesn't exist. When
undeploy app and then try Run a few times it's
working.
Comment 1 Vince Kraemer 2005-01-26 23:25:59 UTC
This message comes from the app server. The only thing to do would be
to catch and correct this message in the plugin and/or the j2eeserver
layer.
Comment 2 _ ludo 2005-02-17 22:54:25 UTC
cannot fix. The jsr 88 framework needs to store the fact that an an is
deployed, and it does that by using the user dir.
If you delete it, you'll have this message at next deployment from the
app server itself.

For the actions, ejb modules has redeploy action but j2ee app has
deploy... I think if you select the deploy action of the j2ee app, it
works.
P4 according to me.
Comment 3 _ ludo 2005-04-21 19:03:32 UTC
*** Issue 58088 has been marked as a duplicate of this issue. ***
Comment 4 _ ludo 2005-04-21 19:04:26 UTC
Wee need to have a FAQ entry.
The workaround is to go to the runtime tab, and undeploy the app from there first.
Comment 5 Vince Kraemer 2005-08-27 15:03:47 UTC
reset priority to match ludo's recommendation