Studio must be installed in its own WebLogic domain. To avoid any conflicts, the domain cannot contain any other applications. Even if you are installing Studio on the same instance of WebLogic Server as Endeca Server, you must create a separate domain for Studio.
To create and configure the WebLogic domain, and verify that the domain is not already in use:
For example, for Windows:
C:\Oracle\Middleware\wlserver_10.3\common\bin
For Linux:
$MW_HOME/wlserver_10.3/common/bin
For Windows:
config.cmd
For Linux:
./config.sh
The Configuration Wizard Welcome page is displayed.
The password must be at least eight characters long.
On the Creating Domain page, the message "Domain Created Successfully!" signifies the end of the domain creation process.
The file is located in the bin subdirectory of the domain directory (<MiddlewareHomeDirectory>/user_projects/domains/endeca_studio_domain/bin/) .
For setDomainEnv.cmd (Windows):
set JAVA_OPTIONS=-DUseSunHttpHandler=true -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 setDomainEnv.sh (Linux):
JAVA_OPTIONS="-DUseSunHttpHandler=true -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" export JAVA_OPTIONS
Note that if you're copying and pasting out of this guide, make sure to remove any line breaks after pasting the text into the file.
In <MiddlwareHomeDirectory>\user_projects\domains\endeca_studio_domain, run startWebLogic.cmd (for Windows) or startWebLogic.sh (for Linux).
If you get a "page not found" (404) error, then there are no applications on the domain's root context, and you can continue the Studio installation process.
If you see the login page for a previously deployed Studio application, then you should un-deploy this application.
If you see another application, then you should log in to the WebLogic Console, and then either remove the application or untarget it from the WebLogic Server instance.
For example, one common conflicting application is Oracle Enterprise Manager, which deploys an application to /em, but also installs the FMW Welcome Page Application to the root context.
After you create the WebLogic domain for Studio, then you can deploy the Studio .ear file. See Deploying Studio to the WebLogic domain.