Find 'multuplets' in families - more complex cases

Oracle DB 11.0.1.7

I posted this earlier: "multuplets" in the families to find and understand my case is a little more complex

So I have the table of families and individuals. A family can live more then another State. It is also possible that the same family, based on its members, may have more family and an assigned ID.

drop table myfams;

drop table mypersons;

create table myfams)

number of family_id

person_id number,

State_ID number

);

create table mypersons)

person_id number,

date of date of birth,

number of number_born

number of cotwin_id

);

insert into mypersons (person_id, dob) values (1, December 1, 1980 "");

insert into mypersons (person_id, dob) values (2, 1 December 1980 "");

insert into mypersons (person_id, dob) values (3, December 1, 1960 ');

insert into mypersons (person_id, dob) values (4, December 1, 1950 ');

insert into mypersons (person_id, dob) values (5, December 1, 1981 ');

insert into mypersons (person_id, dob) values (6, December 1, 1981 ');

insert into mypersons (person_id, dob) values (7, December 1, 1940 ');

insert into mypersons (person_id, dob) values (8, December 1, 1980 "");

insert into mypersons (person_id, dob) values (9, December 1, 1980 "");

insert into mypersons (person_id, dob) values (10, December 1, 1980 "");

insert into mypersons (person_id, dob) values (11, December 1, 1950 ');

insert into mypersons (person_id, dob) values (12, December 1, 1980 "");

insert into mypersons (person_id, dob) values (13, December 1, 1980 "");

insert into mypersons (person_id, dob) values (14, December 1, 1981 ');

insert into mypersons (person_id, dob) values (15, December 1, 1981 ');

insert into mypersons (person_id, dob) values (16, December 1, 1950 ');

insert into mypersons (person_id, dob) values (17, December 1, 1960 ');

-This family has a pair of binoculars

insert into myfams (family_id, person_id, state_id) values (1,1,10);

insert into myfams (family_id, person_id, state_id) values (1,2,10);

insert into myfams (family_id, person_id, state_id) values (1,3,10);

insert into myfams (family_id, person_id, state_id) values (1,4,10);

-the family (based on family_id and its members) have more then a State residency

insert into myfams (family_id, person_id, state_id) values (1,1,20);

insert into myfams (family_id, person_id, state_id) values (1,2,20);

insert into myfams (family_id, person_id, state_id) values (1,3,20);

insert into myfams (family_id, person_id, state_id) values (1,4,20);

-This same family, from the same members, is in the same State just different family_id

insert into myfams (family_id, person_id, state_id) values (10,1,10);

insert into myfams (family_id, person_id, state_id) values (10,2,10);

insert into myfams (family_id, person_id, state_id) values (10,3,10);

insert into myfams (family_id, person_id, state_id) values (10,4,10);

insert into myfams (family_id, person_id, state_id) values (2,5,10);

insert into myfams (family_id, person_id, state_id) values (2,6,10);

insert into myfams (family_id, person_id, state_id) values (2,7,10);

insert into myfams (family_id, person_id, state_id) values (3,8,20);

insert into myfams (family_id, person_id, state_id) values (3,9,20);

insert into myfams (family_id, person_id, state_id) values (3,10,20);

insert into myfams (family_id, person_id, state_id) values (3,11,20);

insert into myfams (family_id, person_id, state_id) values (4,12,20);

insert into myfams (family_id, person_id, state_id) values (4,13,20);

insert into myfams (family_id, person_id, state_id) values (4,14,20);

insert into myfams (family_id, person_id, state_id) values (4,15,20);

insert into myfams (family_id, person_id, state_id) values (4,16,20);

insert into myfams (family_id, person_id, state_id) values (4,17,20);

-again, I want to update number_born and cotwin_id and see these results:

Select * from mypersons where number_born is not null;

PERSON_ID DOB NUMBER_BORN COTWIN_ID

---------- --------- ----------- ----------

1 1 DECEMBER 80 2 2

2 1 DECEMBER 80 2 1

5 DECEMBER 1, 81-2-6

6 DECEMBER 1 81 2 5

8 1 DECEMBER 80 3

9 1ST DECEMBER 80 3

10 1ST DECEMBER 80 3

12 1ST DECEMBER 80 2 13

13 1ST DECEMBER 80 2 12

14 1 DECEMBER 81 2 15

15 DECEMBER 1 81 2 14

Hello

Rade. Todorovich wrote:

Frank,

I think I found the cases where it fails:

/ * Case that fails * /.

insert into mypersons (person_id, dob) values (200502, to_date('09091977','MMDDYYYY'));

insert into mypersons (person_id, dob) values (189462, to_date('11251989','MMDDYYYY'));

insert into mypersons (person_id, dob) values (15739, to_date('07281986','MMDDYYYY'));

insert into mypersons (person_id, dob) values (213107, to_date('11251989','MMDDYYYY'));

insert into mypersons (person_id, dob) values (218949, to_date('05261978','MMDDYYYY'));

insert into mypersons (person_id, dob) values (213108, to_date('04131934','MMDDYYYY'));

insert into mypersons (person_id, dob) values (188995, to_date('11251989','MMDDYYYY'));

insert into myfams (family_id, person_id, state_id) values (100,189462,21);

insert into myfams (family_id, person_id, state_id) values (100,200502,21);

insert into myfams (family_id, person_id, state_id) values (100,200502,52);

insert into myfams (family_id, person_id, state_id) values (100,189462,52);

insert into myfams (family_id, person_id, state_id) values (100,213107,52);

insert into myfams (family_id, person_id, state_id) values (100,15739,52);

insert into myfams (family_id, person_id, state_id) values (100,218949,52);

insert into myfams (family_id, person_id, state_id) values (100,213108,52);

insert into myfams (family_id, person_id, state_id) values (200,189462,1);

insert into myfams (family_id, person_id, state_id) values (200,188995,5);

insert into myfams (family_id, person_id, state_id) values (200,200502,99);

Looked like in cases of triplets and I just checked and it's actually of twins where a same twin are twice under two different person_ids.

Now, in theory it maybe possible family 100 registered a 2 out of 3 triplets 213107 and 189462, but family 200 registered a 189462 triplets and 188995. It's so unusual, and I think that virtually impossible, may not be worth handling.

You probably have to handle, in any case.  If you have 1 million person_ids, and only one of them causes an error of ORA_30926, then nothing is going to get merged.

What are the results you want from the new data sample?  Do you want this?

PERSON_ID DOB NUMBER_BORN COTWIN_ID

--------- ---------- ----------- ---------

1 12/01/1980 2 2

1980-01-12 2 2 1

5 01/12/1981 2 6

01/12/1981 6, 2 5

8 12/01/1980 3

1980-01-12 9, 3

10 12/01/1980 3

12 12/01/1980 2 13

1980-01-12 13, 2 12

14 01/12/1981 2 15

15 01/12/1981 2 14

188995 25/11/1989 2 189462

189462 11/25/1989 3

213107 25/11/1989 2 189462

If so, here's a way to get it:

MERGE INTO dst mypersons

WITH THE HELP OF)

SELECT pt.person_id

COUNT (DISTINCT po.person_id) AS number_born

SUM (DISTINCT po.person_id) AS sum_person_id

OF mypersons pt

JOIN myfams ON ft.person_id = pt.person_id ft

JOIN fo myfams ON fo.family_id = ft.family_id

Mypersons in. ON po.person_id = fo.person_id JOIN

AND po.dob = pt.dob

GROUP BY pt.person_id

)                src

WE (dst.person_id = src.person_id)

WHEN MATCHED THEN UPDATE

SET dst.number_born = src.number_born

dst.cotwin_id = BOX

WHEN src.number_born = 2

THEN src.sum_person_id - src.person_id

END

WHERE src.number_born > 1

;

Person_id is in the two families, 100 and 200, so number_born = 3, and cotwin_id is null for him.

However, its possible matches, 188995 and 213107, are only 1 family they are not in the same family between them, they only correspond to 289462, so that they have number_born = 2 and cotwin_id = 189462.

I see that you use TO_DATE in INSERT statements now; It's much better!

Tags: Database

Similar Questions

  • Find 'multuplets' in families

    Oracle DB 11.1.0.7

    I have the table that contains the families. Each person has unique person_id. family is identified by family_id which may not be unique. Not to mention that every person has the date of birth date of birth. Initially, table has number_born and cotwin_id all NULL values. The idea is to quickly update these fields according to the criteria:

    1. If two or more persons in the same group_id are born on the same day, then number_born is updated with this number

    2. so exactly two people are born on the same day, then for those two cotwin_id is updated with her co person_id twins.

    Example:

    drop table myfams;

    create table myfams)

    number of family_id

    person_id number,

    date of date of birth,

    number of number_born

    number of cotwin_id

    );

    insert into myfams (family_id, person_id, dob) values (1, 1, 1 December 1980 "");

    insert into myfams (family_id, person_id, dob) values (1, 2, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (1, 3, December 1, 1960 ');

    insert into myfams (family_id, person_id, dob) values (1, 4, December 1, 1950 ');

    insert into myfams (family_id, person_id, dob) values (2, 5, 1 December 1981 ');

    insert into myfams (family_id, person_id, dob) values (2, 6, 1 December 1981 ');

    insert into myfams (family_id, person_id, dob) values (2, 7, 1 December 1940 ');

    insert into myfams (family_id, person_id, dob) values (3.8, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (3, 9, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (3,10, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (3, 11, December 1, 1950 ');

    insert into myfams (family_id, person_id, dob) values (4, 12, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (4.13, December 1, 1980 "");

    insert into myfams (family_id, person_id, dob) values (4,14, December 1, 1981 ');

    insert into myfams (family_id, person_id, dob) values (4.15, 1 December 1981 ');

    insert into myfams (family_id, person_id, dob) values (4.16, December 1, 1950 ');

    insert into myfams (family_id, person_id, dob) values (4.17, December 1, 1960 ');

    -I expect to see

    Select * from myfams, where number_born is set to null;

    FAMILY_ID PERSON_ID DOB NUMBER_BORN COTWIN_ID

    ---------- ---------- --------- ----------- ----------

    1 1 1 DECEMBER 80 2 2

    1 2 1 DECEMBER 80 2 1

    2 5 1 DECEMBER 81 2 6

    2 6 1 DECEMBER 81 2 5

    3 8 1 DECEMBER 80 3

    3 9 1 DECEMBER 80 3

    3 10 1 DECEMBER 80 3

    4 12 1ST DECEMBER 80 2 13

    4 13 1ST DECEMBER 80 2 12

    4 14 1 DECEMBER 81 2 15

    4 15 1 DECEMBER 81 2 14

    The question is to know how to write code faster SQL that updates NUMBER_BORN and COTWIN_ID of the intial table

    Hello

    Here's the global version of the solution I posted earlier.

    This could be a little faster, because the result set generated by the USING clause will be smaller.

    MERGE INTO dst myfams

    WITH THE HELP OF)

    SELECT family_id, dob

    COUNT (*) AS number_born

    The SUM (person_id) AS sum_person_id

    OF myfams

    GROUP BY family_id, dob

    HAVING COUNT (*) > 1

    )             src

    WE (dst.family_id = src.family_id

    AND dst.dob = src.dob

    )

    WHEN MATCHED THEN UPDATE

    SET dst.number_born = src.number_born

    dst.cotwin_id = BOX

    WHEN src.number_born = 2

    THEN src.sum_person_id - dst.person_id

    END

    ;

    Thanks for posting the CREATE TABLE and INSERT statements; It is very useful.  You even included a DROP TABLE statement.

  • Help with lab "display a list of complex cases.

    I'm trying my first project BB and I have problems with the sample 'to view a list of complex cases'.

    I'm passing 2 fields, 1 image and 1 labelfield, to the Manager without problem.  I resized the line to the right size, although I'm probably not doing things.  The first element of the list is not properly sized.  I can't understand why each item after the first is the right size.

    I need to be able to vertically Center the image and the labelfield within the line.  I'm unable to know where and how to proceed.

    I also need to be able to add a click event to the line to perform an action.

    I also had problems, change the color of the text when the.

    Any help would be greatly appreciated.

    Thank you!

    OK, you can ignore my previous comments.  What you have here is even more complex than I thought.

    I usually warn against this method of creating a line of the list.  It works, but it's a nightmare.  You using the functions of layout of BB available space than a ListField has a line, then paint directly on this line, fields that you use for page layout, the line are not really fields at all, they are just devices to help line available.

    The only time wherever I have even made it for real, was when I went to the layout as a text field and I really could not be bothered to return line myself.

    For your first assignment of BB you ripped a complex.

    Unfortunately, what you have given us here is the treatment that layouts and paints each line, which, according to me, I really need are the fields that you add to the line.  In fact, I suggest that you must send me the whole project, because it will be too big for a post on the forum and the answer type.  You want PM me?

  • Flash the disk errors "cannot find this point, located more in the computer.

    OK, I'm trying to copy a file to a flash drive.  It crashes when you try to copy and then gives me the error message "cannot find this point, located more in the computer.

    I tried to drag and drop several different files and file types, and I get the same error message.

    I tried several different flash drives and I get the same message. All flash drives that I tried on this computer work on other computers and I can drag and drop files on the flash drive.

    I've tried several different USB ports on my computer and I still get this message.

    Thus, the issue is not with my flash drive or the files I'm trying to copy because I tried several types of files and several different flash drives. I deleted the USB driver and reinstalled with no resolution.

    I use Windows 7 premium x 64

    Hello

    Thank you for the update from us.

    Since the issue is conflict pilot due to printer driver, the problem you are experiencing is specific to the printer driver. I suggest that you please contact the manufacturer of the printer support team for assistance.

    Hope this information helps, post us a problem with Windows, we will be happy to help you.

    Thank you.

  • We get an error "could not create a new partition or find existing. "For more information, see the Setup log file" error message "while trying to install Windows 8

    * Original title: 8 victory moved - Error Message: failed to create new partition...

    I have Win XP on my Dell Dimension 5150, which is the dual boot with Linux Mint 12 Lisa and this is my favorite of the bunch.

    I bought the DVD of 8 Pro Windows by an Australian retailer.

    Win XP is on a 39 GB partition with other application files. I had to delete several files to get the free space necessary to WIN 8 and finally finished by formatting the partition and passes for a COMPLETE new installation.

    Unfortunately, I now get the "failed to create new partition or find existing. For more information, see the Setup log file"error message. I can't find a Setup log file that I do a boot from the DVD.

    I tried to delete all external drives and other USB devices, including my Modem but my Wired USB keyboard/mouse.

    Two internal HARD drives are as follows:
    Disk 0 Partition 1-110 GB - system (LINUX)
    Disk 0 Partition 2 - 3.5 GB - logical

    Disk 1 Partition 1 - 47 MB - OEM (reserved) [DellUtility]
    Disc 1 2:Win - 39.1 GB - System Partition
    1 3 disk partition: DATA - 39,1 GB - logical
    Disk partition 1 4:OfficeProgs - 19.5 GB - logical
    Partition on drive 1 logical - 39.1 GB - 5:PROJECTS
    etc to score 8 with 9 MB of unallocated space.

    I have tried both 64 and 32 discs with the same result.

    As I have now is no longer no matter what Windows on my computer, what's the next step? If any ;-)

    Hello

    I solved the problem. It seems that you can not install on a secondary partition with in an earlier version of windows. You must restart the computer and run the installation from a dvd or other media.  Once you get the installation running you should be able to install on another partition without any problems.

    Nice day

  • Hello, I am to confront with a concern to not open of Adobe Creative nails, it has downloads installs successfully on the desktop and that's where it becomes more complex, by clicking to open the disfiguring, nothing happens it makes no

    Hello, I'm confronted with a concern to not open of Adobe Creative nails, there downloads properly installs on the desktop and that's where it becomes more complex, by clicking to open the disfiguring, nothing is passes, that it does not simply open without road marking error, it would be someone to help me. I try to join (contact) support (medium) from Adobe in vain, I think that there is no link of communication with them. If one devoted is willing to do a service to give me some explanation (to be understandable) the procedure here is my Email: [email protected] thank you in advance, greeting.

    Kader, please try to uninstall the software and install it again.

    1. Delete creative cloud app - https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html
    2. Install the cloud creative app - https://helpx.adobe.com/creative-cloud/help/install-apps.html

    Let us know if you need help with it.

    Atul_Saini

  • Feature request: more complex brushes

    Hello team PS Touch.

    After using many applications of drawing on samsung 10.1 note I noticed rocks PS TOUCH permanently in the area of the layers of control, performing a few effects, selection etc. But many complex designs requires long brush control and a few variations of brush textures, that PS touch, lie next to zero

    Is there a chance PS TOUCH will in the future some more complex brush textures and useful parameters missing right now? Autodesk sketchbook can be excellent example how drawing app should be packed with many variations of different types of brushes.

    I really want to use PS TOUCH regularly, but despite he is really good at select and work on layers - the lack of good brushes compelxity, excludes PS TOUCH of snug for graphic design apps list

    Best regards!

    Hi, we are working on that

    Thank you!

  • Conversion of files in complex cases - Ramifications?

    Hi all

    With the help of the experts here, we have implemented complex cases in the new business district with the massive performance in discoverer gain.

    I would like to assess the impact to existing custom files in complex cases, we create complex files and handle file and element ID to match that of the custom folder (and its components) so that records current users do not see the difference.

    I know that this is a bad approach, but would like to know if anyone has tried this approach and what are the ramifications involved?

    Thank you.
    VK

    Hello

    Certainly a good idea to move folders custom to complex files even if you just put your queries in a view. As long as you keep all the keys for folders, and the items the same developer and rewrite all joins, LOVs hierarchies, etc., while there should be no ramifications. Rather than delete the folders custom, you can change folder developer keys and move them to a business district where users can not access then if there is no problem, that the process could be reversed.

    Rod West

  • function works in a simple application but not more complex app?

    I made a simple with app

    2 symbols of movieclip containing photos of a butterfly with this actionscript

    Import fl.transitions.Tween;
    Fl.transitions.easing import. *;

    butterfly_mc.addEventListener (MouseEvent.CLICK, bookcase);
    butterflyHand_mc.addEventListener (MouseEvent.CLICK, bookcase);

    function bigPic(e:MouseEvent):void
    {
    new Tween (e.currentTarget, "scaleX", Strong.easeOut, e.currentTarget.scaleX, (e.currentTarget.scaleX * 1.4), 4, false ' ");
    new Tween (e.currentTarget, "scaleY", Strong.easeOut, e.currentTarget.scaleY, (e.currentTarget.scaleY * 1.4), 4, false ' ");
    }

    When you click on the butterfly movieclips they grow up like I wanted.

    However when I apply the same actionscript code in a more complex application code does not work. Here's the relevant actionscript for a more complex application

    Import fl.transitions.Tween;
    Fl.transitions.easing import. *;

    case1_mc.c1_mc.case1a_mc.addEventListener (MouseEvent.CLICK, bookcase);
    case1_mc.c1_mc.case1b_mc.addEventListener (MouseEvent.CLICK, bookcase);

    function bigPic(e:MouseEvent):void
    {
    new Tween (e.currentTarget, "scaleX", Strong.easeOut, e.currentTarget.scaleX, (e.currentTarget.scaleX * 1.3), 4, false ' ");
    new Tween (e.currentTarget, "scaleY", Strong.easeOut, e.currentTarget.scaleY, (e.currentTarget.scaleY * 1.3), 4, false ' ");
    }

    I don't get any error messages, but when I click on case1_mc.c1_mc.case1a_mc or case1_mc.c1_mc.case1b_mc, nothing happens. It is clear to you, what I'm doing wrong here?

    Any help is appreciated!

    If you don't know that you can see this movieclip (with the mouse listener), you must have an another interactiveobject covering what is intercept mouse events.

  • Workflow of more complex criteria

    Is it possible to add more complex criteria to a Workflow using admin applet? I don't see the ability to specify 1 metadata field. "Is the ability to change another operator to things that" would be too much. Something like the archiver custom query would be ideal.

    Thank you
    -Jason

    There are two ways of people generally achieve this goal. The first is by far the most common and is similar to what described Ashok.
    Option 1)
    Add additional criteria by using the IDOC script logic in the input event to the first step of the workflow. You can add something like the following to get something not through workflow if it is not a contract (plus some criteria you define on the workflow itself):
    <$if not="" ddoctype="" like="" "contract"$="">
         <$wfSet("wfJumpTargetStep", wfexit(10,="" 10))$="">
         <$wfSet("wfJumpEntryNotifyOff", "1")$="">
    <$endif$>

    You can do complex logic that you like and the documentation has some examples. Alternatively, you can create a simple script using UI "jumps".

    Option 2)
    Write to the java code to replace the filter that determines which elements go into the workflow. There is an example of this in the how of components. I have rarely seen this fact.

    Hope that helps,
    Tim

  • Help to find my stolen iPhone more than 6 s

    Help, please!

    I bought the iPhone 6 s more last month. I am new for ios. While I did not turn on find my iPhone on my mobile. Now it is has been stolen by someone.

    Please please please help me find my phone.

    I have an IMEI: 353288074718846

    Can you please let me know if it is possible to change my mobile IMEI number of thief?

    I have raised a case with the police. But they are not considered priority.

    If it is possible to turn on find my iphone via webpage (iCloud or Apple ID)?

    So please help me to trace my mobile

    I'm waiting for your good answer.

    If you have not enabled find my iPhone before losing the device, you can not activate it remotely.  You will not be able to track the device.  I recommend that you change any account information you have can have on the device (credit cards, passwords, email, etc.) unless you're confident, you had a strong password on the device.

  • Someone knows the extremely slow response and delay with "not responding" on more complex web pages after installing updates on Friday?

    Since the installation of 16 Nov received security patches I've known really slow response with Internet Explorer; 2 minutes between web pages on my WIN7 Pro PC and not much better on my VISTA Business PC.  I get expired on complex web pages the context comes up with "program addresses not" or the pop-up at the bottom of the screen asking me to do it again.  The problem is not limited to Internet Explorer, but also prevents Safari to come.   I tried to reinstall WIN7 Pro, but the problem remains.  I'm also not able to run You Tube or other videos.  There is no download or updated or running Belarc Advisor Windows installation problems.  While the problem occurs with Yahoo Mail, it is not an impact send/receive in Outlook.  Does not appear to impact, nothing other than browsing the web.

    Hi ephd,.

    Thanks for posting in Microsoft Communities. The problem description, I understand that the internet works slowly. Provide the following information:

    ·         Have updates you installed?

    ·         You get the error message?

    Follow these methods.

    Method 1: Temporarily disable the security software .

    Note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you do not disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network during the time that your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 2: Follow these steps:

    Step 1: Start the computer in safe mode with network and check.

    Startup options (including safe mode)

    Step 2: If the problem does not persist in safe mode with networking, perform a clean boot to see if there is a software conflict as the clean boot helps eliminate software conflicts.

    Note: After completing the steps in the clean boot troubleshooting, follow the link step 7 to return the computer to a Normal startupmode.

    Method 3: Follow the steps in the article.

    Internet Explorer is slow? 5 things to try

    Note: Reset the Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    You can see these articles for more information:

    Why is my Internet connection so slow?

    Windows wireless and wired network connection problems

    I hope this helps. Let us know if you need more assistance.

    Thank you.

  • The initial index for CRS 11.2 fails: ' Could'nt find the component in the register case number.

    Hello

    I installed CRS 11.2 and started the full initial deployment. The end of it, ProductCatalogSimpleIndexingAdmin automatically starts a benchmark, as it should.

    However, this benchmark index fails with the following exception:

    12:47:49, 111 ERROR [nucleusNamespace.atg.commerce.endeca.index.ProductCatalogSimpleIndexingAdmin] (index - / atg/commerce/short/index/ProductCatalogSimpleIndexingAdmin) null: java.lang.RuntimeException: java.io.IOException: could find the Instance of the component in the register number: http://localhost:8500 / StagingCRS-dimvals /? wsdl

    See the full exception stack trace below.

    When I manually trigger another Index from the base line, the result is the same. The call manually the URL indicated in the error message in a browser returns a page with a simple message "Not found service".

    I did all the CRS installation and repeatedly, installation to check if I missed a step, but with the same result.

    Here's the full stack:

    12:47:49, 111 ERROR [nucleusNamespace.atg.commerce.endeca.index.ProductCatalogSimpleIndexingAdmin] (index - / atg/commerce/short/index/ProductCatalogSimpleIndexingAdmin) null: java.lang.RuntimeException: java.io.IOException: could find the Instance of the component in the register number: http://localhost:8500 / StagingCRS-dimvals /? wsdl

    at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:224)

    to atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl. < init > (RecordStoreDocumentSubmitterSessionImpl.java:233)

    to atg.endeca.index.RecordStoreDocumentSubmitterSessionImpl. < init > (RecordStoreDocumentSubmitterSessionImpl.java:180)

    at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:125)

    at atg.endeca.index.RecordStoreAggregateSessionImpl.createSession(RecordStoreAggregateSessionImpl.java:64)

    at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForKey(AbstractRecordStoreAggregateSession.java:322) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForContext(AbstractRecordStoreAggregateSession.java:284) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.AbstractRecordStoreAggregateSession.getSessionForCurrentContext(AbstractRecordStoreAggregateSession.java:273) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.AbstractRecordStoreAggregateSession.submitRecord(AbstractRecordStoreAggregateSession.java:362) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.PerApplicationExporter.exportRecords(PerApplicationExporter.java:393) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    to atg.endeca.index.PerApplicationExporter$ 1.performActionForApplication(PerApplicationExporter.java:287) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.configuration.IndexingApplicationConfiguration.executeForEachApplication(IndexingApplicationConfiguration.java:456) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.PerApplicationExporter.export(PerApplicationExporter.java:282) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.PerApplicationExporter.performBaselineUpdate(PerApplicationExporter.java:479) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.admin.IndexingTask.doTask(IndexingTask.java:445) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.endeca.index.admin.IndexingTask.performTask(IndexingTask.java:388) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    to atg.endeca.index.admin.IndexingPhase$ IndexingTaskJob.invoke (IndexingPhase.java:501) [_DAF. [Endeca.Index_slib_sclasses.jar:]

    at atg.common.util.ThreadDispatcherThread.run(ThreadDispatcherThread.java:178) [_DAS_slib_sclasses.jar:]

    Caused by: java.io.IOException: could find the Instance of the component in the register number: http://localhost:8500 / StagingCRS-dimvals /? wsdl

    at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:195)

    at com.endeca.itl.util.UrlUtils.ping(UrlUtils.java:147)

    at com.endeca.itl.service.ServiceLocator.getService(ServiceLocator.java:215)

    ... more than 17

    Thanks for any help,

    Andreas

    Thanks for the information, it looks like the EAC application name that was created and the name of the application SimpleIndexAdmin trying to talk are different.

    initialize_services.sh created dimval record store with the name of CRS-dimvals however your application tries to talk to StagingCRS-dimvals. EHR you can correct the short Atg configs application name, or you can create another application with the name StagingCRS

    Thank you very much

    Vaibhav

  • To find which session consumes more processes

    Hello

    My db has process = 450, and they be evacuated very soon. Is there a way I can find to see what session is one that consumes the maximum number of processes?

    Thank you

    Aurélie

    I think you have to be troubled by the use of the memory. As Aman said you set a higher value (for the process parameters) according to your need.

    I faced a similar question earlier. The culprit was the number of inactive sessions (there is an idle session who were 2 weeks old). I checked the number of inactive sessions by assigning the profile to them (idle). As each dedicated connection consumes 1024 k of memory, which can be minimized by using orastack. "Orastack" utility intended to minimizing the use of the memory of 'oracle.exe' and 'tnslsnr.exe. It is safe.

    You can opt for shared server, but it has limitations:

    1. in the batch process underway
    2. in taking RMAN backup
    3. in the power on/off

    You can use the process of $ v and v$ session to discover the culprit. I use * "Process Monitor" * for the same thing, it is the free tool provided by Microsoft and good results as NIX systems.

    Switching to 64 bit and adding more physical memory may be another option.

    Kind regards
    S.K.

  • How to find moments of connection more than 24 hours of custom table.

    Hello Guru,
    I cannot approach the construction of an application that detects recorded for more than 24 hours, this table is updated all hours to show who is logged in and where - I want to know if a person has been registered for more than 24 hours - if so, who and where. It's hard for me because I need to compare each recorded for each connection of the user and then see if the following entry is more than 24 hours after the previous entry.

    A table contains the connection times and places in the position_hist table:
    POSITION_ID, username, upd_date.

    Something like;
    Select position_id, userid, position_hist upd_date where (select upd_date in position_hist where "the following entry for this user and this position is more than 24 hours?"

    I guess the easier is to look for a given position_id recorded for more than 24 hours at a time.

    Any advice would be great :-)

    I used the LAG, which, by default, without arguments, will retrieve the previous record based on PARTITION BY, and ORDER BY clauses. So in this case the UPD_DATE - LAG() calculated the difference between the current value of the UPD_DATE and PREVIOUS UPD_DATE value. By default, this is in units of days. That's why in the OUTER query, I have a "> 1" which is the same thing that say more than 24 hours.

    HTH!

Maybe you are looking for

  • Froze on the wrong track

    My e260 is having a bad day.  I don't know if he's upset because I had a view or what, but this is the problem.  There is a bad track on the e260.  So I went to plug it into the computer to delete the file.  However it is now frozen on the screen "ba

  • HP Envy m6-010dx: comparison of CPU?

    Friends good day! I'm new here, but I cannot think of a better place to ask for some advice! My problem: I currently have a HP Elitebook 8540w, with an Intel i7 Quad, 1 st Gen @ 1.6. (speed up to 2.8) I like it a lot. I just bought a HP Envy m6-010dx

  • After compaq splash, the screen is black with blinking cursor.

    Hello I have a CQ45-217TX, I had installed openSUSE and decided to install a different linux OS. During the installation, there was a problem and I had to give up. The power stopped in my house, causing the laptop turn off because I do not keep the b

  • I want a PHONE NUMBER!

    Why can't I talk to a human being on the phone?

  • Cloning virtual machines with database hot?

    Hello-I'm about to start a clone of a virtual machine from Windows running MySQL, and I wonder if I can hot clone the source machine with the database running services. Or is the recommendation to stop database services before the clone?TIA.