[
https://issues.jboss.org/browse/WFCORE-429?page=com.atlassian.jira.plugin...
]
Brian Stansberry commented on WFCORE-429:
-----------------------------------------
Prototype I talked about is at
https://github.com/wildfly/wildfly-core/compare/master...bstansberry:WFCO...
Even what's in it needs a fair bit of polish, TODO cleanup etc, and it has absolutely
zero testing, but here's a quick summary using the offline CLI, run after I built this
branch and incorporated the snapshot in a build of the current full WildFly master:
*Start an embedded server:*
{code}$ dist/target/wildfly-10.1.0.Final-SNAPSHOT/bin/jboss-cli.sh
You are disconnected at the moment. Type 'connect' to connect to the server or
'help' for the list of supported commands.
[disconnected /] embed-server --std-out=echo --admin-only=false
15:08:26,877 INFO [org.jboss.modules] (AeshProcess: 1) JBoss Modules version 1.5.1.Final
15:08:26,953 INFO [org.jboss.msc] (AeshProcess: 1) JBoss MSC version 1.2.6.Final
15:08:27,033 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) starting
15:08:28,051 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
15:08:28,068 INFO [org.xnio] (MSC service thread 1-5) XNIO version 3.3.6.Final
15:08:28,074 INFO [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version
3.3.6.Final
15:08:28,127 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38)
WFLYCLINF0001: Activating Infinispan subsystem.
15:08:28,128 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node
identifier property is set to the default value. Please make sure it is unique.
15:08:28,142 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56)
WFLYWS0002: Activating WebServices Extension
15:08:28,146 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002:
Activating Security Subsystem
15:08:28,151 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001:
Activating Naming Subsystem
15:08:28,161 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001:
Worker 'default' has auto-configured to 16 core threads with 128 task threads
based on your 8 available processors
15:08:28,172 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007:
Activated the following JSF Implementations: [main]
15:08:28,179 INFO [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current
PicketBox version=4.9.6.Final
15:08:28,199 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting
JCA Subsystem (WildFly/IronJacamar 1.3.3.Final)
15:08:28,206 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55)
WFLYUT0003: Undertow 1.3.21.Final starting
15:08:28,206 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003:
Undertow 1.3.21.Final starting
15:08:28,235 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version
1.3)
15:08:28,245 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-8)
WFLYJCA0018: Started Driver service with driver-name = h2
15:08:28,266 INFO [org.jboss.remoting] (MSC service thread 1-6) JBoss Remoting version
4.0.18.Final
15:08:28,268 INFO [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting
Naming Service
15:08:28,271 INFO [org.jboss.as.mail.extension] (MSC service thread 1-1) WFLYMAIL0001:
Bound mail session [java:jboss/mail/Default]
15:08:28,397 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55)
WFLYUT0014: Creating file handler for path
'/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/welcome-content'
with options [directory-listing: 'false', follow-symlink: 'false',
case-sensitive: 'true', safe-symlink-paths: '[]']
15:08:28,456 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0012:
Started server default-server.
15:08:28,462 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0018:
Host default-host starting
15:08:28,519 INFO [org.jboss.as.ejb3] (MSC service thread 1-4) WFLYEJB0481: Strict pool
slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived
from thread worker pool sizing.
15:08:28,519 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0482: Strict pool
mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from
the number of CPUs on this host.
15:08:28,542 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0006:
Undertow HTTP listener default listening on 127.0.0.1:8080
15:08:28,639 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
15:08:28,752 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-2)
WFLYDS0013: Started FileSystemDeploymentService for directory
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/deployments
15:08:28,898 INFO [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052:
Starting JBossWS 5.1.3.SP1 (Apache CXF 3.1.4)
15:08:28,981 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread
1-8) ISPN000128: Infinispan version: Infinispan 'Mahou' 8.1.2.Final
15:08:29,081 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management
interface listening on
http://127.0.0.1:9990/management
15:08:29,082 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console
listening on
http://127.0.0.1:9990
15:08:29,082 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) started in 2198ms - Started 267
of 553 services (371 services are lazy, passive or on-demand)
{code}
*Add a zipped ear archive, but don't deploy it:*
{code}
[standalone@embedded /] deploy ~/tmp/fibo.ear --disabled
15:08:33,893 INFO [org.jboss.as.repository] (AeshProcess: 2) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/60/0034bb98727145d16bf7e4e2e515ac2e2258b0/content
{code}
*Convert the deployment in the repo from zipped form to exploded:
*
{code}
[standalone@embedded /] /deployment=fibo.ear:explode
15:08:40,460 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/9d/b203816f760bc64ce3c3654911509a8e80731e/content
15:08:40,461 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/bc/fce71e754a8878b6596a9a9eb86475ad1af635/content
15:08:40,465 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/ff/ec4e871559b256c383aaf43ecc5592ea423623/children
15:08:40,466 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/4c/458c37ba0b070e2149a99f86a0df6e06fda749/content
15:08:40,466 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/11/67bb2b15874cbbc1acd802d7806a132effadeb/content
15:08:40,467 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0001: Content added at
location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/a1/7c697e6227eb7836dd7b89859365ad02820c54/children
15:08:40,479 INFO [org.jboss.as.repository] (AeshProcess: 3) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/60/0034bb98727145d16bf7e4e2e515ac2e2258b0/content
{"outcome" => "success"}
{code}
*Deploy it:*
{code}
[standalone@embedded /] /deployment=fibo.ear:deploy
15:08:44,983 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027:
Starting deployment of "fibo.ear" (runtime-name: "fibo.ear")
15:08:45,054 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0207:
Starting subdeployment (runtime-name: "fibo.war")
15:08:45,054 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0207:
Starting subdeployment (runtime-name: "fiboEJB.jar")
15:08:45,285 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003:
Processing weld deployment fibo.ear
15:08:45,346 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread
1-5) HV000001: Hibernate Validator 5.2.4.Final
15:08:45,455 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003:
Processing weld deployment fibo.war
15:08:45,456 INFO [org.jboss.weld.deployer] (MSC service thread 1-8) WFLYWELD0003:
Processing weld deployment fiboEJB.jar
15:08:45,467 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-8) WFLYEJB0473:
JNDI bindings for session bean named 'FiboBean' in deployment unit
'subdeployment "fiboEJB.jar" of deployment "fibo.ear"' are as
follows:
java:global/fibo/fiboEJB/FiboBean!services.ejb.Fibo
java:app/fiboEJB/FiboBean!services.ejb.Fibo
java:module/FiboBean!services.ejb.Fibo
java:global/fibo/fiboEJB/FiboBean
java:app/fiboEJB/FiboBean
java:module/FiboBean
15:08:45,501 INFO [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0006:
Starting Services for CDI deployment: fibo.ear
15:08:45,535 INFO [org.jboss.weld.Version] (MSC service thread 1-6) WELD-000900: 2.3.3
(Final)
15:08:45,546 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0009:
Starting weld service for deployment fibo.ear
15:08:45,647 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:08:45,650 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:08:45,651 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:08:45,652 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 20) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:08:45,932 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 20)
WFLYCLINF0002: Started client-mappings cache from ejb container
15:08:46,553 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 20)
WFLYUT0021: Registered web context: /fibo
15:08:46,571 INFO [org.jboss.as.server] (AeshProcess: 4) WFLYSRV0010: Deployed
"fibo.ear" (runtime-name : "fibo.ear")
{"outcome" => "success"}
{code}
*Open browser and use it.
*
{code}Take my word for it; it worked. ;) {code}
*Reload the server to demonstrate that config marshalling and parsing works:*
{code}
[standalone@embedded /] reload
15:09:05,722 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 27)
WFLYUT0022: Unregistered web context: /fibo
15:09:05,727 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0019:
Host default-host stopping
15:09:05,728 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0010:
Stopping weld service for deployment fibo.ear
15:09:05,743 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
15:09:05,750 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1)
WFLYJCA0019: Stopped Driver service with driver-name = h2
15:09:05,758 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0208:
Stopped subdeployment (runtime-name: fiboEJB.jar) in 53ms
15:09:05,760 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008:
Undertow HTTP listener default suspending
15:09:05,760 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0208:
Stopped subdeployment (runtime-name: fibo.war) in 55ms
15:09:05,761 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007:
Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
15:09:05,762 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028:
Stopped deployment fibo.ear (runtime-name: fibo.ear) in 58ms
15:09:05,762 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004:
Undertow 1.3.21.Final stopping
15:09:05,769 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 20)
WFLYCLINF0003: Stopped client-mappings cache from ejb container
15:09:05,775 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0002:
Unbound mail session [java:jboss/mail/Default]
15:09:05,778 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0050: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) stopped in 75ms
15:09:05,779 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0049: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) starting
15:09:05,860 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
15:09:05,867 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version
1.3)
15:09:05,867 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001:
Worker 'default' has auto-configured to 16 core threads with 128 task threads
based on your 8 available processors
15:09:05,868 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting
JCA Subsystem (WildFly/IronJacamar 1.3.3.Final)
15:09:05,869 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7)
WFLYJCA0018: Started Driver service with driver-name = h2
15:09:05,867 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38)
WFLYCLINF0001: Activating Infinispan subsystem.
15:09:05,870 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001:
Activating Naming Subsystem
15:09:05,872 INFO [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002:
Activating Security Subsystem
15:09:05,872 INFO [org.jboss.as.security] (MSC service thread 1-7) WFLYSEC0001: Current
PicketBox version=4.9.6.Final
15:09:05,873 INFO [org.jboss.as.naming] (MSC service thread 1-6) WFLYNAM0003: Starting
Naming Service
15:09:05,873 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node
identifier property is set to the default value. Please make sure it is unique.
15:09:05,874 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55)
WFLYUT0003: Undertow 1.3.21.Final starting
15:09:05,873 INFO [org.jboss.as.mail.extension] (MSC service thread 1-7) WFLYMAIL0001:
Bound mail session [java:jboss/mail/Default]
15:09:05,875 INFO [org.wildfly.extension.undertow] (MSC service thread 1-7) WFLYUT0003:
Undertow 1.3.21.Final starting
15:09:05,876 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 56)
WFLYWS0002: Activating WebServices Extension
15:09:05,878 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55)
WFLYUT0014: Creating file handler for path
'/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/welcome-content'
with options [directory-listing: 'false', follow-symlink: 'false',
case-sensitive: 'true', safe-symlink-paths: '[]']
15:09:05,883 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0481: Strict pool
slsb-strict-max-pool is using a max instance size of 128 (per class), which is derived
from thread worker pool sizing.
15:09:05,883 INFO [org.jboss.as.ejb3] (MSC service thread 1-5) WFLYEJB0482: Strict pool
mdb-strict-max-pool is using a max instance size of 32 (per class), which is derived from
the number of CPUs on this host.
15:09:05,887 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0012:
Started server default-server.
15:09:05,888 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0018:
Host default-host starting
15:09:05,891 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006:
Undertow HTTP listener default listening on 127.0.0.1:8080
15:09:05,908 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-8) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
15:09:05,932 INFO [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052:
Starting JBossWS 5.1.3.SP1 (Apache CXF 3.1.4)
15:09:05,935 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0027:
Starting deployment of "fibo.ear" (runtime-name: "fibo.ear")
15:09:05,937 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-6)
WFLYDS0013: Started FileSystemDeploymentService for directory
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/deployments
15:09:05,945 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0207:
Starting subdeployment (runtime-name: "fibo.war")
15:09:05,945 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0207:
Starting subdeployment (runtime-name: "fiboEJB.jar")
15:09:05,980 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003:
Processing weld deployment fibo.ear
15:09:05,989 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003:
Processing weld deployment fiboEJB.jar
15:09:05,990 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473:
JNDI bindings for session bean named 'FiboBean' in deployment unit
'subdeployment "fiboEJB.jar" of deployment "fibo.ear"' are as
follows:
java:global/fibo/fiboEJB/FiboBean!services.ejb.Fibo
java:app/fiboEJB/FiboBean!services.ejb.Fibo
java:module/FiboBean!services.ejb.Fibo
java:global/fibo/fiboEJB/FiboBean
java:app/fiboEJB/FiboBean
java:module/FiboBean
15:09:05,990 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003:
Processing weld deployment fibo.war
15:09:06,003 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0006:
Starting Services for CDI deployment: fibo.ear
15:09:06,006 INFO [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0009:
Starting weld service for deployment fibo.ear
15:09:06,012 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:09:06,013 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:09:06,014 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:09:06,014 INFO [org.infinispan.configuration.cache.EvictionConfigurationBuilder]
(ServerService Thread Pool -- 58) ISPN000152: Passivation configured without an eviction
policy being selected. Only manually evicted entities will be passivated.
15:09:06,030 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 58)
WFLYCLINF0002: Started client-mappings cache from ejb container
15:09:06,181 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 58)
WFLYUT0021: Registered web context: /fibo
15:09:06,185 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0010: Deployed
"fibo.ear" (runtime-name : "fibo.ear")
15:09:06,239 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management
interface listening on
http://127.0.0.1:9990/management
15:09:06,239 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console
listening on
http://127.0.0.1:9990
15:09:06,239 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) started in 458ms - Started 470
of 750 services (398 services are lazy, passive or on-demand)
{code}
*Undeploy:*
{code}
[standalone@embedded /] undeploy fibo.ear
15:09:20,621 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 3)
WFLYUT0022: Unregistered web context: /fibo
15:09:20,630 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0010:
Stopping weld service for deployment fibo.ear
15:09:20,645 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 21)
WFLYCLINF0003: Stopped client-mappings cache from ejb container
15:09:20,645 INFO [org.jboss.as.server.deployment] (MSC service thread 1-7) WFLYSRV0208:
Stopped subdeployment (runtime-name: fiboEJB.jar) in 26ms
15:09:20,652 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0208:
Stopped subdeployment (runtime-name: fibo.war) in 33ms
15:09:20,656 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0028:
Stopped deployment fibo.ear (runtime-name: fibo.ear) in 37ms
15:09:20,678 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/bc/fce71e754a8878b6596a9a9eb86475ad1af635/content
15:09:20,679 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/9d/b203816f760bc64ce3c3654911509a8e80731e/content
15:09:20,680 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/ff/ec4e871559b256c383aaf43ecc5592ea423623/children
15:09:20,681 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/11/67bb2b15874cbbc1acd802d7806a132effadeb/content
15:09:20,681 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/4c/458c37ba0b070e2149a99f86a0df6e06fda749/content
15:09:20,682 INFO [org.jboss.as.repository] (AeshProcess: 6) WFLYDR0002: Content removed
from location
/Users/bstansberry/dev/wildfly/wildfly/dist/target/wildfly-10.1.0.Final-SNAPSHOT/standalone/data/content/a1/7c697e6227eb7836dd7b89859365ad02820c54/children
15:09:20,683 INFO [org.jboss.as.server] (AeshProcess: 6) WFLYSRV0009: Undeployed
"fibo.ear" (runtime-name: "fibo.ear")
{code}
*Done:*
{code}
[standalone@embedded /] quit
15:09:29,454 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-2) WFLYJCA0010: Unbound data source [java:jboss/datasources/ExampleDS]
15:09:29,459 INFO [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0019:
Host default-host stopping
15:09:29,460 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-6)
WFLYJCA0019: Stopped Driver service with driver-name = h2
15:09:29,462 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0008:
Undertow HTTP listener default suspending
15:09:29,463 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0007:
Undertow HTTP listener default stopped, was bound to 127.0.0.1:8080
15:09:29,464 INFO [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0004:
Undertow 1.3.21.Final stopping
15:09:29,468 INFO [org.jboss.as] (MSC service thread 1-6) WFLYSRV0050: WildFly Full
10.1.0.Final-SNAPSHOT (WildFly Core 3.0.0.Alpha1-SNAPSHOT) stopped in 11ms
{code}
So, this doesn't have any of the ops to manipulate the exploded deployment
(add/update/remove/read) bits of content, but the basics of handling such content in the
repo are there.
Incremental redeployment (single file update) over management API
-----------------------------------------------------------------
Key: WFCORE-429
URL:
https://issues.jboss.org/browse/WFCORE-429
Project: WildFly Core
Issue Type: Feature Request
Components: CLI, Domain Management
Reporter: Ondrej Zizka
Labels: deploy, deployment, incremental, redeployment
Fix For: 3.0.0.Beta1
(Based on JBDS use case - see EAP6-1)
See also
https://mojo.redhat.com/docs/DOC-934058 for notes
By incremental redeployment, we mean the situation when something is deployed, and after
changes (in IDE e.g.), only that single file (.jsp, .xml, .class) would be re-deployed to
the server, *over management API* - which is, you'd give it a stream and a path where
it belongs in the deployment, and the operation would accept that file and put it to the
right place in VFS, clear caches etc.
Use cases:
Big .war's, mainly on remote
Cloud deployments
Also, you loose sessions etc.
"JSP recompile on file update" - mgmt API operation - added in WildFly 8?
Not expected to work in domain mode.
Stuart said that session persistence is implemented in WFly 8, but not the incremental
redeployment.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)