I was wotking with App server and suddenly the
server was restarted.
See output window:
Stopping server Sun Java System Application Server 8
Starting server Sun Java System Application Server 8
deployment started : 0%
Deployment of application WebApplication2
Enable of WebApplication2in target server
All operations completed successfully
BUILD SUCCESSFUL (total time: 49 seconds)
This might be a feature, not a bug...
Sometimes, if the server config is changed (new resources regsitered,
class path changed, etc.. the server has a propery called
restartNeeded (see the prop window of a running AS server to see its
If the IDE detects this value to true, then j2eeserver module restarts
So what did you do before this restart?
I removed JMS resources. I understand, but user should be notified of
server restart reason.
notification should be done at the j2eeserver level.
Setting the TM to 4.1.
This issue could happen in the following cases too.
This also happens on WinXP, Solaris and JDS Linux
Case 1 :
If a web application contains any server resource (a data source).
Every deployment of web module appserver is restarted. Even there is nothing is
changed in application.
Case 2 :
If a web application contains Web services (which are getting compiled for
each deployment and generating new classes). Appserver may think this are new
classes in web module and restarts.
See also Appserver bug : 6312063
TM -> 5.0
*** Issue 72444 has been marked as a duplicate of this issue. ***
TM 5.0 -> TBD
changing to enhancement since it behaves exactly as designed. adding some kind
of notification is an enhancement
producing a message can be handled at the j2eeserver level.
producing a good message will probably require an API change in org.netbeans.modules.j2ee.deployment.plugins.spi.StartServer
sending back to j2eeserver
The app server is not supported anymore.