DV Adminshell behavior changed after the upgrade from 6.2.3 to 6.2.8
Issue
- In version 6.2.3 we used to execute groovy scripts using following command
/teiid-adminshell/adminshell.sh load test.groovyafter the upgrade to 6.2.8 Adminshell it errors and doesn't exit after the script is complete:
======================================================================
===> 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.*
Groovy Shell (2.4.4, JVM: 1.8.0_65)
Type ':help' or ':h' for help.
-------------------------------------------------------------------------------------------------------------------------------------------------
groovy:000> :load load
File not found: "load"
groovy:000> :load test.groovy
groovy:000>
Environment
- Red Hat JBoss Data Virtualization (DV) 6.2.8
- Adminshell utility for DV
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
