Tuscany
  1. Tuscany
  2. TUSCANY-3922

Java 2 Access Control exception originating from Interface2WSDLGenerator.<init>, JavaBeansDataBinding.copy, JAXBContextCache.getPackages, JavaImplementationInvoker.invoke

    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

      Description

      The following methods are experiencing " getClassLoader : Access denied (java.lang.RuntimePermission getClassLoader)" exceptions when running with Java2 Security enabled:

      1) at org.apache.tuscany.sca.implementation.java.invocation.JavaImplementationInvoker.invoke(JavaImplementationInvoker.java:97)
      2) at org.apache.tuscany.sca.databinding.javabeans.JavaBeansDataBinding.copy(JavaBeansDataBinding.java:91)
      3) at org.apache.tuscany.sca.databinding.jaxb.JAXBContextCache.getPackages(JAXBContextCache.java:475)

      And "java.security.AccessControlException: Access denied (java.io.FilePermission <filename> read)" originating from:

      1) at org.apache.tuscany.sca.binding.ws.wsdlgen.Interface2WSDLGenerator.<init>(Interface2WSDLGenerator.java:121)

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

        Activity

        Jennifer A Thompson created issue -
        Jennifer A Thompson made changes -
        Field Original Value New Value
        Attachment TUSCANY-3922.patch [ 12490456 ]
        Simon Laws made changes -
        Assignee Simon Laws [ simonslaws ]
        Simon Laws made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          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