[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-08-20 Thread Helder (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17402467#comment-17402467
 ] 

Helder edited comment on NETBEANS-5143 at 8/21/21, 1:31 AM:


In my project, maven, multi module, NetBeans 12.4 on windows 10 or ubuntu 
18.04, the problem is associated with the "always perform build before running 
the application" feature. With this feature disabled, "compile on save" enabled 
and "deploy on save" disabled, only one deploy is done. With this feature 
enabled, the deploy occurs twice.


was (Author: helderneres):
In my project, maven, multi module, on windows 10 or ubuntu 18.04, the problem 
is associated with the "always perform build before running the application" 
feature. With this feature disabled, "compile on save" enabled and "deploy on 
save" disabled, only one deploy is done. With this feature enabled, the deploy 
occurs twice.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are 
> effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: pull-request-available, webapp, webapp-deployment
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2/12.3/12.4.
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3 Clean -> Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run make sure same server and java versions are selected
>  7 Clean -> Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-08-20 Thread Helder (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17402467#comment-17402467
 ] 

Helder edited comment on NETBEANS-5143 at 8/21/21, 1:30 AM:


In my project, maven, multi module, on windows 10 or ubuntu 18.04, the problem 
is associated with the "always perform build before running the application" 
feature. With this feature disabled, "compile on save" enabled and "deploy on 
save" disabled, only one deploy is done. With this feature enabled, the deploy 
occurs twice.


was (Author: helderneres):
In my project, maven, multi module, on windows 10 or ubuntu 18.04, the problem 
is associated with the "always perform build before running the application" 
feature. With this feature disabled, "compile on save" enabled and "deploy on 
save" disabled, only one deploy is done. With this feature enable, the deploy 
occurs twice.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are 
> effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: pull-request-available, webapp, webapp-deployment
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2/12.3/12.4.
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3 Clean -> Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run make sure same server and java versions are selected
>  7 Clean -> Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-08-09 Thread Mike Vines (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17395956#comment-17395956
 ] 

Mike Vines edited comment on NETBEANS-5143 at 8/9/21, 10:28 AM:


I can confirm that this issue does occur on Mac (11.5.1) with Netbeans 12.4.  
This is particularly an issue for me, as the web app I am trying to work with 
has JNI dependencies, and the redeploy fails as the native code has already 
been loaded.

Project setting build -> compile -> compile on save to checked, and build -> 
run -> deploy on save to unchecked prevents the double deployment. 


was (Author: mike.vines):
I can confirm that this issue does occur on Mac (11.5.1) with Netbeans 12.4.  
This is particularly an issue for me, a the web app I am trying to work with 
has JNI dependencies, and the redeploy fails.

Project setting build -> compile -> compile on save to checked, and build -> 
run -> deploy on save to unchecked prevents the double deployment. 

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are 
> effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Assignee: Gaurav Gupta
>Priority: Major
>  Labels: pull-request-available, webapp, webapp-deployment
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2/12.3/12.4.
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3 Clean -> Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run make sure same server and java versions are selected
>  7 Clean -> Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-06-15 Thread Vlad Palnik (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17363878#comment-17363878
 ] 

Vlad Palnik edited comment on NETBEANS-5143 at 6/15/21, 8:02 PM:
-

The bug will appear every time a project is cleaned and NOT built before 
running it.

Env: Win 10, JDK 11, Tomcat 8.5.60, NetBeans 12.4

 

Clean -> Build -> Run: Single App Deployment

Clean/Build -> Run: Single App Deployment

Clean -> Run: *Double* App Deployment

 

Can someone test this on macOS running on a native machine, this might be why 
Josh Juneau was unable to replicate the bug on mac.


was (Author: vladpaln):
The bug will appear every time a project is cleaned and NOT built before 
running it.

Env: Win 10, JDK 11, Tomcat 8.5.60, NetBeans 12.4

 

Clean -> Build -> Run: Single App Deployment

Clean/Build -> Run: Single App Deployment

Clean -> Run: *Double* App Deployment

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/12.4 are 
> effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2/12.3/12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2/12.3/12.4.
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-06-09 Thread Gaurav Gupta (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360047#comment-17360047
 ] 

Gaurav Gupta edited comment on NETBEANS-5143 at 6/9/21, 12:58 PM:
--

I am able to reproduce the issue on Windows, where application logs in "Run 
window" shows that app is deployed -> undeployed -> deployed but Payara Server 
logs shows app is deployed 3 times. And this issue is reproducible only first 
time, just after creating the new project.

Environment:
 * Windows 10
 * JDK 11
 * Payara 5.2021.5-SNAPSHOT
 * Apache NetBeans 12.4

 


was (Author: jgauravgupta):
I am able to reproduce the issue on Windows, where application logs in "Run 
window" shows that app is deployed -> undeployed -> deployed but Payara Server 
logs shows app is deployed 3 times. And this issue is reproducible only first 
time, just after creating the new project.

Environment:
 * Windows 10
 * JDK 11
 * Payara 5.2021.5-SNAPSHOT



 

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-31 Thread Vlad Palnik (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354715#comment-17354715
 ] 

Vlad Palnik edited comment on NETBEANS-5143 at 6/1/21, 3:01 AM:


Does not look like its OS specific.

Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

(VirtualBox 6.1.22) macOS Big Sur 11.4, Java 11 => 12.4

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)

(VirtualBox 6.1.22) macOS Big Sur 11.4, Java 11 => 12.1


was (Author: vladpaln):
Does not look like its OS specific.

Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

(VirtualBox 6.1.22) macOS Big Sur 11.4 => 12.4

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)

(VirtualBox 6.1.22) macOS Big Sur 11.4 => 12.1

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further 

[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-31 Thread Vlad Palnik (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354715#comment-17354715
 ] 

Vlad Palnik edited comment on NETBEANS-5143 at 6/1/21, 2:58 AM:


Does not look like its OS specific.

Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

(VirtualBox 6.1.22) macOS Big Sur 11.4 => 12.4

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)

(VirtualBox 6.1.22) macOS Big Sur 11.4 => 12.1


was (Author: vladpaln):
Does not look like its OS specific.

Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-31 Thread Vlad Palnik (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354715#comment-17354715
 ] 

Vlad Palnik edited comment on NETBEANS-5143 at 5/31/21, 11:35 PM:
--

Does not look like its OS specific.

Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)


was (Author: vladpaln):
Does not look like its OS specific.

 

Affected Version

Win 10, Java 11 => 12.2, 12.3, 12.4

Ubuntu 14, Java 11 => All 12x versions (per Deryl Spielman)*

Ubuntu 20 LTS, Java 11 => 12.4 (12.2, 12.3 not tested)

 

Unaffected Versions

Win 10, Java 11 => 12.1 and earlier

Ubuntu 20 LTS, Java 11 => 12.1 and earlier

macOS Big Sur 11.2.3 => all versions (per Josh Juneau)

 

* Can someone running Ubuntu 14 please retest version 12.1, this is the first 
time I see this version affected.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354114#comment-17354114
 ] 

Geertjan Wielenga edited comment on NETBEANS-5143 at 5/30/21, 9:44 PM:
---

Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report and Vlad's 
original report that the problem doesn't exist in 12.1.)

Maybe something introduced in 12.2 is the culprit, but I can't see what it 
could be from the feature list: 
http://netbeans.apache.org/download/nb122/index.html, though potentially a side 
effect of this fix: https://github.com/apache/netbeans/pull/2423


was (Author: geertjanwielenga):
Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report and Vlad's 
original report that the problem doesn't exist in 12.1.)

Maybe something introduced in 12.2 is the culprit, but I can't see what it 
could be from the feature list: 
http://netbeans.apache.org/download/nb122/index.html

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For 

[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354114#comment-17354114
 ] 

Geertjan Wielenga edited comment on NETBEANS-5143 at 5/30/21, 9:42 PM:
---

Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report and Vlad's 
original report that the problem doesn't exist in 12.1.)

Maybe something introduced in 12.2 is the culprit, but I can't see what it 
could be from the feature list: 
http://netbeans.apache.org/download/nb122/index.html


was (Author: geertjanwielenga):
Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report and Vlad's 
original report that the problem doesn't exist in 12.1.)

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354114#comment-17354114
 ] 

Geertjan Wielenga edited comment on NETBEANS-5143 at 5/30/21, 9:40 PM:
---

Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report and Vlad's 
original report that the problem doesn't exist in 12.1.)


was (Author: geertjanwielenga):
Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report that the 
problem doesn't exist in 12.1.)

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354114#comment-17354114
 ] 

Geertjan Wielenga edited comment on NETBEANS-5143 at 5/30/21, 9:40 PM:
---

Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara. (And it appears from Andrew's report that the 
problem doesn't exist in 12.1.)


was (Author: geertjanwielenga):
Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Geertjan Wielenga (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17354114#comment-17354114
 ] 

Geertjan Wielenga edited comment on NETBEANS-5143 at 5/30/21, 9:39 PM:
---

Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

I see Andrew above reproduced this with Payara, so let's see if [~jgauravgupta] 
can investigate, from Payara.


was (Author: geertjanwielenga):
Can this also be reproduced with Payara? Can you try? If so, we can ask the 
engineer who works on the Payara support in NetBeans to reproduce and fix this.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Comment Edited] (NETBEANS-5143) NetBeans 12.2, 12.3, 12.4 deploys webapps twice

2021-05-30 Thread Vlad Palnik (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-5143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17329334#comment-17329334
 ] 

Vlad Palnik edited comment on NETBEANS-5143 at 5/30/21, 9:31 PM:
-

RE: Netbeans IDE 12.4

FYI just tested Netbeans IDE 12.4, the bug persists.


was (Author: vladpaln):
RE: Netbeans IDE 12.4-rc1

FYI just tested Netbeans IDE 12.4-rc1, the bug persists. I don't think this 
issue will be resolved in the final release of 12.4.

> NetBeans 12.2, 12.3, 12.4 deploys webapps twice
> ---
>
> Key: NETBEANS-5143
> URL: https://issues.apache.org/jira/browse/NETBEANS-5143
> Project: NetBeans
>  Issue Type: Bug
>  Components: core
>Affects Versions: 12.2, 12.3, 12.4
> Environment: Windows 10 20H2/AMD Ryzen 7 4800H/32GB RAM
>  java: build 11.0.9.1+1, maven 3.6.3
>  Netbeans versions tested: 12.1, 12.2, 12.3, 12.4 (12.2/12.3/1.4 are effected)
>  Tomcat (new installs): 8.5.60, 9.0.40, Payara (per Patrick Musembi)
>Reporter: Vlad Palnik
>Priority: Major
>  Labels: webapp, webapp-deployment
>
> To whomever it concerns,
>   
>  Bug in NetBeans 12.2, 12.3, 12.4. Netbeans seems to interfere with the 
> deployment of web apps somehow and web apps are deployed twice.
>   
>  While deploying 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 appears when using NB 12.2, 12.3
>   
>  When tested on NetBeans 12.1 using the same Java/Tomcat installation/config 
> no errors occur and deployment proceeds correctly.
>   
>  Steps to replicate:
>  1: Create maven webapp (Java EE7, Java 11) in NetBeans 12.1
>  2 Set Tomcat Server in Properties > Run
>  3. Build/Run project in 12.1, you will get a "Hello World" basic site.
>  4. Check build log, only a single deploy should show up.
>  5 Close 12.1 and open same project in 12.2/12.3/12.4
>  6 Before run/build make sure same server and java versions are selected
>  7 Build/Run project
>  8 Check build log, you will see two deploys of webapp
>   
>   
>  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=/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=/myapp
>  OK - Deployed application at context path [/myapp]
>  Start is in progress...
>  start?path=/myapp
>  OK - Started application at context path [/myapp]
>   
>   



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists