Thanks Barry. That fixed the problem and i no more get the preview erros. i am using Teiid 8.7 runtime and EAP 6.1 now.