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

Similar Messages

  • Bad response in a Web Service on OC4J with many concurrrent clients

    We have a Web Service in a OC4J container, this Web Services invoke the business services from another complex application (another ear with EJBs in the same container) with RMI connections.
    We need this web service support many concurrent clients, but in our tests the performance is very bad, the web service supports ten concurrent clients in a long response time for all of them, (for one client the Web Service responses in 3 seconds / for 10 clients in 45 seconds) if we test with 20 concurrent clients, the web service can´t process at least 15 requests , the other 5 finish well
    What can I do to improve the performance with many concurrent clients (100 +)

    Hello,
    I am quite surprised...
    Could you please give us more information about your environment and behavior:
    1- which version of oracleAS, WS and J2EE are you using?
    2- do you have any information in the application log about possible source of error?
    3- Any information about performance of the different layers?
    Can you simplify the flow by creating the service in the same EAR than the EJB and void RMI calls for example?
    regards
    Tugdual Grall

  • Can i have the same application in two different oc4j containers?

    Hi,
    I have developed one J2EE application and still the updation is going on. So i wanted to to deploy the application in two different oc4j containers. so that one will be having the working version of my application and the users can use that application. I want to use the second container as my test application, in that i can modify and test. The deployment of my application in two different containers went fine. But when i try to access the web application with the context, it is serving from the latest deployment for my request.
    My question is :
    1) Can i use both applications with different Oracle HTTP server port numbers??
    2) All the HTTP requests are passed to the oc4j containers by AJP13 protocol through AJP port to the OC4J containers. where is the mapping between the OHS and AJP protocol defined ??? ie., the requests from this http port have to be transferred by AJP protocol through AJP port to this OC4J container ???
    3) Or i have to have two different installations of Oracle9iAS ???
    Please help me to solve my issues...
    Robert D

    Different ohs port numbers would not help as there is only 1
    $iashome/Apache/Apache/conf/mod_oc4j.conf
    You can pick a different context_root name for your test app.
    Ken

  • Hierarchical query with many-to-many relationship

    I have read with interest the creative solutions to complex hierarchical queries posted previously; they have been instructive but have not quite addressed this scenario.
    We have a hierarchy table H, with columns for ID, name, parentID, and other attributes.
    Within this table are a number of independent hierarchies, each existing for a different purpose.
    We have a master list of hierarchies in table T which describes the purpose of each hierarchy, provides some default attributes which the nodes can inherit, and stores a unique id for each hierarchy and a pointer to the root node of the corresponding hierarchy in table H.
    We have a master list of items M, with identically named columns to those in H, along with many other attributes.
    The members of table M ALL belong to EACH of the Hierarchies. So we have a link table I to define the intersection of H and M.
    So the leaf nodes of H are really containers for the list of elements from M which may be attached to them.
    The universe of M is very volatile, with new members being added, old ones deleted, and existing ones being reclassified frequently from node to node within each hierarchy. Since the hierarchies have to be built to handle every possible scenario, so that the members of M can always find a suitable node to reside in, quite often, in fact more often than not, the majority of leaf nodes for each hierarchy are empty at any given moment.
    Therefore, although we always know the root sector of a given hierarchy and can traverse downwards from there, if we worked our way up from the intersection table, we could eliminate up to 70% of the nodes of any given hierarchy from further consideration, as they don't need to be (in fact, must not be) included in reports.
    As implied by the above, rows in M are structurally similar (in terms of columns, but not in any real world sense) and are a superset of rows in H. But combining them into the one table doesn't seem to help the reporting process due to the many-to-many relationship which prevents the ID/parentID relationship from being carried through to this level.
    There are a number of other considerations of which the most pertinent is that the people using this database generally have an interest in only a subset of the master list of items in M. This relationship is also dynamic but important enough and rigid enough that another link table P exists to combine the Users in table U with the subset of M in which they are interested. (The users are also grouped into hierarchies of a totally different nature, but this aspect is secondary for now.)
    The reporting is reasonably straightforward for any single combination of User and Hierarchy; they want to see all the items they are interested in, listed in hierarchical sequence, totalled on change of level with the individual items M listed beneath the nodes of H. This is unfortunately required in real time, so retrieval performance is paramount.
    Some statistics might help to determine the optimum approach:
    The largest hierarchy has 10,000 nodes. The smallest about 100.
    The largest would have 70% or more of its nodes unused at any point in time, and even the smallest would have 25% unused.
    The hierarchies tend to be broad rather than deep, the maximum number of levels being about 5; but the larger ones should be twice as deep as this if performance was not compromised.
    There are dozens of hierarchies, but it may be possible to sharply reduce this number by exploiting the Order Siblings By clause.
    The number of rows in M varies between 500,000 and 50,000; depending upon how long historical data is retained on-line (and performance permitting, it would be retained indefinitely).
    The number of users varies between 1000 and 2000 but the range of M in which they are interested varies greatly; from as few as 100 to as many as 10,000+. So it is almost always worth beginning by eliminating the items in which they are not interested, implying once again that the hierarchy should be traversed upwards rather than down from the root.
    The current system is very old and survives by a tactic of building what are essentially materialised views of the database structure for each user overnight using, ahem, non-relational technology. This is inefficient and not easily scaled (but it works) and hence this redevelopment project needs to (a) work, and (b) work better and faster.
    I am happy to provide some DDL scripts if that helps explain the problem better than this narrative.
    I can't help feeling that the solution lies in somehow extending the hierarchical query past the many-to-many link table so that the Master list can be merged directly into the hierarchy such that the M items become the leaf nodes rather than the design outlined above - but I don't know how to do that. But I am sure everyone reading this does! :)
    All advice appreciated. Database version is not an issue; we are currently using version 10XE for experimentation, but production usage could be on 11 if that contains helpful features.
    Thank you
    CS

    Hi,
    ChrisS. wrote:
    I am happy to provide some DDL scripts if that helps explain the problem better than this narrative.Yes, please do.
    The problem seems interesting, I'm sure many people here (including myself) are willing to help you in this matter.
    So yes, post DDL for the tables, as well as INSERTs to populate them with representative data. Please also include the output you require along with detailed explanations about the logic to get it.
    Don't forget to put lines of code between &#x007B;code&#x007D; tags in order to preserve formatting and readability, like this :
    SELECT sysdate FROM dual;Thanks.

  • 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.

  • Need latest PDK for 9.0.2 OC4J containers.

    Where can I find the latest PDK (I believe July 2003) for 9ias 9.0.2 containers? The latest PDK available for download isn't supported by 9ias 9.0.2 containers.

    We are looking into the possibility of keeping pdk.zip archive on portalstudio. Will keep you informed of its status. Till then you might want to check out the latest PDK (version 9.0.4.0.2). It contains a new extension for integration with Apache Struts, Improvements to the OmniPortlet & Web Clipping, HTTPS support for portalTools, etc.
    Regards,
    Abhinav

  • No performance metrics for group with 2 OC4Js

    I created a new group with 2 OC4J instances through the console. Then I created an additional web site (AJP protocol) for these 2 OC4Js to provide access from a HTTP server. Everything is working as expected.
    But in the console, I do not get any performance metrics for these OC4Js. Everything is appearing as Unavailable. I do see performance metrics for my home OC4J instance where the console is running from.
    Any ideas would be appreciated.

    Interesting would also be how many changes are made to fields of roles before they become a * value in the end anyway... 
    I place my bets on S_PROGRAM and a close second being S_TABU_DIS on that score card.
    Cheers,
    Julius

  • What is the recommended maximum number of oc4j containers to create in iAS

    We have about 40 j2ee applications which we would like to deploy on iAS. Our developers requested that we have 1 container per application. Is it recommended to have 40 containers created in iAS. What are the best practices?
    Thanks.

    Unless you have a server/server farms with lots of memory i dont recommend you do create 40 OC4J containers.
    Can you someway group your applications ?
    you can create one OC4J instance for HR applications, one for maintenance, other for Call Center Applications, another for Finantial ,Department application and so on ...
    Also you can group by resources consumed/critical level, i.e. you create several oc4j container , separate applications wich require more memory ou more session ...
    In my environment i have several applications sharing common oc4j instances running ok
    Just some ideias.
    Best Regards

  • 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

  • HT204416 My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    My Safari is no longer working with many sites.  However Chrome and Firefox work fine.  I would like to re-install Safari in an effort to clear up the problem I can not resolve.

    1. From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    2. Select
              Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data...
    and confirm. Test.
    3. If the above steps don't resolve the problem, please describe it in more detail.

  • Firefox becomes really slow then eventually unresponsive when loading a page with many hires images. Unsual high memory usage up to 2gigs just for firefox. Was never a problem with v3.6.

    When loading a page with many hires images, Firefox becomes really slow and scrolling becomes jumpy then eventually becomes completely unresponsive. Unusual high memory usage of up to 2gigs just for firefox when loading these pages. This was never a problem with v3.6.

    I encountered the same type of problem. Firefox running terribly slowly and slowing down my entire machine (Core i5 with 256GB SSD). Searching the forums, I found a couple of things about troubleshooting performance issues, one of which was to use '''hardware acceleration''', that is on by default. It was turned on on my PC, '''so I tried deactivating it, and it worked!'''
    So doing the exact opposite as Mozilla support said solved the problem. It is really a pain now to work with Firefox. I'm using it because I have no choice, but I'd recommend IE and Chrome over Firefox... Whatever, the market will decide once Firefox has become to crappy...

  • Right way to preserve all parent table entries in a join with many tables!!

    This problem is quite interesting to me. I have asked this question to others but no body is able to provide me with proper answers.
    The problem is: How do I join a huge parent table with many child tables (more than 5 child tables) preserving all of the parent table entries. Lets say there is the parent table parentTable and three child tables childTable1, childTable2, childTable3. In order to get the data after joining these tables the query that I have been using was:
    select parent.field1, parent.field2, parent.field3, child1.field4, child1.field5, child2.field6, child3.field7 from ParentTable parent, childTable1 child1, childTable1 child2, childTable3 child3 where parent.fielda = child1.fieldb and parent.fieldc = child.fieldd and parent.fielde = child.fieldf.
    Although the tables are huge (more than 100,000 entries), this query is very fast, however those parent table entries which do not have child entries are lost. I know that I can left join a parent table with a child table and then with the next child table and then with the next child table and continue. Isn't there a simple solution for this commonly happening problem?
    Please provide suggestions please...

    Hello Lakshmi,
    Although I do not know exactly how to achieve what you want to achieve but I have seen DBAs/ABAPers in my experience can run queries/scripts using the COUNT function to give the actual number of line items per table for all your 100 or odd tables.
    Rgds
    CONMJI

  • How do I compensate for only one ADDT ' tNG_config.inc.php file with many Registration pages to build?

    My dynamic site has a lot of different languages funneled into one website, using various cookies, url params, php includes, etc. all to obtain similar info in different languages. Thank you David Powers.
    It is working really well and now I’ve come to the Registration section. Okay, so registration isn’t all that hard; I could do most of it with the standard Dreamweaver set of tools. Alas, I really like much of what ADDT has to offer with welcome email messages and activation and such.
    Here’s the setup: Obviously, with many different language people, I have many different databases for them. I did that becuase we’re expecting a big audience and I really don’t want to have all those different language names in the same table. Furthermore, these tables, whereby the students will login, will also contain a lot of information about their work so again, don’t want to have one massive table. I’ve divvied them up into tables by language and I’m using those tables to keep track of them and their work.
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings.
    Here’s my situation: I notice that when I’m done with the configuring of one of the registration pages, I’m asked if I want to upload the tNG_config.inc.php page and that it has changed since the last upload. I saved a copy of the _config.inc.php and did a new registration form with the same info and when done, I compared the two _config.inc.php files. As one would guess, there is a small difference in the Connection string to the databases  $tNG_login_config["connexction"] = "connString_Ital_db".
    My problem is that I have 13 of these registration pages to do but ADDT only has the one tNG_config.inc.php. That’ll work great for the one with which it is associated, but the others will obviously break. I’ve looked through the code in the Registration pages, to find the ADDT link to the tNG_config.inc.php file hoping to rename it Italian, Spanish, etc, but the name of the file does not appear in the Registration page.  I realize that ADDT Control panel is designed for use on one site, and can then be used on others, with the changes etc. But my site seems a little unique since so many sites are actually in one.
    Has anyone whipped this problem before? I just don’t understand why there is no link in the head code of the Registration page to let me change it and to create more config files with different names. Thanks for you help!
    [Moved by moderator to appropriate forum]

    Hi Brian,
    I just tried to check all of ADDT´s "includes" files for any internal references (read: "require" or "require_once" statements) to the file "tNG_config.inc.php". So far I can only see this file referenced in the file "tNG.inc.php" (within the "$KT_tNG_uploadFileList1" array).
    So what could this mean ? Maybe you´ll have to make copies of the the original "tNG.inc.php" as well and save them as, say, "tNG.inc_ital.php" file plus make sure that these copies internally point to a different "tNG_config_ital.inc.php" file -- because it´s always the first mentioned file which gets referenced from e.g. an ADDT login page (see the "Load the tNG classes" - part)
    I want to use ADDT’s User Registration Wizard and I have looked at all the neat stuff in the Control Panel/Login Settings
    The Control Panel will always update the main "tNG_config.inc.php" file, so any further modifications will have to become manually applied to the custom files you´re creating.
    Cheers,
    Günter

  • I have several disks with many comedy routines;I want to select a few from each disk and combine them to one disk for my personal use.How?

    I have several disks with many comedy routines;I want to select a few from each disk to make one single disk for my personal use.How?

    Copy the routines into a new folder on your hard drive. Then burn the folder to a new blank disc using Disk Utility.

  • I have an older Ipod shuffle with many songs loaded on it. How can I transfer these songs to a new computer since the old computer is no longer available

    I have an oder Ipod shuffle with many songs loaded on it. How can I transfer ths songs to a new computer since the old computer is no longer available?

    I had the same problem with my iPad, i couldn't get the newer version of itunes because the computer was too old and my iPad couldnt sync with the old itunes. I got a PC from school a few months later so that solved the problem for me. Unfortunately i don't think there would be a program to put your music on your iPod, iTunes should be the only way to transfer files to Apple devices. What operating system are you running and what version of it is it?

Maybe you are looking for

  • Error while sending a mail using UTP_MAIL package in Oracle 10g

    Hi, We are using UTP_MAIL package to send a mail from Oracle 10g.We have follwed the following steps ... SQL> connect sys/password as sysdba Connected. SQL> @$ORACLE_HOME/rdbms/admin/utlmail.sql Package created. Synonym created. SQL> @$ORACLE_HOME /r

  • ''Sim Not Valid'' on activation screen! *PLEASE HELP*

    I have purchased the iPhone 6 64GB Silver from Verizon Wireless. I purchased it on November 18th 2014 and i was able to use the phone under the Verizon Network for 2 days I asked Verizon as ALWAYS to have to Unlocked because i was leaving the country

  • Can a Third-Party Consignment Sale Exist?

    Can a Third-Party Consignment Sale Exist? If it exists could anyone provide the flow of the scenario that is basically done in the system? Points will be rewarded for the answers.

  • Bulleted list indentations

    I am creating a list with several bulleted items and sub-items. In Pages, I know how to indent a Level 2 or 3 or 4 item, but the actual "bullet" itself stays lined up along the left edge; it doesn't indent along with the text that follows it. How do

  • Re-naming application

    i recently got cs3 and it was in my apps folder as 'adobe photoshop cs3' i changed the name to 'photoshop cs3' and now everytime i go to open it, i get the following message 'this application has been moved from the location which it was orignially i