Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WFLY-6484 make cached context proxy use the same protection domain of… #8866

Merged
merged 1 commit into from Jun 21, 2016

Conversation

@istudens
Copy link
Contributor

commented Apr 20, 2016

… the context

https://issues.jboss.org/browse/WFLY-6484

This one has to be reviewed.

@wildfly-ci

This comment has been minimized.

Copy link

commented Apr 20, 2016

Linux Build 9822 outcome was FAILURE using a merge of 014d11b
Summary: Tests failed: 1 (1 new), passed: 3329, ignored: 195 Build time: 00:56:38

Failed tests

org.jboss.as.test.integration.ejb.remote.client.api.tx.EJBClientUserTransactionTestCase.testBatchOperationsInTx: java.lang.IllegalStateException: EJBCLIENT000050: Node of the current transaction build11-el7 does not accept StatelessEJBLocator for "ejb-remote-client-api-usertx-test/ejb/BatchCreationBean", view is interface org.jboss.as.test.integration.ejb.remote.client.api.tx.RemoteBatch, affinity is None
    at org.jboss.ejb.client.ReceiverInterceptor.handleInvocation(ReceiverInterceptor.java:49)
    at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:186)
    at org.jboss.ejb.client.EJBInvocationHandler.sendRequestWithPossibleRetries(EJBInvocationHandler.java:255)
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:200)
    at org.jboss.ejb.client.EJBInvocationHandler.doInvoke(EJBInvocationHandler.java:183)
    at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146)
    at com.sun.proxy.$Proxy88.createBatch(Unknown Source)
    at org.jboss.as.test.integration.ejb.remote.client.api.tx.EJBClientUserTransactionTestCase.testBatchOperationsInTx(EJBClientUserTransactionTestCase.java:163)
------- Stdout: -------
 [0m14:05:30,551 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0010: Stopping weld service for deployment ejb-client-interceptor-test-module.jar
 [0m [0m14:05:30,555 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0028: Stopped deployment ejb-client-interceptor-test-module.jar (runtime-name: ejb-client-interceptor-test-module.jar) in 6ms
 [0m [0m14:05:30,556 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 68) WFLYCLINF0003: Stopped client-mappings cache from ejb container
 [0m [0m14:05:30,561 INFO  [org.jboss.as.repository] (management-handler-thread - 4) WFLYDR0002: Content removed from location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/basic/target/jbossas/standalone/data/content/c8/f978f478c05be018e6b0012e14ccd7c4a95b35/content
 [0m [0m14:05:30,561 INFO  [org.jboss.as.server] (management-handler-thread - 4) WFLYSRV0009: Undeployed "ejb-client-interceptor-test-module.jar" (runtime-name: "ejb-client-interceptor-test-module.jar")
 [0m [0m14:05:30,574 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/basic/target/jbossas/standalone/data/content/4c/f5cff85bf0ebbd64a35968d45fff2d7a87afc2/content
 [0m [0m14:05:30,575 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "ejb-remote-client-api-usertx-test.ear" (runtime-name: "ejb-remote-client-api-usertx-test.ear")
 [0m [0m14:05:30,577 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0207: Starting subdeployment (runtime-name: "ejb.jar")
 [0m [0m14:05:30,579 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) WFLYJPA0002: Read persistence.xml for ejb-client-tx-pu
 [0m [33m14:05:30,583 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.ejb-remote-client-api-usertx-test.ear" is using a private module ("org.wildfly.security.manager:main") which may be changed or removed in future versions without notice.
 [0m [33m14:05:30,591 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-1) WFLYSRV0018: Deployment "deployment.ejb-remote-client-api-usertx-test.ear.ejb.jar" is using a private module ("org.wildfly.security.manager:main") which may be changed or removed in future versions without notice.
 [0m [0m14:05:30,591 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment ejb-remote-client-api-usertx-test.ear
 [0m [0m14:05:30,593 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 63) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'ejb-remote-client-api-usertx-test.ear/ejb.jar#ejb-client-tx-pu'
 [0m [0m14:05:30,593 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 63) HHH000204: Processing PersistenceUnitInfo [
    name: ejb-client-tx-pu
    ...]
 [0m [0m14:05:30,595 INFO  [org.hibernate.orm.deprecation] (ServerService Thread Pool -- 63) HHH90000001: Found usage of deprecated setting for specifying Scanner [hibernate.ejb.resource_scanner]; use [hibernate.archive.scanner] instead
 [0m [0m14:05:30,608 INFO  [org.jboss.weld.deployer] (MSC service thread 1-1) WFLYWELD0003: Processing weld deployment ejb.jar
 [0m [0m14:05:30,609 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'BatchFetchingBean' in deployment unit 'subdeployment "ejb.jar" of deployment "ejb-remote-client-api-usertx-test.ear"' are as follows:

    java:global/ejb-remote-client-api-usertx-test/ejb/BatchFetchingBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.BatchRetriever
    java:app/ejb/BatchFetchingBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.BatchRetriever
    java:module/BatchFetchingBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.BatchRetriever
    java:jboss/exported/ejb-remote-client-api-usertx-test/ejb/BatchFetchingBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.BatchRetriever
    java:global/ejb-remote-client-api-usertx-test/ejb/BatchFetchingBean
    java:app/ejb/BatchFetchingBean
    java:module/BatchFetchingBean

 [0m [0m14:05:30,609 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'BatchCreationBean' in deployment unit 'subdeployment "ejb.jar" of deployment "ejb-remote-client-api-usertx-test.ear"' are as follows:

    java:global/ejb-remote-client-api-usertx-test/ejb/BatchCreationBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.RemoteBatch
    java:app/ejb/BatchCreationBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.RemoteBatch
    java:module/BatchCreationBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.RemoteBatch
    java:jboss/exported/ejb-remote-client-api-usertx-test/ejb/BatchCreationBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.RemoteBatch
    java:global/ejb-remote-client-api-usertx-test/ejb/BatchCreationBean
    java:app/ejb/BatchCreationBean
    java:module/BatchCreationBean

 [0m [0m14:05:30,609 INFO  [org.jboss.as.ejb3.deployment] (MSC service thread 1-1) WFLYEJB0473: JNDI bindings for session bean named 'CMTBean' in deployment unit 'subdeployment "ejb.jar" of deployment "ejb-remote-client-api-usertx-test.ear"' are as follows:

    java:global/ejb-remote-client-api-usertx-test/ejb/CMTBean!org.jboss.as.test.integration.ejb.remote.client.api.tx.CMTRemote


@wildfly-ci

This comment has been minimized.

Copy link

commented May 5, 2016

Linux Build 9500 outcome was FAILURE using a merge of 014d11b
Summary: Tests failed: 1 (1 new), passed: 3329, ignored: 195 Build time: 01:18:55

Failed tests

org.jboss.as.test.clustering.cluster.web.passivation.FineSessionPassivationTestCase(SYNC-tcp).test: java.lang.AssertionError: response doesn't contain header 'result', all response headers = {name=Connection, value=keep-alive}, {name=X-Powered-By, value=Undertow/1}, {name=Set-Cookie, value=JSESSIONID=6OJl9RgQE0LVQ1P4aWZEurEAy68Jer7kBWf7fbzQ.node-0; path=/passivation}, {name=RtUiIzPZXJBueofUKllx1Y9eYP3Zw4smjhcdxeMF, value=PASSIVATION}, {name=Server, value=WildFly/10}, {name=Content-Length, value=0}, {name=jsessionid, value=6OJl9RgQE0LVQ1P4aWZEurEAy68Jer7kBWf7fbzQ}, {name=Date, value=Thu, 05 May 2016 22:38:16 GMT}, 
    at org.jboss.as.test.clustering.cluster.web.passivation.SessionPassivationTestCase.getRequiredHeaderValue(SessionPassivationTestCase.java:207)
    at org.jboss.as.test.clustering.cluster.web.passivation.SessionPassivationTestCase.test(SessionPassivationTestCase.java:121)
------- Stdout: -------
15:38:16,339 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
15:38:16,339 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
15:38:16,339 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-0
 [0m15:38:16,374 INFO  [org.jboss.as.repository] (management-handler-thread - 2) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/data/content/c7/7b307497fc3b4d00036a970cc4c67435c270ef/content
 [0m [0m15:38:16,378 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "passivation.war" (runtime-name: "passivation.war")
 [0m [0m15:38:16,456 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,456 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,457 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,457 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 80) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,487 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,487 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,499 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 80) WFLYCLINF0002: Started routing cache from web container
 [0m [0m15:38:16,514 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 79) WFLYCLINF0002: Started passivation.war cache from web container
 [0m [0m15:38:16,538 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 79) WFLYUT0021: Registered web context: /passivation
 [0m [0m15:38:16,552 INFO  [org.jboss.as.server] (management-handler-thread - 2) WFLYSRV0010: Deployed "passivation.war" (runtime-name : "passivation.war")
 [0m15:38:16,559 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Deploying deployment=deployment-1
 [0m15:38:16,576 INFO  [org.jboss.as.repository] (management-handler-thread - 1) WFLYDR0001: Content added at location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-1/standalone/data/content/c7/7b307497fc3b4d00036a970cc4c67435c270ef/content
 [0m [0m15:38:16,580 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of "passivation.war" (runtime-name: "passivation.war")
 [0m [0m15:38:16,647 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,648 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,653 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 82) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,654 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 82) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,660 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,661 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 79) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
 [0m [0m15:38:16,666 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 82) ISPN000310: Starting cluster-wide rebalance for cache routing, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
 [0m [0m15:38:16,674 INFO  [org.infinispan.CLUSTER] (ServerService Thread Pool -- 27) ISPN000310: Starting cluster-wide rebalance for cache passivation.war, topology CacheTopology{id=1, rebalanceId=1, currentCH=DefaultConsistentHash{ns=80, owners = (1)[node-0: 80+0]}, pendingCH=DefaultConsistentHash{ns=80, owners = (2)[node-0: 40+40, node-1: 40+40]}, unionCH=null, actualMembers=[node-0, node-1]}
 [0m [0m15:38:16,700 INFO  [org.infinispan.CLUSTER] (transport-thread--p19-t20) ISPN000336: Finished cluster-wide rebalance for cache routing, topology id = 1
 [0m [0m15:38:16,701 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 82) WFLYCLINF0002: Started routing cache from web container
 [0m [0m15:38:16,719 INFO  [org.infinispan.CLUSTER] (transport-thread--p19-t23) ISPN000336: Finished cluster-wide rebalance for cache passivation.war, topology id = 1
 [0m [0m15:38:16,721 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 27) WFLYCLINF0002: Started passivation.war cache from web container
 [0m [0m15:38:16,735 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 27) WFLYUT0021: Registered web context: /passivation
 [0m [0m15:38:16,748 INFO  [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0010: Deployed "passivation.war" (runtime-name : "passivation.war")
 [0m [0m15:38:16,785 INFO  [stdout] (default task-2) http://[::1]:8080/passivation/listener?operation=set&name=a&value=1;jsessionid=J92MFV7ZajfZMOjHjZ4mGKCPfMUogfsQv_hUJ093
 [0m [0m15:38:16,798 INFO  [stdout] (default task-60) http://[::1]:8080/passivation/listener?operation=set&name=a&value=2;jsessionid=RtUiIzPZXJBueofUKllx1Y9eYP3Zw4smjhcdxeMF
 [0m [0m15:38:16,827 INFO  [stdout] (default task-6) http://[::1]:8080/passivation/listener?operation=set&name=a&value=2;jsessionid=RtUiIzPZXJBueofUKllx1Y9eYP3Zw4smjhcdxeMF
 [0m [0m15:38:16,839 INFO  [stdout] (default task-14) http://[::1]:8080/passivation/listener?operation=get&name=a;jsessionid=6OJl9RgQE0LVQ1P4aWZEurEAy68Jer7kBWf7fbzQ
 [0m15:38:16,844 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-0
15:38:16,844 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Starting deployment=NONE, container=container-1
15:38:16,844 INFO  [org.jboss.as.test.clustering.NodeUtil] (main) Undeploying deployment=deployment-0
 [0m15:38:16,877 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 80) WFLYUT0022: Unregistered web context: /passivation
 [0m [0m15:38:16,910 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 5) ISPN000029: Passivating all entries to disk
 [0m [0m15:38:16,911 INFO  [org.infinispan.eviction.impl.PassivationManagerImpl] (ServerService Thread Pool -- 5) ISPN000030: Passivated 2 entries in 0 milliseconds
 [0m [0m15:38:16,921 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 5) WFLYCLINF0003: Stopped passivation.war cache from web container
 [0m [0m15:38:16,935 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment passivation.war (runtime-name: passivation.war) in 59ms
 [0m [0m15:38:16,955 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 5) WFLYCLINF0003: Stopped routing cache from web container
 [0m [0m15:38:16,967 INFO  [org.jboss.as.repository] (management-handler-thread - 3) WFLYDR0002: Content removed from location /opt/buildAgent/work/a31d203e70e89f90/testsuite/integration/clustering/target/wildfly-SYNC-tcp-0/standalone/data/content/c7/7b307497fc3b4d00036a970cc4c67435c270ef/content
 [0m [0m15:38:16,967 INFO  [org.jboss.as.server] (management-handler-thread - 3) WFLYSRV0009: Undeployed "passivation.war" (runtime-name: "passivation.war")


@istudens

This comment has been minimized.

Copy link
Contributor Author

commented May 6, 2016

retest this please

@stuartwdouglas stuartwdouglas merged commit c5b308a into wildfly:master Jun 21, 2016

3 checks passed

Linux Finished TeamCity Build WildFly :: Pull Request :: Linux : Tests passed: 3330, ignored: 195
Details
Linux with security manager Finished TeamCity Build WildFly :: Pull Request :: Linux SM : Tests passed: 996, ignored: 121
Details
Windows Finished TeamCity Build WildFly :: Pull Request :: Windows : Tests passed: 3330, ignored: 195
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.