[
https://issues.jboss.org/browse/WFLY-9516?page=com.atlassian.jira.plugin....
]
Scott Marlow edited comment on WFLY-9516 at 11/15/17 11:11 AM:
---------------------------------------------------------------
Thanks Stuart, I can build now with the changes you mentioned.
WildFly console output after deployment:
{code}
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was
removed in 8.0
09:26:09,298 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
09:26:15,333 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
09:26:15,430 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full
12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha2) starting
09:26:16,458 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/core-service=management/management-interface=http-interface' is deprecated, and
may be removed in future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
09:26:16,482 INFO [org.wildfly.security] (ServerService Thread Pool -- 17) ELY00001:
WildFly Elytron version 1.2.0.Beta8
09:26:16,495 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread
Pool -- 29) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/subsystem=undertow/server=default-server/https-listener=https' is deprecated,
and may be removed in future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
09:26:16,498 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
1) WFLYDS0015: Re-attempting failed deployment reproducer-ear-0.1.ear
09:26:16,554 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
09:26:16,571 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.5.4.Final
09:26:16,580 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version
3.5.4.Final
09:26:16,611 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42)
WFLYCLINF0001: Activating Infinispan subsystem.
09:26:16,611 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016:
RESTEasy version 3.0.24.Final
09:26:16,624 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001:
Worker 'default' has auto-configured to 16 core threads with 128 task threads
based on your 8 available processors
09:26:16,663 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001:
Activating Naming Subsystem
09:26:16,682 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version
5.0.5.Final
09:26:16,628 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version
1.4)
09:26:16,653 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007:
Activated the following JSF Implementations: [main]
09:26:16,667 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting
JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
09:26:16,701 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002:
Activating Security Subsystem
09:26:16,700 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The
node-identifier attribute on the /subsystem=transactions is set to the default value. This
is a danger for environments running multiple servers. Please make sure the attribute
value is unique.
09:26:16,710 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001:
Bound mail session [java:jboss/mail/Default]
09:26:16,747 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60)
WFLYWS0002: Activating WebServices Extension
09:26:16,728 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting
Naming Service
09:26:16,763 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003:
Undertow 1.4.18.Final starting
09:26:16,746 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current
PicketBox version=5.0.2.Final
09:26:16,747 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3)
WFLYJCA0018: Started Driver service with driver-name = h2
09:26:16,807 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) 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.
09:26:16,807 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) 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.
09:26:16,945 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59)
WFLYUT0014: Creating file handler for path
'/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/welcome-content'
with options [directory-listing: 'false', follow-symlink: 'false',
case-sensitive: 'true', safe-symlink-paths: '[]']
09:26:16,966 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0012:
Started server default-server.
09:26:16,968 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018:
Host default-host starting
09:26:17,005 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006:
Undertow HTTP listener default listening on 127.0.0.1:8080
09:26:17,086 INFO [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: WildFly
Full cumulative patch ID is: base, one-off patches include: none
09:26:17,096 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-8)
WFLYDM0111: Keystore
/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/standalone/configuration/application.keystore
not found, it will be auto generated on first use with a self signed certificate for host
localhost
09:26:17,097 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7)
WFLYDS0013: Started FileSystemDeploymentService for directory
/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/standalone/deployments
09:26:17,105 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027:
Starting deployment of "reproducer-ear-0.1.ear" (runtime-name:
"reproducer-ear-0.1.ear")
09:26:17,166 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006:
Undertow HTTPS listener https listening on 127.0.0.1:8443
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-ejb2.jar")
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-common.jar")
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-ejb.jar")
09:26:17,344 INFO [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052:
Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12)
09:26:17,490 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read
persistence.xml for pu1
09:26:17,490 INFO [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read
persistence.xml for pu2
09:26:22,710 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB subsystem
suspension complete
09:26:22,774 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
09:26:22,780 WARN [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018:
Deployment "deployment.reproducer-ear-0.1.ear" is using a private module
("org.apache.cxf.impl") which may be changed or removed in future versions
without notice.
09:26:22,817 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003:
Processing weld deployment reproducer-ear-0.1.ear
09:26:22,852 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread
1-3) HV000001: Hibernate Validator 5.3.5.Final
09:26:22,936 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003:
Processing weld deployment reproducer-common.jar
09:26:22,945 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread
1-6) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
09:26:22,959 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003:
Processing weld deployment reproducer-ejb.jar
09:26:22,959 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003:
Processing weld deployment reproducer-ejb2.jar
09:26:22,963 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473:
JNDI bindings for session bean named 'StatelessBean1' in deployment unit
'subdeployment "reproducer-ejb.jar" of deployment
"reproducer-ear-0.1.ear"' are as follows:
java:global/reproducer-ear-0.1/reproducer-ejb/StatelessBean1!org.wildfly.test.StatelessBean1
java:app/reproducer-ejb/StatelessBean1!org.wildfly.test.StatelessBean1
java:module/StatelessBean1!org.wildfly.test.StatelessBean1
java:global/reproducer-ear-0.1/reproducer-ejb/StatelessBean1
java:app/reproducer-ejb/StatelessBean1
java:module/StatelessBean1
09:26:22,963 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010:
Starting Persistence Unit (phase 1 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1'
09:26:22,963 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010:
Starting Persistence Unit (phase 1 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2'
09:26:22,966 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473:
JNDI bindings for session bean named 'StatelessBean2' in deployment unit
'subdeployment "reproducer-ejb2.jar" of deployment
"reproducer-ear-0.1.ear"' are as follows:
java:global/reproducer-ear-0.1/reproducer-ejb2/StatelessBean2!org.wildfly.test.StatelessBean2
java:app/reproducer-ejb2/StatelessBean2!org.wildfly.test.StatelessBean2
java:module/StatelessBean2!org.wildfly.test.StatelessBean2
java:global/reproducer-ear-0.1/reproducer-ejb2/StatelessBean2
java:app/reproducer-ejb2/StatelessBean2
java:module/StatelessBean2
09:26:22,992 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool
-- 62) HHH000204: Processing PersistenceUnitInfo [
name: pu2
...]
09:26:22,992 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool
-- 63) HHH000204: Processing PersistenceUnitInfo [
name: pu1
...]
09:26:23,019 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900: 2.4.5
(Final)
09:26:23,102 INFO [org.hibernate.Version] (ServerService Thread Pool -- 62) HHH000412:
Hibernate Core {5.1.10.Final}
09:26:23,107 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62)
HHH000206: hibernate.properties not found
09:26:23,108 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62)
HHH000021: Bytecode provider name : javassist
09:26:23,163 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool
-- 62) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
09:26:23,270 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010:
Starting Persistence Unit (phase 2 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1'
09:26:23,359 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64)
WFLYCLINF0002: Started client-mappings cache from ejb container
09:26:23,456 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 62)
HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
09:26:23,460 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 62)
HHH000431: Unable to determine H2 database version, certain features may not work
09:26:23,508 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService
Thread Pool -- 62) Envers integration enabled? : true
09:26:23,793 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0002: Started
reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1.org.wildfly.test.Entity1 cache from
hibernate container
09:26:23,810 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0002: Started
reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1.org.wildfly.test.Entity1-pending-puts cache
from hibernate container
09:26:23,911 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment"
=> "reproducer-ear-0.1.ear")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".deploymentCompleteService",
"jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.ValidatorFactory
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".batch.artifact.factory
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager]",
"jboss.deployment.unit.\"reproducer-ear-0.1.ear\".deploymentCompleteService
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".deploymentCompleteService]",
"jboss.deployment.unit.\"reproducer-ear-0.1.ear\".WeldStartService
is missing
[jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.Validator
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.InAppClientContainer
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.InstanceName
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".weld.weldClassIntrospector
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb.jar\".component.StatelessBean1.START
is missing
[jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"]"
]
}
09:26:23,917 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010:
Deployed "reproducer-ear-0.1.ear" (runtime-name :
"reproducer-ear-0.1.ear")
09:26:23,918 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service
status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".beanmanager
(missing) dependents: [service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".batch.artifact.factory,
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".weld.weldClassIntrospector]
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".deploymentCompleteService
(missing) dependents: [service
jboss.deployment.unit."reproducer-ear-0.1.ear".deploymentCompleteService]
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2
(missing) dependents: [service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.InAppClientContainer,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.Validator,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.InstanceName,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.ValidatorFactory]
service
jboss.persistenceunit."reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2" (missing)
dependents: [service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb.jar".component.StatelessBean1.START,
service jboss.deployment.unit."reproducer-ear-0.1.ear".WeldStartService]
09:26:23,959 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming
server
09:26:23,961 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management
interface listening on
http://127.0.0.1:9990/management
09:26:23,961 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console
listening on
http://127.0.0.1:9990
09:26:23,961 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full
12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha2) started (with errors) in 14923ms -
Started 491 of 734 services (26 services failed or missing dependencies, 359 services are
lazy, passive or on-demand)
{code}
was (Author: smarlow):
Thanks Stuart, I can build now with the changes you mentioned.
WildFly console output after deployment:
{quote}
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was
removed in 8.0
09:26:09,298 INFO [org.jboss.modules] (main) JBoss Modules version 1.6.1.Final
09:26:15,333 INFO [org.jboss.msc] (main) JBoss MSC version 1.2.7.SP1
09:26:15,430 INFO [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full
12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha2) starting
09:26:16,458 INFO [org.jboss.as.controller.management-deprecated] (Controller Boot
Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/core-service=management/management-interface=http-interface' is deprecated, and
may be removed in future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
09:26:16,482 INFO [org.wildfly.security] (ServerService Thread Pool -- 17) ELY00001:
WildFly Elytron version 1.2.0.Beta8
09:26:16,495 INFO [org.jboss.as.controller.management-deprecated] (ServerService Thread
Pool -- 29) WFLYCTL0028: Attribute 'security-realm' in the resource at address
'/subsystem=undertow/server=default-server/https-listener=https' is deprecated,
and may be removed in future version. See the attribute description in the output of the
read-resource-description operation to learn more about the deprecation.
09:26:16,498 INFO [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads -
1) WFLYDS0015: Re-attempting failed deployment reproducer-ear-0.1.ear
09:26:16,554 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating
http management service using socket-binding (management-http)
09:26:16,571 INFO [org.xnio] (MSC service thread 1-2) XNIO version 3.5.4.Final
09:26:16,580 INFO [org.xnio.nio] (MSC service thread 1-2) XNIO NIO Implementation Version
3.5.4.Final
09:26:16,611 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 42)
WFLYCLINF0001: Activating Infinispan subsystem.
09:26:16,611 INFO [org.jboss.as.jaxrs] (ServerService Thread Pool -- 43) WFLYRS0016:
RESTEasy version 3.0.24.Final
09:26:16,624 INFO [org.wildfly.extension.io] (ServerService Thread Pool -- 41) WFLYIO001:
Worker 'default' has auto-configured to 16 core threads with 128 task threads
based on your 8 available processors
09:26:16,663 INFO [org.jboss.as.naming] (ServerService Thread Pool -- 50) WFLYNAM0001:
Activating Naming Subsystem
09:26:16,682 INFO [org.jboss.remoting] (MSC service thread 1-3) JBoss Remoting version
5.0.5.Final
09:26:16,628 INFO [org.jboss.as.connector.subsystems.datasources] (ServerService Thread
Pool -- 36) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version
1.4)
09:26:16,653 INFO [org.jboss.as.jsf] (ServerService Thread Pool -- 48) WFLYJSF0007:
Activated the following JSF Implementations: [main]
09:26:16,667 INFO [org.jboss.as.connector] (MSC service thread 1-2) WFLYJCA0009: Starting
JCA Subsystem (WildFly/IronJacamar 1.4.6.Final)
09:26:16,701 INFO [org.jboss.as.security] (ServerService Thread Pool -- 57) WFLYSEC0002:
Activating Security Subsystem
09:26:16,700 WARN [org.jboss.as.txn] (ServerService Thread Pool -- 58) WFLYTX0013: The
node-identifier attribute on the /subsystem=transactions is set to the default value. This
is a danger for environments running multiple servers. Please make sure the attribute
value is unique.
09:26:16,710 INFO [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001:
Bound mail session [java:jboss/mail/Default]
09:26:16,747 INFO [org.jboss.as.webservices] (ServerService Thread Pool -- 60)
WFLYWS0002: Activating WebServices Extension
09:26:16,728 INFO [org.jboss.as.naming] (MSC service thread 1-1) WFLYNAM0003: Starting
Naming Service
09:26:16,763 INFO [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003:
Undertow 1.4.18.Final starting
09:26:16,746 INFO [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current
PicketBox version=5.0.2.Final
09:26:16,747 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3)
WFLYJCA0018: Started Driver service with driver-name = h2
09:26:16,807 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) 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.
09:26:16,807 INFO [org.jboss.as.ejb3] (MSC service thread 1-8) 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.
09:26:16,945 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 59)
WFLYUT0014: Creating file handler for path
'/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/welcome-content'
with options [directory-listing: 'false', follow-symlink: 'false',
case-sensitive: 'true', safe-symlink-paths: '[]']
09:26:16,966 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0012:
Started server default-server.
09:26:16,968 INFO [org.wildfly.extension.undertow] (MSC service thread 1-8) WFLYUT0018:
Host default-host starting
09:26:17,005 INFO [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006:
Undertow HTTP listener default listening on 127.0.0.1:8080
09:26:17,086 INFO [org.jboss.as.patching] (MSC service thread 1-1) WFLYPAT0050: WildFly
Full cumulative patch ID is: base, one-off patches include: none
09:26:17,096 WARN [org.jboss.as.domain.management.security] (MSC service thread 1-8)
WFLYDM0111: Keystore
/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/standalone/configuration/application.keystore
not found, it will be auto generated on first use with a self signed certificate for host
localhost
09:26:17,097 INFO [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7)
WFLYDS0013: Started FileSystemDeploymentService for directory
/home/smarlow/work/wildfly/dist/target/wildfly-12.0.0.Alpha1-SNAPSHOT/standalone/deployments
09:26:17,105 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027:
Starting deployment of "reproducer-ear-0.1.ear" (runtime-name:
"reproducer-ear-0.1.ear")
09:26:17,166 INFO [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0006:
Undertow HTTPS listener https listening on 127.0.0.1:8443
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-ejb2.jar")
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-common.jar")
09:26:17,178 INFO [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0207:
Starting subdeployment (runtime-name: "reproducer-ejb.jar")
09:26:17,344 INFO [org.jboss.ws.common.management] (MSC service thread 1-7) JBWS022052:
Starting JBossWS 5.1.9.Final (Apache CXF 3.1.12)
09:26:17,490 INFO [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read
persistence.xml for pu1
09:26:17,490 INFO [org.jboss.as.jpa] (MSC service thread 1-6) WFLYJPA0002: Read
persistence.xml for pu2
09:26:22,710 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) WFLYEJB0493: EJB subsystem
suspension complete
09:26:22,774 INFO [org.jboss.as.connector.subsystems.datasources] (MSC service thread
1-3) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
09:26:22,780 WARN [org.jboss.as.dependency.private] (MSC service thread 1-5) WFLYSRV0018:
Deployment "deployment.reproducer-ear-0.1.ear" is using a private module
("org.apache.cxf.impl") which may be changed or removed in future versions
without notice.
09:26:22,817 INFO [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003:
Processing weld deployment reproducer-ear-0.1.ear
09:26:22,852 INFO [org.hibernate.validator.internal.util.Version] (MSC service thread
1-3) HV000001: Hibernate Validator 5.3.5.Final
09:26:22,936 INFO [org.jboss.weld.deployer] (MSC service thread 1-4) WFLYWELD0003:
Processing weld deployment reproducer-common.jar
09:26:22,945 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread
1-6) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.8.Final
09:26:22,959 INFO [org.jboss.weld.deployer] (MSC service thread 1-2) WFLYWELD0003:
Processing weld deployment reproducer-ejb.jar
09:26:22,959 INFO [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003:
Processing weld deployment reproducer-ejb2.jar
09:26:22,963 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-2) WFLYEJB0473:
JNDI bindings for session bean named 'StatelessBean1' in deployment unit
'subdeployment "reproducer-ejb.jar" of deployment
"reproducer-ear-0.1.ear"' are as follows:
java:global/reproducer-ear-0.1/reproducer-ejb/StatelessBean1!org.wildfly.test.StatelessBean1
java:app/reproducer-ejb/StatelessBean1!org.wildfly.test.StatelessBean1
java:module/StatelessBean1!org.wildfly.test.StatelessBean1
java:global/reproducer-ear-0.1/reproducer-ejb/StatelessBean1
java:app/reproducer-ejb/StatelessBean1
java:module/StatelessBean1
09:26:22,963 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010:
Starting Persistence Unit (phase 1 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1'
09:26:22,963 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010:
Starting Persistence Unit (phase 1 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2'
09:26:22,966 INFO [org.jboss.as.ejb3.deployment] (MSC service thread 1-5) WFLYEJB0473:
JNDI bindings for session bean named 'StatelessBean2' in deployment unit
'subdeployment "reproducer-ejb2.jar" of deployment
"reproducer-ear-0.1.ear"' are as follows:
java:global/reproducer-ear-0.1/reproducer-ejb2/StatelessBean2!org.wildfly.test.StatelessBean2
java:app/reproducer-ejb2/StatelessBean2!org.wildfly.test.StatelessBean2
java:module/StatelessBean2!org.wildfly.test.StatelessBean2
java:global/reproducer-ear-0.1/reproducer-ejb2/StatelessBean2
java:app/reproducer-ejb2/StatelessBean2
java:module/StatelessBean2
09:26:22,992 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool
-- 62) HHH000204: Processing PersistenceUnitInfo [
name: pu2
...]
09:26:22,992 INFO [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool
-- 63) HHH000204: Processing PersistenceUnitInfo [
name: pu1
...]
09:26:23,019 INFO [org.jboss.weld.Version] (MSC service thread 1-2) WELD-000900: 2.4.5
(Final)
09:26:23,102 INFO [org.hibernate.Version] (ServerService Thread Pool -- 62) HHH000412:
Hibernate Core {5.1.10.Final}
09:26:23,107 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62)
HHH000206: hibernate.properties not found
09:26:23,108 INFO [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 62)
HHH000021: Bytecode provider name : javassist
09:26:23,163 INFO [org.hibernate.annotations.common.Version] (ServerService Thread Pool
-- 62) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
09:26:23,270 INFO [org.jboss.as.jpa] (ServerService Thread Pool -- 62) WFLYJPA0010:
Starting Persistence Unit (phase 2 of 2) Service
'reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1'
09:26:23,359 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64)
WFLYCLINF0002: Started client-mappings cache from ejb container
09:26:23,456 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 62)
HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
09:26:23,460 WARN [org.hibernate.dialect.H2Dialect] (ServerService Thread Pool -- 62)
HHH000431: Unable to determine H2 database version, certain features may not work
09:26:23,508 INFO [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService
Thread Pool -- 62) Envers integration enabled? : true
09:26:23,793 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0002: Started
reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1.org.wildfly.test.Entity1 cache from
hibernate container
09:26:23,810 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 62)
WFLYCLINF0002: Started
reproducer-ear-0.1.ear/reproducer-ejb.jar#pu1.org.wildfly.test.Entity1-pending-puts cache
from hibernate container
09:26:23,911 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread)
WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment"
=> "reproducer-ear-0.1.ear")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => [
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".deploymentCompleteService",
"jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager"
],
"WFLYCTL0180: Services with missing/unavailable dependencies" => [
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.ValidatorFactory
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".batch.artifact.factory
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager]",
"jboss.deployment.unit.\"reproducer-ear-0.1.ear\".deploymentCompleteService
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".deploymentCompleteService]",
"jboss.deployment.unit.\"reproducer-ear-0.1.ear\".WeldStartService
is missing
[jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.Validator
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.InAppClientContainer
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2.InstanceName
is missing
[jboss.naming.context.java.comp.\"reproducer-ear-0.1\".reproducer-ejb2.StatelessBean2]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".weld.weldClassIntrospector
is missing
[jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb2.jar\".beanmanager]",
"jboss.deployment.subunit.\"reproducer-ear-0.1.ear\".\"reproducer-ejb.jar\".component.StatelessBean1.START
is missing
[jboss.persistenceunit.\"reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2\"]"
]
}
09:26:23,917 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010:
Deployed "reproducer-ear-0.1.ear" (runtime-name :
"reproducer-ear-0.1.ear")
09:26:23,918 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service
status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".beanmanager
(missing) dependents: [service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".batch.artifact.factory,
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".weld.weldClassIntrospector]
service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb2.jar".deploymentCompleteService
(missing) dependents: [service
jboss.deployment.unit."reproducer-ear-0.1.ear".deploymentCompleteService]
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2
(missing) dependents: [service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.InAppClientContainer,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.Validator,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.InstanceName,
service
jboss.naming.context.java.comp."reproducer-ear-0.1".reproducer-ejb2.StatelessBean2.ValidatorFactory]
service
jboss.persistenceunit."reproducer-ear-0.1.ear/reproducer-ejb2.jar#pu2" (missing)
dependents: [service
jboss.deployment.subunit."reproducer-ear-0.1.ear"."reproducer-ejb.jar".component.StatelessBean1.START,
service jboss.deployment.unit."reproducer-ear-0.1.ear".WeldStartService]
09:26:23,959 INFO [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming
server
09:26:23,961 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management
interface listening on
http://127.0.0.1:9990/management
09:26:23,961 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console
listening on
http://127.0.0.1:9990
09:26:23,961 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full
12.0.0.Alpha1-SNAPSHOT (WildFly Core 4.0.0.Alpha2) started (with errors) in 14923ms -
Started 491 of 734 services (26 services failed or missing dependencies, 359 services are
lazy, passive or on-demand)
{quote}
JPA deployer adding cross sub deployment dependencies when multiple
persistence units deployed
----------------------------------------------------------------------------------------------
Key: WFLY-9516
URL:
https://issues.jboss.org/browse/WFLY-9516
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 11.0.0.Final
Reporter: Brad Maxwell
Assignee: Scott Marlow
If an ear contains two EJB sub deployments which each contain a Persistence Unit and a
Stateless EJB which injects the PU that is in its jar using @PersistenceContext. There is
a dependency being added where in the Stateless EJB from one deployment depends on the PU
from the other jar. It appears this is happening after this bug fix WFLY-1531
{code}
app.ear
- ejb-with-pu1.jar
- ejb-with-pu2.jar
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)