See attached standalone adminshell/adminAPI test - this is a new problem in ER7.
A sequence of 2 iterations of: datasource creation/VDB deployment and queries results in this error:
DEPLOYMENTS IN ERROR:
Deployment "vfsfile:/jboss/local/51_ER7/jboss-soa-p-5/jboss-as/server/production/deploy/weather-vdb.xml" is in error due to the following reason(s): java.lang.ClassCastException: java.lang.String cannot be cast to org.teiid.dqp.internal.process.SessionAwareCache$CacheID