Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 2.0.8.Final
    • Fix Version/s: 2.0.9.Final
    • Component/s: River
    • Labels:
      None

      Description

      With security manager enabled, we can see this error:

      \u001b[0m\u001b[33m05:20:00,613 WARN  [org.xnio.future] (Thread-151) XNIO001003: Running IoFuture notifier org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1@a764bee failed: java.lang.ExceptionInInitializerError
      	at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1333)
      	at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:60)
      	at org.jboss.ejb.protocol.remote.EJBClientChannel.getMarshaller(EJBClientChannel.java:665) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.EJBClientChannel.processInvocation(EJBClientChannel.java:348) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.lambda$handleDone$0(RemoteEJBReceiver.java:91) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.xnio.FinishedIoFuture.addNotifier(FinishedIoFuture.java:79) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(RemoteEJBReceiver.java:76) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver$1.handleDone(RemoteEJBReceiver.java:74) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.xnio.IoFuture$HandlingNotifier.notify(IoFuture.java:208) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.xnio.AbstractIoFuture$NotifierRunnable.run(AbstractIoFuture.java:720) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.xnio.IoUtils$2.execute(IoUtils.java:71) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:693) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.xnio.AbstractIoFuture$CompleteState.withNotifier(AbstractIoFuture.java:132) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.xnio.AbstractIoFuture.addNotifier(AbstractIoFuture.java:570) [xnio-api-3.7.3.Final-redhat-00001.jar:3.7.3.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.RemoteEJBReceiver.processInvocation(RemoteEJBReceiver.java:131) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:492) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.protocol.remote.RemotingEJBClientInterceptor.handleInvocation(RemotingEJBClientInterceptor.java:52) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:507) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.TransactionPostDiscoveryInterceptor.handleInvocation(TransactionPostDiscoveryInterceptor.java:82) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:507) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.DiscoveryEJBClientInterceptor.handleInvocation(DiscoveryEJBClientInterceptor.java:110) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:507) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.NamingEJBClientInterceptor.handleInvocation(NamingEJBClientInterceptor.java:67) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:507) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.TransactionInterceptor.handleInvocation(TransactionInterceptor.java:205) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequest(EJBClientInvocationContext.java:507) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.wildfly.common.context.Contextual.runExConsumer(Contextual.java:203) [wildfly-common-1.5.1.Final-redhat-00001.jar:1.5.1.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBClientInvocationContext.sendRequestInitial(EJBClientInvocationContext.java:334) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:187) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125) [jboss-ejb-client-4.0.23.Final-redhat-00001.jar:4.0.23.Final-redhat-00001]
      	at com.sun.proxy.$Proxy25.initLogging(Unknown Source)
      	at com.sun.ts.tests.ejb30.sec.stateless.lsecp.Client.test1(Client.java:83) [ejb3_sec_stateless_lsecp_client.jar:]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_151]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_151]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_151]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_151]
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:550) [ejb3_sec_stateless_lsecp_client.jar:]
      	at com.sun.ts.lib.harness.EETest.getPropsReady(EETest.java:446) [ejb3_sec_stateless_lsecp_client.jar:]
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:305) [ejb3_sec_stateless_lsecp_client.jar:]
      	at com.sun.ts.lib.harness.EETest.run(EETest.java:257) [ejb3_sec_stateless_lsecp_client.jar:]
      	at com.sun.ts.tests.ejb30.sec.stateless.lsecp.Client.main(Client.java:44) [ejb3_sec_stateless_lsecp_client.jar:]
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_151]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_151]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_151]
      	at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_151]
      	at org.jboss.as.appclient.service.ApplicationClientStartService$1.run(ApplicationClientStartService.java:99)
      	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_151]
      Caused by: java.security.AccessControlException: WFSM000001: Permission check failed (permission "("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect")" in code source "(vfs:/content/ejb3_sec_stateless_lsecp.ear/ejb3_sec_stateless_lsecp_client.jar <no signer certificates>)" of "ModuleClassLoader for Module "deployment.ejb3_sec_stateless_lsecp.ear.ejb3_sec_stateless_lsecp_client.jar" from Service Module Loader")
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:295)
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPermission(WildFlySecurityManager.java:192)
      	at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1564) [rt.jar:1.8.0_151]
      	at org.wildfly.security.manager.WildFlySecurityManager.checkPackageAccess(WildFlySecurityManager.java:491)
      	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:315) [rt.jar:1.8.0_151]
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [rt.jar:1.8.0_151]
      	at org.jboss.modules.JDKSpecific.getSystemClass(JDKSpecific.java:180) [jboss-modules.jar:1.8.8.Final-redhat-00001]
      	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:395) [jboss-modules.jar:1.8.8.Final-redhat-00001]
      	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116) [jboss-modules.jar:1.8.8.Final-redhat-00001]
      	at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:314)
      	... 47 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  flavia.rainone Flavia Rainone
                  Reporter:
                  flavia.rainone Flavia Rainone
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: