Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1386 command line tools fail with SecurityException on OSX
  3. GROOVY-3312

java.lang.SecurityException: Prohibited package name: java.rmi

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.5.7
    • None
    • None
    • None
    • Windows 2000, JVM JVM: 1.5.0_16

    Description

      I get the a package prohibited error when executing the following script:

      import groovyx.net.ws.WSClient
      
      println 'Creating proxy for service' 
      def testProxy = new WSClient("http://localhost:9080/ws/services/WSDHZSProductService?wsdl", this.class.classLoader)
      
      def aesClient = testProxy.create()
      
      //aesClient.retrieveCP()
      
      //aesClient.metaClass.methods.each {
       //println it
      //}
      
      println 'done'
      

      ( I don't know how to access the local file (shame shame), so I'll hope this will be sufficient to reproduce)

      Attachments

        1. aesbatch.groovy
          0.4 kB
          Alex Wouda
        2. error.log
          6 kB
          Alex Wouda
        3. WSDHZSProductService.xml
          119 kB
          Alex Wouda

        Activity

          People

            Unassigned Unassigned
            awouda Alex Wouda
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: