Tuscany
  1. Tuscany
  2. TUSCANY-3925

AccessControl Exception originating from DefaultFactoryExtensionPoint.getFactory, JDKProxyFactory.createCallbackProxy, WSDLHelper.createWSDLInterfaceContract

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Java-SCA-2.x
    • Fix Version/s: Java-SCA-2.x
    • Component/s: SCA Java Runtime
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      When running with Java 2 security enabled the following AccessControlExceptions are encountered:

      Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
      at java.security.AccessController.checkPermission(AccessController.java:108)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
      at java.lang.Class.getClassLoader(Class.java:237)
      at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
      ... 63 more

      Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
      at java.security.AccessController.checkPermission(AccessController.java:108)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
      at java.lang.Class.getClassLoader(Class.java:237)
      at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
      at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
      at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
      at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
      at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
      at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
      ... 74 more

      java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
      at java.security.AccessController.checkPermission(AccessController.java:108)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
      at java.io.FileInputStream.<init>(FileInputStream.java:117)
      at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
      at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
      at java.lang.reflect.Method.invoke(Method.java:611)
      at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)

      Caused by: java.security.AccessControlException: Access denied (java.io.FilePermission <filename> read)
      at java.security.AccessController.checkPermission(AccessController.java:108)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
      at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
      at java.io.FileInputStream.(FileInputStream.java:117)
      at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
      at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
      at org.apache.tuscany.sca.core.assembly.impl.WSDLHelper.createWSDLInterfaceContract(WSDLHelper.java:200)
      ... 54 more

      java.security.AccessControlException: Access denied (java.lang.RuntimePermission accessDeclaredMembers)
      at java.security.AccessController.checkPermission(AccessController.java:108)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
      at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
      at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1689)
      at java.lang.Class.checkMemberAccess(Class.java:105)
      at java.lang.Class.getDeclaredMethod(Class.java:574)
      at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:133)

      1. TUSCANY-3925.patch
        8 kB
        Jennifer A Thompson

        Activity

        Simon Laws made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Hide
        Simon Laws added a comment -

        Change committed at revision: 1162160. Thanks for the patch Jennifer.

        Show
        Simon Laws added a comment - Change committed at revision: 1162160. Thanks for the patch Jennifer.
        Simon Laws made changes -
        Assignee Simon Laws [ simonslaws ]
        Jennifer A Thompson made changes -
        Patch Info [Patch Available]
        Jennifer A Thompson made changes -
        Attachment TUSCANY-3925.patch [ 12491781 ]
        Jennifer A Thompson made changes -
        Description When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.<init>(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)

        Caused by: java.security.AccessControlException: Access denied (java.io.FilePermission <filename> read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at org.apache.tuscany.sca.core.assembly.impl.WSDLHelper.createWSDLInterfaceContract(WSDLHelper.java:200)
        ... 54 more
        When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.<init>(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)

        Caused by: java.security.AccessControlException: Access denied (java.io.FilePermission <filename> read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at org.apache.tuscany.sca.core.assembly.impl.WSDLHelper.createWSDLInterfaceContract(WSDLHelper.java:200)
        ... 54 more

        java.security.AccessControlException: Access denied (java.lang.RuntimePermission accessDeclaredMembers)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1689)
        at java.lang.Class.checkMemberAccess(Class.java:105)
        at java.lang.Class.getDeclaredMethod(Class.java:574)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:133)
        Jennifer A Thompson made changes -
        Summary AccessControl Exception originating from DefaultFactoryExtensionPoint.getFactory & JDKProxyFactory.createCallbackProxy AccessControl Exception originating from DefaultFactoryExtensionPoint.getFactory, JDKProxyFactory.createCallbackProxy, WSDLHelper.createWSDLInterfaceContract
        Description When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.<init>(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)
        When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.<init>(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)

        Caused by: java.security.AccessControlException: Access denied (java.io.FilePermission <filename> read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at org.apache.tuscany.sca.core.assembly.impl.WSDLHelper.createWSDLInterfaceContract(WSDLHelper.java:200)
        ... 54 more
        Jennifer A Thompson made changes -
        Description When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission accessDeclaredMembers)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1689)
        at java.lang.Class.checkMemberAccess(Class.java:105)
        at java.lang.Class.getDeclaredMethod(Class.java:574)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:131)
        ... 84 more

        When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        java.security.AccessControlException: Access denied (java.io.FilePermission /opt/Moonstone/WAS/java/jre/lib/wsdl.properties read)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:883)
        at java.io.FileInputStream.<init>(FileInputStream.java:117)
        at javax.wsdl.factory.WSDLFactory.findFactoryImplName(WSDLFactory.java:262)
        at javax.wsdl.factory.WSDLFactory.newInstance(WSDLFactory.java:60)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
        at java.lang.reflect.Method.invoke(Method.java:611)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:142)
        Jennifer A Thompson made changes -
        Description When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more
        When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission accessDeclaredMembers)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1689)
        at java.lang.Class.checkMemberAccess(Class.java:105)
        at java.lang.Class.getDeclaredMethod(Class.java:574)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:131)
        ... 84 more

        Jennifer A Thompson made changes -
        Field Original Value New Value
        Summary AccessControl Exception originating from DefaultFactoryExtensionPoint.getFactory AccessControl Exception originating from DefaultFactoryExtensionPoint.getFactory & JDKProxyFactory.createCallbackProxy
        Description When running with Java 2 security enabled the following AccessControlException is encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more
        When running with Java 2 security enabled the following AccessControlExceptions are encountered:

        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.DefaultFactoryExtensionPoint.getFactory(DefaultFactoryExtensionPoint.java:132)
        ... 63 more



        Caused by: java.security.AccessControlException: Access denied (java.lang.RuntimePermission getClassLoader)
        at java.security.AccessController.checkPermission(AccessController.java:108)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:544)
        at com.ibm.ws.security.core.SecurityManager.checkPermission(SecurityManager.java:208)
        at java.lang.Class.getClassLoader(Class.java:237)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:151)
        at org.apache.tuscany.sca.core.invocation.impl.JDKProxyFactory.createCallbackProxy(JDKProxyFactory.java:144)
        at org.apache.tuscany.sca.core.invocation.ExtensibleProxyFactory.createCallbackProxy(ExtensibleProxyFactory.java:76)
        at org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory.getInstance(CallbackWireObjectFactory.java:45)
        at org.apache.tuscany.sca.implementation.java.injection.MethodInjector.inject(MethodInjector.java:55)
        at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.injectCallbacks(JavaImplementationInvoker.java:287)
        ... 74 more
        Jennifer A Thompson created issue -

          People

          • Assignee:
            Simon Laws
            Reporter:
            Jennifer A Thompson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development