How to use JAPI to Access Essbase 6.5

Do anyone knows How to use JAPI to Access Essbase 6.5?
I was told to install Enterprise Services 7.3.1.10.
But when I test eds samples, I can connect Essbase but can not get data from Essbase.
Need to change another Enterprise Services(I was told 7.3.1.10 is the latest version), or do some config in 7.3.1.10.
Thanks a lot in advance

Gee is correct. You will need to use EAS 7.x to add an analytic server. You will also have to do a few other tasks such as synch'ing security, etc.
Further, as you are not accessing the exact same version of Essbase as your version of EDS, there is a property setting you will have to change to be successful. In eds\7.1.3\bin, open essbase.properties and modify the server.olap.direct setting to set it to false. What this setting does is forces EDS to use it's own private set of C API files and to use them for all calls to Essbase. Otherwise, EDS will attempt to use pure Java calls to the server. Unfortunately, the pure Java calls were implemented in an 'evolutionary' manner so every Essbase version got more calls until sometime in the System 9 timeframe. By the time 9.3 shipped (and maybe before, I would have to check), all calls the server are pure Java and that property setting is no longer available.
Tim Tow
Oracle ACE
Applied OLAP, Inc

Similar Messages

  • How to use Bind Variables in Essbase data control

    Hi,
    I am trying to use Bind Variables in MDX query while creating the Essbase Data Control. I have used the below query with the Bind Variable.. this query is working in Essbase admin console..but it is throwing error (*Invalid MDX Query)* while creating Essbase Datacontrol in JDeveloper.
    MDX Query : SELECT {[Measures].Msr_2} ON COLUMNS, [Time].Children ON ROWS FROM cube
    where ($name)
    Could any body suggest me on how to use bind variables with Essbase Data control.
    Thanks,
    Swathi

    Hello Swathi, can you please help me how you created Essbase DataControl? Also were you able to figure out this?
    Thanks, Praveen.

  • How to use Javamail for accessing additional mailboxes -IMAP, Exchange 2010

    hi,
    I want to access a shared mailbox (NOT FOLDER) via Javamail API (1.4.5) using IMAP(s) with plain logon. The mailserver is a Exchange Server 2010.
    User: user1 ([email protected])
    pwd: xxxx
    shared mailbox: [email protected]
    Properties:
    mail.imaps.socketFactory.port = 993
    mail.imaps.starttls.enable = true
    mail.imaps.socketFactory.class = javax.net.ssl.SSLSocketFactory
    mail.imaps.socketFactory.fallback = false
    username = [email protected]
    password = xxxx
    I´ve managed to get access to the user1 - mailbox:
    Session session = Session.getInstance(properties, new ExchangeAuthenticator(username, password));
    session.setDebug(true);
    Store store = session.getStore("imaps");
    store.connect(imapHost, username, password);
    --> this works just fine! But now i want to access the additional mailbox by changing the login-String:
    [email protected]/shared_MB (user@domain/additional_MB)
    --> unfortunately I´m getting an "NO AUTHENTICATE" message:
    DEBUG: setDebug: JavaMail version 1.4.5
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.fetchsize: 16384
    DEBUG: mail.imap.statuscachetimeout: 1000
    DEBUG: mail.imap.appendbuffersize: -1
    DEBUG: mail.imap.minidletime: 10
    DEBUG: trying to connect to host "host.domain.com", port 993, isSSL true
    * OK The Microsoft Exchange IMAP4 service is ready.
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN UIDPLUS CHILDREN IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    DEBUG IMAP: AUTH: NTLM
    DEBUG IMAP: AUTH: GSSAPI
    DEBUG IMAP: AUTH: PLAIN
    DEBUG: protocolConnect login, host=host.domain.com, [email protected]/shared_MB, password=<non-null>
    DEBUG IMAP: AUTHENTICATE PLAIN command trace suppressed
    DEBUG IMAP: AUTHENTICATE PLAIN command result: A1 NO AUTHENTICATE failed.
    javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
    I was able to get access with Thunderbird and also with the Exchange OWA-Client, so I think there is something missing in my code...
    or is it just impossible to get access to a different mailbox using javamail and plain-auth?
    Thank you in advance.

    Thanks bshannon, that was a great idea!
    I haven´t found an solution yet, but I have maybe identified the real problem:
    Here is some interessting Thunderbird - Logging stuff:
    744[7161040]: try to log in
    744[7161040]: IMAP auth: server caps 0x1187235, pref 0x1006, failed 0x0, avail caps 0x1004
    744[7161040]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, MSN = 0x200000, PLAIN = 0x1000, LOGIN = 0x2, old-style IMAP login = 0x4)auth external IMAP login = 0x20000000
    744[7161040]: trying auth method 0x1000
    744[7161040]: got new password
    744[7161040]: IMAP: trying auth method 0x1000
    744[7161040]: PLAIN auth
    744[7161040]: 7082000:xmail.domain.com:NA:SendData: 2 authenticate plain
    744[7161040]: ReadNextLine [stream=7ec9e88 nb=3 needmore=0]
    744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: +
    744[7161040]: 7082000:xmail.domain.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
    744[7161040]: ReadNextLine [stream=7ec9e88 nb=27 needmore=0]
    744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: 2 NO AUTHENTICATE failed.
    744[7161040]: authlogin failed
    744[7161040]: marking auth method 0x1000 failed
    ---> okay, so PLAIN AUTH is failing.....
    744[7161040]: IMAP auth: server caps 0x1187235, pref 0x1006, failed 0x1000, avail caps 0x4
    744[7161040]: (GSSAPI = 0x1000000, CRAM = 0x20000, NTLM = 0x100000, MSN = 0x200000, PLAIN = 0x1000, LOGIN = 0x2, old-style IMAP login = 0x4)auth external IMAP login = 0x20000000
    744[7161040]: trying auth method 0x4
    744[7161040]: got new password
    744[7161040]: IMAP: trying auth method 0x4
    744[7161040]: old-style auth
    744[7161040]: 7082000:xmail.xmail.domain.com:NA:SendData: Logging suppressed for this command (it probably contained authentication information)
    744[7161040]: ReadNextLine [stream=7ec9e88 nb=23 needmore=0]
    744[7161040]: 7082000:xmail.domain.com:NA:CreateNewLineFromSocket: 4 OK LOGIN completed.
    744[7161040]: login succeeded
    --> okay, so Thunderbird is using "old-style IMAP login" and is successful.
    Unfortunately I have no idea what that actually means or how to use it in Javamail (is it even supported?). Any suggestions?

  • How to use jacob to access a com object with coldfusion7

    i want to use jacob to access a com objcet with coldfsuion7(i
    just want to do a test)
    how to do?
    Thank a lot!

    Flashcqxg wrote:
    > i want to use jacob to access a com objcet with
    coldfsuion7(i just want to do a test)
    > how to do?
    you don't. use createObject():
    mailer=createObject("COM","CDONTS.NewMail");
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=cfobject_08.html

  • How to use rescuecd to access NAS200 RAID drives

    I have been lurking trying to figure out how to access my NAS200 drives after a power supply failure and of course I have no backups, relying on the RAID to create my two copies.  (Lesson learned)
    I have a NAS200, with two Western Digital 1TB Green hard drives.  They are configured in a RAID 1 mirror and they are in a journaled file system
    So from what I've been reading, I believe they are in XFS. and I can use the rescuecd iso to access the drive directly to copy them off onto another drive.
    I am using Windows XP SP3.   The computer system is 8 years old - a Dell Pentium 4 Dimension system with 4GB of memory.   I do have Ubuntu, but I have no idea how to use Linux, and definitely not the command line that the rescuesystemcd drops me into.
    I've taken one of the drives and installed it in an external USB drive and plugged it in the system.
    In Windows XP SP3, I can see the drive on my virtual file manager and I can see the three partitions, one main data partition, the configuration partition and the swap partition, but of course it's not the right file system. and it's not ext2/ext3  so Ext2IFS will not work for me from what I've read.
    In ubuntu 11.10, when I've plugged in the external drive, I have no idea how to access the drive.   I suspect I have to mount it, but I have no idea how to do it or even where to begin looking for it to access it. 
    And of course in the CLI using the systemrescuecd, I am completely lost there:   The last CLI I used was MS-DOS from over 15-18 years ago.   I can ls (MS-DOS dir) and cd to navigate the folders of the file system and I believe cp is copy? and if I was using the Ubuntu CLI, I have to sudo everything I believe.
    So after this long post, what am I asking for?
     - How do I mount the external drive in either Ubuntu or the system rescue CD iso.
     - Can I mount a second external drive with a NTFS file system in Ubuntu or the system rescue CD?
     - I would prefer to do it in Ubuntu or some other graphical method so that I could just drag and drop from one disk onto another or failing that using the commandline, what command would copy the entire drive's file system from one to another?
    Thanx

    Are you able to access the web interface of NAS200 using its IP address? If, 'yes' then unplug both the hard drives? Reset NAS200, reconfigure it and connect the drives again. See if that helps.

  • How to use Axis to access a web service through Authentication  proxy

    Using axis access internat web service is success,but access a web service through Authentication proxy is failure.But other java classes connect through a proxy to the internet which works very well:
    please help me ,thank you!!!
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    //this is my access webservice faliure   codes
    public class TestClient
       public static void main(String [] args) {
           try {
                System.getProperties().setProperty("http.proxySet", "true");
                System.getProperties().setProperty("http.proxyHost","proxy.com");
                System.getProperties().setProperty("http.proxyPort", "8080");
                System.getProperties().setProperty("http.proxyUser", "username");
                System.getProperties().setProperty("http.proxyPassword","password");
               String endpoint =
                        "http://nagoya.apache.org:5049/axis/services/echo";
               Service  service = new Service();
               Call     call    = (Call) service.createCall();
               call.setTargetEndpointAddress( new java.net.URL(endpoint) );
               call.setOperationName(new QName("http://soapinterop.org/", "echoString") );
               String ret = (String) call.invoke( new Object[] { "Hello!" } );
               System.out.println("Sent 'Hello!', got '" + ret + "'");
           } catch (Exception e) {
               System.err.println(e.toString());
       }I get an "(407)Proxy authorization required" error?

    I am also looking for a solution. Does any one know how to do through code instead of jvm settings?
    Thanks in advance!

  • How to use Logical operators in Essbase Studio?

    I want to add a new Dimension Element like
    if ( connection : \'SH'::'SH.CUSTOMERS'.'CUST_GENDER' == "M" ) then "Male"
    else "Female"
    However, there isn't 'if ... then ...' expression in Essbase Studio. I'm puzzled to the usage of logical operators such as '==', '!=', and so on.

    The == and !== are to set conditions for filtering. the ! meand not. In esscense these allow you to get a subset of rows that meet the conditions specified. In your case where Gender == "M" you will only get those rows where the value is "M". What you want to do is transform rows not filter them. I have not looked at studio enough yet to know how to do this, but a few things come to mind. First, you could use text to create the outline menbers instead of values from the tables, you could crete a reference table with the M = Male and F = Female and join to it to get the values or you could use a standard load rule and sql interface to load the data and just build the dimensions and drill through from Studio. I think I would opt for the second option

  • How to use ARD to access a PC running Windows 7?

    Hi,
    I just want to VNC my PC in the office. How do I access Windows 7 from my Mac using ARD 3.6.1?
    My PC has RealVNC server running but they dont' seem to talk well with my Mac's ARD.

    Hi
    Try using this instead:
    http://www.microsoft.com/mac/downloads?pid=Mactopia_RDC&fid=68346E0D-44D3-4065-9 9BB-B664B27EE1F0#viewer
    Less hassle and far quicker.
    HTH?
    Tony

  • How to use JNI to access Active X control ?

    I need to access EFTPOS devices which provides Active X control inerface. Can I wrap Active X into dll so that I can use java native interface to access it ?
    Thanks.

    Hi Mahesh!
    If nobody has answered by now...maybe you managed alone. Anyway here are some notes that might be useful:
    The first thing to do is write your Java class with the native definitions. Now 'Build Project'.
    Of course you shouldn't forget to have a line with
    System.loadLibrary("your library name");Next you need to make the .h file. I think it's best to do this manually. In Netbeans you can add a line to the ant build script like:
    <target name="-post-jar">
           <javah destdir="c" class="--your class full name--" classpath="${dist.jar}" />
        </target>but I don't know how to do this in Eclipse. Instead you will have to run javah manually like:
    javah -classpath build -verbose  -d "c"   "--your class full name--"Do this from the main project directory.
    Now create a separate C/C++ project with the name you used in the loadLibrary above, and make C files to implement the functionality you need (copy the function headers from the .h file). You should include the .h file and tell Eclipse where to find it. In Eclipse 3.4 there are workspace relative paths - and you can use those to add the include file.
    The C project should be of type 'shared library'. On Windows it will produce a DLL.
    Once you have your C project compiling, go back to the Java project, and edit the project class path. Under the 'source' tab expand your project source, and you will see a line for 'Native library location'. Select that, click the 'edit' button and add the path of the DLL (just the directory).
    Now run or debug the Java program, and when you load the library, watch to make sure there is no exception.
    How to debug: There are ways of debugging both the Java and C at the same time, but it's probably easiest just to put logging statements in the C (printf's) to see what's going on there.

  • Using Workspace to access Essbase Application - HELP

    I have created an application in Essbase. Is there anyway that I can register and import the app into Workspace; more specifically Performance Managment Architect or are Essbase applications completely isolated? Please help. The Essbase application is registered in Shared Service but that's as far as it will go.

    How do I access the app through workspace? I have done the following steps:
    - created the application in Essbase Administration console.
    - Registered the app with shared services
    - Exported the dimensions to ss
    - provisioned the user to have a global role on ss of application and dimension creator and on the essbase app as application manager
    - synchronized ss; logged onto workspace
    The app created in EAS does not reflect.

  • How to use ejbs for accessing Function Module.

    Hi,
    I want to call ABAP function module using ejb(Since I want to expose them as web service on different server). I know how to do that using Models, but dont know how to go ahead using ejbs.
    Could you please guide me on this?
    Regards,
    Abhijeet.

    Hi,
    In another thread with a similar question I found these references:
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    And this code example:
              HashMap result = new HashMap();
              Object ret = new Object();
              JCO.Client mConnection = null;
              mConnection = getConnection();
              JCO.Repository mRepository;
              mRepository = new JCO.Repository("R3", mConnection);
              JCO.Function function =
                   createFunction("Z_ISA_GET_ORDER_ITEM_INFO", mRepository);
              function.getImportParameterList().setValue(orderNum, "ORDER");
              if (function != null) {
                   mConnection.execute(function);
                   JCO.Table codes = function.getTableParameterList().getTable("INFO");
                   for (int i = 0; i < codes.getNumRows(); i++) {
                        codes.setRow(i);
                        int tmp = new Integer(codes.getString("POSNN")).intValue();
                        String tmpStr = new String(Integer.toString(tmp));
                        ret = result.put(tmpStr, codes.getString("VBELN"));
              } else {
                   System.out.print("Fxn call failed for Z_ISA_GET_ORDER_ITEM_INFO");
              JCO.releaseClient(mConnection);
    Good luck,
    Roelof

  • How to use VBScript to access a 32bit ODBC System DSN (Excel) on a Windows 7 64bit system?

    What is the correct way to connect to a 32bit System DSN (Excel) on a Windows 7 64bit system?
    I've recently switched from Windows XP Pro x32 to Windows 7 x64.  Now, one of my scripts that uses an ODBC connection will no longer work.  After a bit of searching, I discovered that Windows 7 x64 does not currently have 64bit Excel drivers.  However, you can set up 32-bit connections by running "C:\Windows\SysWOW64\odbcad32.exe".  Unfortunately, my script still won't work even though I set up the System DSN exactly like I did on my old computer.  When I run my script, I get the following error:
    Quote:
    Script:  X\XML_Check.vbs
    Line:  212
    Char:  3
    Error:  [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application.
    Code:  80004005
    Source:  Microsoft OLE DB Provider for ODBC Drivers
    Line 212 contains:
    objConnection.Open "DSN=charge_codes_XLS;"
    It seemed to me that wscript.exe will only communicate properly with an identical environment (x32 to x32 or x64 to x64, but not x64 to x32 or x32 to x64).  With that in mind, I found a way around the error by running my script via the 32bit version of Windows Script Host.  I changed the shortcut path from "X:\XML_CHECK.vbs" to "C:\Windows\SysWOW64\wscript.exe X:\XML_CHECK.vbs" and the script appears to function ok. 
    What I really want to know is if there is a way to run my script via the 64bit version of wscript.exe yet have it connect to the 32bit ODBC subsystem? Is there a specific connection string I can use or am I just out of luck until Microsoft puts out 64bit Excel drivers?

    I faced the same issue recently. There was a 32bit MSOffice installed on the 64bit server and the same visual basic code worked from MS Office script debugger, and did not in the cscript/wscript.
    It seems that 
      - the  cscript/wscript used 64bit ODBC driver
      - the  office used     32bit ODBC driver
    Excel drivers are installed for 32bit ODBC (because of 32 bit office the ODBC manager 32bit was a full hand of drivers).
    Excel drivers are NOT installed for 64bit ODBC manager (because of 32 bit OFFICE) and can not be installed while the 32bit MS OFFICE is installed.
    The SQL drivers are installed for 64bit ODBC (so that is why the SQL connection was established well)
    The solution would be to run .js .vbs scripts in 32 bit environment:
    \windows\SysWOW64\cscript.exe or \windows\SysWOW64\wscript.exe 
    Search for more with: how do i run a vbscript in 32 bit mode on a 64 bit machine

  • How to use jcifs to access SMB share via webdynpro app ?

    Hello All,
    I am trying to access a protected intranet share via my webdynpro application. I have uses jcifs api to access the jcifs functions. However, I am stuck with running the application on webAS as it gives a runtime exception  java.lang.NoClassDefFoundError: jcifs/smb/SmbFile .
    I included the jcifs jar into a lib project and also deployed it onto the j2ee engine. Compilation works fine now, but it fails it runtime. Can someone please tell me what is the best way to use external libraries i.e jars in one's application so that it has no runtime errors on j2ee engine ?

    thkx Mahesh for the info, i had been trying the destination service method for some time now
    but there is a portal runtime exception when i try
    destinationService.getDestinationNames("RFC") or for WebService or HTTP
    i check the default trace and this is the error stated there
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDException.java):20: class IDException is public, should be declared in a file named IDException.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDMessage.java):48: class IDMessage is public, should be declared in a file named IDMessage.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/IDExceptionMessage.java):10: class IDExceptionMessage is public, should be declared in a file named IDExceptionMessage.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/ExternalizableException.java):19: class ExternalizableException is public, should be declared in a file named ExternalizableException.java
    (source unavailable)
    /usr/sap/<>/<>/j2ee/cluster/server0/bin/ext/security.class/tc_sec_saml_util.jar(com/sap/security/core/server/util0/LogUtil.java):26: class LogUtil is public, should be declared in a file named LogUtil.java
    (source unavailable)
    5 errors
    Please help regarding this.

  • How to use SNMP to access interface counters for WAN port when not in bridged mode

    Hi All,
    Can't fault my timecapsule, however just struggling to get one little bit of functionality working.  I'm keen to get access to the WAN port interface counter information via SNMP, so I can track total bandwidth/throughput & also volume. 
    I have no issue getting SNMP to work & can see the 2.4 & 5.0GHz network counters, also total number of WIFI clients, wlan0, wlan1 and bridge0 interfaces.  Trouble is none of these are the WAN/external ethernet port.
    I see that it is likely that I'm trying to find the vlan1 port, however from what I'm reading this may only be available when the device is running in a routed mode (I'm running in bridge mode).
    Anyone able to suggest anything?

    Some cable modem you can turn off NAT.. and then use the TC in router mode.. or even use DMZ if the cable router allows that.
    Have you ever looked at gargoyle router firmware and its ability to count and quota all clients connecting to internet service.. it is a simply fantastic firmware and can be loaded onto a router that costs $70-130 dollars.. it is 3rd party but very solid if you choose the right combo.
    http://www.gargoyle-router.com/wiki/doku.php?id=screenshots

  • How to use API to access embedded LDAP

    how can I access the embedded LDAP through API,such as to query
    a user from it. who can give me a example

    how can I access the embedded LDAP through API,such as to query
    a user from it. who can give me a exampleThere no public API to access LDAP but you can do something
    like(programatically)
    AuthenticationProviderMBean [] providers =
    Admin.getInstance().getActiveDomain().getSecurityConfiguration().findDefault
    Realm().getAuthenticationProviders();
    for (int i=0; providers != null && i <providers.length; i++)
    System.out.println("Providers: " + providers.toString());
    if (providers[i] instanceof UserReader)
    UserReader reader = (UserReader)providers[i];
    try {
    } catch (Exception e) {
    -utpal

Maybe you are looking for

  • How can I transfer a text tone to my new iphone?

    I purchased a text tone two years ago when I had an iPhone 4S.  I recently purchased an iPhone 5S and want to use that same text tone but cannot figure out how in the world to get it transferred over to my new phone.  I've looked online and tried sev

  • JTable in 1.2.2 and 1.3

    I am using JTable in 1.2.2 and it works perfectly . My table has column group. But when I compile the same code by 1.3 and run in 1.3 I get the NULLPOINTER exception a line marked by =>: TableColumn aColumn = columnModel.getColumn(column); TableCellR

  • Snow Leopard and Appleworks

    I have several scrips I use that access Appleworks. Since installing Snow Leopard, Apple Script crashes when I try to run any of them. When I first opened AppleWorks after the OS update, it told me I had to install "Rosetta," which I did and AW now o

  • IMPORT into Development server using 10g data dump

    Hello, I need to import(refresh) a number of schemas from Production into Development. Do I have to drop the schemas in Developement frist prior to doing an impdp into Development from Production? What would be the steps to refresh(impdp) from a Prod

  • Adjust group automation relative to individual track

    i'm working with a single guitar that's been recorded on 3 different tracks with different mics. The first two tracks are close miked and the 3rd is distant. The fader levels are set differently for eq purposes and atmosphere and i'd like to retain t