Before you can deploy Studio, you must modify some of the Tomcat configuration files.
To complete the Tomcat configuration updates:
Add the setting under the line Execute The Requested Command. It must be added as a single line (no line breaks), with the parameters separated by spaces.
For Windows, the line to add is:
set JAVA_OPTS=%JAVA_OPTS% -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config="%CATALINA_HOME%/conf/jaas.config" -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Djavax.xml.transform.TransformerFactory =com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory =com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory =com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
For Linux, the line to add is:
JAVA_OPTS="$JAVA_OPTS -Xmx1024m -XX:MaxPermSize=256m -Dfile.encoding=UTF8 -Duser.timezone=GMT -Djava.security.auth.login.config="$CATALINA_HOME"/conf/jaas.config -Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"
common.loader=
${catalina.base}/lib,\
...\
${catalina.home}/lib/ext/*.jar
To deploy Studio into any other context, create a new file called <context root>.xml in endeca-portal/apache-tomcat-<version>/conf/Catalina/localhost/.
For multi-level context paths, separate the name with #. For example, for a context path of /sales/east, the file name should be sales#east.xml.
Note that the directory already contains a file called ROOT.xml, which provides access to the root context for Tomcat.
<Context crossContext="true" />
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
URIEncoding="UTF-8"
/>
Oracle Endeca Information Discovery Studio: Studio Installation Guide · Version 3.1.0 Rev. B · December 2013
Copyright © 2003, 2013, Oracle and/or its affiliates. All rights reserved.
