OC4J instance restarts automatically after 10 seconds.
AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OC4J instance restarts automatically after 10 seconds.
Hello Friends,IT System Administrators,
I am using Oracle Application Server 10.1.2 on IBM AIX 5.3 Platform. Since many days, my "OC4J" service restarts automatically in 10 seconds. By counting error logs in /ORACLE_HOME/opmn/logs/ipm.log,i have found below errors.
---------------------------------------------------------------
10/01/01 15:05:20 [4] Process Crashed: OC4J~WEBVAT~default_island~1 (864289932:626744) - Restarting
10/01/01 15:05:22 [4] Starting Process: OC4J~WEBVAT~default_island~1 (864289933:0)
10/01/01 15:05:29 [4] Process Alive: OC4J~WEBVAT~default_island~1 (864289933:729570)
10/01/01 15:28:29 [3] libopmnoc4j Could not connect to socket while pinging an OC4J process
10/01/01 15:28:29 [4] libopmnoc4j Process Ping Failed: OC4J~WEBVAT~default_island~1 (864289933:729570)
10/01/01 15:28:29 [4] Job 0 9969720 result:
ias_admin.gjvatwb1~OC4J~WEBVAT~default_island~864289933:729570
Status: Alive
Operation: internal (Connection refused)
ErrFile: /oracle/ora10gas/opmn/logs/OC4J~WEBPROBE~default_island~1
---------------------------------------------------------------
OK, there may be a reason for opmn to "think" your instance is dead. One reason is that the instance is so busy that it can't respond to opmn's requests.
Please check the crrectness of the values in your servers conf file.
There might be an error in it.
Therefore you can have a look to the log file in opmn/logs/OC4J~OC4J...
if there is a configuration error -
for example:
Whitespace required
<repserver>.conf couldn't be parsed
at line: xxx : column: yyy
Expected name instead of "/"
When I adjusted my path for sourceDir and restarted the repserver the error was disappeared.
I have just modified below line.
"log-file path="$ORACLE_HOME/opmn/logs/ipm.log" level="5""
Previously, it was aving value of "4" instead of "5". After that,i have restarted "opmnctl reload" & by measuring the ipm.log, i haven't found those messages i had received previously. Now, I am getting below messages.
Is it fine with the configuration?
------------------------------------------------------------------
10/01/03 11:22:33 [5] [libopmnoc4j] Ping succeeded for proc: 1692271770
10/01/03 11:22:44 [5] [libopmnoc4j] Received notification from proc: 1692271770
10/01/03 11:22:47 [5] [libopmnoc4j] Received notification from proc: 864289916
10/01/03 11:22:48 [5] [libopmnoc4j] Received notification from proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 864289916
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 864289916
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Pinging proc: 1692271770
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 864289915
10/01/03 11:22:53 [5] [libopmnoc4j] Ping succeeded for proc: 1692271770
------------------------------------------------------------------
Guide me if the logs are saying different story. For Your Information that "website is running very fine" now. Though today is SUNDAY in india,i can check the website load on monday onwards.
It sounds like you were getting bona fide errors, and I don't think simply changing the log level from 4 to 5 would make them go away. I suspect that simply rebooting was what helped - and the problem might well start occurring again.
Please read through the example link I cited, and the links it cited. Please do your own Google search as I suggested, and see what else you find might be interesting. By all means, contact Oracle support (if your organization has it).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.