First string is a substring of the second one

I need to write a User Defined Method which
Checks if the first string is a substring of the second one.
- Returns 0 if it is not a substring / 1 if it is / -1 if it is a “circular substring”
this is an example of what it should do
-     abcde is a substring of blkjabcdelkjsd  return 1
-     abcde is not a substring of slfkjsdlskggfhjkh  return 0
-     abcde is a “circular substring” of delkjlkjabc  return -1
Can Anyone help?

I need to write a User Defined Method which
Checks if the first string is a substring of the second one.
- Returns 0 if it is not a substring / 1 if it is / -1 if it is a “circular substring”
this is an example of what it should do
- abcde is a substring of blkjabcdelkjsd  return 1
- abcde is not a substring of slfkjsdlskggfhjkh  return 0
- abcde is a “circular substring” of delkjlkjabc  return -1
Can Anyone help?
This is the code that i have so far but not sure if it is correct with the return values
public static int substring(String Str1, String Str2)
int return = 0
for(int i = 0; i < Str2.length(); i++)
   if (Str2.charAt(i) == Str1.charAt(0))
           for(int j =0; j < Str2.length(); j++)
           if (Str2.charAt(i) == Str1.charAt(j))
             return = 1;
           else
             return = 0;
for(int i = 0; i < Str2.length(); i++)
   if (i = Str2.length())
       i = 0
     for (int j = 0; j < Str2.length(); j++)
     return -1;
}

Similar Messages

  • Trying to set up a wireless guest network using Airport base station.  The first network setup was fine but the second one doesn't work.  Any suggestions?

    I purchased the new Airport base station that allows for a wireless setup of a primary network and a guest network.  The primary network installation worked great but I cannot get the guest network to work properly.  Any suggestions on how to make it work?

    The AirPort base station is designed to connect to a simple modem......not a modem/router or gateway device that is often furnished to users by Internet Service Providers.
    So, the first troubleshooting question would be to find out what the make and model of the device that you call your "modem" might be.....to see if you have the right kind of product that will allow the Guest Network to operate correctly.

  • My iPod touch 4th gen white's home button doesn't work the first time I press it, but the second time.

    My home button doesn't work the first time I press it, but the second time.  This is very annoying.  Why is it doing this?

    - Try a reset. It cures many ills and nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    -If a hardware problem see:
    fix for Home button

  • HI. I HAVE ALREADY MEMEBRSHIP for one app in creative cloud. I want to upgrade it to be complete membership . first I could not cancel my old one . second i pay for the second one, third i could not download the indesign cc ( which i need right now becaus

    HI. I HAVE ALREADY MEMEBRSHIP for one app in creative cloud. I want to upgrade it to be complete membership . first I could not cancel my old one . second i pay for the second one, third i could not download the indesign cc ( which i need right now because they ask for serial number) . I have already cs6 products. is that technical problem in adobe or what ?

    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    Cancel http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    Ask for serial number http://forums.adobe.com/thread/1234635 has a FAQ link

  • HT201272 I prepurchased 4 episodes of The Walking Dead game from my iPhone. The second episode recently became available. Just got an iPad. It only recognizes the first episode. It prompts me to purchase the second one. How do I resolve it?

    I prepurchased 4 episodes of The Walking Dead game from my iPhone. The second episode recently became available. Just got an iPad. It only recognizes the first episode. It prompts me to purchase the second one. How do I resolve it?

    The following has instructions on how to transfer a phone from one person to another: What to do before selling or giving away your iPhone, iPad, or iPod touch - Apple Support

  • I purchased Creative Cloud for two computers.  OK on first one.  The second one

    I purchased Creative Cloud for two computers.  OK on first one.  The second one
    asks for a serial number?...All I have is an order Number:  C0128012167.
    How can you help me?  Please!  Right now I have half of what I purchased!!!

    Hi JrBieb33,
    Please follow the steps suggested in the below link and that should help you.
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    Thanks
    Manish

  • Hi, I use two email addresses within one account with gmx.  I created one account with the first email address now. How do I add the second one to this account? Now it looks like this. One account was opened with address A. I receive in this account email

    Hi, I use two email addresses within one account with gmx.
    I created one account with the first email address now. How do I add the second one to this account?
    Now it looks like this.
    One account was opened with address A.
    I receive in this account emails for address A and B.
    But I can only write and answer with address A.

    Hi Rudegar,
    Sorry for my late reply.
    It s not the amount of accounts I'm struggling with.
    When I create now for both email addresses one account, then I receive the same emails two times.
    That is not what I want.
    Because on gmx the two email addresses have the same inbox and outbox.
    E.g. I can login to my gmx account either with email A or B. It doesn't matter.
    Now I want to have the same on my ipad.
    One account with both email addresses.

  • Post server reboot , instance 1 crashes on starting the second one

    Hi ,
    We had a server reboot ( Solaris SPARC 64 bit) and had to shutdown the application running on RAC system on 2 servers.
    now post the activity , we are trying to bring up the instances but whenever one comes up the other goes down.
    If we try to start the second one , first goes down.
    Oracle database version : 10.2.0.3.0
    Alert logs for both have been mentioned below :
    instance1:
    Mon Jul 23 16:17:22 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:17:24 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=17279
    DIAG started with pid=3, OS id=17281
    Mon Jul 23 16:17:24 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_17281.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x438100000000] [] []
    PSP0 started with pid=4, OS id=17283
    LMON started with pid=5, OS id=17285
    LMD0 started with pid=6, OS id=17287
    LMS0 started with pid=7, OS id=17289
    LMS1 started with pid=8, OS id=17293
    MMAN started with pid=9, OS id=17297
    DBW0 started with pid=10, OS id=17299
    LGWR started with pid=11, OS id=17301
    CKPT started with pid=12, OS id=17303
    SMON started with pid=13, OS id=17333
    RECO started with pid=14, OS id=17338
    CJQ0 started with pid=15, OS id=17340
    MMON started with pid=16, OS id=17342
    MMNL started with pid=17, OS id=17344
    Mon Jul 23 16:17:26 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_17285.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:17:26 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 17285
    Mon Jul 23 16:18:33 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Mon Jul 23 16:18:35 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=19523
    DIAG started with pid=3, OS id=19525
    Mon Jul 23 16:18:36 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_19525.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x4C4500000000] [] []
    PSP0 started with pid=4, OS id=19527
    LMON started with pid=5, OS id=19529
    LMD0 started with pid=6, OS id=19531
    LMS0 started with pid=7, OS id=19533
    LMS1 started with pid=8, OS id=19537
    MMAN started with pid=9, OS id=19557
    DBW0 started with pid=10, OS id=19573
    LGWR started with pid=11, OS id=19576
    CKPT started with pid=12, OS id=19578
    SMON started with pid=13, OS id=19580
    RECO started with pid=14, OS id=19582
    CJQ0 started with pid=15, OS id=19584
    MMON started with pid=16, OS id=19586
    MMNL started with pid=17, OS id=19588
    Mon Jul 23 16:18:37 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_19529.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:18:37 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 19529
    Mon Jul 23 16:20:16 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 956301312
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 452984832
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 1
      instance_number          = 1
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS1
      db_domain                = intranet.genpact.com
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
    Mon Jul 23 16:20:18 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:
            VERITAS IPC '5.0MP3' 07:30:15 Jul 29 2008
    IPC Vendor 86 proto 76
      Version 1.0
    PMON started with pid=2, OS id=22860
    DIAG started with pid=3, OS id=22870
    Mon Jul 23 16:20:18 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_diag_22870.trc:
    ORA-07445: exception encountered: core dump [_kill()+8] [SIGIOT] [unknown code] [0x595600000000] [] []
    PSP0 started with pid=4, OS id=22888
    LMON started with pid=5, OS id=22892
    LMD0 started with pid=6, OS id=22899
    LMS0 started with pid=7, OS id=22901
    LMS1 started with pid=8, OS id=22905
    MMAN started with pid=9, OS id=22909
    DBW0 started with pid=10, OS id=22911
    LGWR started with pid=11, OS id=22913
    CKPT started with pid=12, OS id=22915
    SMON started with pid=13, OS id=22917
    RECO started with pid=14, OS id=22919
    CJQ0 started with pid=15, OS id=22921
    MMON started with pid=16, OS id=22923
    MMNL started with pid=17, OS id=22933
    Mon Jul 23 16:20:20 2012
    Errors in file /u01/app/orainf/admin/asdb/bdump/asdb1_lmon_22892.trc:
    ORA-27550: Target ID protocol check failed. tid vers=%d, type=%d, remote instance number=%d, local instance number=%d
    Mon Jul 23 16:20:20 2012
    LMON: terminating instance due to error 27550
    Instance terminated by LMON, pid = 22892instance 2:
    Mon Jul 23 16:20:30 2012
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Interface type 1 bge3 10.0.0.0 configured from OCR for use as a cluster interconnect
    WARNING 10.0.0.0 could not be translated to a network address error 1
    Interface type 1 bge0 58.2.35.0 configured from OCR for use as  a public interface
    Interface type 1 bge1 58.2.35.0 configured from OCR for use as  a public interface
      WARNING: No cluster interconnect has been specified. Depending on
               the communication driver configured Oracle cluster traffic
               may be directed to the public interface of this machine.
               Oracle recommends that RAC clustered databases be configured
               with a private interconnect for enhanced security and
               performance.
    Picked latch-free SCN scheme 3
    Using LOG_ARCHIVE_DEST_1 parameter default value as /u01/app/orainf/product/10.2.0/dbs/arch
    Autotune of undo retention is turned on.
    LICENSE_MAX_USERS = 0
    SYS auditing is disabled
    ksdpec: called for event 13740 prior to event group initialization
    Starting up ORACLE RDBMS Version: 10.2.0.3.0.
    System parameters with non-default values:
      processes                = 400
      __shared_pool_size       = 721420288
      shared_pool_size         = 201326592
      __large_pool_size        = 16777216
      __java_pool_size         = 150994944
      java_pool_size           = 150994944
      __streams_pool_size      = 16777216
      streams_pool_size        = 16777216
      spfile                   = /db01/asdb/asdb/spfileasdb.ora
      sga_target               = 1610612736
      control_files            = /db01/asdb/asdb/control01.ctl, /db01/asdb/asdb/control02.ctl, /db01/asdb/asdb/control03.ctl
      db_block_size            = 8192
      __db_cache_size          = 687865856
      db_cache_size            = 167772160
      compatible               = 10.2.0.3.0
      db_file_multiblock_read_count= 16
      cluster_database         = TRUE
      cluster_database_instances= 2
      thread                   = 2
      instance_number          = 2
      undo_management          = AUTO
      undo_tablespace          = UNDOTBS2
      ldap_directory_access    = PASSWORD
      remote_login_passwordfile= EXCLUSIVE
      db_domain                = intranet.genpact.com
      dispatchers              = (PROTOCOL=TCP) (SERVICE=asdbXDB)
      remote_listener          = LISTENERS_ASDB
      job_queue_processes      = 10
      background_dump_dest     = /u01/app/orainf/admin/asdb/bdump
      user_dump_dest           = /u01/app/orainf/admin/asdb/udump
      core_dump_dest           = /u01/app/orainf/admin/asdb/cdump
      audit_file_dest          = /u01/app/orainf/admin/asdb/adump
      db_name                  = asdb
      open_cursors             = 300
      pga_aggregate_target     = 848297984
      aq_tm_processes          = 1
    Cluster communication is configured to use the following interface(s) for this instance
      58.2.35.93
    Mon Jul 23 16:20:32 2012
    Oracle instance running with ODM: Veritas 5.0.30.00 ODM Library, Version 1.1
    cluster interconnect IPC version:Oracle UDP/IP (generic)
    IPC Vendor 1 proto 2
    PMON started with pid=2, OS id=28537
    DIAG started with pid=3, OS id=28539
    PSP0 started with pid=4, OS id=28541
    LMON started with pid=5, OS id=28543
    Mon Jul 23 16:20:33 2012
    WARNING: Failed to set buffer limit on IPC interconnect socket
    Oracle requires that the SocketReceive buffer size be tunable upto 1MB
    Please make sure the kernel parameterwhich limits SO_RCVBUF value set by
    applications is atleast 1MB
    LMD0 started with pid=6, OS id=28545
    LMS0 started with pid=7, OS id=28547
    LMS1 started with pid=8, OS id=28551
    MMAN started with pid=9, OS id=28555
    DBW0 started with pid=10, OS id=28557
    LGWR started with pid=11, OS id=28567
    CKPT started with pid=12, OS id=28587
    SMON started with pid=13, OS id=28594
    RECO started with pid=14, OS id=28596
    CJQ0 started with pid=15, OS id=28599
    MMON started with pid=16, OS id=28605
    MMNL started with pid=17, OS id=28608
    Mon Jul 23 16:20:34 2012
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 shared server(s) ...
    Mon Jul 23 16:20:34 2012
    lmon registered with NM - instance id 2 (internal mem no 1)
    Mon Jul 23 16:20:35 2012
    Reconfiguration started (old inc 0, new inc 2)
    List of nodes:
    1
    Global Resource Directory frozen
    * allocate domain 0, invalid = TRUE
    Communication channels reestablished
    Master broadcasted resource hash value bitmaps
    Non-local Process blocks cleaned out
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows cancelled, 0 closed
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows cancelled, 0 closed
    Set master node info
    Submitted all remote-enqueue requests
    Dwn-cvts replayed, VALBLKs dubious
    All grantable enqueues granted
    Post SMON to start 1st pass IR
    Mon Jul 23 16:20:35 2012
    LMS 1: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    LMS 0: 0 GCS shadows traversed, 0 replayed
    Mon Jul 23 16:20:35 2012
    Submitted all GCS remote-cache requests
    Fix write in gcs resources
    Reconfiguration complete
    LCK0 started with pid=20, OS id=28770
    Mon Jul 23 16:20:36 2012
    ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:36 2012
    This instance was first to mount
    Setting recovery target incarnation to 2
    Mon Jul 23 16:20:40 2012
    Successful mount of redo thread 2, with mount id 2392310356
    Mon Jul 23 16:20:40 2012
    Database mounted in Shared Mode (CLUSTER_DATABASE=TRUE)
    Completed: ALTER DATABASE   MOUNT
    Mon Jul 23 16:20:40 2012
    ALTER DATABASE OPEN
    This instance was first to open
    Mon Jul 23 16:20:40 2012
    Beginning crash recovery of 1 threads
    parallel recovery started with 2 processes
    Mon Jul 23 16:20:41 2012
    Started redo scan
    Mon Jul 23 16:20:41 2012
    Completed redo scan
    509 redo blocks read, 149 data blocks need recovery
    Mon Jul 23 16:20:41 2012
    Started redo application at
    Thread 2: logseq 1492, block 3
    Mon Jul 23 16:20:41 2012
    Recovery of Online Redo Log: Thread 2 Group 7 Seq 1492 Reading mem 0
      Mem# 0: /db01/asdb/asdb/redo07a.log
      Mem# 1: /db01/asdb/asdb/redo07b.log
    Mon Jul 23 16:20:41 2012
    Completed redo application
    Mon Jul 23 16:20:41 2012
    Completed crash recovery at
    Thread 2: logseq 1492, block 512, scn 10435264045528
    149 data blocks read, 149 data blocks written, 509 redo blocks read
    Picked broadcast on commit scheme to generate SCNs
    Mon Jul 23 16:20:42 2012
    Thread 2 advanced to log sequence 1493
    Thread 2 opened at log sequence 1493
      Current log# 8 seq# 1493 mem# 0: /db01/asdb/asdb/redo08a.log
      Current log# 8 seq# 1493 mem# 1: /db01/asdb/asdb/redo08b.log
    Successful open of redo thread 2
    Mon Jul 23 16:20:42 2012
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    Mon Jul 23 16:20:42 2012
    SMON: enabling cache recovery
    Mon Jul 23 16:20:42 2012
    Successfully onlined Undo Tablespace 5.
    Mon Jul 23 16:20:42 2012
    SMON: enabling tx recovery
    Mon Jul 23 16:20:43 2012
    Database Characterset is AL32UTF8
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    QMNC started with pid=24, OS id=29088
    Mon Jul 23 16:20:46 2012
    Completed: ALTER DATABASE OPENPlease suggest
    Regards
    KK

    Hi ,
    I have used the command ifconfig -a
    below is the output :
    chaning the original IP's with alphabets for security concerns
    instance 1:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.93 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.94 netmask ffffff00 broadcast XY.M.CD.255
    bge0:3: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.151 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=39040803<UP,BROADCAST,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,FAILED,STANDBY> mtu 1500 index 3
            inet XY.M.CD.95 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
            inet ZZ.0.0.1 netmask ff000000 broadcast ZZ.255.255.255
    bge3: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask 0instance 2:
    bash-2.05$ ifconfig -a
    lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
            inet 127.0.0.1 netmask ff000000
    bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
            inet XY.M.CD.96 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge0:1: flags=9040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER> mtu 1500 index 2
            inet XY.M.CD.97 netmask ffffff00 broadcast XY.M.CD.255
    bge0:2: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4> mtu 1500 index 2
            inet XY.M.CD.152 netmask ffffff00 broadcast XY.M.CD.255
    bge1: flags=69040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4,NOFAILOVER,STANDBY,INACTIVE> mtu 1500 index 3
            inet XY.M.CD.98 netmask ffffff00 broadcast XY.M.CD.255
            groupname orapub
    bge3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 0.0.0.0 netmask ff000000
    bge3:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 5
            inet 10.0.0.3 netmask ff000000 broadcast ZZ.255.255.255Regards

  • Can i use a 2nd iphone if i install itunes on another user account.when i tried to create a second library i messed up both phones, the second one now has all my contacts and when it sends txts it either says its my other phone or email address

    can i use a 2nd iphone if i install itunes on another user account.when i tried to create a second library i messed up both phones, the second one now has all my contacts and when it sends txts it either says its my other phone or email address. i can cope with the first phone and getting it back on itunes but dont want to syn the 2nd phone until i know it is independant of the other one. Does it matter that both phones use the same itunes store account?

    Deleting the account on your phone only removes if from your phone.  The account and it's data remain intact and doing so will not effect your daughter's phone.
    To do this, first go to Settings>iCloud on your phone and turn any synced data (contacts, calendars, etc.) to Off, and when prompted, choose to keep the data on the phone.  When finished, scroll to the bottom and tap Delete Account.  Then set up a new iCloud account with a different Apple ID and turn any data you want to sync with iCloud (contact, calendars, etc.) back to On.  This will upload your data to your new iCloud account.

  • Classic Report with a two-line row, the second one as a drop down?

    Hi,
    Using APEX 4.0 is it possible to make a classic report layout that has row items sorted in 2 rows? The first row for each SQL record set row looks like the classic report 'normal' row, while the second one contains just one single column value. This second row is supposed to be hidden and should be displayable by clicking a small '+' sign at the beginning of the row.
    I remember having seen this done, but I simply seem not to be able to formulate my query correctly to let Google display me the expected result. Although I am not sure if was APEX+jQuery or ExtJs. I hope though it is not ExtJS, since I do not plan to use that one.
    Thank you in advance.
    Tamas

    Is this for Verizon landline internet? If so, you should ask your question in the Verizon Residential forums. http://forums.verizon.com

  • How can i add a hashmap to another hashmap without lossing the second one?

    hi all
    can anyone show me how to add a hashmap object to another hashmap object without lossing anything that was in the second one. thanks

    hi all
    can anyone show me how to add a hashmap object to
    another hashmap object without lossing anything that
    was in the second one. thanksDo you want to add the hashmap itself to the hashmap? If so:firstMap.put("someKey", secondMap); should do it. But I suspect you want to add all key/value pairs from the second map to the first, in which case the "putAll" method is what you're looking for. Note that the putAll method will replace the values in the first map with any values with the same key that are in the second map.
    Good Luck
    Lee

  • İ bougt a vip membership for 1 month but by mistake a bought from same place 1 year vip membership too, how i can cancell the second one?

    İ bougt a vip membership for 1 month but by mistake a bought from same place 1 year vip membership too, how i can cancell the second one?

    Order ID: MHFQLWV6S7
    Receipt Date: 17/11/12
    Order Total: ¥130.00
    Billed To: Visa
    Item
    Developer
    Type
    Unit Price
    PPTV, PPTV 一个月(31天)VIP会员资格
    Report a Problem
    PPLive Corporation
    In App Purchase
    ¥12.00
    PPTV, PPTV十二个月VIP会员资格
    Report a Problem
    PPLive Corporation
    In App Purchase
    ¥118.00
    Order Total:
    ¥130.00
    first 12rmb is for 1 month and the second is for one year, who can help me to cancel the second 1 year purchase

  • Popup menus - the second one doesn=?ISO-8859-1?B?uQ==?=t show

    > This message is in MIME format. Since your mail reader
    does not understand
    this format, some or all of this message may not be legible.
    --B_3252601044_1631313
    Content-type: text/plain;
    charset="ISO-8859-1"
    Content-transfer-encoding: 8bit
    Anyone know why this would be happening?
    I am using ver 8 and the pop up menu -
    The first link has 3 items in its popup menu, and the second
    link has only
    one. But no matter what I try only the first popup menu shows
    up.
    Any thoughts?
    --B_3252601044_1631313
    Content-type: text/html;
    charset="ISO-8859-1"
    Content-transfer-encoding: quoted-printable
    <HTML>
    <HEAD>
    <TITLE>Popup menus - the second one doesn&#8217;t
    show</TITLE>
    </HEAD>
    <BODY>
    <FONT FACE=3D"Trebuchet MS, Verdana, Helvetica,
    Arial"><SPAN STYLE=3D'font-size=
    :12.0px'>Anyone know why this would be
    happening?<BR>
    <BR>
    I am using ver 8 &#8211; and the pop up menu -<BR>
    <BR>
    The first link has 3 items in its popup menu, and the second
    link has only =
    one. But no matter what I try only the first popup menu shows
    up.<BR>
    <BR>
    Any thoughts?<BR>
    </SPAN></FONT>
    </BODY>
    </HTML>
    --B_3252601044_1631313--

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0036_01C74137.36171E80
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Popup menus - the second one doesn't show>Anyone know why
    this would be =
    happening?
    Not without an URL (o:
    - please let us see the code
    --=20
    Jo
    "Wendy Wetherbee" <[email protected]> wrote in message =
    news:C1DEC0D4.2FA9A%[email protected]...
    Anyone know why this would be happening?
    I am using ver 8 - and the pop up menu -
    The first link has 3 items in its popup menu, and the second
    link has =
    only one. But no matter what I try only the first popup menu
    shows up.
    Any thoughts?
    ------=_NextPart_000_0036_01C74137.36171E80
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD><TITLE>Popup menus - the second
    one doesn=92t show</TITLE>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2900.3020"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>&gt;Anyone know why =
    this would=20
    be happening?</FONT></SPAN></DIV>
    <DIV><SPAN style=3D"FONT-SIZE:
    12px"></SPAN> </DIV>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>Not without an URL=20
    (o:</FONT></SPAN></DIV>
    <DIV><SPAN style=3D"FONT-SIZE: 12px"><FONT
    size=3D3>- please let us =
    see the=20
    code</FONT></SPAN></DIV><SPAN
    style=3D"FONT-SIZE: 12px">
    <DIV><FONT face=3DArial
    size=3D2></FONT><BR><FONT face=3D"Times New =
    Roman" size=3D3>--=20
    <BR>Jo</FONT></DIV>
    <DIV> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT></SPAN> </DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Wendy Wetherbee" &lt;<A =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    wrote=20
    in message <A=20
    =
    href=3D"news:C1DEC0D4.2FA9A%[email protected]">news:C1DEC0D4.2FA9A%[email protected]</A>.=
    ..</DIV><FONT=20
    face=3D"Trebuchet MS, Verdana, Helvetica,
    Arial"><SPAN=20
    style=3D"FONT-SIZE: 12px">Anyone know why this would be =
    happening?<BR><BR>I am=20
    using ver 8 =96 and the pop up menu -<BR><BR>The
    first link has 3 =
    items in its=20
    popup menu, and the second link has only one. But no matter
    what I try =
    only=20
    the first popup menu shows up.<BR><BR>Any=20
    thoughts?<BR></BLOCKQUOTE></SPAN></FONT></BODY></HTML>
    ------=_NextPart_000_0036_01C74137.36171E80--

  • When my husband and I first bought our iPhones, I was the only one with an Apple ID (since he never used iTunes). He used my apple id to get apps. Now he has his own ID, but my account keeps popping up on his phone. How can we change the ID on his phone?

    When my husband and I first bought our iPhones, I was the only one with an Apple ID (since he never used iTunes). He used my apple id to get apps. Now he has his own ID, but my apple ID email address keeps popping up on his phone when he tries to download an app. We do not want to have all of the same apps on our phones. How can we change the ID on his phone? I already tried going to Settings>iTunes &App Store> and changing the Apple ID to his account email and that did not solve the problem. To make things worse, I recently changed my Apple ID email address (without getting a new ID) and I do not remember my old password (and this is the address that is popping up on his phone). He does not have any music on his phone and all of the Apps that he has are free.  Any help you could offer would be great (-:

    All apps are forever tied to the Apple ID that bought them. To stop your id from popping up, you need to delete the apps on his phone, and then repurchase them under his account.

  • Can I have two icloud emails?? How do I set up the second one??

    I want to use @icloud.com for my personal and business emails; but I want them to be 2 separate accounts.  I have one for personal.  How do I set up the second one?
    Thks.

    Here are a couple of Apple doucments about email aliases that Csound1 mentioned.
    iCloud: Create or change email aliases
    iCloud: About email aliases
    OT

Maybe you are looking for

  • Excise Duties are not appearing in GR

    Hi Experts, User has created a Scheduling agreement and maintained Excise conditions in Agreement. When he tried to do Goods receipt,he is not able to see Excise tab in Goods receipt.What would be the reason for this? Please anyone can tell me.... Th

  • ITunes unknown error (-1200) HughesNet Gen4 solved

    In iTunes, when trying to review my purchases from the iTunes store, I received the following error: "We could not complete your iTunes request. An unknown error occurred (-1200)".  This happened both on my MacBook Pro and my iMac while I was at home

  • Want a fixed analog audio output from new mini

    I have the mini to rca cable

  • Deploy error on SSRS 2008 R2

    We upgraded our sistem from SQLExpress to SQLServer2008R2 and now we have problems in report deployment. We tried with VS2008, reportbuilder and also with reportManager. On Reportbuilder the error is: Errore imprevisto durante l'elaborazione del repo

  • Flash plugin doesn't show the content, I wonder why.

    when there is a page using text in a Flash part the plugin doesn't show it. For example the Page has some texts in a flash extension but I can't see the text at all.