Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-3922

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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)

        Attachments

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

          Activity

            People

            • Assignee:
              simonslaws Simon Laws
              Reporter:
              jennthom 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