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 49328 - Double redeploy
Summary: Double redeploy
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 08:51 UTC by Marek Fukala
Modified: 2006-03-24 10:14 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 Marek Fukala 2004-09-21 08:51:59 UTC
[20040920]
If you redeploy a web application it is
stopped/started two times. You can simply verify
it in the build output, or (if you still hesistate
:-) ) create a new servlet, let it start on
startup (<load-on-startup> element) and put some
debug message into init() method. Then do redeploy
and see that the servlet is initialized two times.
Comment 1 Sherold Dev 2004-10-06 17:52:21 UTC
This is not a netbeans bug. If you try to deploy the web application
directly using Tomcat Manager, it behaves the same way. To get rid of
this "double deploy", it should suffice to set the "autoDeploy"
attribute of the host element to "false" in tomcat's server.xml config
file.
Comment 2 Sherold Dev 2004-10-13 10:09:01 UTC
Bundled Tomcat has now the host's "autoDeploy" attribute  
preset to "false". In external Tomcat is this however still left up  
to the users. 
 
Commit log: 
 
Checking in 
src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/resources/tomcat5_server.dtd,v  
<--  tomcat5_server.dtd 
new revision: 1.5; previous revision: 1.4 
done 
Processing log script arguments... 
More commits to come... 
Checking in 
src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java; 
/cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/TomcatInstallUtil.java,v  
<--  TomcatInstallUtil.java 
new revision: 1.13; previous revision: 1.12 
done 
Comment 3 Jaroslav Pospisil 2005-12-09 11:08:24 UTC
VERIFIED