Creating the WebLogic domain for Studio for Oracle Endeca

Creating the WebLogic domain for Studio

Before you can install Studio, you must create the WebLogic domain in which to deploy it.

To create the WebLogic domain for Studio:
1. From a command prompt, change to the directory that contains the Configuration Wizard start-up program:
C:\Oracle\Middleware\wlserver_10.3\common\bin

2. To start the Configuration Wizard, run the following command:
config.cmd


The Configuration Wizard Welcome page is displayed.
3. On the Welcome page, click the Create a new WebLogic domain radio button, then click Next.


4. On the Select Domain Source page, the Basic WebLogic Server Domain checkbox is checked by default. Click Next.


5. On the Specify Domain Name and Location page:

(a) Set the domain name to endeca_studio_domain.
(b) Keep the default domain location.
(c) Click Next.



6. On the Configure Administrator User Name and Password page, to create the administrator credentials for starting the Studio domain:

(a) In the Name field, type the name for the new administrator user.
(b) In the User password field, type the user password.
The password must be at least eight alphanumeric characters long and contain at least one number or special character.

(c) In the Confirm user password field, retype the password.
(d) Optionally, in the Description field, type a description for the user account.
(e) Click Next.



7. On the Configure Server Start Mode and JDK page:

(a) Under WebLogic Domain Startup Mode, click the Production Mode radio button.
(b) Under JDK Selection, click the Available JDKs radio button.
(c) In the JDK list, click the Sun Java JDK that you installed earlier. If the JDK is not displayed, click the Other JDK button, and then browse to it (C:\Java\jdk1.6.0_43\).
(d) Click Next.



8. On the Select Optional Configuration page, check the Administration Server checkbox, then click Next.


9. On the Configure the Administration Server page:
(a) Use the default values for the Name and Listen address fields.
(b) In the Listen port field, type 8101.
(c) Click Next.



10. On the Configuration Summary page, to create the domain, click Create.


On the Creating Domain page, the message "Domain Created Successfully!" signifies the end of the domain creation process.


11. To exit the Configuration Wizard, click Done.

12. Update setDomainEnv.cmd.



The file is located in the bin subdirectory of the domain directory
(C:\Oracle\Middleware\user_projects\domains\endeca_studio_domain\bin) .
(a) Add the JAVA_OPTIONS argument close to the top of the file.

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





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.

(b) Update all of the Java perm size arguments in the file to replace all occurrences of XX:MaxPermSize=128m and -XX:MaxPermSize=256m with -XX:MaxPermSize=512m.

(c) Update all of the memory arguments in the file to replace all occurrences of -Xmx512m with Xmx1024m.

13. To verify that there are no conflicting applications on the domain's root context:

(a) Start the domain.
In C:\Oracle\Middleware\user_projects\domains\endeca_studio_domain, run startWebLogic.cmd.
Alternatively, from the Windows Start menu, select Oracle WebLogic>User_Projects>endeca_studio_domain>Start Admin Server for Weblogic Domain.
b) When prompted, enter the domain user name and password.

c) After the domain is started, in a browser, go to the root context path https://:

For example: https://localhost:8101

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.

you see the login page for a previously deployed Studio application, then you should un-deploy this application.

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.







Leave a Comments

Your browser doesn't support the canvas element - please visit in a modern browser.

(new shape)