Return the same row with 2 different queries

Can I set up a hint of context that will allow me to do a search on '21-12345' or '21 & 12345' and have the same return line?

There are various ways you could do this. You could create a lexer which sets the hyphen as white space, so that the chips would be indexed separately. However, the hyphen has a special meaning in the Oracle text. This means less, so if you search for "word1-word2" score by searching "word2" in the document and who subtracted from the score obtained by searching for "word1" in the document. If you want to treat the hyphen as a regular character without meaning of the Oracle text then you need to escape by placing a backslash immediately seized. Similarly, the ampersand has a special meaning; This means and. So, if you search for 'word1 & word2' will be produced documents with the "word1" and "word2" in there. Please see the demo below.

SCOTT@orcl_11gR2> -- test environment:
SCOTT@orcl_11gR2> create table your_table
  2    (clob_column  clob)
  3  /

Table created.

SCOTT@orcl_11gR2> insert into your_table (clob_column)
  2  values ('21-12345')
  3  /

1 row created.

SCOTT@orcl_11gR2> insert into your_table (clob_column)
  2  values ('21 & 12345')
  3  /

1 row created.

SCOTT@orcl_11gR2> insert into your_table (clob_column) values
  2  ('some other data you do not want just for testing')
  3  /

1 row created.

SCOTT@orcl_11gR2> begin
  2    ctx_ddl.create_preference ('your_lexer', 'basic_lexer');
  3    ctx_ddl.set_attribute ('your_lexer', 'whitespace', '-');
  4  end;
  5  /

PL/SQL procedure successfully completed.

SCOTT@orcl_11gR2> create index your_index
  2  on your_table (clob_column)
  3  indextype is ctxsys.context
  4  parameters ('lexer your_lexer')
  5  /

Index created.

SCOTT@orcl_11gR2> select token_text from dr$your_index$i
  2  /

TOKEN_TEXT
----------------------------------------------------------------
12345
21
DATA
OTHER
TESTING
WANT

6 rows selected.

SCOTT@orcl_11gR2> set define off
SCOTT@orcl_11gR2> select *
  2  from   your_table
  3  where  contains (clob_column, '21\-12345') > 0
  4  /

CLOB_COLUMN
--------------------------------------------------------------------------------
21-12345
21 & 12345

2 rows selected.

SCOTT@orcl_11gR2> select *
  2  from   your_table
  3  where  contains (clob_column, '21 & 12345') > 0
  4  /

CLOB_COLUMN
--------------------------------------------------------------------------------
21-12345
21 & 12345

2 rows selected.

SCOTT@orcl_11gR2>

Tags: Database

Similar Questions

  • Download photoshop for free twice on the same computer with a different account?

    Download photoshop for free twice on the same computer with a different account?

    No, you can use the trial only once on a single computer.

    Concerning

    Hervé Khare

  • How to associate the same contact with two different accounts to import

    Hello

    (1) I want to associate the same contact (ex: person) to two different accounts (account A and account B) import.

    I tried with the Unique ID from outside Contact but it is accidental and in the end, I am able to associate this Contact with a single account.



    (2) I also can't records to import custom object with the same name through the import process.



    Could someone advice on the same.

    With regard to your questions:

    (1) currently, it is not possible using the Import Wizard. However, it could be done using web services.
    (2) the name must be different.

  • Can I open Apex application for the same user with 2 different sessions.

    Hello

    I have a problem with apex application session.

    In a new browser window, I logged in with user name and password and I get in the application of the apex.
    I want to open the same application in a separate window and I connect again.
    but when I return to my previous window to do something it prompts me to the login screen.
    I'm losing the session. Is there a way to keep the two live sessions.

    Any ideas?

    Thank you.

    Ally.

    See this thread for a possible idea... : Re: two active sessions in the two tabs of the browser - how?

    Thank you

    Tony Miller
    Webster, TX

  • Can I run outlook and outlook Express on the same computer with two different e-mail addresses?

    My e-mail with outlook express and my wife with outlook email address.

    Yes. You can run them with the same email address as well.

  • Merge two of the same photo with applied different exposures

    I have a picture that I copied a couple of times and imported to LR. I've adjusted to the exposure of the sky in a single copy and then in the foreground in another. How to merge two photos to make the sky a as well as the first plan of the other?

    Combination of two images requires another program like Photoshop, Photoshop Elements, or some other software pixel editing program. If you have two different exposures to different contexts and use Lightroom 6 or Lightroom CC you have an option to use Photomerge and choose merge to HDR. But the part that there is no way to combine the two images using only Lightroom.

  • Fill in the select list with two different queries depending on the user's group

    Hello

    I finished my first production application using apex. I have a Select list that takes its values from a sql query. Now, I want this different query for each user based on the group. Basically each user sees only the projects they are responsible - that works fine. But I want all the people of the admin group to see all the projects - how can I do this?

    Thank you very much!!!
    Henrik

    Hello

    Try this

    SELECT s.caption || ' - ' || s.sapnr display_value
          ,s.sharedservice_id return_value
    FROM   sharedservices s, sharedservicelead l
    WHERE  (   s.sharedservicelead_id = l.sharedservicelead_id
            OR s.ssldeputy_id = l.sharedservicelead_id
           )
    AND    l.username = :app_user
    UNION
    SELECT s.caption || ' - ' || s.sapnr display_value
          ,s.sharedservice_id return_value
    FROM   sharedservices s
    WHERE  HTMLDB_UTIL.get_groups_user_belongs_to(:APP_USER) = 'capacitymanagement'
    

    See you soon

    Ben

  • Branch to the same page with different session variables

    Hello guys,.

    Is there a way that allows to create a branch that redirect to the same page with a different set of values for session variables. Or is it an effective way to add the buttons after that moves through the consecutive records in the pre and oracle apex.

    hope someone can help me.

    Kind regards.

    -shashikahk-

    is there a way to add the following buttons and pre

    If you create a form using the wizard pages, Apex will automatically create these buttons in some cases (as in a master form / retail).

    Create a master page / detail demo so you can see how it works. Apex creates a pre-rendering process:

    Get the value of the primary key next or previous

    Some of the hidden objects, such as Pxx_ROWID_NEXT.

    And two buttons: GET_PREVIOUS_ROWID and GET_NEXT_ROWID

    (if you do not use rowid as the primary key, another name will be generated).

  • Clonning an ASM database on the same server with different names of sid.

    Hello people!

    I tried to clone an existing database on the same host with a different name with no luck.

    I tried what 415579,1 reccomends, but, when I reached the RESTORE CONTROLFILE from clause that it fails since this process the old and the new database must be the same. I don't want that. I want a separate copy, not a database of pending. There are other people in the company who will use this database, and I just want to replicate it.

    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure to modify the order db at 26/05/2009 14:51:15
    ORA-01103: the name "OLD_DB_NAME" in the control of the database file is not "NEW_DB_NAME".

    I want to just clone a database with a different name, in the same way we used to do with ALTER DATBASE BACKUP CONTROLFILE to TRACE-> COPY DB_FILES-> RECREATING CONTROLFILES WITH a DIFFERENT NAME DATABASE.

    Exp/imp it's a possible solution, but I wonder if it is just another way to clone an existing database in the same node with a different namedo with RMAN? Just as we used to with BACKUP CONTROLFILE to TRACE-> DBF_FILES-> RECREATING CONTROLFILES WITH DB NAME DIFFERENT COPY.

    It's the links I tried to follow without success.

    http://www.Oracle.com/technology/deploy/availability/PDF/asm_cloning.PDF
    Duplicate by RMAN 10 g

    and many others...

    Thanks for your help.
    Alex.

    You'll need an auxiliary copy if you restore the database to a different name.
    Take a look at the following note:
    http://jhdba.WordPress.com/2009/04/02/cloning-a-database-ASM-to-ASM/

  • Mr President, how can I enter two rows at the same time with different default values that only the first line to use see?

    Mr President.

    My worm jdev is 12.2.1

    How to enter two rows at the same time with different default values that only the first line to use see?

    Suppose I have a table with four fields as below

    "DEBIT" VARCHAR2(7) , 
      "DRNAME" VARCHAR2(50),
      "CREDIT" VARCHAR2(7) , 
      "CRNAME" VARCHAR2(50),
    

    Now I want that when I click on a button (create an insert) to create the first line with the default values below

    firstrow.png

    So if I click on the button and then validate the second row with different values is also inserted on commit.

    The value of the second row are like the picture below

    tworows.png

    But the second row should be invisible. It could be achieved by adding vc in the vo.

    The difficult part in my question is therefore, to add the second row with the new default values.

    Because I already added default values in the first row.

    Now how to add second time default values.

    Concerning

    Mr President

    I change the code given by expensive Sameh Nassar and get my results.

    Thanks once again dear Sameh Nassar .

    My code to get my goal is

    First line of code is

        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 } 
    
            if (operation == DML_INSERT )
                       {
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),"6010010","SALES TAX PAYABLE",
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }                      
    
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,DEBIT,DRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value5+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    

    Second line code is inside a bean method

        public void addNewPurchaseVoucher(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("VoucherView1Iterator");
                   RowSetIterator rsi = dciter.getRowSetIterator();
                   Row lastRow = rsi.last();
                   int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                   Row newRow = rsi.createRow();
                   newRow.setNewRowState(Row.STATUS_NEW);
                   rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                   rsi.setCurrentRow(newRow);
    
                   BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter1 = (DCIteratorBinding) bindings1.get("VdetView1Iterator");
                   RowSetIterator rsi1 = dciter1.getRowSetIterator();
                   Row lastRow1 = rsi1.last();
                   int lastRowIndex1 = rsi1.getRangeIndexOf(lastRow1);
                   Row newRow1 = rsi1.createRow();
                   newRow1.setNewRowState(Row.STATUS_NEW);
                   rsi1.insertRowAtRangeIndex(lastRowIndex1 +1, newRow1);
                   rsi1.setCurrentRow(newRow1);
        }
    

    And final saveUpdate method is

        public void saveUpdateButton(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      
    
                   OperationBinding commit = bindingsBC.getOperationBinding("Commit");
                   commit.execute(); 
    
            OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
            operationBinding.execute();
            DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetView1Iterator");// write iterator name from pageDef.
            iter.getViewObject().executeQuery();  
    
        }
    

    Thanks for all the cooperation to obtain the desired results.

    Concerning

  • Two TouchSmart PCs in different locations die on the same day with the same error? (BIOHD-2)

    Hi all

    It's really weird... and very frustrating.

    I own an IQ506 (with TV tuner) which I was quite pleased. So much so, that I had my office purchase, too (IQ504). But lately, my computer acted (locking up, freezing). Funny enough, the IQ504, we bought for work has also been acing similarly.

    Today, the IQ504 at work died. We ran startup diagnostics tool and found a problem with the hard drive (not detected).

    I'm here houses a TouchSmart work, but before going to bed, I tried to wake up from its sleep to see the doughnut of Vista of death. So I made a forced shutdown and restart. Then, I got an error "missing media, please restart." So I did. Several times, to see the same error. I'm trying to run the diagnostics F9 (which is slow to run) and find the diagnostic tools cannot find the HARD drive. I reboot again and enter the Setup program. Of course, no hard drive detected.

    This seems to be a strange coincidence. The two PCs in different parts of the city, BOTH die the SAME day with the SAME error?

    Dead hard drive? or the SATA controller would be dead?

    Please don't tell me that all the new photos of the birthday of my daughter are now gone...

    Is that what HP would cover under warranty?

    What can I do?

    Thank you

    Doon

    IQ506 running Vista Home premium. A device attached: HP LaserJet.

    Message edited by doon on 17/12/2008 01:32

    see you soon,
    Doon

    I just wanted you to know that...

    (1) the newly displayed firmware fix may not work for you immediately

    2) there is a solution!

    I just unbricked my drive and recovered ALL MY DATA! I look back to the top as I type...

    Here is the solution I posted:

    http://h30434.www3.HP.com/PSG/board/message?message.UID=34409#U34409

    I hope this helps!

    See you soon,.

    Doon

  • How many user take RDP at the same time with different user login ID in Server R2 2012

    How many user take RDP at the same time with different user login ID in Server R2 2012?

    How many user take RDP at the same time with different user login ID in Server 2008 R2?

    How many user take RDP at the same time with different user login ID in Server 2012 starndard?

    How many user take RDP at the same time with different user login ID in Server 2008 standard?

    This issue is beyond the scope of this site (for consumers) and to make sure you get the best answer, we need to ask either on Technet (for IT Pro) or MSDN (for developers)

    If you give us a link to the new thread we can point to some resources it
  • Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the

    Need help to open two images with the same file with different exposures on the screen at the same time in the Photoshop creative cloud (in previous versions we could open two images of the same nef (raw) file and then combine them on the screen with the move tool. They have become a composite of two layers which could be developed further with the mask tool.

    Hello

    Please go to the preferences > workspace and uncheck the option 'open the document in the tabs '.

    Now you can click on file and choose file > open and open the two images in two different windows which can be arranged side by side.

    Thank you

  • How to register multiple files with the same name with different num revision

    Hello

    Can someone please tell me, how to register several different files with the same name with the revision number using the RIDC API.

    For example:
    First of all I will be saved in a file (TestFile.txt) in a content server with revision number 1 using the RIDC API in application of the ADF. Then after awhile, will change the same line (TestFile.txt) check-in and once again. I tried to check the same file several times, however first Check-in correctly in server showing revision 1, so that Check-in same file again, her gives no error message, and also its not reflecting only not to the server. Single file (TestFile.txt) reflecting on the server.

    How to implement this feature using the RIDC API? Any suggestions would be helpful.

    Concerning
    REDA

    Published by: 887680 on March 6, 2013 10:48

    (1) get the content ID (dDocName), call CHECKOUT_BY_NAME
    (2) call check-in service with dRevLabel = previous dRevlabel + 1

  • Can I create different consistency nodes in the same cluster with defferent?

    Can I create consistency different nodes in the same cluster with defferent cache - config.xml file?
    A cache can be distributed in these nodes of deffirent?

    Yes. You can create different consistency nodes in the same cluster with cache files - config.xml defferent as long as you use the same file tangosol - coherence.xml and the same file tangosol-coherence - override.xml. But you can't store the data in the cache in the various nodes (created with different cache-config file). In other words, a node only to create their own Hide modes that are launched with the same cache file - config.Xml.

    See the following demo:
    I start a cache using the cache config examples-cache file server - server.xml. Then I start a console cache storage-disabled people (client cache) by using the config file coherence-cache cache - config.Xml. Two of them using the same file tangosol - coherence.xml and the same file tangosol-coherence - override.xml.
    The cache server uses a cache service PartitionedPofCache. But the client side using the Distributedcache service. The cluster address is same 224.3.5.2.
    The name of the cluster is also samme. They know.

    D:\coherence\lib>D:\examples\java\bin\run-cache-server.cmd

    D:\coherence\lib>D:\examples\java\bin\run-cache-server.cmd
    The system cannot find the file D:\coherence.
    The system cannot find the file C:\Oracle\Middleware\jdk160_11.
    2009-12-22 12:09:31.400/4.987 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Loaded operational configurat
    ion from resource "jar:file:/D:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2009-12-22 12:09:31.450/5.037 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Loaded operational overrides
    from resource "jar:file:/D:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-12-22 12:09:31.470/5.057 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Optional configuration override
     "/tangosol-coherence-override.xml" is not specified
    2009-12-22 12:09:31.540/5.127 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Optional configuration override
     "/custom-mbeans.xml" is not specified
    
    Oracle Coherence Version 3.5.2/463
     Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    
    2009-12-22 12:09:33.864/7.451 Oracle Coherence GE 3.5.2/463  (thread=main, member=n/a): Loaded cache configuration
     from "file:/D:/examples/java/resource/config/examples-cache-config.xml"
    2009-12-22 12:09:39.983/13.570 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Service Cluster joined t
    he cluster with senior service member n/a
    2009-12-22 12:09:43.187/16.774 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Created a new cluster
    "cluster:0xD3FB" with Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Locatio
    n=process:144, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, CpuCount=1, SocketCount=1) UID=0xC0A8085000
    000125B75D888C60501F98
    2009-12-22 12:09:43.508/17.095 Oracle Coherence GE 3.5.2/463  (thread=Invocation:Management, member=1): Service Mana
    gement joined the cluster with senior service member 1
    2009-12-22 12:09:46.582/20.169 Oracle Coherence GE 3.5.2/463  (thread=DistributedCache:PartitionedPofCache, member=1
    ): Service PartitionedPofCache joined the cluster with senior service member 1
    2009-12-22 12:09:46.672/20.259 Oracle Coherence GE 3.5.2/463  (thread=DistributedCache:PartitionedPofCache, member
    =1): Loading POF configuration from resource "file:/D:/examples/java/resource/config/examples-pof-config.xml"
    2009-12-22 12:09:46.702/20.289 Oracle Coherence GE 3.5.2/463  (thread=DistributedCache:PartitionedPofCache, member
    =1): Loading POF configuration from resource "jar:file:/D:/coherence/lib/coherence.jar!/coherence-pof-config.xml"
    2009-12-22 12:09:47.734/21.321 Oracle Coherence GE 3.5.2/463  (thread=main, member=1): Started DefaultCacheServer.
    ..
    
    SafeCluster: Name=cluster:0xD3FB
    
    Group{Address=224.3.5.2, Port=35463, TTL=4}
    
    MasterMemberSet
      (
      ThisMember=Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=process
    :144, Role=CoherenceServer)
      OldestMember=Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=proce
    ss:144, Role=CoherenceServer)
      ActualMemberSet=MemberSet(Size=1, BitSetCount=2
        Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=process:144, Rol
    e=CoherenceServer)
        )
      RecycleMillis=120000
      RecycleSet=MemberSet(Size=0, BitSetCount=0
        )
      )
    
    Services
      (
      TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.8.80:8088}, Connections=[]}
      ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.5, OldestMemberId=1}
      InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
      DistributedCache{Name=PartitionedPofCache, State=(SERVICE_STARTED), LocalStorage=enabled, PartitionCount=257, BackupCo
    unt=1, AssignedPartitions=257, BackupPartitions=0}
      )
    
    2009-12-22 12:12:29.737/183.324 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=1): Member(Id=2, Timestamp=20
    09-12-22 12:12:29.541, Address=192.168.8.80:8089, MachineId=24656, Location=process:1188, Role=CoherenceConsole) joined
    Cluster with senior member 1
    2009-12-22 12:12:30.498/184.085 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=1): Member 2 joined Service M
    anagement with senior member 1
    2009-12-22 12:12:31.860/185.447 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=1): TcpRing: connecting to me
    mber 2 using TcpSocket{State=STATE_OPEN, Socket=Socket[addr=/192.168.8.80,port=8089,localport=2463]}
    2009-12-22 12:12:51.338/204.925 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=1): Member 2 joined Service D
    istributedCache with senior member 2
    

    The following command starts a cache client.
    D:\coherence\bin>coherence.cmd

    D:\coherence\bin>coherence.cmd
    ** Starting storage disabled console **
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
    
    2009-12-22 12:12:21.054/3.425 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Loaded operational configurat
    ion from resource "jar:file:/D:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
    2009-12-22 12:12:21.355/3.726 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Loaded operational overrides
    from resource "jar:file:/D:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2009-12-22 12:12:21.365/3.736 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Optional configuration override
     "/tangosol-coherence-override.xml" is not specified
    2009-12-22 12:12:21.415/3.786 Oracle Coherence 3.5.2/463  (thread=main, member=n/a): Optional configuration override
     "/custom-mbeans.xml" is not specified
    
    Oracle Coherence Version 3.5.2/463
     Grid Edition: Development mode
    Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
    
    2009-12-22 12:12:29.316/11.687 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Service Cluster joined t
    he cluster with senior service member n/a
    2009-12-22 12:12:29.356/11.727 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Failed to satisfy the
    variance: allowed=16, actual=20
    2009-12-22 12:12:29.356/11.727 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Increasing allowable v
    ariance to 17
    2009-12-22 12:12:29.807/12.178 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): This Member(Id=2, Time
    stamp=2009-12-22 12:12:29.541, Address=192.168.8.80:8089, MachineId=24656, Location=process:1188, Role=CoherenceConsole,
     Edition=Grid Edition, Mode=Development, CpuCount=1, SocketCount=1) joined cluster "cluster:0xD3FB" with senior Member(I
    d=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=process:144, Role=CoherenceS
    erver, Edition=Grid Edition, Mode=Development, CpuCount=1, SocketCount=1)
    2009-12-22 12:12:29.977/12.348 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Member 1 joined Service
    Management with senior member 1
    2009-12-22 12:12:29.977/12.348 Oracle Coherence GE 3.5.2/463  (thread=Cluster, member=n/a): Member 1 joined Service
    PartitionedPofCache with senior member 1
    2009-12-22 12:12:30.578/12.949 Oracle Coherence GE 3.5.2/463  (thread=Invocation:Management, member=2): Service Mana
    gement joined the cluster with senior service member 1
    SafeCluster: Name=cluster:0xD3FB
    
    Group{Address=224.3.5.2, Port=35463, TTL=4}
    
    MasterMemberSet
      (
      ThisMember=Member(Id=2, Timestamp=2009-12-22 12:12:29.541, Address=192.168.8.80:8089, MachineId=24656, Location=proces
    s:1188, Role=CoherenceConsole)
      OldestMember=Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=proce
    ss:144, Role=CoherenceServer)
      ActualMemberSet=MemberSet(Size=2, BitSetCount=2
        Member(Id=1, Timestamp=2009-12-22 12:09:38.06, Address=192.168.8.80:8088, MachineId=24656, Location=process:144, Rol
    e=CoherenceServer)
        Member(Id=2, Timestamp=2009-12-22 12:12:29.541, Address=192.168.8.80:8089, MachineId=24656, Location=process:1188, R
    ole=CoherenceConsole)
        )
      RecycleMillis=120000
      RecycleSet=MemberSet(Size=0, BitSetCount=0
        )
      )
    
    Services
      (
      TcpRing{TcpSocketAccepter{State=STATE_OPEN, ServerSocket=192.168.8.80:8089}, Connections=[]}
      ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_JOINED), Id=0, Version=3.5, OldestMemberId=1}
      InvocationService{Name=Management, State=(SERVICE_STARTED), Id=1, Version=3.1, OldestMemberId=1}
      )
    
    Map (?):
    
    2009-12-22 12:12:49.505/31.906 Oracle Coherence GE 3.5.2/463  (thread=main, member=2): Loaded cache configuration
    from "jar:file:/D:/coherence/lib/coherence.jar!/coherence-cache-config.xml"
    2009-12-22 12:12:51.358/33.729 Oracle Coherence GE 3.5.2/463  (thread=DistributedCache, member=2): Service Distribut
    edCache joined the cluster with senior service member 2
    
      
      example-distributed
      DistributedCache
      
        
          example-binary-backing-map
        
      
      true
    
    

    But when I try to store data cached from the client side, it reports the error message: it is staorage-disabled people. It shows that this console cache cannot store data in the server cache existing since then using different cache config files.

    Map (ca3): cache ca2
    
      
      example-distributed
      DistributedCache
      
        
          example-binary-backing-map
        
      
      true
    
    
    Map (ca2): put 1 one
    2009-12-22 14:00:04.999/6467.370 Oracle Coherence GE 3.5.2/463  (thread=main, member=2):
    java.lang.RuntimeException: Storage is not configured
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.onMissing
    Storage(DistributedCache.CDB:9)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.ensureReq
    uestTarget(DistributedCache.CDB:34)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.put(Distr
    ibutedCache.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BinaryMap.put(Distr
    ibutedCache.CDB:1)
            at com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1541)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ViewMap.put(Distrib
    utedCache.CDB:1)
            at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
            at com.tangosol.coherence.component.application.console.Coherence.processCommand(Coherence.CDB:581)
            at com.tangosol.coherence.component.application.console.Coherence.run(Coherence.CDB:39)
            at com.tangosol.coherence.component.application.console.Coherence.main(Coherence.CDB:3)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.tangosol.net.CacheFactory.main(CacheFactory.java:1400)
    

Maybe you are looking for

  • Portege R100: upgrade memory

    I´d like upgrade my R100 with a 1024MB key. Can I use the memory with the following specifications? DDR266 PC2100 SODIMM 200-pin Or are there things more I ve to watch? Or is there still to be a special memory for the R100 custom? Thanks for the tips

  • Problem with Intel HD Graphics instaliing

    Hi all I need help with my laptop. I have recently reinstalled Windows 8.1 on it, and now when I want to install Intel HD Graphics Driver it gives me the error:"This computer does not meet the minimum requirements for installing the software." I down

  • How to turn off the NumLock key?

    Yes, I googled this! I spent two hours Googling that! I followed the instructions on editing my registry and changing the settings of the BIOS. I came to the conclusion that these solutions don't change the start-up for Num Lock. But I want the Num L

  • Black screen after the Welcome screen

    About 2 weeks ago, my wife had the icons on the home screen turn into white shadows and then the next start the computer it started properly (I guess), but once he spent the home screen to his profile (desktop) the screen went black. The mouse pointe

  • Driver for DELL Inspiron 1440 WINDOWS 8 Bluetooth problem

    Hello I have recently installed Windows 8 in my problem laptop of DELL Inspiron1440.The it is to say is that I tried to download and tried installed lots of software to activate my bluetooth driver, but I was not successful.so please send me a URL wh