Wednesday, February 29, 2012

config.sh hangs at 0% (creating domain) step

I have below install:
Weblogic 10.3.4
PFR&D 11.1.1.4.0 (Install only, configure later)

Now for domain creation I executed $ORACLE_HOME/bin/config.sh

The config.sh seemed to have stopped at 0% (domain creation step).

After waiting for almost one and half hour, it failed and suddenly jumped to 8%:

Check the screenshot below:



The install log showed:
Error while starting the domain.
Cause:
Starting the Admin_Server timed out.


Cause: There are multiple installations of JAVA on the system. The java used by weblogic install was just JRE and was not complete JDK.

Solution: Uninstall PFRD and weblogic and redo the installation after setting below parameters:
JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH

That solved my problem and I was able to do the domain configuration.