Want the link to open EAS IN WEb mode and also the Java API details needed

Want the link to open EAS IN WEb mode and also the Java API details needed to get it up and running.
Kindly provide the answer if knows.
Thanks .

Yes, you can have single sign on enabled on multiple essbase servers,
It works like using single userid and password across mulple servers. you can configure essbase server to read from active directory.
you can configure css.xml file in bin folder
sample CSS FILE
here is an example of a css.xml
<?xml version="1.0" encoding="UTF-8"?>
<css xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<spi>
<provider>
<msad name="msad1"> <trusted>false</trusted>
<url>ldap://ldapserver:389/dc=CompanyName,dc=com</url>
<userDN>CN=#######,OU=Security Accounts,OU=IT,DC=CompanyName,DC=com</userDN>
<password>########</password>
<authType>simple</authType>
<identityAttribute>dn</identityAttribute>
<user>
<loginAttribute>sAMAccountName</loginAttribute>
<fnAttribute>givenname</fnAttribute>
<snAttribute>sn</snAttribute>
<emailAttribute>mail</emailAttribute>
<objectclass>
</objectclass>
</user>
<group>
<url>cn=LostAndFound</url>
</group>
</msad>
</provider>
</spi>
<searchOrder>
<el>msad1</el>
</searchOrder>
<token>
<timeout>60</timeout>
</token>
<logger>
<priority>ERROR</priority>
</logger>
</css>

Similar Messages

  • How do I create a user, in my context in OID using the Java API

    How do I create a user, with subschema, in my context in OID using the JAVA API
    I need to be able to create new users in my OID, I was doing it in our old iPlant Directory, but I don't seem to see the same methods in the Oracle LDAP API. I figured out how to get and modify the attributes of a user, but I can't seem to figure out how to add a new one.

    Try this code , modify it accordingly
    ------- cut here -------
    import oracle.ldap.util.*;
    import oracle.ldap.util.jndi.*;
    import javax.naming.NamingException;
    import javax.naming.directory.*;
    import java.io.*;
    import java.util.*;
    public class NewUser
    final static String ldapServerName = "yourLdapServer";
    final static String ldapServerPort = "4032";
    final static String rootdn = "cn=orcladmin";
    final static String rootpass = "welcome1";
    public static void main(String argv[]) throws NamingException
    // Create the connection to the ldap server
    InitialDirContext ctx = ConnectionUtil.getDefaultDirCtx(ldapServerName,
    ldapServerPort,
    rootdn,
    rootpass);
    // Create the subscriber object using the default subscriber
    Subscriber mysub = null;
    String [] mystr = null;
    try {
    RootOracleContext roc = new RootOracleContext(ctx);
    mysub = roc.getSubscriber(ctx, Util.IDTYPE_DN, "o=dec", mystr);
    catch (UtilException e) {
    e.printStackTrace();
    // Create ModPropertySet with user information
    ModPropertySet mps = new ModPropertySet();
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"cn", "Steve.Harvey");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"sn", "Harvey");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"uid", "SHarvey");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"givenname", "Steve");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"mail", "[email protected]");
    mps.addProperty(LDIF.ATTRIBUTE_CHANGE_TYPE_ADD,"userpassword", "welcome1");
    // Create the user
    User newUser = null;
    try {
    newUser = mysub.createUser(ctx, mps, true);
    System.out.println("New User DN: " + newUser.getDN(ctx));
    catch (UtilException e) {
    e.printStacktrace();
    ------- end cut --------
    Enjoy.
    Suhail

  • Want a link to open in a new tab instead of replacing a current tab

    when I click in mac mail, it replaces a website in a current tab. I want a link to open in a brand new tab of its own.

    sorry, that doesn't work. In mac mail when I control-clicked (mac version of right click) the only option was open link -- and it replaced the awesome pandora tune i was listening to with this page.
    Chrome automatically opens a new tab, I'm hoping for similar behavior from firefox.

  • How to generate all the links of the java api methods

    Hi all,
    I noticed from my docs that the JAVA API methods are not linked. They are just static text. How can i link all the java api methods to a root url examble: java.sun.com/j2se/docs/javax/JFrame#pack()
    java.sun.com/j2se/docs/javax/JFrame#setVisible()
    java.sun.com/j2se/docs/java/sql/ResultSet#executeQuery()
    and so on.
    Thank you in advance.

    It sounds like you'd like to link to our docs on java.sun.com.
    You can do this using -link or -linkoffline
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/solaris/javadoc.html#link
    Start by reading the section "Choosing between -linkoffline and -link"
    Basically, try this option first:
    -link http://java.sun.com/j2se/1.4/docs/api
    If this fails (because your shell cannot access java.sun.com),
    then copy package-list from java.sun.com to your current directory,
    then use this option:
    -linkoffline http://java.sun.com/j2se/1.4/docs/api .
    Notice that the second argument is a dot "." to indicate
    that package-list is in the current directory.
    -Doug Kramer
    Javadoc team

  • Can I create a cert with the Java API only?

    I'm building a client/server app that will use SSL and client certs for authenticating the client to the server. I'd like for each user to be able to create a keypair and an associated self-signed cert that they can provide to the server through some other means, to be included in the server's trust store.
    I know how to generate a key pair with an associated self-signed cert via keytool, but I'd prefer to do it directly with the Java APIs. From looking at the Javadocs, I can see how to generate a keypair and how to generate a cert object using an encoded representation of the cert ( e.g. java.security.cert.CertificateFactory.generateCertififcate() ).
    But how can I create this encoded representation of the certificate that I need to provide to generateCertificate()? I could do it with keytool and export the cert to a file, but is there no Java API that can accomplish the same thing?
    I want to avoid having the user use keytool. Perhaps I can execute the appropriate keytool command from the java code, using Runtime.exec(), but again a pure java API approach would be better. Is there a way to do this all with Java? If not, is executing keytool via Runtime.exec() the best approach?

    There is no solution available with the JDK. It's rather deficient wrt certificate management, as java.security.cert.CertificateFactory is a factory that only deals in re-treads. That is, it doesn't really create certs. Rather it converts a DER encoded byte stream into a Java Certificate object.
    I found two ways to create a certificate from scratch. The first one is an all Java implementation of what keytool does. The second is to use Runtime.exec(), which you don't want to do.
    1. Use BouncyCastle, a free open source cryptography library that you can find here: http://www.bouncycastle.org/ There are examples in the documentation that show you how to do just about anything you want to do. I chose not to use it, because my need was satisfied with a lighter approach, and I didn't want to add a dependency unnecessarily. Also Bouncy Castle requires you to use a distinct version with each version of the JDK. So if I wanted my app to work with JDK 1.4 or later, I would have to actually create three different versions, each bundled with the version of BouncyCastle that matches the version of the target JDK.
    2. I created my cert by using Runtime.exec() to invoke the keytool program, which you say you don't want to do. This seemed like a hack to me, so I tried to avoid it; but actually I think it was the better choice for me, and I've been happy with how it works. It may have some backward compatibility issues. I tested it on Windows XP and Mac 10.4.9 with JDK 1.6. Some keytool arguments changed with JDK versions, but I think they maintained backward compatibility. I haven't checked it, and I don't know if I'm using the later or earlier version of the keytool arguments.
    Here's my code.
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.security.KeyStore;
    import java.security.KeyStoreException;
    import java.security.NoSuchAlgorithmException;
    import java.security.cert.CertificateException;
    import javax.security.auth.x500.X500Principal;
    import javax.swing.JOptionPane;
    public class CreateCertDemo {
         private static void createKey() throws IOException,
          KeyStoreException, NoSuchAlgorithmException, CertificateException{
         X500Principal principal;
         String storeName = ".keystore";
         String alias = "keyAlias";
         principal = PrincipalInfo.getInstance().getPrincipal();
         String validity = "10000";
         String[] cmd = new String[]{ "keytool", "-genKey", "-alias", alias, "-keyalg", "RSA",
            "-sigalg", "SHA256WithRSA", "-dname", principal.getName(), "-validity",
            validity, "-keypass", "keyPassword", "-keystore",
            storeName, "-storepass", "storePassword"};
         int result = doExecCommand(cmd);
         if (result != 0){
              String msg = "An error occured while trying to generate\n" +
                                  "the private key. The error code returned by\n" +
                                  "the keytool command was " + result + ".";
              JOptionPane.showMessageDialog(null, msg, "Key Generation Error", JOptionPane.WARNING_MESSAGE);
         KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
         ks.load(new FileInputStream(storeName), "storePassword".toCharArray());
            //return ks from the method if needed
    public static int doExecCommand(String[] cmd) throws IOException{
              Runtime r = Runtime.getRuntime();
              Process p = null;
              p = r.exec(cmd);
              FileOutputStream outFos = null;
              FileOutputStream errFos = null;
              File out = new File("keytool_exe.out");
              out.createNewFile();
              File err = new File("keytool_exe.err");
              err.createNewFile();
              outFos = new FileOutputStream(out);
              errFos = new FileOutputStream(err);
              StreamSink outSink = new StreamSink(p.getInputStream(),"Output", outFos );
              StreamSink errSink = new StreamSink(p.getErrorStream(),"Error", errFos );
              outSink.start();
              errSink.start();
              int exitVal = 0;;
              try {
                   exitVal = p.waitFor();
              } catch (InterruptedException e) {
                   return -100;
              System.out.println (exitVal==0 ?  "certificate created" :
                   "A problem occured during certificate creation");
              outFos.flush();
              outFos.close();
              errFos.flush();
              errFos.close();
              out.delete();
              err.delete();
              return exitVal;
         public static void main (String[] args) throws
              KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException{
              createKey();
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.io.PrintWriter;
    //Adapted from Mike Daconta's StreamGobbler at
    //http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=4
    public class StreamSink extends Thread
        InputStream is;
        String type;
        OutputStream os;
        public StreamSink(InputStream is, String type)
            this(is, type, null);
        public StreamSink(InputStream is, String type, OutputStream redirect)
            this.is = is;
            this.type = type;
            this.os = redirect;
        public void run()
            try
                PrintWriter pw = null;
                if (os != null)
                    pw = new PrintWriter(os);
                InputStreamReader isr = new InputStreamReader(is);
                BufferedReader br = new BufferedReader(isr);
                String line=null;
                while ( (line = br.readLine()) != null)
                    if (pw != null)
                        pw.println(line);
                    System.out.println(type + ">" + line);   
                if (pw != null)
                    pw.flush();
            } catch (IOException ioe)
                ioe.printStackTrace(); 
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.security.auth.x500.X500Principal;
    public class PrincipalInfo {
         private static String defInfoString = "CN=Name, O=Organization";
         //make it a singleton.
         private static class PrincipalInfoHolder{
              private static PrincipalInfo instance = new PrincipalInfo();
         public static PrincipalInfo getInstance(){
              return PrincipalInfoHolder.instance;
         private PrincipalInfo(){
         public X500Principal getPrincipal(){
              String fileName = "principal.der";
              File file = new File(fileName);
              if (file.exists()){
                   try {
                        return new X500Principal(new FileInputStream(file));
                   } catch (FileNotFoundException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                        return null;
              }else{
                   return new X500Principal(defInfoString);
         public void savePrincipal(X500Principal p) throws IOException{
              FileOutputStream fos = new FileOutputStream("principal.der");
              fos.write(p.getEncoded());
              fos.close();
    }Message was edited by:
    MidnightJava
    Message was edited by:
    MidnightJava

  • Compiling the Java API

    Hi,
    I'm relatively new to developing in Java, so this might be a very dumb question...
    Recently, I downloaded the JDK and the source for the Java API and I've been trying to compile everything in java.util.
    Frustratingly, I can't get all of the classes in java.util to compile straight off the bat.. Specifically, the classes Locale, Currency, JapaneseImperialCalendar and Calendar report a missing symbol error - either for LocaleData or OpenListResourceBundle.
    I've tried hunting for the source for both of these classes, and also looked around the web to see what I could find, but found nothing. I've also looked for a class file or jar file that might be missing from my class path but I haven't found anything that looks useful.
    So something in the configuration of what I'm doing is wrong - if anyone can offer any help on getting java.util to compile I would greatly appreciate it!
    Thanks,
    Chris

    Hi,
    Thank you all for your help - unfortunately, I specifically want to compile collections because I'm wanting to play around with and change some of them a little, and I figure the first thing to do is to get them compiling "out of the box".
    Any suggestions as to where I can get the full source from would be much appreciated, I'm sure that's a particularly dumb question, but nonetheless I have looked for that as well with no luck.
    Alternately, I'm sure that, e.g., LocaleData.class exists somewhere, even if it's only in a part of the JRE I've downloaded - else code which uses the Calendar class could never work! If anyone has any hints as to where I might find these class files that would also solve my problems!
    Thanks :)
    Chris

  • Help with the Java API

    Search on an attribute of the custom class using the Java
    API.
    I taking one of the provided classes, a "VCARD Street Address."
    Inserted the XML for it. Added some documents of that class.
    Then I set City="Charlotte." Double-checked it in the database with
    sql*plus -- I see records matching city=charlotte.
    However, searching using the Java API, I comes up blank. Using the
    following classes:
    attributequalification
    searchclause
    search
    *************Query Tester.java************
    import java.util.*;
    import java.io.*;
    import java.text.*;
    import java.util.zip.*;
    import java.rmi.RemoteException;
    // Runner Specific Imports
    import oracle.ifs.common.*;
    import oracle.ifs.utils.common.*;
    import oracle.ifs.beans.*;
    import oracle.ifs.search.*;
    import oracle.ifs.adk.filesystem.IfsFileSystem;
    public class QueryTester {
    protected SearchClause getAttributeSearchClause(SearchClause
    searchClause) throws IfsException{
    try {
    AttributeQualification attributeQualification = new
    AttributeQualification();
    attributeQualification.setAttribute("VCARDSTREETADDRESS","CITY");
    attributeQualification.setOperatorType(AttributeQualification.LIKE);
    attributeQualification.setValue("C%");
    searchClause = new
    SearchClause(searchClause,attributeQualification, searchClause.AND);
    return searchClause;
    catch (RuntimeException ex) {
    String exceptionText = "RuntimeException in
    getAttributeSearchClause(). Nested Exception:" + ex;
    System.out.println (exceptionText);
    throw ex;
    catch (IfsException ex) {
    String exceptionText = "IfsException in
    getAttributeSearchClause(). Nested Exception:" + ex;
    System.out.println (exceptionText);
    throw ex;
    protected SearchClassSpecification getSearchClassSpecification()
    throws IfsException {
    try {
    String[] searchClasses = {"DOCUMENT","CONTENTOBJECT",
    "VCARDSTREETADDRESS"};
    SearchClassSpecification searchClassSpecification = new
    SearchClassSpecification(searchClasses);
    //searchClassSpecification.addResultClass("DOCUMENT");
    searchClassSpecification.addResultClass("VCARDSTREETADDRESS");
    return searchClassSpecification;
    catch (IfsException ex) {
    String exceptionText = "Error in getSearchClassSpecification :
    " + ex;
    System.out.println (exceptionText);
    throw ex;
    public static void main (String[] args) {
    try {
    QueryTester qt = new QueryTester();
    System.out.println ("Logging in.");
    IfsFileSystem IfsAPI = new IfsFileSystem("cvars", "cvars",
    "docrunner", "ifssys");
    System.out.println ("Got this far.");
    LibrarySession libSession = IfsAPI.getLibrarySession();
    // For every document that it a content object we want to
    search
    JoinQualification joinQualification = new JoinQualification();
    joinQualification.setLeftAttribute("DOCUMENT",
    "CONTENTOBJECT");
    joinQualification.setRightAttribute("CONTENTOBJECT", null);
    oracle.ifs.beans.Folder searchFolderObject = null;
    searchFolderObject = libSession.getRootFolder();
    FolderRestrictQualification folderRestrictQualification = new
    FolderRestrictQualification();
    folderRestrictQualification.setStartFolder(searchFolderObject);
    SearchClause searchClause = null;
    SearchClause baseSearchClause = new
    SearchClause(joinQualification, folderRestrictQualification,
    SearchClause.AND);
    searchClause = qt.getAttributeSearchClause(baseSearchClause);
    AttributeSearchSpecification attribSearchSpecification = new
    AttributeSearchSpecification();
    attribSearchSpecification.setSearchClassSpecification(qt.getSearchClassSpecification());
    System.out.println ("Set the Search Class Specificiation.");
    attribSearchSpecification.setSearchQualification(searchClause);
    Search attributeSearch = new Search(libSession,
    attribSearchSpecification);
    System.out.println ("About to open Attribute Search . ");
    attributeSearch.open();
    System.out.println ("Opened the search");
    SearchResultObject[] sro = attributeSearch.getItems();
    if (sro!=null)
    System.out.println ("Results : " + sro.length);
    libSession.disconnect();
    catch (IfsException ifsex) { System.out.println (ifsex); }
    catch (RuntimeException rux) { System.out.println (rux); }
    null

    You said 'Then I set City="Charlotte." Double-checked it in the database with
    sql*plus -- I see records matching city=charlotte.'
    Your description uses both 'Charlotte' and 'charlotte'.
    Does the word 'Charlotte' appear in the database in all lower case or mixed-case?
    null

  • How can I create a new User with the Java API like OIDDAS do?

    Hello,
    I'm currently working on an BPEL based process. And i need to create an OCS user. So far I can create an user in the OID. But I cant find any documentation about given this user an email account,calendar and content function etc.
    Did anybody know if there are some OIDDAS Webservices? Or did anybody know how to do this using the Java APIs?

    You are asking about a Database User I hope.
    You can look into the Oracle 8i Documentation and find various privillages listed.
    In particular, you may find:
    Chapter 27 Privileges, Roles, and Security Policies
    an intresting chapter.
    You may want to do this with the various tools included with 8i - including the
    Oracle DBA Studio - expand the Security node and you can create USERS and ROLES.
    Or use SQL*Plus. To create a
    user / password named John / Smith, you would login to SQL*Plus as System/manager (or other) and type in:
    Create user John identified by Smith;
    Grant CONNECT to John;
    Grant SELECT ANY TABLE to John;
    commit;
    There is much more you can do
    depending on your needs.
    Please read the documentation.
    -John
    null

  • Using the Java API

    Hi everyone,
    I just wanted to see if anyone knows whether I need a license to use the Java API included in the trial version of Adobe LiveCycle ES.
    I need to include some PDF manipulation code for dynamic XFA forms in an application, and I first read that XPAAJ jar was free. So is the API here also free or do I need a license? If anyone knows, could you please point me in the direction of the details if a license is needed.
    I would appreciate your help.
    Thanks.
    Mira.

    Mira
    You don't need a license as long as the application you're building is for evaluation or testing, and NOT for production use.
    You will need to purchase a license for production use.
    Licensing can be complex, and you should contact your local Adobe office or enterprise partner for details.
    XPAAJ was never free, it was bundled with other Adobe products.
    It has been deprecated, and is no longer supplied or supported, as far as I'm aware. You will need to purchase a LiveCycle license of some sort.
    Howard
    http://www.avoka.com

  • Using the Java API to address a specific instance

    Hi,
    I've created another operation (onRequest) in the client of an async. process.
    <!-- portType implemented by the Exp2 BPEL process -->
    <portType name="Exp2">
    <operation name="initiate">
    <input message="tns:Exp2RequestMessage"/>
    </operation>
    <operation name="onRequest">
    <input message="tns:Exp2onRequestMessage"/>
    </operation>
    </portType>
    I then use this operation in a recieve activity so that I can stall the flow of the instance, and then call it whenever I whant from a RMI client.
    <receive createInstance="no" name="onRequest" partnerLink="client" portType="tns:Exp2" operation="onRequest" variable="inputRequest"/>
    My problem is that, after the creation of one or more instances of this process, how can I send a post message to a specific instance using the Java API?
    I understand that i should use something like...
    deliveryService.post("Exp2", "onRequest", nm );
    but there's nothing to "say" that this post message is to be delivered to the instance with the ID "xx".
    I also know that I need to use correlation on this but I don't know how.
    I would really apreciate some help on this.
    Thanks...

    This is a very good question: here is a code snippet that shows how you can add a conversation id to the NormalizedMessage that you are sending to the delivery service.
    HashMap properties = new HashMap();
    properties.put("conversationId", "yourUniqueKeyHere");
    // construct the normalized message and send to the
    // delivery service
    NormalizedMessage nm = new NormalizedMessage( );
    nm.setProperties(properties );
    // The rest is the same
    nm.addPart("XXX" , someElement );
    Please note that you will need to use the conversationId property both with the message you use to initiate the BPEL process and the message you use to perform the onRequest call.
    Please note that if at some point you want to perform any of the 2 calls through the SOAP channel, you can embed he conversationId in the WS-Addressing header within the relateTo element.
    I hope this helps.
    Edwin

  • Using the Java APIs

    I am attempting to use the java api in my reporting solution. The application that we are developing is using JSF and java. I wanted to keep the same look and feel for my reports.
    First, I created a very simple rtf template in Microsoft word using BI Publisher Desktop. This simple template is just a table layout of data. No groupings. I created my datatemplate and ran the DataProcessor, the RTFProcessor, and FOprocessor objects. This worked correctly.
    I next created another rtf template. This rtf template contains a grouping on Po_Number. I also modified my data template to group by Po_number. The DataProcessor and the RTFProcessor works fine. However, the FO Processor gives me the following message:
    XDOException <Line 43, Column 93>: XSL-1015: (Error) Function 'current-group' not found.
    However, I can successfully preview this template (with data) in Microsoft Word. Any ideas what may cause this.

    It's either a template issue or your missing some jar files (probably jar files).
    I would highly recommend you download the BIPublisherIDE. All this code and framework is already written and it's free!
    http://bipublisher.blogspot.com/2008/03/bi-publisher-bipublisheride.html
    Ike Wiggins
    http://bipublisher.blogspot.com

  • Forms 6i and the JAVA API

    Hello,
    I have scanned this forum for the above subject and don't think there is a similar message that anyone else has submitted.
    We have a Client/Server application that has been built upon Forms 6i. We're running against an Oracle 8i, rel 8.1.5 database.
    I want to write some Java modules that will scan through all our source fmb's building up an inventory of useful info. This will enable us to judge the impact of such things as dictionary (table/view/package) changes.
    Is there a Java API available out there that I could use for my forms 6i forms? I know that there is a C API available - but I don't know C and neither do I have a C compiler!
    thank you,
    Mohan

    The Java API to Oracle Forms is a new feature of Oracle9i Forms. So you'll need to upgrade to Oracle9i Forms and then you will be able to use the Java API instead of the C API.

  • Is there a firefox or best browser (except IE) for Windows Server 2003 R2 Standard? if so, is it free of charge (open source) forever? where can I get it? details. need answers to all questions

    is there a firefox or best browser (except IE) for Windows Server 2003 R2 Standard? if so, is it free of charge (open source) forever? where can I get it? details. need answers to all questions

    # As to what is the best browser, it is subjective. I think it is the best, others will disagree. There is no special version for Windows Server 2003, the usual version works on it.
    # It is free of charge and will always be free.
    # It is open source.
    # You can get it from http://www.mozilla.com

  • Do you have the java api on your computer?

    Just an observation.
    Earlier when i started java programing, i used alot of books and tutorials which i still do. when i was faced with a problem eg. a method to do this or that, i used to look for tutorials for how to do it, and sometimes i couldnt get. After Many months, i stumbled upon java api, a documents that cointains all methods, classes and interfaces in java. my output increased, posts in this forum to seek help reduced, and am happier now?
    Dou you have this api in your computer? i personally think newbies can accelerate their learning path by having this two references
    1. the java tutorial
    2. the java api
    your thoughts?

    your thoughts?That it's time for you to stumble across the downloads section of this site and download jdk-6-doc.zip. You can download the Tutorials here
    db
    edit Lousy link parsing. Just go to the Tutorial home page and click the link provided.
    Are https links not allowed? Crazy.
    Edited by: Darryl.Burke

  • Help with Essbase 9 and the Java API

    Hi, I am trying to connect to Essbase from a Java desktop application and I am unable to do so. I need to know if I am in principle doing the right things and if I have the correct environment set up.
    We have a server with Essbase version 9.3.1. We normally use essbase via the Excel Addin, and I have already written Excel applications that utilise both the addin and the Essbase VB API. Now I need to connect to Essbase but from outside Excel and using the Java API. I have no idea what APS is nor does my Essbase Administrator.
    My application has the following code (adapted from a post in this forum) -
    public static void main(String[] args) {
    String s_userName = "user";
    String s_password = "password";
    String s_olapSvrName = "ustca111";
    String s_provider = "http://localhost:13080/aps/JAPI";
    try{
    IEssbase ess = IEssbase.Home.create(IEssbase.JAPI_VERSION);
    IEssDomain dom = ess.signOn(s_userName, s_password, false, null, s_provider);
    IEssOlapServer olapSvr = dom.getOlapServer(s_olapSvrName);
    olapSvr.connect();
    System.out.println("Connection to Analyic server '" + olapSvr.getName() + "' was successful.");
    olapSvr.disconnect();
    }catch(EssException exp){
    System.out.println(exp.getMessage());
    I am running my application on my computer, not on the Essbase server, and the username I am using is the same one I use (as a user of Essbase) via the Essbase Addin in Excel, not an admin login.
    When I run the app I get:
    "Cannot connect to Provider Server.Make sure the signon parameters are correct and the Provider Server 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 normal read-access login, like the one I use in Excel?
    2) Is the provider always the same regardless of the computer, i.e. "http://localhost:13080/aps/JAPI"; How do I know what this has to be? Where do I get this information from?
    3) How can I make sure that the Server is running the necessary "Provider Server", is this just a service that will show on services.msc of the server? What should I ask the Essbase Administrator for him to tell me what I need?
    Thank you very much.
    Leo

    Tim, when I look in my computer's Essbase installation path I can only find the following jar files (from the ones you have listed).
    C:\Hyperion\AnalyticServices\JavaAPI\external\css\log4j-1.2.8.jar
    C:\Hyperion\AnalyticServices\JavaAPI\lib\ess_es_server.jar
    C:\Hyperion\AnalyticServices\JavaAPI\lib\ess_japi.jar
    I do not have css-9_3_1.jar or interop-sdk.jar.
    In order to try the embedded mode, I added the three jars I have to the classpath, and have re-built and ran with "embedded" as the provider. This is what I got in my output screen:
    run:
    Error accessing the properties file. essbase.properties: essbase.properties (The system cannot find the file specified). Using default values.
    Hyperion Provider Services - Release 9.3.1.0.0 Build 168
    Copyright (c) 1991, 2007 Oracle and / or its affiliates. All rights reserved.
    connection mode : EMBEDDED
    essbase.properties: essbase.properties
    domain.db location: domain.db
    console log enable : false
    file log enable : false
    logRequest : false
    logLevel : ERROR
    java System properties -DESS_ES_HOME: null
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 2 seconds)
    As you can see, this has worked (as I get the data I was looking for at the end), but when I had the url in the provider string, I just get the below, without the initial errors:
    run:
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 2 seconds)
    Now that I can get both modes to work I intend to write a Windows application, place it in a shared drive, and allow multiple users to use it. Which mode should I use?
    By the way, I found the essbase.properties file in C:\Hyperion\AnalyticServices\JavaAPI\bin, but when I add it to my app and test it in embedded mode, I get even more errors, but it still gives me the result...output below:
    run:
    java.io.FileNotFoundException: ..\bin\apsserver.log (The system cannot find the path specified)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
    at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:96)
    at org.apache.log4j.RollingFileAppender.<init>(RollingFileAppender.java:60)
    at com.hyperion.dsf.server.framework.BaseLogger.addAppender(Unknown Source)
    at com.hyperion.dsf.server.framework.BaseLogger.setFileLogEnable(Unknown Source)
    at com.hyperion.dsf.server.framework.DsfLoggingService.sm_initialize(Unknown Source)
    at com.essbase.server.framework.EssOrbPluginDirect.setupLoggingService(Unknown Source)
    at com.essbase.server.framework.EssServerFramework.<init>(Unknown Source)
    at com.essbase.api.session.EssOrbPluginEmbedded.<init>(Unknown Source)
    at com.essbase.api.session.EssOrbPlugin.createPlugin(Unknown Source)
    at com.essbase.api.session.Essbase.signOn(Unknown Source)
    Hyperion Provider Services - Release 9.3.1.0.0 Build 168
    at com.essbase.api.session.Essbase.signOn_internal(Unknown Source)
    at com.essbase.api.session.Essbase.signOn(Unknown Source)
    at esstest.Main.main(Main.java:22)
    Copyright (c) 1991, 2007 Oracle and / or its affiliates. All rights reserved.
    connection mode : EMBEDDED
    log4j:WARN No appenders could be found for logger (com.hyperion.dsf.server.framework.BaseLogger).
    essbase.properties: essbase.properties
    log4j:WARN Please initialize the log4j system properly.
    domain.db location: ./data/domain.db
    console log enable : false
    file log enable : true
    logFileName : ../bin/apsserver.log
    logRequest : false
    logLevel : WARN
    java System properties -DESS_ES_HOME: null
    Scenario Markets Total Legal Entities Products
    Jan Feb Mar
    Standard Units 1.053264054859E7 1.60849856762E7 2.6234553348270003E7
    BUILD SUCCESSFUL (total time: 3 seconds)
    Thank you
    Leo

Maybe you are looking for

  • PowerBook G4 Install Issue - Still waiting for root device

    Hello Everyone and thank you for reading this post. I have a last generation PowerBook G4 which I wanted to give to a family member since I've upgraded to a newer MacBook Pro. I started by wiping the hard drive on the PB (in Target Disk Mode) using t

  • When downloading it gets to the point of checking addons and gets stuck and wont open.

    How do I get past checking addons when I cant open Firefox after downloading Firefox35.0? It seems to download fine but then it gets to the point of checking Addon compatibility and stops.

  • WL 7.0 on HP Non-Stop platform

    Where can I find out information on WLS 7.0 on the Non-Stop platform. I understand its suppose to be released on June 30. Who's JVM is it using? What version of Java? Who is testing it and are there any Beta customers for it? Thanks Tom

  • Automatically populate metadata field with file name?

    Hi, I'm not sure if this is possible... I'm working with many large batches of .jpg files, and am running them through Bridge in order to add metadata according to my client's guidelines. For every single file, my client requires that the "Descriptio

  • Kernel panic restart

    After I ran a software update, I restarted my Mac (Lion, IOS 5.1.1), but now I keep getting a kernel panic error message every time I restart. I tried restarting in safe mode, but got the same error message. I disconnected all USB and FireWire items,