]
Radoslav Husar reassigned WFLY-11518:
-------------------------------------
Assignee: Paul Ferraro (was: Jason Greene)
WAR deployment in 10.1.0 Final is failing itself after its successful
deployment
--------------------------------------------------------------------------------
Key: WFLY-11518
URL:
https://issues.jboss.org/browse/WFLY-11518
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.1.0.Final
Reporter: Srinivas ev
Assignee: Paul Ferraro
Priority: Major
Labels: highavailability
Setup -- Wildfly Clustered ha with pacemaker
pcs resource enable REST
This will internally call custom bash scripts as below.
APP_NAME = myproject-plf-core-fm-rest-api.war
cd $MYPROJECT_DEPLOYMENT_DIR
$MYPROJECT_HOME/wildfly/bin/jboss-cli.sh --connect
controller=$HOST_NAME:$MYPROJECT_JBOSS_PORT <<EOF
batch
deploy ${APP_NAME} --name=${APP_NAME} --runtime-name=${APP_NAME}
run-batch
exit
war is switching with deploy/undeploy as below without the success deployment. This
leading to failure of other jars deployment in the cluster.
2018/12/14 15:45:49,053+05:30 WARN [org.jboss.as.weld] (MSC service thread 1-8)
WFLYWELD0052: Using deployment classloader to load proxy classes for module
com.alu.ipprd.myproject.core.fm.common:main. Package-private access will not work. To fix
this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
2018/12/14 15:45:49,162+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n]
(ServerService Thread Pool -- 143) RESTEASY002225: Deploying javax.ws.rs.core.Application:
class
com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
2018/12/14 15:45:49,163+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n]
(ServerService Thread Pool -- 143) RESTEASY002200: Adding class resource
com.alu.ipprd.myproject.core.fm.rest.service.web.service.CorrectiveService from
Application class
com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
2018/12/14 15:45:49,169+05:30 INFO [org.wildfly.extension.undertow] (ServerService
Thread Pool -- 143) WFLYUT0021: Registered web context: /myproject-fm-service
2018/12/14 15:45:49,185+05:30 INFO [org.jboss.as.server] (management-handler-thread -
13) WFLYSRV0010: Deployed "myproject-plf-core-fm-rest-api.war" (runtime-name :
"myproject-plf-core-fm-rest-api.war")
2018/12/14 15:45:59,878+05:30 INFO [org.wildfly.extension.undertow] (ServerService
Thread Pool -- 143) WFLYUT0022: Unregistered web context: /myproject-fm-service
2018/12/14 15:45:59,882+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143)
WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:45:59,883+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:45:59,932+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0028: Stopped deployment myproject-plf-core-fm-rest-api.war (runtime-name:
myproject-plf-core-fm-rest-api.war) in 59ms
2018/12/14 15:45:59,944+05:30 WARN [org.jboss.as.controller] (management-handler-thread
- 16) WFLYCTL0357: Notification of type deployment-undeployed is not described for the
resource at the address []
2018/12/14 15:45:59,950+05:30 INFO [org.jboss.as.repository] (management-handler-thread
- 16) WFLYDR0002: Content removed from location
/opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
2018/12/14 15:45:59,950+05:30 INFO [org.jboss.as.server] (management-handler-thread -
16) WFLYSRV0009: Undeployed "myproject-plf-core-fm-rest-api.war" (runtime-name:
"myproject-plf-core-fm-rest-api.war")
2018/12/14 15:46:03,190+05:30 INFO [org.jboss.as.repository] (management-handler-thread
- 13) WFLYDR0001: Content added at location
/opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
2018/12/14 15:46:03,193+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0027: Starting deployment of "myproject-plf-core-fm-rest-api.war"
(runtime-name: "myproject-plf-core-fm-rest-api.war")
2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0059: Class Path entry slf4j-api-1.5.6.jar in
/content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does
not point to a valid jar for a Class-Path reference.
2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0059: Class Path entry slf4j-jdk14-1.5.6.jar in
/content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does
not point to a valid jar for a Class-Path reference.
2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0059: Class Path entry concurrent-1.3.2.jar in
/content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does
not point to a valid jar for a Class-Path reference.
2018/12/14 15:46:05,501+05:30 WARN [org.jboss.as.server.deployment] (MSC service thread
1-7) WFLYSRV0059: Class Path entry antlr-2.7.2.jar in
/content/myproject-plf-core-fm-rest-api.war/WEB-INF/lib/jacorb-2.3.1.jbossorg-1.jar does
not point to a valid jar for a Class-Path reference.
2018/12/14 15:46:05,510+05:30 INFO [org.jboss.as.pojo] (MSC service thread 1-4)
WFLYPOJO0001: Found legacy bean/pojo namespace: urn:jboss:bean-deployer:2.0 - might be
missing some xml features (potential exceptions).
2018/12/14 15:46:05,518+05:30 WARN [org.jboss.weld.deployer] (MSC service thread 1-4)
WFLYWELD0012: Warning while parsing
vfs:/content/myproject-plf-core-fm-rest-api.war/WEB-INF/beans.xml:8
cvc-complex-type.3.2.2: Attribute 'bean-discovery-mode' is not allowed to appear
in element 'beans'.
2018/12/14 15:46:05,519+05:30 WARN [org.jboss.weld.deployer] (MSC service thread 1-4)
WFLYWELD0012: Warning while parsing
vfs:/content/myproject-plf-core-fm-rest-api.war/WEB-INF/beans.xml:8
cvc-complex-type.3.2.2: Attribute 'version' is not allowed to appear in element
'beans'.
2018/12/14 15:46:05,520+05:30 INFO [org.jboss.as.jpa] (MSC service thread 1-4)
WFLYJPA0002: Read persistence.xml for dacPersistenceUnit
2018/12/14 15:46:05,620+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143)
WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:46:05,620+05:30 INFO [org.hibernate.jpa.internal.util.LogHelper]
(ServerService Thread Pool -- 143) HHH000204: Processing PersistenceUnitInfo [
name: dacPersistenceUnit
...]
2018/12/14 15:46:05,623+05:30 INFO [org.jboss.weld.deployer] (MSC service thread 1-5)
WFLYWELD0003: Processing weld deployment myproject-plf-core-fm-rest-api.war
2018/12/14 15:46:05,684+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 143)
WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:46:05,685+05:30 INFO [org.hibernate.dialect.Dialect] (ServerService Thread
Pool -- 143) HHH000400: Using dialect: org.hibernate.dialect.MySQLDialect
2018/12/14 15:46:05,697+05:30 INFO
[org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 143)
Envers integration enabled? : true
2018/12/14 15:46:05,795+05:30 INFO
[org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool --
143) HHH000397: Using ASTQueryTranslatorFactory
2018/12/14 15:46:06,328+05:30 WARN [org.jboss.as.weld] (MSC service thread 1-2)
WFLYWELD0052: Using deployment classloader to load proxy classes for module
com.alu.ipprd.myproject.core.fm.common:main. Package-private access will not work. To fix
this the module should declare dependencies on [org.jboss.weld.core, org.jboss.weld.spi]
2018/12/14 15:46:06,474+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n]
(ServerService Thread Pool -- 145) RESTEASY002225: Deploying javax.ws.rs.core.Application:
class
com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
2018/12/14 15:46:06,475+05:30 INFO [org.jboss.resteasy.resteasy_jaxrs.i18n]
(ServerService Thread Pool -- 145) RESTEASY002200: Adding class resource
com.alu.ipprd.myproject.core.fm.rest.service.web.service.CorrectiveService from
Application class
com.alu.ipprd.myproject.core.fm.rest.app.ApplicationConfig$Proxy$_$$_WeldClientProxy
2018/12/14 15:46:06,477+05:30 INFO [org.wildfly.extension.undertow] (ServerService
Thread Pool -- 145) WFLYUT0021: Registered web context: /myproject-fm-service
2018/12/14 15:46:06,493+05:30 INFO [org.jboss.as.server] (management-handler-thread -
13) WFLYSRV0010: Deployed "myproject-plf-core-fm-rest-api.war" (runtime-name :
"myproject-plf-core-fm-rest-api.war")
2018/12/14 15:46:16,895+05:30 INFO [org.wildfly.extension.undertow] (ServerService
Thread Pool -- 145) WFLYUT0022: Unregistered web context: /myproject-fm-service
2018/12/14 15:46:16,902+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 148)
WFLYJPA0011: Stopping Persistence Unit (phase 2 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:46:16,908+05:30 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 148)
WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service
'myproject-plf-core-fm-rest-api.war#dacPersistenceUnit'
2018/12/14 15:46:16,942+05:30 INFO [org.jboss.as.server.deployment] (MSC service thread
1-2) WFLYSRV0028: Stopped deployment myproject-plf-core-fm-rest-api.war (runtime-name:
myproject-plf-core-fm-rest-api.war) in 47ms
2018/12/14 15:46:16,956+05:30 WARN [org.jboss.as.controller] (management-handler-thread
- 16) WFLYCTL0357: Notification of type deployment-undeployed is not described for the
resource at the address []
2018/12/14 15:46:16,962+05:30 INFO [org.jboss.as.repository] (management-handler-thread
- 16) WFLYDR0002: Content removed from location
/opt/myproject4/MBA_EmFmTm/wildfly/standalone/data/content/8a/3345fb0e0d70b34228d63a1cdaff54de522580/content
2018/12/14 15:46:16,962+05:30 INFO [org.jboss.as.server] (management-handler-thread -
16) WFLYSRV0009: Undeployed "myproject-plf-core-fm-rest-api.war" (runtime-name:
"myproject-plf-core-fm-rest-api.war")
Let me know incase require any more information.