[jbosstools-issues] [JBoss JIRA] (JBIDE-23784) WF 11 / EAP 7.1 Incremental MGMT publishing

Radim Hopp (JIRA) issues at jboss.org
Wed May 3 06:12:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-23784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13401182#comment-13401182 ] 

Radim Hopp commented on JBIDE-23784:
------------------------------------

Today I've tried it directly from master branch and I didn't experience the NoClassDefFoundError.
Deploying using Management Operations works, undeploying single project/module works too, but when I try to undeploy more modules at once, they are immediately redeployed.
Steps to reproduce:
1) Have WildFly server adapter configured to use Management Operations
2) Create two dynamic web projects
3) Deploy both projects
4) In servers view, expand WildFly server adapter,select both projects and press Delete.
ASSERT: Projects should be undeployed
FAIL: Projects are undeployed, but immediately redeployed.
{noformat:title=Server log}
12:07:50,643 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 125) WFLYUT0022: Unregistered web context: '/SecondDynamicProject' from server 'default-server'
12:07:50,649 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028: Stopped deployment SecondDynamicProject.war (runtime-name: SecondDynamicProject.war) in 7ms
12:07:50,663 INFO  [org.jboss.as.repository] (management-handler-thread - 7) WFLYDR0002: Content removed from location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/42/d8e6231da2c0c0b855b863e6a2dd02ffabb1ba/content
12:07:50,663 INFO  [org.jboss.as.server] (management-handler-thread - 7) WFLYSRV0009: Undeployed "SecondDynamicProject.war" (runtime-name: "SecondDynamicProject.war")
12:07:50,762 INFO  [org.jboss.as.repository] (management-handler-thread - 8) WFLYDR0001: Content added at location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/34/af0304d5e201534065c6a37d0e7cb7fd67bb2e/content
12:07:50,764 INFO  [org.jboss.as.repository] (management-handler-thread - 8) WFLYDR0017: Content exploded at location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/42/d8e6231da2c0c0b855b863e6a2dd02ffabb1ba/content
12:07:50,767 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "SecondDynamicProject.war" (runtime-name: "SecondDynamicProject.war")
12:07:50,842 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 121) WFLYUT0021: Registered web context: '/SecondDynamicProject' for server 'default-server'
12:07:50,856 INFO  [org.jboss.as.server] (management-handler-thread - 8) WFLYSRV0010: Deployed "SecondDynamicProject.war" (runtime-name : "SecondDynamicProject.war")
12:07:50,858 INFO  [org.jboss.as.repository] (management-handler-thread - 8) WFLYDR0002: Content removed from location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/34/af0304d5e201534065c6a37d0e7cb7fd67bb2e/content
12:07:51,043 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 123) WFLYUT0022: Unregistered web context: '/MyDynamicWebProject' from server 'default-server'
12:07:51,062 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment MyDynamicWebProject.war (runtime-name: MyDynamicWebProject.war) in 19ms
12:07:51,077 INFO  [org.jboss.as.repository] (management-handler-thread - 8) WFLYDR0002: Content removed from location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/b0/2ce0753ce052f418e402ed6c1ae83f8d93fe00/content
12:07:51,077 INFO  [org.jboss.as.server] (management-handler-thread - 8) WFLYSRV0009: Undeployed "MyDynamicWebProject.war" (runtime-name: "MyDynamicWebProject.war")
12:07:51,158 INFO  [org.jboss.as.repository] (management-handler-thread - 5) WFLYDR0001: Content added at location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/e9/01d0b949643b49faa74475800cb3b9f498808d/content
12:07:51,160 INFO  [org.jboss.as.repository] (management-handler-thread - 5) WFLYDR0017: Content exploded at location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/b0/2ce0753ce052f418e402ed6c1ae83f8d93fe00/content
12:07:51,162 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "MyDynamicWebProject.war" (runtime-name: "MyDynamicWebProject.war")
12:07:51,236 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 123) WFLYUT0021: Registered web context: '/MyDynamicWebProject' for server 'default-server'
12:07:51,244 INFO  [org.jboss.as.server] (management-handler-thread - 5) WFLYSRV0010: Deployed "MyDynamicWebProject.war" (runtime-name : "MyDynamicWebProject.war")
12:07:51,245 INFO  [org.jboss.as.repository] (management-handler-thread - 5) WFLYDR0002: Content removed from location /home/rhopp/runtimes/wildfly-11.0.0.Beta1-SNAPSHOT/standalone/data/content/e9/01d0b949643b49faa74475800cb3b9f498808d/content
{noformat}

When the server adapter is configured to use Filesystem and shell operations, this works. Also deleting project one by one works too.

> WF 11 / EAP 7.1 Incremental MGMT publishing
> -------------------------------------------
>
>                 Key: JBIDE-23784
>                 URL: https://issues.jboss.org/browse/JBIDE-23784
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: server
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.4.4.Final, 4.5.0.AM2
>
>
> WF 11 and EAP 7.1 will have support for management deployment in an incremental fashion. 
> WF 11 nightly builds for the pre-alpha are here:  https://developer.jboss.org/thread/224262



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list