I can confirm this scenario. On Sat, Dec 12, 2020, 05:00 Vlad Palnik <[email protected]> wrote:
> To whomever it concerns, > > I've come across a possible bug in NetBeans 12.2. Netbeans seems to > interfere with the deployment of apps somehow and > apps are deployed twice. > > While tomcat deploys an app it follows this pattern: deploy => undeploy => > deploy (see build log below). I tried solving this > issue by undeployed any previous versions of the app manually and restarted > Tomcat, the same error occurs. The issue only > appears when using NB 12.2 > > When tested on NetBeans 12.1 using the same Java/Tomcat installation/config > no errors occur and deployment proceeds correctly. > > > Specs > Windows 10 20H2/AMD Ryzen 7 4800H/32GB Ram > java: build 11.0.9.1+1 > Netbeans versions tested: 12.1, 12.2 > Tomcat: 8.5.60 (brand new download) > > > If someone else can please replicate the bug I will be happy to submit a > bug report, > > > *Build Log (username/appname changed)* > > BUILD SUCCESS > ------------------------------------------------------------------------ > Total time: 18.211 s > Finished at: 2020-12-11T17:27:08-08:00 > ------------------------------------------------------------------------ > Deploying on Tomcat 8.5.60 > profile mode: false > debug mode: false > force redeploy: true > Starting Tomcat process... > Waiting for Tomcat... > Tomcat server started. > In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 > Deployment is in progress... > > deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext6407158500266578550.xml&path=/myapp > OK - Deployed application at context path [/myapp] > Start is in progress... > start?path=/myapp > OK - Started application at context path [/myapp] > Deploying on Tomcat 8.5.60 > profile mode: false > debug mode: false > force redeploy: true > Undeploying ... > undeploy?path=/myapp > OK - Undeployed application at context path [/myapp] > In-place deployment at C:\Users\username\Desktop\myapp\target\myapp##1.2.5 > Deployment is in progress... > > deploy?config=file%3A%2FC%3A%2FUsers%2Fusername%2FAppData%2FLocal%2FTemp%2Fcontext3519987589623367889.xml&path=/myapp > OK - Deployed application at context path [/myapp] > Start is in progress... > start?path=/myapp > OK - Started application at context path [/myapp] > > > > Thanks > > > This email and any attachments may contain confidential and privileged > information. If you are not the intended recipient, please notify the > sender immediately by return email, delete this email and destroy any > copies. Any dissemination or use of this information by a person other than > the intended recipient is unauthorized. >
