Monday, May 14, 2012

OAS process type = OC4J:Home unable to start

After Trying All The Solutions , Metalink note nothing Works But Never Give up I provide Solution For The
below Error :


Error
--> Process (pid=8337)
time out while waiting for a managed process to start
Log:
/oraas/ias10g/MID/opmn/logs/OC4J~home~default_island~1

Note : Try This Solution After Have been Increase timeout On Opmn.xml


Solution :


1- Create New OC4J instance By

createinstance -instanceName OC4J_instanceName

Enter Password That you want .

2- Check /etc/hosts On you server, Its must Contain
 127.0.0.1 localhost.localdomain localhost
3-group must be change from default_group to your new Group (that you Create it in Step 1 ) .

cd $ORACLE_HOME/opmn/conf/
vi opmn.xml

Search For Default_group (its Default Group in Installation) and Change it to New One
For Example :

You New OC4J_instance_name : test
Default group Should be : test_group
 Search For Default_group and Change it with test_group. 

4-aftre the above steps :

opmnctl stopall
opmnctl startall


Thank you
Osama Mustafa
 

3 comments:

  1. Dear Respected Sir
    Please find my questions that , I want to know that what is the optimized value of the following Connections and Timeouts in oc4j of the following parameter.

    Connections:-
    ----------------
    Initial size of Connection Cache:-
    Minimum Number of Connections:-
    Maximum Number of Connections:-
    Connection Retry Interval (seconds):-
    Maximum Connection Attempts:-
    Maximum Number of Statements Cached:-
    Lower Threshold Limit On Pool (%):-

    Timeouts:-
    -------------------
    Inactivity Timeout (seconds):-
    Wait For Used Connection Timeout (seconds):-
    Max Active Time for a Used Connection (seconds):-
    Abandoned Connection Timeout (seconds):-
    Enforce Timeout Limits Interval (seconds):-

    Kind regards
    Santosh kumar.

    ReplyDelete
    Replies
    1. I have no idea anything about your environment I apology i can't help you in this one.

      Delete
  2. Dear Osama
    I received your mail.
    Mean while as per your mail you have mention something about the environment.
    Here i want to state you that it is from OC4J server only.
    You can check after opening the em console the following as follows

    Administration---JDBC Resources----NameOfConnectionPoll---Attributes--

    Here you can find the details parameter as bellow as follows

    Connections:-
    ----------------
    Initial size of Connection Cache:-
    Minimum Number of Connections:-
    Maximum Number of Connections:-
    Connection Retry Interval (seconds):-
    Maximum Connection Attempts:-
    Maximum Number of Statements Cached:-
    Lower Threshold Limit On Pool (%):-

    Timeouts:-
    -------------------
    Inactivity Timeout (seconds):-
    Wait For Used Connection Timeout (seconds):-
    Max Active Time for a Used Connection (seconds):-
    Abandoned Connection Timeout (seconds):-
    Enforce Timeout Limits Interval (seconds):-

    Here i want to know you that optimized value means best value or you can say effective value of the Connections and timeouts
    Mean while please help me for the same .

    Kind regards
    Santosh kumar kar .

    ReplyDelete