- 
        1. Re: Issue while deploying custom translator with Teiid 8.0rareddy Jul 23, 2012 9:41 AM (in response to manoj.m.agarwal)Manoj, The "ExecutionFactory" class needs to be a top level class and adhere to Java Service semantics. I see you defined as inner class. Also the file needs to be META-INF/services/org.teiid.translator.ExecutionFactory should contain the implementaion class name, not the BaseExecutionFactory. Ramesh.. 
- 
        2. Re: Issue while deploying custom translator with Teiid 8.0manoj.m.agarwal Jul 23, 2012 12:23 PM (in response to rareddy)Hi Ramesh, What makes you think that my ExecutionFactory is inner class ? (because its not inner class actulyy...just want to know if i configured it in wrong way and and you said i see it as inner class) I have copied my ExecutionFactory class below, please let me know if i need to rename the file under META-INF/services and its content. package com.abc.xyz.teiid.safety; import java.util.List; import org.apache.log4j.Logger; import org.teiid.language.Command; import org.teiid.metadata.MetadataFactory; import org.teiid.metadata.RuntimeMetadata; import org.teiid.translator.BaseDelegatingExecutionFactory; import org.teiid.translator.Execution; import org.teiid.translator.ExecutionContext; import org.teiid.translator.ExecutionFactory; import org.teiid.translator.Translator; import org.teiid.translator.TranslatorException; @Translator(name = "xyz-translator-safetyHarness") public class SafetyHarnessExecutionFactory extends BaseDelegatingExecutionFactory<Object, Object> { private static final Logger logger = Logger.getLogger(SafetyHarnessExecutionFactory.class.getName()); private boolean hasConnectionErr = false; private ExecutionFactory<Object, Object> delegate = null; @Override public void getMetadata(MetadataFactory metadataFactory, Object conn) throws TranslatorException { try { if (!this.hasConnectionErr) { super.getMetadata(metadataFactory, conn); } } catch (Exception e) { logger.warn("Error on getMetaData call", e); } } @Override public void setDelegate(ExecutionFactory<Object, Object> delegate) { this.delegate = delegate; super.setDelegate(delegate); super.setSupportsFullOuterJoins(delegate.supportsFullOuterJoins()); super.setSupportsOrderBy(delegate.supportsOrderBy()); super.setSupportsOuterJoins(delegate.supportsOuterJoins()); super.setSupportsSelectDistinct(delegate.supportsSelectDistinct()); super.setSupportsInnerJoins(delegate.supportsInnerJoins()); super.setMaxInCriteriaSize(delegate.getMaxInCriteriaSize()); super.setMaxDependentInPredicates(delegate.getMaxDependentInPredicates()); } } 
- 
        3. Re: Issue while deploying custom translator with Teiid 8.0rareddy Jul 23, 2012 1:59 PM (in response to manoj.m.agarwal)Because I saw ClassName#another may be that was a comment, which I misread. See https://docs.jboss.org/author/display/TEIID/Packaging https://docs.jboss.org/author/display/TEIID/Deployment Ramesh.. 
- 
        4. Re: Issue while deploying custom translator with Teiid 8.0manoj.m.agarwal Jul 23, 2012 3:53 PM (in response to rareddy)Hi Ramesh, That is kind of comment where i put the translator name. Its not a inner class. I have checked these links already and configured the custom translator according but still i get the error as mentioned before. Can plese you suggest me something ? Thanks ! Manoj 
- 
        5. Re: Issue while deploying custom translator with Teiid 8.0rareddy Jul 23, 2012 4:06 PM (in response to manoj.m.agarwal)Pls attach your jar file, may be there is more than what you posted here. 
- 
        6. Re: Issue while deploying custom translator with Teiid 8.0manoj.m.agarwal Jul 24, 2012 8:12 AM (in response to rareddy)Hi Ramesh, After updating service definition to META-INF/services/org.teiid.translator.ExecutionFactory, i pass thru this issue. Thanks ! Manoj 
 
    