NetBeans error restarting app server

I'm using NetBeans 5.0 and Sun App Server 8.2

In NetBeans when I click "run project" it tries to redeploy the application and always fails.

Deploying application in domain failed; Could not rename C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\ProjectName to C:\Sun\AppServer\domains\domain1\applications\j2ee-apps\ProjectName_old

I have to then manually stop the app server then "run project" again.

It just takes ages and is really annoying, any ideas how to fix it?

Thanks a heap!

Just to mention I also posted this question yesterday on JavaRanch with no response

http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=12&# 38;t=003805

[718 byte] By [krisreid] at [2007-11-26 6:35:07]
# 1
Have you checked for the latest updates using Update Center? It seems that there was a bug in this area, but it should be fixed currently.
mrkam at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 2
I had already run the update center. I just did it again and added all of the new modules and still no luck :(It's not a major problem but it does slow me down a heap
krisreid at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 3

> I had already run the update center.

> I just did it again and added all of the new modules

> and still no luck :(

>

> It's not a major problem but it does slow me down a

> heap

I try to reproduce the issue and I can't.

Could you please provide more information about your enviroment:

- OS

- Hardware

What kind of enterprise application you develop?

Thanks,

Mikhail

Mikhail_Vaysman at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 4

I'm developing on a standard intel box running windows 2000.

Using Java 1.5.0_06

Any other system information that could be useful?

I am building a 3 tier J2EE app.

Stuts front end, JMS, MDB, Session Beans and JDBC to Oracle DB.

The strange thing is it doesn't matter if I stop the server manually and try to redeploy through the IDE. It still fails the first time. Really annoying!

Thanks

krisreid at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 5
This is still driving me insane! Any idea what I can try to fix the prob?Thanks
krisreid at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...
# 6
Have you tried to re-install the software?
mrkam at 2007-7-6 14:37:46 > top of Java-index,Application & Integration Servers,Application Servers...