Help with Essbase 9 and the Java API

Hi, I am trying to connect to Essbase to a Java desktop app and I'm unable to do so. I need to know if I'm in principle do the right things and if I have the good environment set up.

We have a server with Essbase version 9.3.1. We normally use essbase through the Excel add-in, and I already wrote it Excel applications that can use both the add-in and the Essbase API in VB. Now, I need to connect to Essbase but out of Excel and using the Java API. I have no idea what is APS don't my Essbase administrator.

My request has the following (adapted from a post on this forum)-
Public Shared Sub main (String [] args) {}
String s_userName = 'user ';
String s_password = "password";
String s_olapSvrName = "ustca111";
String s_provider = "http://localhost:13080/aps/JAPI ';
try {}
ESS IEssbase = IEssbase.Home.create (IEssbase.JAPI_VERSION);
DOM IEssDomain = ess.signOn (s_userName s_password, s_provider, null, false);
IEssOlapServer olapSvr = (s_olapSvrName) dom.getOlapServer;
olapSvr.connect ();
System.out.println ("connection to the server Analyic '" + olapSvr.getName () + "' has been a success.");
olapSvr.disconnect ();
} catch (EssException exp) {}
System.out.println (exp.getMessage ());
} }

I'm running my app on my computer, not on the Essbase server, and the user name that I use is the same one I use (as a user of Essbase) through the Essbase Addin in Excel, not an admin login.

When I run the application, I get:
"Cannot connect to the Server.Make provider ensure that access code settings are correct and the server of the provider is running."

Please can you confirm:
(1) do I need an admin login for my client application to connect to the Essbase server or can I use a dial-up connection in normal play, like the one I use in Excel?
(2) is the same provider regardless of the computer, i.e. "http://localhost:13080/aps/JAPI '; How can I know what this could be? Where can I get this information?
(3) how can I make sure that the server is running the server needed 'provider', it's just a service that appears on the server services.msc? What should I ask the Essbase administrator for him to tell me what I need?

Thank you very much.

Leo

Leo,

You have APS and Shared Services running on your server? It would be the first question to answer. If you put in the url (http://localhost:13080/aps/JAPI, in your program) in a browser, you get a generic APS screen, or you get an error "page is not available. Unless you connect to APS that is running on the same computer that is running your Java application, the section 'localhost' should be the name of your APS Server.

(1) for this Java program, you connect just to read only access that ID is OK
(2) the supplier would be the same for every customer. The provider is the URL of your APS Server. Unless you run in embedded mode, you must APS to connect with the Essbase server. In embedded mode, you talk with the Essbase server, see [this thread | http://forums.oracle.com/forums/thread.jspa?messageID=3314485?].

(3) APS - Analytic Provider Services, I'm not sure what it would show on a Windows Server. I suppose it would be something on Hyperion System 9 Analytic Provider Services. If you have installed APS, I would try the embedded road because it's the only way you will get to work.

Published by: rjgideon on June 2, 2010 16:18

Tags: Business Intelligence

Similar Questions

  • Problems with configuration properties and the java plugin

    Hello

    I have test the java plugin from the hyperic documents. Autodiscover works very well. Now, I had the problem if I want to change all "configuration properties" I get following error message:
    ' The configuration has not been set for this resource due to: invalid configuration: error reported by Agent @ 141.73.130.146:2144: java.lang.NullPointerException.
    Wait I use properties by default, then I don't get any errors.

    What is the problem?

    MyAutoDiscoveryServerDetector.java
    ---------------------------------------------------------------------------------------------------------------------------
    SerializableAttribute public class MyAutoDiscoveryServerDetector extends ServerDetector implements

    {AutoServerDetector}

    public list getServerResources (ConfigResponse platformConfig)

    get {PluginException}

    Server list = new ArrayList();

    Server ServerResource = createServerResource ("My Auto-Discovery Server->" + (x + 1));

    ConfigResponse productConfig = new ConfigResponse();

    productConfig.setValue ("myTimeout", String.valueOf ((x+1) * 1000));
    productConfig.setValue ("myUrl", "http://127.0.0." + (x + 1));
    productConfig.setValue ('Description', 'Description - my Auto Discovery Description->' + (x + 1));
    productConfig.setValue ("myValue", 10);

    server.setProductConfig (productConfig);

    Servers.Add (Server);

    return of the servers;

    }
    ---------------------------------------------------------------------------------------------------------------------------

    HQ - plugin.xml
    ---------------------------------------------------------------------------------------------------------------------------
    <? XML version = "1.0"? >
    < package = "com.citytechinc.articles.hyperic.plugin plugin" >

    < name of the filter = "domain" value = "My Auto Discovery" / >

    < name of the server = "MyAutoDiscoverServer" version = "0.1 c" platforms = "Unix, Win32" >

    < plugin type = "autoinventory" class = "MyAutoDiscoveryServerDetector" / >
    < plugin type = 'measure' class = "MyAutoDiscoveryServerMeasurementPlugin" / >

    < config >

    < name of option = 'myUrl '.

    Description = "Enter the URL for this resource"

    " default = ' http://127.0.0.1 "/>

    < name of option = "Description".

    Description = "enter a description of this plugin"

    default = "default my Auto Discovery Description" / >

    < name of option = "myTimeout."

    Description = "time-out for something in my plug-in.

    default = "0" / >

    < name of option = "myValue"

    Description = "a metric value.

    default = "10" / >


    < / config >


    < name metric = "availability".
    alias = 'availability '.
    Template = "System.avail:type = Platform:Availability"
    category = "AVAILABILITY".
    indicator = 'true '.
    collectionType = "dynamic".
    units = "percentage" / >

    < name metric = 'value '.
    alias = 'value '.
    model = "" MyPlugin:Type = value: value ' "
    category = 'USE '.
    indicator = 'true '.
    collectionType = "dynamic".
    units = "none" / >

    < / Server >

    < / plugin >
    ---------------------------------------------------------------------------------------------------------------------------

    UM,.

    This must be due to an incompatibility between the definitions of plugin in the server (and/or of the database) and the agent.

    First of all, always check the server log, errors that appear it should lead to the cause.

    The plugin xml initialized ok on the server, or any error appear?

    You go to Administration-> default trace and see your plugin (Server Type: MyAutoDiscoverServer) and everything is there?
    If this isn't the case, errors occurred when starting the server, check the log.

    Did you start to shave - created the plugin, added to both server and agent, autodiscovery, the platform/server added in Hyperic - or you already had the server/platform added in Hyperic and who has made some changes in the xml plugin that may be in conflict with what is already in the Hyperic database?

    Generally the pitfalls that come from these errors.

    Been there, done that.

  • Help with dynamic action and the selection list item

    G ' Day Apex gurus.

    I have problems trying to achieve to trigger the Help window from an element automatically select. A Help window is triggered when it is clicked on the label of an item, but my customer wants to be triguered automatically as soon as the user clicks to view the options in the select list.

    I think I should be able to do with dynamic actions but I can't function.

    I know when someone clicks on the label of the item selection list trigger this JavaScript

    JavaScript:popupFieldHelp('277938589795252851','1545903379570909')

    So I want to trigger the javascript also when the user click on the item selection list and pull down the options and for that I think that the dynamic action is the way to go, but I can't do things.

    That's what I have to do:

    I created a dynamic option as follows:

    Name: test
    Sequence: 30
    Even: click
    Selection type: product (s)
    Article (s): P1_RATING <-a selection list item
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: checked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Thank you anyone who can tell me what I'm doing wrong here or bring a solution to my problem to trigger the Help window from an element automatically select.

    Kind regards
    Carlos

    Hi Carlos,

    I've set up a test case of exactly in the same way and it worked fine for me. I've created a page element called P1_DA_DEMO and added some values of the static selection list, then added a help text. I used the settings are lower, I suggest you try again, but also make sure that you have no other Javascript errors on the page. Use a tool like firebug to check.

    Name: Action Dynamics demo
    Sequence: 10
    Even: click
    Selection type: product (s)
    Product (s): P1_DA_DEMO<- a="" selection="" list="">
    Condtion: - no requirement.

    Real Actions
    Sequence: 10
    Action: Run the JavaScript Code
    Fires when the result of the event is: true
    Fire on loading the page: unchecked
    Code: javascript:popupFieldHelp('277938589795252851','1545903379570909')

    Scope of the event set a Bind s.

    Thank you

    Paul

  • Help with hard drives and the "switch" statement

    All the

    I was wondering if you could please help? It's probably more to do with "powershell" than powercli but are... What I'm trying to achieve is the ability to create a function that runs through all my VM - counts the number of hard drives by VM - crosses EACH hard drive and gives me the ability of each of them. He then returns to a csv file (which iknow how to do). The segment below is pretty well what I want, but I was wondering if there was a way to reduce the amount of code! I tried using a foreach statement, but got stuck (PS - the maximum number of hard drives of our virtual machines can have is 5)

    I'm just using a switch statement, because that is what I "thought" answered the problem. However if there is a way I could get the same result without so much 'code' that would be ideal.

    Switch ($vm.harddisks.length) {}

    ($vm.harddisks.length - eq. 1) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    }

    ($vm.harddisks.length - eq 2) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    }

    ($vm.harddisks.length - eq 3) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    }

    ($vm.harddisks.length - eq 4) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 4' ($vm.harddisks [3] .capacitykb))

    }

    ($vm.harddisks.length - eq 5) {

    ($obj |) Ajouter-Membre Noteproperty 'Disk 1' ($vm.harddisks [0] .capacitykb))

    ($obj |) (Add - Member Noteproperty "Hard Disk 2" ($vm.harddisks [1] .capacitykb))

    ($obj |) Ajouter-Membre Noteproperty "Hard drive 3" ($vm.harddisks [2] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 4' ($vm.harddisks [3] .capacitykb))

    ($obj |) (Add - Member Noteproperty 'Hard Disk 5' ($vm.harddisks [4] .capacitykb))

    }

    write-host $obj

    }

    Once again thanks in advance

    Munster99

    Try something like this

    $i = 1
    $vm. Hard drives | %{
    $obj | Noteproperty Add-member ('Hard drive' + $i) ($vm.harddisks [$i - 1] .capacitykb)
    $i ++
    }
    write-host $obj

  • Newby needs help with external text and the madness of the actionscript.

    Hello

    Try to load an external plain txt file into a field of text with Actionscript 3.0. The text file is saved in UTF-8 format in the same file as the Flash movie and I use the following code:

    var external_txt:TextField = new TextField();
    var externalReq:URLRequest = new URLRequest ("external.txt");
    var externalLoad: URLLoader = new URLLoader();

    externalLoad.load (externalReq);

    externalLoad.addEventListener (Event.COMPLETE, textReady);

    external_txt.x = 175;
    external_txt.y = 100;
    external_txt. Border = true;
    external_txt. Width = 200;
    external_txt. Height = 200;
    external_txt.WordWrap = true;

    addChild (external_txt);

    function textReady(event:Event):void
    {
    external_txt. Text = event.target.data;
    }

    When I test the movie, the following error message appears in the output window:

    Error #2044: Unmanaged by ioError:. Text = Error #2032: error flow. URL: file:///F|/FlashCS3/FlaFiles/external.txt
    at ScrollingTextField_fla::MainTimeline/ScrollingTextField_fla::frame1()

    I know that the solution is probably very simple, but I'm new to Actionscript and it cannot work around. Anyone have any suggestions?

    Scoots


    Your Kglad,

    Check my folder options and had the type of file extensions hidden, was "external.txt.txt" as the URL of the request. Sorry guys!

    Thanks again!

  • Help with Facebook Mobile and the Droid!

    All of a sudden, I can't access my comments that were left on my fan page or my wall of personal profile when I use facebook mobile. I have a Motorola Droid, and it worked perfectly until yesterday. When I click on 'Comments' I get a message that says: "content not found".
    The requested page cabnnot will display right now. It can be temporarily unvavailable, the link that you clicked may be broken or expired, or you don't have permission to view this page.
    I can read the comments from my computer using facebook mobile... but not through my phone. I cleaned the cache, uninstalled, and reinstalled the browser program, made a hard reboot of the phone and refreshment hit... nothing works. I can't use Facebook touch, because I have no way to access my fan page. When I click on a link in my email address and it will affect facebook, never need me to what the link refers. This is important because this has created some things for me this page fan... so I'm completely dependent on mobile facebook. It would be really nice if you guys ever developed a program like the one for the iPod Touch... Anyway, please help! I would like to be able to read the comments!
    Mary

    If you want to see the entire site, use the Dolphin browser. You can set the user agent in the browser on the desktop and you can still see the entire site. I hope this helps.

  • Get members of the group with the Java API in LiveCycle

    I work with the Java API in LiveCycle (LiveCycle 8.2) and I am looking


    an example of how read the members of a group.

    I am able to get a group (Type GroupImpl) using the PrincipalSearchFilter.


    But how do I get the members of this group. I checked the
    DirectoryManagerServiceClient and classes of different search filters
    without success?

    As a solution, I can retrieve all users of my application area and
    check their membership to see if they are in the group concerned. But this
    is a dirty hack, I really don't want to use.

    Any ideas?

    Hello!

    I know you mentioned that you were watching in this without success, but it should work really.

    First make a GroupMemebershipSearchFilter, defining the groupoid be the ID of the group itself.  Using the DirectoryManagerServiceClient you can then call findGroupMembers using the searchFilter that will return a list of, as follows:

    DirectoryManager DirectoryManagerServiceClient = new DirectoryManagerServiceClient (serviceConnection.getFactory ());

    List userList = new ArrayList ();

    Try
    {
    userList = directoryManager.findGroupMembers (searchFilter);
    }
    catch (System.Exception e)
    {

    Animals mistake
    }

    return userList;

  • Want the link to open the mode required EAS IN WEb and details of the Java API

    Want the link to open the EAS IN WEb mode as well as the details of the Java APIs necessary to get to the top and running.
    Please provide the response if known.
    Thank you.

    Hello

    To connect to EAS on the web, it is http://: 10080/easconsole/console.html
    You should not have any API details make you just as you have a JRE installed, preferably a version 1.5

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Missing - Essbase 11.1.2 Java API Documentation

    I have trouble finding the Jave Essbase API reference documentation. On our Essbase (11.1.2) Server I found:

    $HYPERION_HOME/common/EssbaseJavaAPI/9.5.0.0/docs/japistart.htm

    However, the links on this page do not work as they look for a sub-folder ess_japi_html under the docs folder.

    Anyone know where I can either:

    (1) get/install file missing pages (content of the ess_japi_html)

    or

    (2) find 11.1.X online documentation (I can only find a 9.3 version)

    Thank you in advance for your help!
    Pete

    Hello

    I just had a quick glance at a 11.1.2 installation and I can see the documentation of the JAVA API to \Hyperion\products\Essbase\aps\docs\japistart.htm of essbase

    If you do not have an aps directory it seems that you have not installed "Analytic Provider Services"

    The documentation can also be found at \Hyperion\common\EssbaseJavaAPI\9.5.0.0\docs\japistart.htm

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Using the record of decision in the Java API

    Hey all,.

    I work with an integration of Java of the OPA, and I'm curious to know how to exploit the record of decision by using the Java API for the information I'm after.

    Basic example:

    X = Maximum (A, B)

    In a record of decision, I see that A and B are used to determine X, but is there a way to know what is done with the API? I know its somewhere, I just need to get to work!

    Another example:

    X = (A - B) * C

    How can I retrieve what exactly happened in java using the API? Is this possible?

    Thank you!!!

    Dan

    Dan,

    Records of decision (code or xml) unfortunately do not go into that kind of detail. Records of decision describes what values are relevant and values assumed under influence, but they have no detailed calculation of information in them.

    It is not possible to do what you are trying to do.

    See you soon
    Frank

    Daniel Hager wrote:
    Hey all,.

    I work with an integration of Java of the OPA, and I'm curious to know how to exploit the record of decision by using the Java API for the information I'm after.

    Basic example:

    X = Maximum (A, B)

    In a record of decision, I see that A and B are used to determine X, but is there a way to know what is done with the API? I know its somewhere, I just need to get to work!

    Another example:

    X = (A - B) * C

    How can I retrieve what exactly happened in java using the API? Is this possible?

    Thank you!!!

    Dan

    Published by: frank.hampshire on April 10, 2013 10:42

  • I bought a mouse microsoft 4000 mobile. It came with no disk and the page, to what he tells me to go said that is down. What should I do?

    I bought a mouse microsoft 4000 mobile. It came with no disk and the page, to what he tells me to go said that is down. What should I do?

    Hello

    1. what exactly is the problem?

    I suggest you explain clearly to us the question so that we can better help you.

    To troubleshoot failures in the response to the mouse or wireless keyboard, see this link: http://support.microsoft.com/kb/838398

    It will be useful.

  • control the size of the Essbase.log and the application log

    Understand that there are many messages have been written for the Essbase.log and the application log. Is there any method to control what message to write to the log file in order to reduce the frequency of the e/s of the partition of the server data?

    Thanks for your help!

    You can think of forcing your ASF/ASO PAG & IND/DAT files to go on a separate disk from your base volume binary Essbase. This can be difficult to do in a SAN environment, because it is difficult to know what is really where.

    Another option would be to use CLEARLOGFILE to reset the logs (this will remove the whenever you stop/restart Essbase, so make sure that you check them if you need to open a historic session).
    See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/config/clearlogfile.htm

    Still another would be to SSLOGUNKNWON set to false to break down on the newspaper.
    See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/config/sslogunknown.htm

    Kind regards

    Cameron Lackpour

  • Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    Try to add a page to a pages document. It worked until now but just finished page 13 with text and photos and cannot add another page, using macbook pro with El Capitan and the most recent version of the Pages.

    You have placed your beam to insert at the end of your text on page 13 and then apply Insert menu: Page Break? In the v5.6.2, Pages I just add a new page to a section of four pages to this approach.

  • Hi, I have a notice popping up whenever I sign in PS, saying that there is something with my payment info... I check with my card and the Bank and everything is ok on my end - I don't want to change my credit card info want to use this one to one

    Hi, I have a notice popping up whenever I sign in PS, saying that there is something with my payment info... I check with my card and the Bank and everything is ok on my end - I won't change my credit info card wants to use it at all times, was spotted or something and how can I get this fixed will, my next payment as planned intake and ignores the message? I wish I had this problem so I don't have an interruption in my service?

    Payment of 10 October 2015 has been denied 3 times as a result activation server has been informing you. Payment has been successful on October 30, 2015, the CC is active, you can ignore these guests, they must die now.

    Concerning

    Stéphane

Maybe you are looking for

  • How can I remove the gray bar with the previous websites visited, which is under the address bar?

    I refreshed just Firefox, and now there is a grey bar under the address bar that lists the last sites I visited recently in a line from left to right. How can I get rid of him? I am running version 35.0.1 and he says that it is up-to-date. Thank you.

  • Satellite U940 - 4000 Graphics Intel does not work after upgrade from 8.1 to win

    I've updated my Satelite U940 11 X 8.1 Windows (from 8.0) and now my Intel Graphics 4000 does not work.The Device Manager shows Code 43: windows has stopped this device because it has reported problems.I try to download a new driver from Toshiba, but

  • How the shared variable affects determinism RT?

    I continue to read again and again that ' If you activate the FIFO in real-time to a shared variable, you can deterministically share data active without affecting the determinism of the screws on an RT target. " Could someone help me understand how

  • HP2015 define printer orientation and 'worthy of paper. "

    I am trying to create a printer that does only 1 thing.  the printer landscape and adjustment of the text on page whatever happens. I know this may seem impractical, but it will be used to print only 1 report which is slightly larger than a landscape

  • bug Simulator Beta 2 auto scale?

    Hello My application properly on Simulator version 1 layout. I just install the new version of the Simulator and the same application is not put on the page properly. I discovered that my LabelButton seems too close to the right edge and the version