OC4J 10.1.3.0.0 :: How to create a Parent OC4J Instance ?

Hi,
I have an Oracle Application Server Instance on a Windows System :-
D:\OraAppServer1\j2ee\home>ver
Microsoft Windows 2000 [Version 5.00.2195]
D:\OraAppServer1\j2ee\home>java -jar oc4j.jar -version
Oracle Containers for J2EE 10g (10.1.3.0.0)  (build 060119.1546.05277)I have created two OC4J Instances & the hierarchy is as follows :-
home
|
|
|-------OC4J_SS1
|
|-------OC4J_SS2Now, I am trying to create an additional OC4J instance that can act as the parent instance for the two OC4J isntances. I am trying to setup a hieararchy that looks like this :-
home
|
|
|-------OC4J_SS
              |
              |-------OC4J_SS1
              |
              |-------OC4J_SS2The reason for this setup is to have a Parent JNDI NameSpace that the Child Instances can access. We are trying to setup JMS Queues ( File / Memory based Persistence ) & the applications in both the instances ( MDBs ) will be listening to the same Queues.
We are trying to setup the Queues in the Parent OC4J ( OC4J_SS ) so that the applications in OC4J_SS1 and OC4J_SS2 can access the Queues.
We noticed that the createInstance command does not have the facility to specify the parent - all the OC4J Instances seem to inherit from the default home instance.
D:\OraAppServer2\opmn\bin>createinstance -?
Error: Unknown argument: -?
Usage:
createinstance <arguments>
where arguments are:
  -instanceName <name> :Name of new instance to be created.
  -port <http port>    :(optional)User specified HTTP port.
                        Required in J2EE Server and Process Management
                        install type only.
  -startASControl      :(optional)Start the Application Server Control
                        when starting this new instance.
  -ASControlIsRoutable :(optional)Make the Application Server Control
                        routable when started.We do not want to play with the home instance - instead, we want to deploy our solutions in our own OC4Js.
Can you please guide us in this solution ?
Please do let me know if I need to include any other information.
Regards,
Sandeep

Hi Steve,
Thanks again - I was able to create a Group & put the OC4J instances that I need as a Group.
It's a very useful feature.
Now, when I check the Administration page for the Group,
I notice that I can " Create/delete/view _____________ for the instances in this group."
I do not want to replicate the JNDI Connection settings for every instance in my Group
( the # could easily bloat up to 5 / 6 in the future ).
I am trying to create a common JNDI Lookup Service that will be available to both the OC4J Instances.
It's something like this:-
|          |
|   OC4J_SS1     |
|          |
|          |
     |
     |
     |
     V
|          |------> jdbc / xxxxx
|   Group JNDI  |------> jms  / xxxxx ( especially, file based Queues )
|   Bindings     |
|          |
     ^
     |
     |
     |
|          |
|   OC4J_SS2     |
|          |
|          |
----------------Is this possible in OC4J ? Or, do I need to use a heavy duty product like the
Oracle Internet Directory to achieve this ?
Can you once again post some Documents / WhitePapers that discuss this ?
Regards,
Sandeep

Similar Messages

  • How to create/get an OrdDicom instance

    Hey, guys, does anyone try to use the OrdDicom.jar to do some development? Now I have a rookie question: how to create/get an OrdDicom instance?
    It seems the OrdDicom class's construtor is private and no related factory method, so is there some other way to create an empty OrdDicom instance?

    The oracle.ord.dicom.OrdDicom Java class defines a proxy object for ORDDicom. ORDDicom is the database type for a DICOM object. This means that OrdDicom is instantiated only from an Oracle result set and thus functions as a proxy for the same object in the database.
    We don't have a specific code example for using OrdDicom but it would work very much like OrdImage which is the proxy Java class for ORDImage in the database. Here is a quick start example for using the Java client proxy class for OrdImage.
    http://www.oracle.com/technology/products/intermedia/htdocs/intermedia_quickstart/intermedia_java_qs.html
    Here is a code snippet showing how the Java class is instantiated from the result set.
    ===============================
         2.      Get a proxy for the ORDImage database object in row 1 in the OrdImage Java proxy object imageProxy (NOTE that since we will be uploading data into the ORDImage’s underlying BLOB column, the row must be selected with the FOR UPDATE clause).
    // select the new ORDImage into a java proxy OrdImage object (imageProxy)
    String rowSelectSQL = "select image from image_table where id = 1 for update";
    OracleResultSet rset = (OracleResultSet)stmt.executeQuery(rowSelectSQL);
    rset.next();
    OrdImage imageProxy = (OrdImage)rset.getORAData("image", OrdImage.getORADataFactory());
    rset.close();
    ==========================================================
    Finally, are you developing a DICOM application using the new feature in Oracle 11g? If so, we'd like to here more about what you're doing and how we might be of help. Please contact our product manager MELLIYAL (dot) ANNAMALAI (at) ORACLE (dot) COM for more info.

  • How to create reference, when an instance is created through  interface

    Hi All,
    How to create reference, when an instance is created through  interface.
    Regards,
    Lisa

    hi
    good
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5c54f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5f54f411d194a60000e8353423/content.htm
    /people/jocelyn.dart/blog/2006/06/28/getting-started-with-abap-oo-for-workflow-using-the-ifworkflow-interface
    THANKS
    MRUTYUN

  • How to create internal table storing instances of ABAP class

    Hi experts, any one knows how to create internal table storing instances of ABAP class or alternative to implement such function?

    Hi
    Please see below example from ABAPDOCU, this might help you.
    Internal Table cnt_tab is used to store class objects.
    Regards,
    Vishal
    REPORT demo_objects_references.
    CLASS counter DEFINITION.
      PUBLIC SECTION.
        METHODS: set IMPORTING value(set_value) TYPE i,
                 increment,
                 get EXPORTING value(get_value) TYPE i.
      PRIVATE SECTION.
        DATA count TYPE i.
    ENDCLASS.
    CLASS counter IMPLEMENTATION.
      METHOD set.
        count = set_value.
      ENDMETHOD.
      METHOD increment.
        ADD 1 TO count.
      ENDMETHOD.
      METHOD get.
        get_value = count.
      ENDMETHOD.
    ENDCLASS.
    DATA: cnt_1 TYPE REF TO counter,
          cnt_2 TYPE REF TO counter,
          cnt_3 TYPE REF TO counter,
          cnt_tab TYPE TABLE OF REF TO counter.
    DATA number TYPE i.
    START-OF-SELECTION.
      CREATE OBJECT: cnt_1,
                     cnt_2.
      MOVE cnt_2 TO cnt_3.
      CLEAR cnt_2.
      cnt_3 = cnt_1.
      CLEAR cnt_3.
      APPEND cnt_1 TO cnt_tab.
      CREATE OBJECT: cnt_2,
                     cnt_3.
      APPEND: cnt_2 TO cnt_tab,
              cnt_3 TO cnt_tab.
      CALL METHOD cnt_1->set EXPORTING set_value = 1.
      CALL METHOD cnt_2->set EXPORTING set_value = 10.
      CALL METHOD cnt_3->set EXPORTING set_value = 100.
      DO 3 TIMES.
        CALL METHOD: cnt_1->increment,
                     cnt_2->increment,
                     cnt_3->increment.
      ENDDO.
      LOOP AT cnt_tab INTO cnt_1.
        CALL METHOD cnt_1->get IMPORTING get_value = number.
        WRITE / number.
      ENDLOOP.

  • How to create a parent-child dimension in EIS?

    Does anyoe know how to create a parent-child dimension in EIS? Helps.

    It's easy but there are a few things to know.
    -The underlying dimension table must be a 2 column recursive design. It can also have additional aliases and property columns.
    -in the OLAP model you must do a "self-join". select the table properties | physical joins. then join the parent to the child within the same table
    -in the metaoutline drag only one column, not both (i like using the child only) to the dimension in the metaoutline panel.
    If you need more help email me ([email protected]) and I'll do a webex demo for you.
    Ron

  • How to create a parent without children in JTree

    I got a question here,
    i got a tree of file directories, after i check the file is a folder it will show a parent node instead of a leaf node and only files will be shown as a leaf node..
    can anyone guide me thru? thanks

    where is the question?
    how does it relate to the subject?
    can anyone guide me thru?http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
    thomas

  • How to create a new database instance from an existing one?

    Hi, I basically want to create a snapshot of a production
    instance (version 8.1.7) for querying purposes. Would anyone
    tell me the steps involved? What I did as follows:
    1. Copy all data files to a new location
    2. Modify init.ora accordingly. I believe there is no separate
    control file for this version.
    But when I startup the instance, got this error:
    ORA-01103: database name 'TRITON' in controlfile is not 'HERCULE'
    What is missing? Do these data files contains links to the
    previous instance name?
    Thanks for any help.

    Hi All,
    I need some help in recreating new database instance.
    Here are the steps I have done so far:
    1. Created a database with name 'LASTDB' using DBCA
    2. Connected to RMAN.
    3. RMAN>SET DBID=******; (of the source database)
    4. Connect to target. RMAN>connect target SYS/*****;
    5. Executed controlfile restore on RMAN.
         RMAN>Run{
    Allocate channel D1 Type DISK;
              Set controlfile autobackup format for device type DISK to
    ‘\\<ip_address>\Backup\Prod\%F’;
    Restore controlfile from autobackup;
    6. RMAN> ALTER DATABASE MOUNT;
    Now got an error saying ORA-01103: database name ‘PRODDB' in control file is not ‘LASTDB’
    I tried using NID to change the database name but it's throwing an error that database is not mounted.
    I have browsed a lot and found that I need to recreate a control file of the production database using ALTER DATABASE BACKUP CONTROLFILE TO TRACE and should edit the trace file. But it also says to shutdown the source database which is production database and I cannot try that.
    Also I have tried adding a line to init.ora like lock_space_name = LASTDB. Also tried replacing everything from LASTDB to PRODDB but that didn't work either.
    I have been trying to find a solution to this. Please bear with me as I'm a beginner and please let me know how I can fix the error.
    I am running oracle 10.1.0.2.0 enterprise edition on windows 2000.
    Thanks for your patience,
    KG

  • How to create copy or test instance of existing weblogic application?

    How can I create a copy or test instance of an existing weblogic 8.1 application? Is there a white paper that outlines the process?

    Hi All,
    I need some help in recreating new database instance.
    Here are the steps I have done so far:
    1. Created a database with name 'LASTDB' using DBCA
    2. Connected to RMAN.
    3. RMAN>SET DBID=******; (of the source database)
    4. Connect to target. RMAN>connect target SYS/*****;
    5. Executed controlfile restore on RMAN.
         RMAN>Run{
    Allocate channel D1 Type DISK;
              Set controlfile autobackup format for device type DISK to
    ‘\\<ip_address>\Backup\Prod\%F’;
    Restore controlfile from autobackup;
    6. RMAN> ALTER DATABASE MOUNT;
    Now got an error saying ORA-01103: database name ‘PRODDB' in control file is not ‘LASTDB’
    I tried using NID to change the database name but it's throwing an error that database is not mounted.
    I have browsed a lot and found that I need to recreate a control file of the production database using ALTER DATABASE BACKUP CONTROLFILE TO TRACE and should edit the trace file. But it also says to shutdown the source database which is production database and I cannot try that.
    Also I have tried adding a line to init.ora like lock_space_name = LASTDB. Also tried replacing everything from LASTDB to PRODDB but that didn't work either.
    I have been trying to find a solution to this. Please bear with me as I'm a beginner and please let me know how I can fix the error.
    I am running oracle 10.1.0.2.0 enterprise edition on windows 2000.
    Thanks for your patience,
    KG

  • How to create a parent-child-grandchild portal form: Help Urgently!

    Hi All,
    I have a master table and a detail table. I also have a detail table based on the first detail table. How do I create a master-detail-detail_detail portal form ? Is this possible? if not, is there any other way to do it ?
    Thanks.

    HI,
    This is not possible with Portal Forms. You can try using jsp to do this.
    Thanks,
    Sharmila

  • How to create multiple adapters / multiple instances of adapters

    i need to read out more than one incoming mailboxes. do i have to install as many partitions of the smtp adapter as ingoing mailboxes need to be connected? if so, how do i start more than one adapter on the same machine / same hub? if i simply try to start the same adapter twice, i get the following error:
    The Adapter is already running. You cannot have same adapter registered twice even if installed on different machines for a single integration hub. For scalability, if you want to use multiple instances or partitions of the same adapter, please set the adapter.ini parameter to allocate instance or partition values as appropriate. Please stop the Adapter before starting it again.
    so i could configure a second adapter.ini file for the second partition. but how do i start the partition? there is no ini-tag in the start-script provided with the adapter installation.

    Yes, copyAdapter is the solution.
    I wanted just to add this point : the SMTP adapter cannot read attachment file. Il you have thos problem install fetchmail/procmail/ripmime it woks very well and allow to manage many mailboxes.
    regards

  • How to create multiple Oracle 9i instance on same machine?

    Hi Gurus,
    I would like to add second instance of Oracle 9i on same machine. What should I do? Please recommend me too.
    Note OS: Windows Server 2003 Standard Edition
    Oracle: Oracle 9.2.0.1.0
    Best regards,
    Choosak B.

    First, are you sure you want to have separate ports? Normally, you would just run a single listener and register all the databases on the system with that listener.
    If you do want to run multiple listeners, the listener.ora file specifies the port to listen on.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to run oid on oc4j

    Hi All,
    I am new to oc4j. I have configured oid on weblogic and after that on oc4j. But i dont know how to run oid in oc4j. When i shutdown wls_ods1 in weblogic domain,oid doesnt work. So please tell me how to run oid in oc4j and how to check which managed server get deployed in oc4j,like we did in weblogic using "http://localhost:7001". Also whether it is possible to install and configure oid without using weblogic.
    Thanks,

    OC4J is restricted to Application Server 10g only. In FMW11g, OC4J is not used at all.
    When managed server wls_ods1 is not up and running, you won't be able to access the Oracle Directory Services Manager. OID itself should be fully functional as it doesn't require any WebLogic components.
    You can check the status of the OID 11g components with opmn status -l, e.g.
    $ opmnctl status -l
    Processes in Instance: asinst_1
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ias-component                    | process-type       |     pid | status   |        uid |  memused |    uptime | ports
    ---------------------------------+--------------------+---------+----------+------------+----------+-----------+------
    ovd1                             | OVD                |    4889 | Alive    | 1094295844 |  1126940 | 1753:10:~ | http:8899,ldaps:7501,ldap:6501
    oid1                             | oidldapd           |    4942 | Alive    | 1094295846 |   993124 | 1753:10:~ | N/A
    oid1                             | oidldapd           |    4928 | Alive    | 1094295845 |   439772 | 1753:10:~ | N/A
    oid1                             | oidmon             |    4890 | Alive    | 1094295843 |   826860 | 1753:10:~ | LDAPS:3131,LDAP:3060
    EMAGENT                          | EMAGENT            |    4891 | Alive    | 1094295842 |   106096 | 1753:10:~ | N/AAnd you can use the ldapbind utility to check whether you can bind to the OID server :
    $ $ORACLE_HOME/bin/ldapbind -h localhost -p 3060 -D "cn=orcladmin" -w welcome1
    bind successfulThanks,
    EJ

  • How  to deploy on different OC4J than "home" on Application Server

    Hi
    I've a JSP/Struts Application which runs well in JDeveloper and runs well if deployed to the "home" instance of Oracle Application Server 10g Release 3. However, we want to deploy this Application to a separated OC4J (keeping different Applications separated). So I'm trying to create a second OC4J instance in Application Server in order to deploy my application. This seems to be quite complicated !
    Can anyone point me to some information on how to create a new OC4J Instance in Oracle AS 10g with all necessary BC4J- and ADF-Libraries in order to deploy an application?
    Thanks

    pls use the em website to create the new oc4j stance,you can access em by http://yourashost:1810
    then ,you may deploy the project to a ear file and deploy it on new oc4j stance in em website.
    maybe i do not make me understood,::)

  • How to create virtual directory in Oracke 10g ias

    Hi
    In my application i have a upload functionality so that any user once they upload the document i want to store in a directory which is existing on the server so that if anybody wants to open that document it should be opened from the server.
    any help is highly appreciable

    You don't say whether you are using OC4J standalone or OracleAS:
    Here's how you do it with OC4J standalone:
    http://buttso.blogspot.com/search?q=virtual-directory
    I you are using OracleAS then you'd use one of the standard Apache directives to expose the directory via it (Oracle HTTP Server):
    See: http://httpd.apache.org/docs/1.3/urlmapping.html#outside
    -steve-

  • How to create multi instance monitoring using VSAE

    i have a class and it has multiple instances which inturn has data about each and every instance as performance logs etc
    i need to get the data about each every instance and add some property bag data appropraitely.
    how can i achieve this, how can i create multi instance monitoring in VSAE  and how to create rules for multi instance.
    SCOM Version:SCOM 2012 R2
    Thanks & Regards, Suresh Gaddam

    Hi 
    the discovery of the class will populate the class object property's and discovery can discovery multi instance of class, make sure there is a key property for class.
    once you target a rule or monitor a workflow will be create for each instance, as the rule target to the class you can pass class instance and host class property's as parameters.
    for examples check below link 
    http://channel9.msdn.com/Series/System-Center-2012-R2-Operations-Manager-Management-Packs/-Mod7
    regards
    sridhar v

Maybe you are looking for

  • Audio Tracks Soloing By Themselves

    I am having a problem with Logic Pro 9. Different audio tracks are soloing randomly during playback. I would grateful for any assistance. Thanks again.

  • Preflight method to identify fonts which will fail tagging/extraction

    Hello, I've run accross several PDFs that contain problematic fonts -- examples are: 1.  Adding tagging to the document adds strange characters around the fonts (i.e. "@" or "É") 2.  Copying and pasting the text to word creates strange boxes, questio

  • Image Resolution issues?

    Shot RAW images with Nikon D300; opened images in camera RAW (they are all 300 DPI); opened all images in Photoshop CS5 and the image size for all is 300 DPI saved as jpegs; I sent the images to a friend; when she opens in them in Photoshop CS6 they

  • Problems with imported mono audio with stereo HD video FCE4

    This is with Final Cut Express 4. So here is what I am doing: I am recording video of my flight lessons inside my airplane with a mounted Panasonic HDC-TM90 HD camera.  Since it is noisy inside the plane, I am using an Olympus VN-4100PC digital voice

  • Organizer 10 cannot read or display MTS files.

    This topic was discussed earlier this year, and the answer at the time was to uninstall/reinstall PSE and AEP.  Has Adobe figured out what the problem is?  It there an easy method to fix this issue, or is this brute force method the only method to fi