Monday, November 8, 2010

BPELConsole and BPELAdmin Page does not load

All,

When trying to access the BPEL Console or the BPEL Admin page or the EM console after a fresh installation of Oracle Application Server Release 3 and BPEL I was not able to get the initial screen.The browser status always showed as "Loading .....".

After a long time of investigation and going through all the log files.
Found one log file under
$ORACLE_HOME/j2ee/oc4j_bpel/log/oc4j_bpel_default_group_1/oc4j/log.xml which was growing rapidly...on just tailing the log file came across the following error


<MSG_TEXT>IOException in NIOServerSocketDriver:select</MSG_TEXT>


Cause :-

Starting up oc4j on Solaris 10 spawns nioserversocketdriver exceptions,which is a bug.

Fix:-

1. Backup the $ORACLE_HOME/opmn/conf/opmn.xml file.

2. Edit the opmn.xml file to include -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider in the
java-options tag for the start-parameters for "home" and "oc4j_bpel" as mentioned below

<data id="java-options" value="-server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider -Djava.awt.headless=true"/>

3. Restart the Oracle Application Server

$ORACLE_HOME/opmn/bin/opmnctl stopall
$ORACLE_HOME/opmn/bin/opmnctl startall
$ORACLE_HOME/opmn/bin/opmnctl status (to verify)

Now I was able to sucessfully load the BPEL Console ,BPEL Admin and EM page without any issues.

No comments:

Post a Comment