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 103557 - Deployment on SJSAS from netbeans
Summary: Deployment on SJSAS from netbeans
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 13:05 UTC by ares2104732bc
Modified: 2007-10-04 22:41 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 ares2104732bc 2007-05-09 13:05:00 UTC
Hello,
I have a problem regarding the deployment of my netbeans applications to the 
Sun Java System applcation server 8.2.
Always get this sad answer, when I try the RUN ON SERVER command from netbeans:

Deploying application in domain  failed; Could not rename D:\Sun\AppServer02
\domains\domain1\applications\j2ee-apps\AdvancedPassengerInformation to 
D:\Sun\AppServer02\domains\domain1\applications\j2ee-
apps\AdvancedPassengerInformation_old
; requested operation cannot be completed
At least one operation failed
D:\Java\nbProjects2\AdvancedPassengerInformation\nbproject\build-impl.xml:183: 
Deployment error:
The module has not been deployed.
See the server log for details.
BUILD FAILED (total time: 6 seconds)

If i stop the server, remove the application from the folder J2ee apps (server 
side), and run the application again, it works?? 
It happens at my work and at home (different computers)

Pls help me, it s really penible!! ;))

Thx
Greg
Comment 1 Sherold Dev 2007-05-09 13:07:31 UTC
-> sunappserv
Comment 2 Vince Kraemer 2007-05-23 23:14:06 UTC
are you using struts?  If so try to move to a newer version.

also check to see if your code is doing things like forgetting to close streams.

8.2 and 9.0 on Windows is too picky about that kind of situation
Comment 3 ares2104732bc 2007-05-29 15:05:40 UTC
Ok,
I do not use Struts for this project.
IT also happens on the other developers' workstations (same error while 
deploying)
FYI this application can be deployed and deployed again on Websphere test 
server and I don t get any error so I think that No Strem stays open ...
Any idea...
Another thing it also happends with MyEclipse for example.
Thx
Comment 4 Vince Kraemer 2007-07-04 17:02:11 UTC
There has been a lot of work in this area on the server side.  Could you try deploying your app onto a GF V2 domain?
Comment 5 Vince Kraemer 2007-08-15 22:41:01 UTC
sample project and step by step instructions to duplicate this issue would be useful
Comment 6 Vince Kraemer 2007-10-04 22:41:05 UTC
I don't have enough info in this issue to reproduce it with a current NB/AS combination.  Many issues like this one have
been resolved by the introduction of directory deployment for Enterprise Applications (in the NetBeans codebase) and
many improvements in the way the server deals with streams.

The solution for this issue may be to move forward to more modern versions of NB and the AS.

I am closing this issue. Please reopen it with details about how to reproduce it if it is still an issue for you in an
NB 6.0/GF V2 environment.