OC4J containers sometimes don't stop/start?

Occasionally when I do opmnctl stopall or startall, an OC4J container will fail to start or stop. Sometimes I get the "forcibly shutting down..." message from opmnctl. Sometimes it just sits there. Sometimes it shuts down but a 'ps -ef | grep oracle' shows some hanging processes.
Likewise sometimes on startup a component just won't start. It'll 'init' for a while, then drop back down to status = 'NONE'. But, I can go into OEM ASC and start it up there and it'll start right up!
This is not consistent at all. This is 9.0.4 (10g).
Any ideas? Anyone experience this sort of weirdness? So far it's not terribly confidence-inspiring.

Depending on the environment, it may be necessary
to modify the start, stop, and/or restart timeouts
for components, as configured in $OH/opmn/conf/opmn.xml
These elements, if not specified in opmn.xml for
a component default to the following:
start: 120 seconds
stop: 60 seconds
restart: 180 seconds
The opmnctl startall/stopall commands result in the
simultaneous start/stop of all configured components.
If the machine is sufficiently powerful, this will
result in all components completing the state
transistion faster than if the components were
started/stopped serially. Component initialization
and shutdown can be resource intensive. Contention
between components starting/stopping at the same time
can lead to longer stop/start times compared to the
time it takes to start/stop a component by itself.
The different in behavior between OEM and opmnctl
might be explained if a smaller set of components
is being started/stopped by the OEM operation than
the opmnctl operation. Another possibility is that
the OEM operation is resulting in multiple, serial
requests to start individual components instead of
starting everything in parallel.
How might this be investigated? $OH/opmn/logs/ipm.log
now prints with timestamp command begin/end and info
about the processes started/stopped as part of the
command. You can see something like this:
20:00:00 Request 4 Started. Command: start
20:00:00 Starting Process: OC4J~home~default_is...
20:00:00 Starting Process: HTTP_Server~HTTP_Ser...
20:00:11 Process Alive: HTTP_Server~HTTP_Server...
20:00:32 Process Alive: OC4J~home~default_islan...
20:00:32 Request 4 Completed. Command: start
This example shows a start command that resulted
in the simultaneous start of HTTP_Server and an
OC4J. HTTP_Server took 11 seconds to start,
OC4J took 32 seconds to start.
Compare the ipm.log output generated from the opmnctl
and OEM operations. opmnctl and OEM use the same
protocols to interact with opmn to perform process
control requests.
My guess is that the opmnctl operation is doing more
work in parallel and is overloading CPU resulting
in longer delays. I would be interested in seeing
ipm.log output (at default log level) from the
startall/stopall operation and a brief machine
description.

Similar Messages

  • 9iAS with many OC4J Containers

    Hello,
    I am having a problem with a 9iAS farm. We've got an infrastructure (9.0.2 patched to 9.0.3) and on the Application Server we try to use more than 10 OC4J containers.
    After trying to start the 10-th container, there is a timeout error:
    dcmctl start -co OC4J_TMS1 -v
    ADMN-906025
    The exception, 806209, occurred at Oracle9iAS instance "servername.domainname.nl"
    "The send operation timeout has expired and reached the specified timeout value
    Inspect timeout value in the debug log, increase timeout or check opmn connection".
    Resolve the indicated problem at the Oracle9iAS instance where it occurred then resync the instance.
    This means that the Application Server AND the Infrastructure Server are unreachable.
    I have to stop all the processes (opmnctl stopall) and start the first nine with the dcmctl tool. If I stop the processes on the Application Server, than the Infrastructure becomes available.
    But everytime I try to start the 10-th .. it fails. I have tried to put a max memory java option into the OC4J-container but it didn't help.
    We've got this problem on a machine with 768MB internal memory and one with 512 MB memory.
    I tried to minimize the max memory with this option:
    <java-option value="-Xmx24M" />
    Anyone an idea?

    Hi
    We are running 4 JVMS on a machine with 8Gig of Ram. I do think givving only 24 Meg for each JVM will not even allow it to start(Open for correction here).
    This looks like a terrible shortage of resources on the machine

  • Starting/Stopping iAS and OC4J containers

    I created the following two batch files to start and stop my iAS Infrastructure. I found that if I used the services settings of automatic all did not go well.
    start.bat:
    @ECHO OFF
    cls
    ECHO About to start the listener
    net start Oracle9ias_InfraTNSListener
    ECHO About to start the database
    net start OracleServiceIASDB
    ECHO About to start the OID monitor
    e:\ora9iasinfra\bin\oidmon start
    ECHO About to start the OID server
    e:\ora9iasinfra\bin\oidctl server=oidldapd configset=0 instance=1 start
    ECHO About to start the website
    net start Oracle9ias_infraEMWebsite
    ECHO About to start opmn and OC4j
    e:\ora9iasinfra\dcm\bin\dcmctl start -ct ohs
    e:\ora9iasinfra\dcm\bin\dcmctl start -co OC4J_DAS
    stop.bat:
    @echo off
    ECHO About to stop the website
    net stop Oracle9ias_infraEMWebsite
    ECHO About to stop opmn and OC4j
    e:\ora9iasinfra\dcm\bin\dcmctl shutdown
    ECHO About to stop the OID server
    e:\ora9iasinfra\bin\oidctl server=oidldapd configset=0 instance=1 stop
    ECHO About to stop the OID monitor
    e:\ora9iasinfra\bin\oidmon stop
    ECHO About to stop the database
    net stop OracleServiceIASDB
    ECHO About to stop the listener
    net stop Oracle9ias_InfraTNSListener
    When I execute the batch files sometimes they work and sometimes they don't, for example after starting occasionally the Apache process has not been created, and sometimes processes won't stop.
    However if I enter each command seperatly all works OK. Can anyone suggest a reason for this. Also after starting the website manager the process manager for both the infra and ias are started (I have both installed on the same machine - this works fine apart from this batch file problem.
    Terry Bennett

    Terry -- You will probably have better luck on the General Oracle9iAS forum at:
    http://forums.oracle.com/forums/forum.jsp?id=466592
    Thanks -- Jeff

  • Multiple OC4J containers on OAS 10.1.2

    We've had problems with sporadic lockup/failure of our OAS 10g (v10.1.2.0.2) app server. We suspect it is something to do with a particular application that serves as a kind of menu to other apps. It uses a lot of ADF controls and is highly abstracted and configured via database table entries.
    As a step toward isolating the issue, we created a new OC4J instance in which this menu app will run, named "oc4j-menu". We then undeployed the 4 pieces of the menu app from the original "home" OC4J instance and deployed the 4 pieces to the new "oc4j-menu" instance.
    The starting page of the menu application came up, and supplying username/password seems to lead to the normal processing steps prior to the first user page. But then the process displays our defined error page with a message that indicates a session cookie was sought but not found among the cookies in the request. This process worked without error when it was in the original "home" container.
    We use Log4J for logging and define the log path as "log/menu.log". In the original "home" container the log would write to $ORACLE_HOME/j2ee/home/log/menu.log. Once undeployed from "home" and deployed to "oc4j-menu" I expected the log to be written to $ORACLE_HOME/j2ee/oc4j-menu/log/menu.log. It is not. It is still writing to the original log in "home". I've verified that the 4 pieces of the menu app are in fact undeployed from "home" and exist in "oc4j-menu".
    I've looked about in the EM console looking for a leftover reference to the "home" container or path, but see none.
    Any ideas? I think a first step in troubleshooting is to discover why the app is still acting/logging as though it were in "home". Any other advice is greatly appreciated.
    The idea of the menu app is that it authenticates via LDAP/OID and presents a list of authorized applications. This list is implemented as HTML links. Clicking on a link launches the desired app in a new browser window. I want to make sure that the end user sees no difference now, specifically that the launch URL of an app is not needing to be altered.
    Thank you for any help.

    Correcting this issue required stopping ALL OC4J containers, then restarting them. It would appear that there were hanging references somewhere...likely in memory, since none of the config files such as server.xml held any references to the subject app any longer.

  • Stop/start in PGW active/standby mode

    Hi all
    My VOIP Network has 2 PGW in active/standby mode. But when we add more telco, the state of ss7path is OOS. i must stop/start the PGW and ss7path is IS status.
    Now PGW is running services. it processing many call with other telco.
    i have question need to support.
    When we stop/start PGW,has PGW disconnected all call or not?
    Thank for supporting
    PhaiLQ

    If you restart the service on active pgw, calls are disconnected. If you don't want out of services you must pass the control to the standby server first.
    From mml console of active server use the command:
    rtrv-ne    to check the status, the output is:
        MGC-01 - Media Gateway Controller 2010-09-07 16:53:42.655 MEST
    M  RTRV
       "Type:MGC"
       "Hardware platform:sun4u sparc SUNW,Sun-Fire-V240"
       "Vendor:"Cisco Systems, Inc.""
       "Location:MGC-01 - Media Gateway Controller"
       "Version:"9.6(1)""
       "Platform State:ACTIVE" 
    sw-over::confirm to swich control to standby server
    now restart the service
    /etc/init.d/CiscoMGC stop
    /etc/init.d/CiscoMGC start
    P.S. If I remember the right way, the OOS (out of service) state of new ss7 path can be set in IS (in service) via mml command line without service restart.
    set- your ss7 path ::IS   use tab for help
    Regards.

  • I installed the new Lightroom CC but it don´t will start up.

    I have installed Lightroom CC An second I see the startup screen and within a second it moved from my screen. I also reinstalled the app. But no result

    Ok I´ll do that!
    Kind Regards - Met vriendelijke groeten
    Herman H Heutink
    www.planbfotografie.nl - tel.nummer - 0320-845229 - mobiel - 0628121187 - inschrijving K.v.K Lelystad onder nummer 39088400
    Op 22 apr. 2015, om 09:05 heeft Rajshree <[email protected]> het volgende geschreven:
    I installed the new Lightroom CC but it don´t will start up.
    created by Rajshree <https://forums.adobe.com/people/Rajshree> in Adobe Creative Cloud - View the full discussion <https://forums.adobe.com/message/7462956#7462956>
    Please Try signing out of the CC desktop app, then sign back in again. Sign in, Sign out | Creative Cloud desktop app <https://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html>
    You can refer to: Lightroom doesn't launch or returns "Develop module is disabled" error after 5.5 update <https://helpx.adobe.com/lightroom/kb/unable-launch-lightroom-55.html>
    Regards
    Rajshree
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7462956#7462956 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7462956#7462956
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Creative Cloud by email <mailto:[email protected].com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=46 70>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • Steps to stop / start CRS & ASM in RAC 11gr2

    Hello Gurus,
    Environment is as below:
    RAC 2 nodes
    Oracle RAC 11gr2
    Enterprise Linux Server release 5.5 (Carthage)
    I am new to Oracle RAC 11gr2 and facing some issues while stop / start crs & asm.
    We want to reboot both nodes and for that I have done following steps.
    1. srvctl stop database -d <db name> -- from one node
    Databse is down now.2. srvctl stop nodeapps -n <hostname> -- from both nodes
    services are down now.3. Now I want to stop asm
    $ export ORACLE_HOME=/u01/app/11.2.0/grid ( Grid Home)
    $ srvctl stop asm - This is not stopping ASM instance.
    4. crsctl stop crs -- this is also not working.
    I would appreciate if you please give me full steps.
    Thanks and Regards,

    In 11gr2, gsd remains offline. When I had checked with metalink, they said that it is fine.
    In 11gr2 you can stop all resouces as below
    <CRS_HOME>/bin/crsctl stop has
    or you can stop in the following sequence
    stop or relocate service using srvctl
    stop instnace using srvctl
    stop asm using srvctl
    stop nodeapps using srvctl
    stop cluster resources as root - <CRS_HOME>/bin/crsctl stop has
    To start
    <CRS_HOME>/bin/crsctl start has - it should bring all resources automatically
    verify the services status and start or relocate it back.

  • Videos Played through Home Sharing Don't Stop

    Since the last update, videos that we play on an iPad over the Home Share network, don't stop playing when you shut down the app (the sounds keeps going and the Play symbol is still showing in the top right corner).  Sometimes, the controls to stopt he video do not come up at all while a video is playing.
    Anyone else having a problem like this?  Happening on both of our iPads (iPad 2 and iPad 3).
    Thanks.

    Forum is designed to address technical problems. You can get free advise here, or you can contact apple
    for the advice. You may have to pay to Applecare for the support thou. At that time I do not have precise information on how to stop that from happening, what I would try is going to settings, general, reset and use reset all settings option. You will lose your wallpaper, and will have to reenter wi fi password, but will not lose any other info. You also will have to go through initial set up where you have to pick English and your country. You want to make sure that you set your ipad as new, when presented with that option.

  • Is there any way to pass in JVM tunable params to OC4J containers?Ex: -Xmx256 ...

    Is there any way to pass in JVM tunable params to OC4J containers?
    1. Switch to -server rather than -classic
    2. Min/Max Memory configuration
    3. pass in tunable GC params
    Passing parameters to the JVM when executing dcmctl does not pass these variables to the exec-ed java process(OC4J Containers).
    Any help is appreciated.
    Thanks,
    Vamsi Nukala

    Hello
    say I like to pass object I created in one page say :
    MyObject obj = new MyObject("1","2","3");
    via http params (supmit or post ) to other page . and
    use it there can it be done ?No. You can however place them as attributes in scope (application/session/request) and retrieve these attributes in the next page.
    example
    in one page,
    session.setAttribute("obj", obj);
    in another page
    MyObject obj = (MyObject)session.getAttribute("obj");
    ram.

  • Videos stop starting on web pages

    Hello.
    A UK Member here!
    When I play videos on YouTube and other websites like news channels etc. does the flow of the video become bitty (stop/start) and not free flowing please?
    Is it my Graphics card? Does it need updating? If so, to what please?
    If not then what is the problem please?
    My broadband is a good connection of 4MB.
    OSX10.4.11
    Thanks in advance!

    The buss speed on the older PPC power macs is insufficient to stream video. The network card takes a significant amount of resources then adding the data bandwidth for video and there is nothing left. The machine just wasn't made for that much data to flow through it. When the network card needs to off load data to the HD, it requires complete control of the data buss for that time. The video needs the same when it loads data. The two collide and you get a freeze of the video. (one has to win the conflict.) A faster machine is needed. There are vastly many other factors that can cause this problem in even the speedy machines but the PPC mac's of yesterday just can't handle the load. There are things that can be done to minimize the IO buss workload like limiting apps that are running. In the end, you just need a more modern machine for modern usages.
    That is my take on it.

  • Sometimes my iMessages sync to my iPad and sometimes it just stops working

    sometimes my imessages sync to my ipad and sometimes it just stops working!

    And .....? Any pattern? Happen everywhere? One particular wifi network? Don't keep us guessiing.... A little more information could be helpful.

  • My Torch don't stop rebooting

    I have installed adidas miCoach from App World, after the installation I set authorization. After that my Torch shut down an reboot and don't stop to reboot again and again on the first screen. The black one. How can I fix that ?
    Solved!
    Go to Solution.

    also can boot into safe mode
    How to start a BlackBerry smartphone in safe mode
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Satellite M30, Screen stays sometimes nearly black after start up to several minutes

    Satellite M30, WinXP
    Sometimes, the screen stays very dark, what means that you can see a tiny little bit the startup info in the background and also the windows desktop, for up to 2 minutes before suddenly becoming really lit.
    Not even the latest BIOS update did a change. And what is bizarre is that it appears not always. A non-stop start-and-shut-down-sequence showed that it appears about 2 out of 3 times.
    What could be the reason?

    Hi LeTom,
    did you use the toshiba recovery os or a own installation?
    It seems that the Display has a defect, so here are some questions to play it safe!
    Did the failure occure also when the red Toshiba logo is shown shortly after starting to boot?
    If you use a own OS installation, you should do a complete new installation with the Toshiba recovery CD (be carefull all data will be lost, make a backup).
    Then the notebook is setted back to software default settings and if the failure occures yet, you should check up the hardware by a Toshiba service partner!
    I think the M30 is still under warranty!
    Bye Pelox

  • Need "Stop/Start" Buttons

    I have been converting my MP4 QuickTime movies to Flash, using VisualHub, for my iWeb sites. But once they are converted, they lose the "Stop/Start" button feature that QuickTime provides. Does anyone know how to get s "Stop/Start" button feature on their Flash projects for their iWeb pages?
    Any help would be much appreciated.
    Thanks
    Margie

    I actually have Flash ~ and although I don't know much about using Flash, my son does. He is the one who took the .swf file (after conversion with VisualHub) and added the video controls. Seem to need the .flv file and the new .swf file to make it work (even on my desk top). Once I try to get it onto my iDisk however it comes up as the movie clip with no controls. Can't figure out why I lose it once to iDisk and or even if it works IN iDisk, once published to iWeb it loses its video controls.

  • Specify OC4J containers startup order

    Hi,
    we have defined several OC4j containers and we are now looking for a way to specifiy the startup order. Is there a way to specify in what order the OC4J containers must be started?
    Thanks!
    Steven

    Are these OC4J containers all in the same Oracle Application Server Instance or different instances? If in the same instance, do you really want to specify your own order of startup or do you just want these to be started in sequence (vs. in parallel by default)?
    To start components of an instance in sequence you can use "sequential=true" with opmnctl startproc command. Refer this for details:
    http://download.oracle.com/docs/cd/B32110_01/core.1013/b28944/opmnctl.htm#CEGEJDBA
    You can also specify your own order of startup by setting <dependencies> in opmn.xml. Refer this for details:
    http://download.oracle.com/docs/cd/B32110_01/core.1013/b28944/common.htm#CJHCJECF
    For example, if you have three OC4Js - oc4j1, oc4j2 and oc4j3 and you want these to start in that order, then:
    - Within <process-type id="oc4j2" ...> block, add following after </module-data> and before <start ...>:
    <dependencies>
    <managed-process ias-component="OC4J" process-type="oc4j1" process-set="default_group"/>
    </dependencies>
    - Within <process-type id="oc4j3" ...> block, add following after </module-data> and before <start ...>:
    <dependencies>
    <managed-process ias-component="OC4J" process-type="oc4j2" process-set="default_group"/>
    </dependencies>
    Reload OPMN (opmnctl reload) and start your components. OC4Js now should start in defined order.
    Hope this helps.
    Thanks
    Shail

Maybe you are looking for

  • Creation of Purchase Req with components in the case of subcontracting

    Hi Frndz, We would appreciate if anybody can help up us in this.We are trying to build a Z-functionality to create a purchase requisition for subcontracting material (with special procurement key=30).We are able to create PR with item category "L".Bu

  • Is iCloud compatable with windows 8

    I have found a lot of information that indicates that Windows7 is compatable with iCloud but I can't find out if iCloud likes Windows8. I just want to clarify this before I upgrade my operating system. Anyone know the answer?

  • How to reset network settings

    Hello, I cant figure out how to reset my network settings on my macbook pro I'm doing this because recently, in an effort to make my wireless work better (just bought a new router and it works great) I added an internet proxy to my network preference

  • Problem calling a report from Forms

    Hi, I am currently trying to upgrade our Forms and Reports from 6.0 to 10g. I created a simple form and a simple report and I called the report from the form (passing no parameters) and report was generated fine. Now I'm looking at one of our existin

  • HELP: Trouble with partial filled arrays

    For HW, I have to write a deleteRepeats static method for an array of characters that deletes any character previously listed and returns the new array size. The example the problem gives is: char a[10]; a[0]='a'; a[1]='b'; a[2]='a'; a[3]='c'; int si