Running the text translator

The Text Translator uses scripts located in the <INSTALL_DIR>/bin/ directory.

If you want to ensure that the file schemas and XSDs are parsed correctly and understood, you can add the following line to the startup script:


"-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImp
l 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilde
rFactoryImpl"

For example, the entire Java™ line in the startIntegrationServer.sh script might resemble the following example:


java
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilde
rFactoryImpl com.yantra.integration.adapter.IntegrationAdapter TextTranslatorJMS