[teiid-issues] [JBoss JIRA] (TEIID-3213) Getting error when running adminshell load {script}

Steven Hawkins (JIRA) issues at jboss.org
Wed Nov 12 21:12:29 EST 2014


     [ https://issues.jboss.org/browse/TEIID-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins updated TEIID-3213:
----------------------------------
        Fix Version/s: 8.9
    Affects Version/s: 8.9
                           (was: 8.10)


Used a similar hook as we have for the auto imports to add back aliases that are compatible with 1.7.  Groovy removed the old command form as they can conflict with simple class names.  We will want to deprecate their usage and update the docs to use :command instead.  

> Getting error when running adminshell load {script}
> ---------------------------------------------------
>
>                 Key: TEIID-3213
>                 URL: https://issues.jboss.org/browse/TEIID-3213
>             Project: Teiid
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 8.9
>            Reporter: Van Halbert
>            Assignee: Steven Hawkins
>             Fix For: 8.9
>
>
> Running the 8.10  beta adminshell and getting the following error when running one of the examples:
>  ./adminshell.sh load ./examples/PrintAllVDBAndDatasources.groovy 
> ===> static org.teiid.adminshell.AdminShell.*
> ===> static org.teiid.adminshell.AdminShell.*, static org.teiid.adminshell.GroovySqlExtensions.*
> ===> static org.teiid.adminshell.AdminShell.*, static org.teiid.adminshell.GroovySqlExtensions.*, org.teiid.adminapi.*
> FATAL: groovy.lang.MissingPropertyException: No such property: load for class: groovysh_evaluate
> groovy.lang.MissingPropertyException: No such property: load for class: groovysh_evaluate
> 	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
> 	at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
> 	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
> 	at groovysh_evaluate.run(groovysh_evaluate:3)
> 	at groovysh_evaluate$run.call(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the teiid-issues mailing list