jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
groovy
  • groovy
  • GROOVY-1386 command line tools fail with Security...
  • GROOVY-3312

information that causes the problem

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.5.7
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows 2000, JVM JVM: 1.5.0_16
  • Number of attachments :
    3

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)

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. XML File
    WSDHZSProductService.xml
    26/Jan/09 10:05 AM
    119 kB
    Alex Wouda
  2. File
    aesbatch.groovy
    26/Jan/09 10:05 AM
    0.4 kB
    Alex Wouda
  3. Text File
    error.log
    27/Jan/09 1:32 AM
    6 kB
    Alex Wouda

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
blackdrag blackdrag added a comment - 27/Jan/09 12:14 AM

if you get a messages complaining that something with java.lang got loaded by the wrong loader, then you should ensure your groovy classpath does not contain any such jars. If it is not java.lang, then it would help to actually see the exception. Also if it is java.lang, I need to know which classloader is causing this and for this I would require a full stack trace

Show
blackdrag blackdrag added a comment - 27/Jan/09 12:14 AM if you get a messages complaining that something with java.lang got loaded by the wrong loader, then you should ensure your groovy classpath does not contain any such jars. If it is not java.lang, then it would help to actually see the exception. Also if it is java.lang, I need to know which classloader is causing this and for this I would require a full stack trace
Hide
Permalink
Alex Wouda added a comment - 27/Jan/09 1:32 AM

added the stacktrace when calling the aesBatch script.

Show
Alex Wouda added a comment - 27/Jan/09 1:32 AM added the stacktrace when calling the aesBatch script.
Hide
Permalink
Alex Wouda added a comment - 10/Feb/09 9:23 AM

How can I promote this issue to have it being assigned?

Show
Alex Wouda added a comment - 10/Feb/09 9:23 AM How can I promote this issue to have it being assigned?
Hide
Permalink
Bernhard added a comment - 20/Feb/12 2:12 AM

Hi,

for me the hint: classpath gives the correct direction and solved the problem.

I mixed severals Java-versions. When moving to 1.7.0, I left 1.6.23 in the classpath.

Show
Bernhard added a comment - 20/Feb/12 2:12 AM Hi, for me the hint: classpath gives the correct direction and solved the problem. I mixed severals Java-versions. When moving to 1.7.0, I left 1.6.23 in the classpath.
Hide
Permalink
Paul King added a comment - 20/Feb/12 5:50 AM

add code tags

Show
Paul King added a comment - 20/Feb/12 5:50 AM add code tags

People

  • Assignee:
    Unassigned
    Reporter:
    Alex Wouda
Vote (0)
Watch (0)

Dates

  • Created:
    26/Jan/09 10:05 AM
    Updated:
    20/Feb/12 5:50 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.