Having two outlines open in JAPI?

Am I missing something here in this code? It seems if you try to open 2 outlines at the same time, internally both IEssCubeOutline objects point to the same object.
This is the output:
otl2 refers to: interNtl
Fourth dimension of otl2 refers to: Market
First member of second dimension of otl2 refers to:East
otl1 refers to: basic
Fourth dimension of otl1 refers to: Market
First member of second dimension of otl1 refers to:East
But the first child of the Market dimension in the interNtl cube is US, not East.
The goal here is to create a dimension syncing routine. I've looked it over and over, seems clean. API bug?
This is the relevant code:
String server1name = "x.y.z";
String server2name = "x.y.z";
String app1name = "sample";
String app2name = "sample";
String db1name = "basic";
String db2name = "interNtl";
server1 = domain.getOlapServer(server1name);
server2 = domain.getOlapServer(server2name);
server1.connect();
server2.connect();
IEssOlapApplication app1 = server1.getApplication(app1name);
IEssOlapApplication app2 = server2.getApplication(app2name);
IEssCube db1 = app1.getCube(db1name);
IEssCube db2 = app2.getCube(db2name);
// read only
otl1 = db1.openOutline();
boolean readOnly = false;
boolean lock = true;
boolean keepTrans = true;
otl2 = db2.openOutline(readOnly, lock, keepTrans);
System.out.println("otl2 refers to: " + otl2.getParent().getName());
IEssDimension dimension = (IEssDimension)otl2.getDimensions().getAt(3);
System.out.println("Fourth dimension of otl2 refers to: " + dimension.getName());
IEssMember member = (IEssMember)dimension.getDimensionRootMember().getChildMembers(true).getAt(0);
System.out.println("First member of second dimension of otl2 refers to:" + member.getName());
System.out.println("otl1 refers to: " + otl1.getParent().getName());
dimension = (IEssDimension)otl1.getDimensions().getAt(3);
System.out.println("Fourth dimension of otl1 refers to: " + dimension.getName());
member = (IEssMember)dimension.getDimensionRootMember().getChildMembers(true).getAt(0);
System.out.println("First member of second dimension of otl1 refers to:" + member.getName());

I replicated your issue. Have you reported it to tech support?
As a workaround, perhaps you could open the outline, build a tree structure of some kind in Java for the first outline, then close it, open the second outline and process based on the tree structure in memory.
Tim Tow
Oracle ACE Director
Applied OLAP, Inc

Similar Messages

  • When I click a link in Mail (Mac OS) Firefox opens two windows. The frontmost window is always blank. The other window shows the page to which the link pointed. I would like to avoid having two windows open.

    Links from Mail open two windows. One is empty.
    == This happened ==
    Every time Firefox opened
    == In the past couple of weeks. I had not noticed this behavior previously

    That is this bug:
    https://bugzilla.mozilla.org/show_bug.cgi?id=531552 - Firefox 3.6b opens two windows when opening external links
    (please do not comment in bug reports, you can vote instead to show your interest)

  • Fox4 says that it PREVENTs the user from having two tabs open to the same URL. There are times when I WANT multiple open tabs! Can I override this? (Please tell me. If I can't, then I don't want Fox4. I'll stick with 3.x and NoScript.) Thanks.

    Tell me EXACTLY how to FORCE Fox4 to allow me to have MORE THAN ONE tab open to any given web page.
    Otherwise, I have to stick with Fox3.
    Precise details, please. Thanks.

    # Open a new tab - Ctrl + t
    # Start typing the URL in the awesome bar. The page should displayed in the list below with "Swtich to Tab" written under it
    # Scroll down to the URL in the list using the down arrow key and hit Alt + Enter.
    The webpage is opened a second time instead of simply switching to it. Simple.

  • I ended up having two id's, one being my original when first getting into itunes and the other came when I opened a me account.  I have purchases under the original id.  How do I merge the old account into the new account

    I ended up having two id's, one being my original when first getting into itunes and the other came when I opened a me account.  I have purchases under the original id.  How do I merge the old account into the new account

    Sorry, but it is not possible to merge two Apple IDs/iTunes Store accounts.
    Regards.

  • Workspace View having two buttons Approve/Reject

    Hi,
    My client wants us to change the BPM workspace completely. We have a manager role.
    The client wants us to create a view with a column with a certain ID. Based on that ID, the manager would either approve or reject instances in his role.
    But the client does not want us to use a BPM Presentation or a JSP to approve or reject the instance. That would be a lot of clicks for the manager i.e. first login and open his workspace, then click on the BPM presentation or JSP and then click on the approve or reject button.
    This would be more than 2 clicks for the manager which he does not want to do.
    Therefore our client wants us to build an easy way to approve or reject instances. And this easy way is to have these two buttons in the workspace view itself. Based on this one column which contains the ID in the view, the manager would then approve or rejcct the instance.
    How can we change the workspace and the views inside the workspace to accomodate this requirement of having two buttons?
    Any idea?

    Does it have to be two new buttons on the workspace inbox list? You can create interactives that are simple methods. You define two methods or tasks. They're called "optional tasks". They can be used with a screen-flow too, if you want. So you have a manager who may want to drill down into the work item and look at it. They would then open a screen-flow/JSP page and accept or deny the work item. Or they can select one of two optional tasks; accept or deny. You do this directly from the inbox view without going into the screenflow. You can do this by modifying the workspace to add extra buttons or just use the OOB functionality to select one of the two optional tasks. It's not a button, just a drop-down select list that is available in the inbox view.
    If you have to go the route of adding buttons to the inbox view, you may be able to do this with the workspace decorator. It'll take some work to figure out how to link the buttons to the optional tasks, but it's possible. I don't have a ready solution for doing this, you'd have to figure that out yourself.
    To get started on using the workspace decorator, refer to my blog:
    http://blog.ssglimited.com/2010/02/19/customizing-oracle-bpm-using-worklist-decorator/
    HTH.
    Mark

  • I'm having two problems. It's kind of complicated.

    I'm having two problems. I've removed and re-installed Mozilla but am still having the same issues.
    ''edited by a moderator to add the information from More System Details.'' <br />
    I'm having two problems. I've removed and re-installed Mozilla but am still having the same issues. Even to ask this question I had to use Internet Explorer, not Mozilla, because the dropdown won't appear on your home page. Ok. The two problems. One, vids won't play, and two, the dropdowns won't appear. Which means I can't sign out of anything! Which is an issue to me - I don't like leaving my accounts open. Can you help? Pleeease? I'm desperate! I've done all I know to do!
    Kari

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    You can check for problems caused by recent Flash updates and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in Flash 11.3 and later
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Flash_Player_11.3_Protected_Mode_-_Windows

  • How to create a report in excel format having two tab

    Hi All,
    I have Business requirement where customer wants to create a report in excel format having two tab.
    Please let me know if it is possible?
    I am using 10.1.4.3.2 version of BIP.
    Thanks & Regards,
    Edited by: 862749 on May 20, 2013 7:36 PM

    I have Business requirement where customer wants to create a report in excel format having two tab.
    Can anybody suggest if it is possible in BI Publisher or not?yes
    look at excel template
    also you can use xsl-xml or xsl-fo template
    check it for your requirements

  • I'm having a problem opening my files -..

    I'm having a problem opening my files …..for example if i want to download something off the internet and run it after it always opens in Textedit which is annoying…..other programs open fine which are dmg but the exe files won't run….i need help

    If you are in fact running Mac OS 9 or earlier, which is from 2001 or earlier, .dmg files are disk image files like the .smi files used under Mac OS 9, but they are only Mac OS X compatible.   They are frequently used to store Mac OS X only installer disk image files.  .exe files are are Windows and MS-DOS executable files which can only run with Windows or DOS virtualization:
    https://discussions.apple.com/docs/DOC-2741
    Most Mac OS 9 programs you'll be able to download either have a .sea, .sit, or .hqx suffix in their file name and are able to be opened with the old Mac OS 9 copy of Stuffit Expander.
    If you are using another operating system, please go to Apple menu -> About this Mac and tell us what you are running.  You posted to the Mac OS 9 forum, hence my response.    If there is an X in the name, you posted to the wrong forum, and I'll have this post redirected and try to answer if I have time.

  • I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working"

    I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working" then I get Windows is looking on line for a solution, but then my document closes. I tried uninstalling and reinstalling Adobe Reader XI, rebooted my computer but this did not help.  I get the same message. What to do?

    Can you open Reader by itself?  If so, check if disabling Protected Mode improves the situation [Edit | Preferences | Security (Enhanced)].

  • Error: "We're having a problem opening this location on file explorer. Add this website to your trusted sites list and try again"

    Hello,
    When i try to open document library from SharePoint Production portal then it throws the specified error. However, when i open document library from SharePoint Development portal then it opens it in file explorer quite easily.
    Production portal is on https whereas development portal is on http. Also, UAG has been configured on production portal.
    Any idea where it's getting stuck up? Surely, this is not a browser issue on Windows 7 as it's opening the development portal's document library on the same machine.
    I've also done following things:
    - Configured Desktop Experience on production environment
    - Installed the hotfix for Windows 7
    Regards,
    Sohaib
    Sohaib Khan

    Hello Sohaib.
    Here is the list of causes defined here.Hope it helps you
    The cause and the resolution methods are the following:
    Cause: There is a missing Root site collection...
    Resolution: Check and ensure,  that the “Managed Paths” are not changed in the web Application’s page, there is a (root) explicit for
    this web application and there is a working Root site collection.
    If for any reason this is not the case in your environment, you may try the following:
    - Apply (if not already) the following Hotfix to one of those clients:
    Error when you open a SharePoint Document Library in Windows Explorer or map a network drive to the library after you install Internet Explorer 10 in Windows 7 or Windows Server 2008 R2 
    http://support.microsoft.com/kb/2846960
    Then, try to delete the cache of the IE browser before reproducing the issue. Check the result..
    - Try to temporarily disable the Antivirus and test again.
    - Check if you have installed the Desktop Experience feature on the SPS13 server.
    - Check if you face this behavior with all users, Or only with some specific ones, Or with all different client OSes.. 
    Otherwise you will need to collect the logs to further analyze...
    http://blogs.msdn.com/b/george_bethanis/archive/2013/11/04/sps13-quot-open-with-explorer-quot-random-error-quot-we-re-having-a-problem-opening-this-location-in-file-explorer-add-this-web-site-to-your-trusted-sites-list-and-try-again-quot.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on

    I bougnt my S5 a month ago and I am having two major issues.  The screen is very slow to respond.  When the screen is dark and I press the home button, it doesn't come on.  I have to press the button anywhere from 4-10 times and then it usually flashes on and back off.  It is very, very frustrating.  The other issue is that the battery drains very quickly.  I have called Verizon numerous times regarding these issues.  They tell me to do different things that never help.  We eventually did a factory reset and it still has the same issues.  Help!  It is a brand new phone and unfortunately I am in a new two year contract.  Ugh. Is there anyone out there who can help me?

    I have done that several times.  In fact, every time I call Verizon with my phone problems, they have me do the same things repeatedly.  I keep telling them I have already done them but they insist they are SURE it will work this time.  It never does.  After doing the factory reset and it still not working correctly, they act like they are confused, almost like I am lying.  I did what you suggested above on the slim chance it would work this time but it did not.  I bought two S5's that day and the other one works perfectly fine.  I know I got a bad phone.  Verizon just does not listen.  It is a bad phone.  I just want a new phone that works properly.  Is that too much to ask?  I bought a new phone that has been bad from day one.  Why oh why do I have to spend hours of my time on the phone, in the store, on the computer, trying to rectify this?  It shouldn't be this difficult!  Help please!!!

  • Is there a way we can edit and improve existing youtube videos by using premiere pro? Just simple changes like having professional looking opening and closing credits?

    Is there a way we can edit and improve existing youtube videos by using premiere pro? Just simple changes like having professional looking opening and closing credits?

    Assuming you do not have access to the "original" video/project and the YouTube video is the only copy, there is a method. Try "YouTube Downloader" which is a free software that allows you to download clips from YouTube as .mp4 files. You can then edit with Premiere, and re-encode again for upload to YouTube. Just keep in mind that you are re-compressing the video so there will be some quality loss. The better the quality of the original, the better the copy will hold up.
    Thanks
    Jeff Pulera
    Safe Harbor Computeres

  • Can I have two projects open on Premiere Elements at the same time? (Elements 13 for Windows)

    Hi there.
    Can I have two projects open on Premiere Elements at the same time?
    The reason I wanna do this is because I've trimmed many hours of clips in one project (One timeline) and I want to start a new project where I have a "clean" timeline and can add clips from the
    first project (Cut and paste). Or how do I bring a trimmed clip from one project into another in a easy way?
    Thanks
    -Dan-

    Your question is in the Photoshop Elements forum.  There is another forum for Premier Elements and this will probably be moved.
    That said, the answer is that Premier Elements has not be designed with the ability to cut and paste from one project to another.  The only "work around" is to "Publish&Share" to a best quality format that matches your project settings.  You can control the output clips with the "work area bars".  You can then add the new clip to the second project.   The output rendering process can, at least in theory, reduce the picture quality.  Depending on formats, settings and footage, it may not be noticeable.
    There is a third party product called Clipmate that some say works, but not always with good results. 

  • Is there any way to have two garagebands open at the same time?

    I'm remixing a NIN song, and I need to have two garagebands open at the same time, is this possible? If so, please help!!

    it is possible, but you'd be on your own if there's a prob, and you can't copy and paste between them if that's what you're trying to do

  • Having TWO problems with my iPod mini.

    I've had my ipod mini for a year and a half. I only ever use it 2-3 times a week for 30 mins at a time at the gym, and sometimes in the car. Already I'm having two problems.
    Problem #1- Battery. I've noticed alot of other people on here seem to be having this problem aswell. I'll charge it fully and leave it in the charger over night. I disconnect it, Start playing it, and 1 or 2 songs later I get the message saying "battery low, please connect to power source" It just came OFF a power source. I have 2 different ways that I charge my ipod. I use the computer. And I have a clock radio that it sits in to play the ipod and charges it at the same time. It dosen't matter which I use.. I have the problem either way.
    Problem #2- When the battery actually is working(which is rare) sometimes the music sounds like it's under water. Basically, The music plays, but with very low bass. I usually either listen to it through my car adapter, or through my headphones and I get the same problem either way. This isn't all the time though.
    I've never dropped it, gotten it wet or left it in the sun. It's had no physical damage at all.
    Does anyone know what may me going on? I've followed the steps and tips from other posts on the battery issue but nothing has worked for me. The only thing I can think of (and probably the only thing anyone can recommend) is that I send it in to get it repaired. However, I refuse to do that. I don't think I should have to pay to repair apple's 1.5 year old products especially since I paid close to $300 for it in the first place. I also don't want to receive a refurbished one, I want MINE fixed or a brand new one(which I know won't happen).
    Any suggestions would be appreciated.

    1. Place 1 drop of rubbing alcohol on the home button.
    2. Press the button repeatedly with pencil eraser making sure to get liquid into area surrounding button.
    3. Dry off area with paper towel.
    4. Press home button until it works again.

Maybe you are looking for

  • Load data error: Database selection with invalid cursor (sm21)

    hi experts, when I execute processchar, it occur some system error: "Database selection with invalid cursor ", "Documentation for system log message BY 7 : The database interface was called by a cursor (in a FETCH or CLOSE cursor operation) that is n

  • I am no longer able to use my microsoft exchange active sync account

    I have been using my active sync account in my iphone just fine up until last wednesday 6/1/2011.  It keeps saying can't connect to server.  All of the other internet services and mail services work just fine.  I have been on the phone with Comcast m

  • Interactive swf question

    hello forumers. im exporting an swf file from indesign,and id like to know why indesign or the swf  generates an empty blank left hand page.? and when im making a pdf file,everything seems a bit buckled and pixelated although my images are 300dpi tha

  • Providing internet through router and still keep IP

    I have a problem with my knowledge about this not being enough The situation is this. I have two computers connected to the internet via a Linksys WRT59GX v.2. The internet is with a non static IP, so i have the computers on automaticly optaining IP

  • Alignment guides doesn't work properly in Pages and Tables

    Drag out a horizontal and vertical guide and align the center of a square to them. When you zoom in to 400%, you can see, that the object doesn't align properly. The guides should divide the square in to 4 equal sized small squares. But they don't!!!