Re; Creating more then 10 database on single pc-- urgent

GREETINGS,
I need to create about 30 database on a single PC win 2000 pro sp1??
I am using Oracle 8.0.4 on Win NT and when i go through the database assistant wizard I am able to create 9 data base successfully.
When i create the 10 database the service of 10 database is not seen in the oracle wizard (Oracle Database Asistant
i.e if i select the option modify database i see oracleservice orc9.and not oracleservice10.
In Windows NT i can see the database and its service.
So when i try to create again it tells me or10 database already exists....
I also chose the option of Custom database and rename the OR10 to OR11 but then it gives me an error of ORA -00301
"Error in adding logfile d:\orant\database\log3or10.ora"
ORA-01109..
I am using installer 3.3.1.2.4 on w2k pro
1) How can i overcome this and create more database??
[email protected]
thanx
Nayan

10 databases with 512 MB of RAM works out to less than 50 MB of SGA and PGA per database. I don't think that's a valid value for a SGA alone even in 8.0.4. Even if you have 1.5 GB of swap, that's only 200 MB for the SGA and PGA, which is pretty minimal.
There is a difference between something that appears to work in most situations and something that has been tested and verified to really work in a particular configuration. You are trying to use a version of Oracle that is no longer supported on any platform on an operating system it was never tested on to create a number of databases that seriously taxes the resources available on your system. Frankly, I'm suprised you're getting as far as you are.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • Creating more then 1 statement in one connection in SQL server

    hi
    am using sql server as my database.here i cannot create more then one statement in the i connections....why does this happen
    secondly is it preferable to create 'x' number of connections at the start of the application or create a connection as and when required...
    Pls if anyone can help me...
    regards
    Praveena

    hi,
    if i'm not wrong try to close the already creted statment if ur creating another with the same nmae otherwise it should not be a problem creating set of statements.u can create any number of statement with a single connections.u need not open connection for every statement.hope this helps u out
    bye

  • Can I create More Then One seesion in one script?

    Hi all ,
    I have got a requirment to create more then one seesion in one script only
    (means I have to login using multiple USER's in a single script.).
    and also there is no way for LOG-OFF.
    Thanks in advnc.

    Yes. This is a very common task.
    You should databank the User and Password parameters. When running many virtual users in e-load, the script will login each script/user from the list you have included in the databank. When running in Functional playback, each new iteration of a single user will login with a new user from the databank.
    There also does not need to be a logoff. In either Functional or Load playback, each time a script or a virtual user starts a new iteration it will begin as though there are no past cookies or cache files.

  • Creating more then 10 database on single PC?

    GREETINGS,
    I need to create about 30 database on a single PC win 2000 pro sp1??
    I am using Oracle 8.0.4 on Win NT and when i go through the database assistant wizard I am able to create 9 data base successfully.
    When i create the 10 database the service of 10 database is not seen in the oracle wizard (Oracle Database Asistant
    i.e if i select the option modify database i see oracleservice orc9.and not oracleservice10.
    In Windows NT i can see the database and its service.
    So when i try to create again it tells me or10 database already exists....
    I also chose the option of Custom database and rename the OR10 to OR11 but then it gives me an error of ORA -00301
    "Error in adding logfile d:\orant\database\log3or10.ora"
    ORA-01109..
    I am using installer 3.3.1.2.4 on w2k pro
    1) How can i overcome this and create more database??
    thanx
    Nayan

    10 databases with 512 MB of RAM works out to less than 50 MB of SGA and PGA per database. I don't think that's a valid value for a SGA alone even in 8.0.4. Even if you have 1.5 GB of swap, that's only 200 MB for the SGA and PGA, which is pretty minimal.
    There is a difference between something that appears to work in most situations and something that has been tested and verified to really work in a particular configuration. You are trying to use a version of Oracle that is no longer supported on any platform on an operating system it was never tested on to create a number of databases that seriously taxes the resources available on your system. Frankly, I'm suprised you're getting as far as you are.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to create different bodies in a single region - Urgent

    A simple Question !
    How to create more than 1 body in a single region. E.g i created report region and under body tag in region all other charts reports are created.
    i dont want that .. i want to create different bodies in a single region.
    Guide pls

    See this link:
    http://apex.oracle.com/pls/otn/f?p=31517:107
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Creating more then one instance in Singleton

    Hi Friends,
    In the Singleton pattern,I want to restrict the no. of instances of a class created to 3 or 4 and not necessarily
    one.I am written this code,that creates duplicate singleton objects,I want to know is this the right way
    to do so.
    public class Test implements Cloneable
    public Object clone() {
                try {
                    return super.clone();
                catch (CloneNotSupportedException e) {
                    throw new InternalError(e.toString());
    public class SingletonObject extends Test
      private SingletonObject(){}
      public static SingletonObject getSingletonObject()
        if (ref == null)
            ref = new SingletonObject();          
        return ref;
    private static SingletonObject ref;
    public class Clone
         public static void main(String args[])
           throws Exception
           SingletonObject obj = SingletonObject.getSingletonObject();
           SingletonObject clone1 = (SingletonObject) obj.clone();
              SingletonObject clone2 = (SingletonObject) obj.clone();
    }Thanks

    More then 1 instance defeats the purpose of the
    Singleton pattern, don't you think?No it doesn't. It's specially noted in the GoFbook
    that one way a Singleton is more flexible than a
    class (with only static members) is that you can
    change your mind and allow more than one instance.Then it's not a singleton anymore. I agree that
    developing the class in the way one does for a
    singleton object is more flexible for that reason,
    but as soon as you allow multiple instances, it's not
    singleton anymore, it's multiton (if that's the
    official term... I'd just call it a normal class).I think most people throw the word multiton out there (I know I do) when talking about a class that needs strict control over how many instances of it are out there, like a Singleton, but isn't strictly limited to a single instance. For example, you might call an immutable class that guarantees no two equal instances exist a "multiton", or perhaps there' a more preferred term out there.

  • How to Create more then one Application in HCP-trial

    Hi all,
    I am new to this field,
    I want to create new application in HCP I have already create one and want to do more hands on this but i cant find where to create second application.
    and one more question.
    can we see the content which we created through Web-based Development Workbench... to our local eclipse based tool because its not visible to me
    Regards
    GB

    Hi vinod,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    Award points if this helps.

  • RV_INVOICE_CREATE u0096 Issue creating more then one invoice

    Hi All,
    I am creating Billing document using “<b>RV_INVOICE_CREATE</b>”. For single sales record it creates fine, but when I pass multiple sales order to create invoice, it only creates billing document for first sales order rest ignored. I am using “<b>RV_INVOICE_REFRESH</b>” after each create, still it doesn’t work. Am I missing any thing here? Thanks in advance. Please check code for further details.
    Regards,
    Tim
    CODE ....
    loop at GT_INIT_ITAB2 into GS_INIT_ITAB2.
        concatenate GS_INIT_ITAB2-afdat6(4) GS_INIT_ITAB2-afdat3(2) GS_INIT_ITAB2-afdat+0(2)
                    into gl_date.
        condense gl_date.
        MOVE-CORRESPONDING GS_INIT_ITAB2 to gt_xkomfk.
        gt_xkomfk-fkimg = GS_INIT_ITAB2-KWMENG.
        gt_xkomfk-SELDAT = gl_date.
        append gt_xkomfk.
    Create Billing document at end of each Sales Document
        AT END OF VBELN.
          gs_vbsk-mandt = sy-mandt.
          gs_vbsk-smart = 'F'.
          gs_vbsk-ernam = sy-uname.
          gs_vbsk-erdat = sy-datum.
          gs_vbsk-uzeit = sy-uzeit.
    Call function module to create Invoice
          CALL FUNCTION <b>'RV_INVOICE_CREATE'</b>
            EXPORTING
            DELIVERY_DATE   = sy-datum
            INVOICE_DATE    = gl_date
              INVOICE_TYPE    = p_fkart
              PRICING_DATE    = sy-datum
            ID_NO_ENQUEUE   = 'X'
              vbsk_i          = gs_vbsk
              with_posting    = 'B'
            IMPORTING
              vbsk_e       = gs_vbsk
            TABLES
              xkomfk       = gt_xkomfk
              xkomv        = gt_xkomv
              xthead       = gt_xthead
              xvbfs        = gt_xvbfs
              xvbpa        = gt_xvbpa
              xvbrk        = gt_xvbrk
              xvbrp        = gt_xvbrp
              xvbss        = gt_xvbss.
          loop at gt_xvbfs.
            append gt_xvbfs-vbeln to gt_vbeln.
          endloop.
         CALL FUNCTION 'DEQUEUE_EVVBAKE'
           EXPORTING
             VBELN = GS_INIT_ITAB2-vbeln.
         DESCRIBE TABLE gt_xvbrk LINES SY-SUBRC.
         IF SY-SUBRC = 0.
          DELETE GT_INIT_ITAB2.
           REFRESH GT_XKOMFK.
         ELSE.
            CALL FUNCTION <b>'RV_INVOICE_REFRESH'</b>
              EXPORTING
                WITH_POSTING = ' '
              TABLES
                XKOMFK       = GT_XKOMFK
                XKOMV        = GT_XKOMV
                XTHEAD       = GT_XTHEAD
                XVBFS        = GT_XVBFS
                XVBSS        = GT_XVBSS
                XVBPA        = GT_XVBPA
                XVBRK        = GT_XVBRK
                XVBRP        = GT_XVBRP.
        ENDIF.
          REFRESH: gt_xkomfk,    gt_xkomv,gt_xthead,gt_xvbfs,gt_xvbpa,
                   gt_xvbrk,gt_xvbrp,gt_xvbss .
        ENDAT.
      endloop.

    Hi Narendarn,
    Thanks for your feed back. I am calling “RV_INVOICE_REFRESH” before looping thru internal table. So first one created fine. I am calling “RV_INVOICE_REFRESH” again once I process “RV_INVOICE_CREATE”. But there onwards billing document not created but I do get billing document number. But when I check in VF03 that billing document no doesn’t exist at all in system. I don’t know what wrong?
    here is the code
    Call function module to create Invoice
      CALL FUNCTION 'RV_INVOICE_REFRESH'
        EXPORTING
          WITH_POSTING = 'B'
        TABLES
          XKOMFK       = GT_XKOMFK
          XKOMV        = GT_XKOMV
          XTHEAD       = GT_XTHEAD
          XVBFS        = GT_XVBFS
          XVBSS        = GT_XVBSS
          XVBPA        = GT_XVBPA
          XVBRK        = GT_XVBRK
          XVBRP        = GT_XVBRP.
    This value will be imported back in Billing document routine(VOFM)
    Routine number 906 - For consolidation logic
      EXPORT P_CONSOL TO MEMORY ID 'ZSD_OPWS_PRE_INVOICE'.
      if gv_lock  is initial and
         gv_block is initial.
        loop at GT_INIT_ITAB2 into GS_INIT_ITAB2.
          clear: gt_xvbfs.
          refresh: gt_xvbfs.
          CALL FUNCTION 'DEQUEUE_EVVBAKE'
            EXPORTING
              MANDT = SY-MANDT
              VBELN = GS_INIT_ITAB2-VBELN.
          concatenate GS_INIT_ITAB2-afdat6(4) GS_INIT_ITAB2-afdat3(2) GS_INIT_ITAB2-afdat+0(2)
                      into gl_date.
          condense gl_date.
          MOVE-CORRESPONDING GS_INIT_ITAB2 to gt_xkomfk.
          gt_xkomfk-fkimg = GS_INIT_ITAB2-KWMENG.
          gt_xkomfk-SELDAT = gl_date.
      gt_xkomfk-SELDAT = GS_INIT_ITAB2-afdat.
          append gt_xkomfk.
          CASE P_CONSOL.
            WHEN 'N'.
    Create Billing document at end of each Sales Document
              AT END OF VBELN.
                gs_vbsk-mandt = sy-mandt.
                gs_vbsk-smart = 'F'.
                gs_vbsk-ernam = sy-uname.
                gs_vbsk-erdat = sy-datum.
                gs_vbsk-uzeit = sy-uzeit.
                CALL FUNCTION 'RV_INVOICE_CREATE'
                  EXPORTING
                DELIVERY_DATE   = sy-datum
                    INVOICE_DATE    = sy-datum
                    INVOICE_TYPE    = p_fkart
                    PRICING_DATE    = sy-datum
                    vbsk_i          = gs_vbsk
                    with_posting    = 'B'
                    id_no_enqueue   = 'X'
                  IMPORTING
                    vbsk_e       = gs_vbsk
                  TABLES
                    xkomfk       = gt_xkomfk
                    xkomv        = gt_xkomv
                    xthead       = gt_xthead
                    xvbfs        = gt_xvbfs
                    xvbpa        = gt_xvbpa
                    xvbrk        = gt_xvbrk
                    xvbrp        = gt_xvbrp
                    xvbss        = gt_xvbss.
                CLEAR:   gt_xkomfk.
                REFRESH: gt_xkomfk.
              ENDAT.
              loop at gt_xvbfs.
                gs_vbeln-vbeln    = gt_xvbfs-vbeln.
                gs_vbeln-vbeln_so = GS_INIT_ITAB2-vbeln.
                append gs_vbeln to gt_vbeln.
              endloop.
    Call function module to create Invoice
              CALL FUNCTION 'RV_INVOICE_REFRESH'
                EXPORTING
                  WITH_POSTING = 'B'
                TABLES
                  XKOMFK       = GT_XKOMFK
                  XKOMV        = GT_XKOMV
                  XTHEAD       = GT_XTHEAD
                  XVBFS        = GT_XVBFS
                  XVBSS        = GT_XVBSS
                  XVBPA        = GT_XVBPA
                  XVBRK        = GT_XVBRK
                  XVBRP        = GT_XVBRP.
            WHEN 'Y1'.
    Create Billing document at end internal table all togather in one Billing document
              AT LAST.
                gs_vbsk-mandt = sy-mandt.
                gs_vbsk-smart = 'F'.
                gs_vbsk-ernam = sy-uname.
                gs_vbsk-erdat = sy-datum.
                gs_vbsk-uzeit = sy-uzeit.
                CALL FUNCTION 'RV_INVOICE_CREATE'
                  EXPORTING
                DELIVERY_DATE   = sy-datum
                    INVOICE_DATE    = sy-datum
                    INVOICE_TYPE    = p_fkart
                    PRICING_DATE    = sy-datum
                    vbsk_i          = gs_vbsk
                    with_posting    = 'B'
                    id_no_enqueue   = 'X'
                  IMPORTING
                    vbsk_e       = gs_vbsk
                  TABLES
                    xkomfk       = gt_xkomfk
                    xkomv        = gt_xkomv
                    xthead       = gt_xthead
                    xvbfs        = gt_xvbfs
                    xvbpa        = gt_xvbpa
                    xvbrk        = gt_xvbrk
                    xvbrp        = gt_xvbrp
                    xvbss        = gt_xvbss.
                CLEAR:   gt_xkomfk.
                REFRESH: gt_xkomfk.
              ENDAT.
              loop at gt_xvbfs.
                gs_vbeln-vbeln    = gt_xvbfs-vbeln.
                gs_vbeln-vbeln_so = GS_INIT_ITAB2-vbeln.
                append gs_vbeln to gt_vbeln.
              endloop.
          ENDCASE.
        endloop.
        commit work.
    Regards,
    Tim

  • HT204053 Can I create another email address with icloud. Like we are able to create more then 5 email address in virgin media. Help

    Can I create another email address with icloud.com. Like we can create few email on virginmedia or other provider

    You can add up to three 'email aliases' - these are additional addresses (not accounts) which deliver into the same inbox as the main account. (In fact it's a good idea to give out alias addresses, rather than the main address, because if they attract spam you can easily change them.) (New aliases can only be @icloud.com ones; @me.com addresses cannot now be created.)
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account or move it to another account.
    More information on aliases here: http://help.apple.com/icloud/#mm6b1a490a
    You can of course create additional iCloud accounts, but any one device can create only three accounts - after that it can sign into accounts created on another device but not create any more (this is tied to the hardware).

  • Creating more then one JMS Destination using MBeans

    Hi all,
    I am trying to create 2(or more) JMS Destinations (Topics and Queues) in a JMS Server.
    The code looks like:
    MBeanHome home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    ServerMBean srvrMBean = (ServerMBean) home.getMBean("examplesServer", "Server",
    "examples");
    JMSServerMBean jmsServer = (JMSServerMBean)home.findOrCreateAdminMBean("examplesServer",
    "JMSServer", "examples");
    jmsServer.setStore(jmsStore);//jmsStore is JMSJDBCStoreMBean obj
    jmsServer.setTargets(srvrMBean);
    JMSDestinationMBean jmsTopic1 = (JMSTopicMBean)home.findOrCreateAdminMBean("tempTopic1",
    "JMSTopic", "examples", jmsServer);
    jmsTopic1.setJNDIName("com.temp.topic1");
    jmsServer.addDestination(jmsTopic1);
    and the second one is added as:
    JMSDestinationMBean jmsTopic2 = (JMSTopicMBean)home.findOrCreateAdminMBean("tempTopic2",
    "JMSTopic", "examples", jmsServer);
    jmsTopic2.setJNDIName("com.temp.topic2");
    jmsServer.addDestination(jmsTopic2);
    (Actually, the Topics are added to the jmsServer in a method)
    I can see in the console that the first topic is added to the JMS server and to the
    JNDItree of the server instance,
    But for some reason, the second topic is not added to the JNDI tree(but it is added
    to the JMS Server).
    and I can not look up the second object in JNDI.
    Does anybody come across this problem??
    what is the right way to add the destinations??
    thanks for any help
    -Vijay

    Hi Mihir,
    thanks....I tried the same program, but the only difference is i am setting the targets
    to the jms server (i.e. jmsServer.setTarget(tm);) before adding second destination
    to it(i tried both setDestinations and addDestination).
    Because, (according to my requirements) after adding the first destination i have
    to set the target for the jmsserver (which eventually starts the JMSserver).
    So, is there any way to add the destinations to the jmsserver after setting the targets??
    thanks for any help
    -Vijay
    "Mihir Kulkarni" <[email protected]> wrote:
    The following code works for me.
    Btw, I use setDestinations and pass it an array of JMSDestinationMBeans
    instead of using addDestinations()
    Hope this helps...
    mihir
    import java.util.Set;
    import java.util.Iterator;
    import java.rmi.RemoteException;
    import javax.naming.*;
    import weblogic.jndi.Environment;
    import weblogic.management.MBeanHome;
    import javax.management.ObjectName;
    import weblogic.management.WebLogicMBean;
    import weblogic.management.MBeanCreationException;
    import weblogic.management.configuration.ServerMBean;
    import weblogic.management.runtime.ServerRuntimeMBean;
    import weblogic.management.WebLogicObjectName;
    import weblogic.management.configuration.*;
    import javax.management.InvalidAttributeValueException;
    /* Running this program will create a JMS Server and a JMS Connection
    * Factory targetted to the Admin server. It will also add a JMS Topic
    * and a JMS Queue to the JMSServer.
    * This will create the following entries in the config.xml:
    * <JMSServer Name="myJMSServer" Targets="MyServer">
    * <JMSQueue JNDIName="jmx.jms.myJMSQueue" Name="myJMSQueue"/>
    * <JMSTopic JNDIName="jmx.jms.myJMSTopic" Name="myJMSTopic"/>
    * </JMSServer>
    * <JMSConnectionFactory JNDIName="jmx.jms.myJMSConnectionFactory"
    * Name="myJMSConnectionFactory" Targets="MyServer"/>
    public class createJMS {
    public createJMS() {
    public static void main(String[] args) {
    JMSServerMBean jmsServer = null;
    JMSDestinationMBean jmsQueue = null;
    JMSDestinationMBean jmsTopic = null;
    JMSConnectionFactoryMBean jmsConnectionFactory = null;
    JMSSessionPoolMBean jmsSessionPool = null;
    JMSConnectionConsumerMBean jmsConnectionConsumer = null;
    ServerMBean srvrMBean = null;
    MBeanHome home = null;
    JMSServerMBean jmsServerConfig = null;
    file://domain variables
    String url = "t3://localhost:7001";
    String username = "system";
    String password = "mihirk00";
    file://variable Names
    String DOMAIN = "mihirDomain";
    String ADMINSERVERNAME = "MyServer";
    String JMSSERVER = "myJMSServer";
    String JMSCONNECTIONFACTORY = "myJMSConnectionFactory";
    String JMSQUEUE = "myJMSQueue";
    String JMSTOPIC = "myJMSTopic";
    log("Creating AdminMBeans for JMS queue and JMS connection
    factory");
    try
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    Context ctx = env.getInitialContext();
    home = (MBeanHome)ctx.lookup("weblogic.management.adminhome");
    log("Got AdminHome: " + home);
    String name = DOMAIN + ":,Name=" + ADMINSERVERNAME + ",Type=Server"
    WebLogicObjectName objName = new WebLogicObjectName(name);
    srvrMBean = (ServerMBean)home.getMBean(objName);
    file://srvrMBean =
    (ServerMBean)home.getMBean(ADMINSERVERNAME,"Server",DOMAIN);
    log("Got the serverMBean: " + srvrMBean);
    } catch (Exception e) {
    log("Exception in getting Admin home & srvrMBean: " + e);
    /* the findOrCreateAdminMBean method of the MBeanHome is used to
    create
    * the Admin MBeans for all the JMS stuff needed for this utility
    * the method takes 3 parameters - Name, Type, Domain
    * the type Parameter is the name of the MBean you want to create
    * minus the MBean prefix
    * eg) JMSServer, JMSConnectionFactory, JMSQueue etc..
    * It also takes an addition parameter which is the parent
    AdminMbean
    * if one needs to create a child node in the xml tree.
    * Once the MBean is created you can set attributes on it using
    the
    * exposed API of that MBean
    * Its always better to use the findOrCreateAdminMBean method compared
    * to createAdminMBean method .
    file://use findOrCreateAdminMBean to create JMSConnectionFactory
    try {
    jmsConnectionFactory =
    (JMSConnectionFactoryMBean)home.findOrCreateAdminMBean(JMSCONNECTIONFACTORY,
    "JMSConnectionFactory", DOMAIN);
    if( jmsConnectionFactory.getJNDIName() == null) {
    jmsConnectionFactory.setJNDIName("jmx.jms.myJMSConnectionFactory");
    log("Created a JMSConnectionFactory");
    else
    log("looked up JMS ConnectionFactory: " +
    jmsConnectionFactory.getJNDIName());
    } catch (MBeanCreationException e) {
    log("MBeanCreationException: " + e);
    catch(InvalidAttributeValueException e) {
    log("InvalidAttributeValueException: " + e);
    file://create the JMSServerMBean
    try {
    jmsServer = (JMSServerMBean)home.findOrCreateAdminMBean(JMSSERVER,
    "JMSServer", DOMAIN);
    log("Found or Created a JMSServer");
    } catch (MBeanCreationException e) {
    log("MBeanCreationException: " + e);
    file://create the JMSQueueMBean - use methods of
    JMSDestinationMBean
    file://here we pass the jmsServer as the parent MBean so that the
    file://JMSQueueMBean is created as the child of the JMSServerMBean
    try {
    jmsQueue =
    (JMSDestinationMBean)home.findOrCreateAdminMBean(JMSQUEUE, "JMSQueue",
    DOMAIN, jmsServer);
    if( jmsQueue.getJNDIName() == null) {
    jmsQueue.setJNDIName("jmx.jms.myJMSQueue");
    log("Created a JMSQueue");
    else {
    log("looked up JMS Queue: " + jmsQueue.getJNDIName());
    } catch (MBeanCreationException e) {
    log("MBeanCreationException: " + e);
    catch(InvalidAttributeValueException e) {
    log("InvalidAttributeValueException: " + e);
    file://create the JMSTopicMBean - use methods of
    JMSDestinationMBean
    file://here we pass the jmsServer as the parent MBean so that the
    file://JMSTopicMBean is created as the child of the JMSServerMBean
    try {
    jmsTopic =
    (JMSDestinationMBean)home.findOrCreateAdminMBean(JMSTOPIC, "JMSTopic",
    DOMAIN, jmsServer);
    if( jmsTopic.getJNDIName() == null) {
    jmsTopic.setJNDIName("jmx.jms.myJMSTopic");
    log("Created a JMSTopic");
    else {
    log("looked up JMS Topic: " + jmsTopic.getJNDIName());
    } catch (MBeanCreationException e) {
    log("MBeanCreationException: " + e);
    catch(InvalidAttributeValueException e) {
    log("InvalidAttributeValueException: " + e);
    file://create the target Arrays
    JMSDestinationMBean[] jdm = {jmsQueue,jmsTopic};
    TargetMBean[] tm = {srvrMBean};
    file://set the Destinations for the jms Server
    try {
    jmsServer.setDestinations(jdm);
    log("Added Destination to the jmsServer");
    } catch(Exception e) {
    log("Excpn in setting the property for jmsServer:" + e);
    /* Now target the JMS Server to the appropriate Server
    * As the JMSServerMBean extends the DeploymentMBean, we can
    directly
    * use the addTarget method of the DeploymentMBean
    file://ordering is important
    file://Target the JMS ConnectionFactory
    try {
    jmsConnectionFactory.setTargets(tm);
    log("Targetted the Connection Factory to the admin Server");
    } catch (Exception e) {
    System.out.println("Exception in targetting the
    jmsConnectionFactory to the Admin server: " + e);
    file://Target the JMS Server
    try {
    jmsServer.setTargets(tm);
    log("Targetted the JMS Server to the admin Server");
    } catch (Exception e) {
    System.out.println("\nException in targetting the jmsServer to
    the Admin server: " + e);
    log("Done with registering AdminMBeans for JMS");
    private static void log(String s) {
    System.out.println("\n[createJMS]: " + s);
    "Vijay Bujula" <[email protected]> wrote in message
    news:[email protected]...
    Hi all,
    I am trying to create 2(or more) JMS Destinations (Topics and Queues)in a
    JMS Server.
    The code looks like:
    MBeanHome home = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    ServerMBean srvrMBean = (ServerMBean) home.getMBean("examplesServer","Server",
    "examples");
    JMSServerMBean jmsServer =(JMSServerMBean)home.findOrCreateAdminMBean("examplesServer",
    "JMSServer", "examples");
    jmsServer.setStore(jmsStore);//jmsStore is JMSJDBCStoreMBean obj
    jmsServer.setTargets(srvrMBean);
    JMSDestinationMBean jmsTopic1 =(JMSTopicMBean)home.findOrCreateAdminMBean("tempTopic1",
    "JMSTopic", "examples", jmsServer);
    jmsTopic1.setJNDIName("com.temp.topic1");
    jmsServer.addDestination(jmsTopic1);
    and the second one is added as:
    JMSDestinationMBean jmsTopic2 =(JMSTopicMBean)home.findOrCreateAdminMBean("tempTopic2",
    "JMSTopic", "examples", jmsServer);
    jmsTopic2.setJNDIName("com.temp.topic2");
    jmsServer.addDestination(jmsTopic2);
    (Actually, the Topics are added to the jmsServer in a method)
    I can see in the console that the first topic is added to the JMS serverand to the
    JNDItree of the server instance,
    But for some reason, the second topic is not added to the JNDI tree(butit
    is added
    to the JMS Server).
    and I can not look up the second object in JNDI.
    Does anybody come across this problem??
    what is the right way to add the destinations??
    thanks for any help
    -Vijay

  • RE: Creation of two oracle database in Single ASM Disk group

    IS it possible to create two oracle database in Single ASM Disk group. if it is possible how?.
    Giri

    All you have to do is to create a tablespace at the most minimumlevel and your db would become a client of the disk group. Other than that, you can migrate your db tothe disk group and it would be then start using the same disk group shared by another database for its use also.
    HTH
    Aman....

  • Can i create more than one instance for single database?

    HI
    anybody can tell me how to create more than one instance for single database(without using RAC)?
    thanks
    Kalanidhi

    Anandji,
    I sometimes think differently. I also think like what this person is asking..(although I have installed and administering 5 different RAC databases)
    The main doubt of mine is that we create multiple instances accessing the same storage area.
    Anyway the controlfiles of all instances will have the same information except the instance_names and instance id's.
    Hence I always think , why can't it be possible to to create another instance in the same system and point it to a controlfile which is copied from the other instance.
    Why can't the same files be shared between the two instances in a same system ?
    I know I am thinking a little bit confusing...
    Anyway I need to test that also...
    Mahesh.

  • Can I have more then one MVIEW site connected to single master site?

    Hi,
    I need one help from your end.
    Currently I am working on Basic Replication.For that I am using Read only Materialized views.first i tried with one master site & one Materialized view site its working fine,Can I have more then one MVIEW site connected to single master site referring to same database ? if so how to achive this one..

    Actually one of my senior told me that you need to change number of OPEN_LINKS value like that so for that reason I asked this question.
    Still that problem not solved..
    I will explain what are all the things I did ok.
    IN MASTER SITE:
    I am creating read only MVIEW's.
    first i created one user repadmin and have given
    1>execute any procedure
    2>dbms_repcat_admin.grant_admin_any_repgroup
    3>dbms_repcat_admin.grant_admin_any_schema
    4>select any dictionary
    and all other grants to repadmin user
    then I changed global_name = 'zxincmp' on Master site.
    Then I created mview log for each table (for 85 tables) & then I created mview's for that table on Master site itself. later I took a dump of these 85 mview's . then I transfered this dump to one of my mview site.
    IN MVIEW site:
    I created one user zxdbp_55 and all the above rights are given to this user & i created one public dblink
    "zxincmp" using "TO_CMP"(master site).Then I imported that dump which i took from master site.
    then i created one private link zxincmp in one of my mview site.then i used DBMS_REFRESH.MAKE('')
    to refresh all my tables & to set the interval..
    after that i created index on the mviews..
    this will works out fine for single master & single mvirew site.but I tried with the same procedure to prepare one more mview site,everything is fine but main problem is second mview site is not getting refreshed automatically,i need to do refresh manually from enterprise manager.. then it will get refreshed.
    how to overcome this problem? I am using same db name ,dblink,refresh group for both the mview site will it affects anywhere?
    Thanks & Regards,
    Hanumanth.

  • How to retrieve more then one record from database

    I am doing a SELECT FROM WHERE SQL statement on a database which returns more then one record. I want to retrieve certain column values from the selected records. How do I do that? If only one record is returned, I know I can do a data operation with operation set to 'Get-Retrieve Values from Record' and Record to operate on set to 'Current-Use current record'. I need to find out how to configure to data operation window in the case more then one record is returned by the preceding SQL statement. Depending on the number of records returned, I can dynamically create array variables to store the 'to be retrieved' column values, just dont know how to retrieve them.
    Any help will be greatly appreciated.
    Thanks
    Anuj

    I apologize for not being clear in explaining my problem, perhaps I should have posted an example. Anyways, I was able to figure out the solution. I was doing an 'Open SQL' statement which was selecting multiple records (rows) from a table in the dB. I was storing the number of records returned in a local variable. Then, I wanted to retrieve certain columns of all the selected rows (records). In the "Data operation", I was choosing the 'Record to operate on' as 'Current-Use Current Record'. Changing this field to 'Next-Fetch next record' fixed the problem. I then retrieved the values of those columns into a dynamically created array variable whose dimensions came from the local variable which stored the number of records returned in the SELECT SQL statement. 
    Thanks
    Anuj

  • Creating more than one account for a single user

    I was wondering, if I creat more than one account for me (the only person that uses my powerbook) is that going overboard? I mean, lets say I am logged into the standard account and I want to learn more about the bash shell and using terminal which I am new to, if I **** something up will the whole system be toast or will only things in that account be messed up? Like could I then just log into my admin account and delete the other messed up one? Or no? My theory was that this was a way of keeping my comp safe from myself, being that I am new to macs and moreso that I am new to the unix side of things and want to start learning the command line without worrying about screwing up my whole system. I would just use the standard account for everyday use (like what I do now) or experiment with terminal, and when I need to download something or change some settings that requires me to be logged in as admin then I would log in and download what I need then log out and use it in the standard account...am I just wasting my time? Is what I am doing any "safer" than just having one admin account and thats it?
    Thanks for all the help! It feels good to be a part of the goodguys team =)
    Thanks again!

    Ghost,
    First, I don't subscribe to the "one should not use an admin account" philosophy. For someone who is the owner and main user of any given machine, I see the use of anything but an admin account a bit anal, totally unecessary, and needlessly complicating.
    On the other hand, I don't see the need for more than one admin account on any given machine. Yes, I see exceptions to this, and many people favor having a second admin account as a "backup," but I have never had more than one admin account on any of my machines, and have never encountered a situation where one would have helped.
    In short, I like the idea of having a "main" admin account that is used most of the time, and then having "secondary" accounts (all non-admin) for any additional users that might log in.
    Now, any limitations that apply to you as a GUI user of an account, admin or not, will apply to you at the command line as well. In other words, you can't get yourself into any more trouble at the command line than you can within the GUI. In fact, you might even be better protected at the command line than you are in the GUI. I say this because any action that would ordinarily "elevate" you above the standard capabilities of a non-admin user require the use of "sudo." Avoid the use of sudo, and you can avoid any problems.
    That doesn't mean that you wouldn't be able to do something stupid that might wreck an account that contains "all of your stuff," and on which you depend. It is not likely that you would damage your System, but it is entirely conceivable that you might, for example, accidently delete or overwrite your entire HOME folder. Oops!
    If you simply don't trust yourself with the command line, a second account might be a good place to experiment. Maybe create it as a non-admin account at first, with the option to change it to an admin account at a later time, when you want to learn how to use "sudo" to do more powerful things. By then, you will understand what not to do. Eventually, you will have the confidence to use the command line in your own account, which will have been an admin account all this while.
    Scott

Maybe you are looking for