Bug 54840 - App server is sometimes restarted
App server is sometimes restarted
Status: NEW
Product: serverplugins
Classification: Unclassified
Component: Infrastructure
4.x
PC All
: P3 (vote)
: TBD
Assigned To: Petr Hejl
issues@serverplugins
:
: 72444 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-10 17:35 UTC by Petr Blaha
Modified: 2009-02-13 20:15 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-02-10 17:35:27 UTC
[Build 20050209]
I was wotking with App server and suddenly the
server was restarted.
See output window:
init:
deps-module-jar:
deps-ear-jar:
deps-jar:
compile:
compile-jsps:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Building jar:
/home.local/blaha/testing/WebApplication2/dist/WebApplication2.war
do-dist:
dist:
run-deploy:
Stopping server Sun Java System Application Server 8
/home.local/blaha/SUNWappserver/bin/asadmin
stop-domain domain1 

Starting server Sun Java System Application Server 8
/home.local/blaha/SUNWappserver/bin/asadmin
start-domain domain1 

Distributing
/home.local/blaha/testing/WebApplication2/dist/WebApplication2.war
to [localhost:4848_server]
deployment started : 0%
Deployment of application WebApplication2
completed successfully
Enable of WebApplication2in target server
completed successfully
All operations completed successfully
run-display-browser:
Browsing:
http://localhost.czech.sun.com:8080/WebApplication2/
run:
BUILD SUCCESSFUL (total time: 49 seconds)
Comment 1 _ ludo 2005-02-10 18:34:44 UTC
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
state.
If the IDE detects this value to true, then j2eeserver module restarts
the server.

So what did you do before this restart?
Comment 2 Petr Blaha 2005-02-11 09:27:35 UTC
I removed JMS resources. I understand, but user should be notified of
server restart reason.
Comment 3 _ ludo 2005-02-11 18:22:07 UTC
notification should be done at the j2eeserver level.
Comment 4 Sherold Dev 2005-02-18 10:16:12 UTC
Setting the TM to 4.1. 
Comment 5 pcmreddy 2005-08-17 05:34:46 UTC
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. 

Comment 6 pcmreddy 2005-08-17 05:51:31 UTC
See also Appserver bug : 6312063
Comment 7 Sherold Dev 2005-10-21 12:46:56 UTC
TM -> 5.0
Comment 8 Sherold Dev 2006-03-06 16:44:16 UTC
*** Issue 72444 has been marked as a duplicate of this issue. ***
Comment 9 Petr Blaha 2006-03-13 13:50:57 UTC
TM 5.0 -> TBD
Comment 10 Sherold Dev 2006-05-31 14:12:12 UTC
changing to enhancement since it behaves exactly as designed. adding some kind
of notification is an enhancement
Comment 11 Vince Kraemer 2009-02-13 20:15:22 UTC
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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo