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

Similar Messages

  • 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.

  • Help with autoplay mode and the controller

    i kno this is probably something really simple, but i can't
    seem to figure out how to change the delay timing for each
    individual slide in autoplay mode. i figured out how to change the
    delay of the controller, but there's only one place to change the
    number and it effects all the slides. i want to be able to adjust
    each slide for a different time delay. i've searched everywhere in
    flash help mode and all i've found is how to change the autoplay
    delay that changes all the slides at once. there's nothing about
    changing each one individually.
    anyone know how i can do this?
    thanks!

    What I have done is take the images from the Phot Slideshow
    and placed them
    in a Slide Presentation and then added the code that I
    suggested. I
    maintained the frame 1 code that enables the forward and back
    buttons.
    On each slide, you can chage the time delay after which the
    slide advances.
    Just change the variable "delay" in the on (reveal)
    I think its the sort of action your after. You can download
    slideshow.zip
    at:
    www.gravideo.com/fla/slideshow.zip

  • Help with MPEG - 2 and the sound...please

    Hey people...I am new to the Imovie and I am really excited on learning but I need some help. One problem:
    "If audio is missing from your imported QuickTime movie, you may be importing video in MPEG-1 Muxed format or MPEG-2 Muxed format. Only the video portion is imported from movies in these format"
    Does anyone know how I can get that audio from the clip????

    I justed asked the same question yesterday and this did it....
    http://danslagle.dvmix.com/mac/iMovie/tips_tricks/6018.shtml
    I just finished my first movie as a result of that too... so it works.
    brad

  • 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

  • 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

  • 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>

  • What's the phone number I should call for help with my iPhone and ihome dock?

    What's the phone number I should call for help with my iPhone and ihome dock?

    http://www.ihomeaudio.com/support/

  • I have another account and my ipad with this account and the password i forget it and the reset question i need help my ipad need active to open thank

    my password

    i have another account and my ipad with this account and the password i forget it and the reset question help me my ipad need active to open and i know my account name

  • I have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest from itouch to laptop please??

    i have an itouch, most songs i got off my cd's. i have a new laptop and want to put songs from itouch to laptop.I can only get the songs that i purchased onto the laptop? need help with how to get the rest of the songs (from my cd's) from itouch to laptop please??

    See this previous discussion:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities

  • My ipad battery ran out while verifiying the last update. Now all I see on the screen is the plugin symbol with an arrow and the itunes symbol. Help!

    Help, as above, lost power part way though verifiying last update.
    Now all i see is the plugin symbol with an arrow, and the itunes symbol
    in the middle of a black screen.
    Does anyone have any ideas? I've tried  powering down, with no luck.
    Help, please, or should I just box it up and send to repair center?

    CREEEP wrote:
    Now all i see is the plugin symbol with an arrow, and the itunes symbol in the middle of a black screen.
    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    3: If the device doesn't appear in iTunes, try using the Steps in this article to force the device into Recovery Mode.
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    Note on Recovery Mode.
    You may need to try this More than Once... Be sure to Follow ALL the Steps...
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • I am using a mini display to hdmi with my macbook and the display works fine. However, the sound will only play iTunes such as music and movies but when i go online to watch movies on youtube it will not play any sound. Please help

    I am using a mini display to hdmi with my macbook and the display works fine. However, the sound will only play iTunes such as music and movies but when i go online to watch movies on youtube it will not play any sound. Please help

    HDCP maybe? Read this http://www.macnn.com/articles/08/11/26/displayport.drm.conflict/

  • My mac froze in an application so I shut it down by powering off with button, now when I try to turn it on I have a grey screen with Apple loge and the timer swirling but it doesn't get past this, please help!

    I Shut down my Mac by holding in the power button after my iMac froze and now when I try to turn it back it on all I get is the grey screen with Apple loge and the timer and doesn't get any further.  I have tried the diagnostic test but nothing was found.

    Take each of these steps that you haven't already tried. Stop when the problem is resolved.
    To restart an unresponsive computer, press and hold the power button for a few seconds until the power shuts off, then release, wait a few more seconds, and press it again briefly.
    Step 1
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    If the startup process stops at a blank gray screen with no Apple logo or spinning "daisy wheel," then the startup volume may be full. If you had previously seen warnings of low disk space, this is almost certainly the case. You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.
    Step 3
    Sometimes a startup failure can be resolved by resetting the NVRAM.
    Step 4
    If a desktop Mac hangs at a plain gray screen with a movable cursor, the keyboard may not be recognized. Press and hold the button on the side of an Apple wireless keyboard to make it discoverable. If need be, replace or recharge the batteries. If you're using a USB keyboard connected to a hub, connect it to a built-in port.
    Step 5
    If there's a built-in optical drive, a disc may be stuck in it. Follow these instructions to eject it.
    Step 6
    Press and hold the power button until the power shuts off. Disconnect all wired peripherals except those needed to start up, and remove all aftermarket expansion cards. Use a different keyboard and/or mouse, if those devices are wired. If you can start up now, one of the devices you disconnected, or a combination of them, is causing the problem. Finding out which one is a process of elimination.
    Step 7
    If you've started from an external storage device, make sure that the internal startup volume is selected in the Startup Disk pane of System Preferences.
    Start up in safe mode. Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to start and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know the login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    When you start up in safe mode, it's normal to see a dark gray progress bar on a light gray background. If the progress bar gets stuck for more than a few minutes, or if the system shuts down automatically while the progress bar is displayed, the startup volume is corrupt and the drive is probably malfunctioning. In that case, go to Step 11. If you ever have another problem with the drive, replace it immediately.
    If you can start and log in in safe mode, empty the Trash, and then open the Finder Info window on the startup volume ("Macintosh HD," unless you gave it a different name.) Check that you have at least 9 GB of available space, as shown in the window. If you don't, copy as many files as necessary to another volume (not another folder on the same volume) and delete the originals. Deletion isn't complete until you empty the Trash again. Do this until the available space is more than 9 GB. Then restart as usual (i.e., not in safe mode.)
    If the startup process hangs again, the problem is likely caused by a third-party system modification that you installed. Post for further instructions.
    Step 8
    Launch Disk Utility in Recovery mode (see Step 1.) Select the startup volume, then run Repair Disk. If any problems are found, repeat until clear. If Disk Utility reports that the volume can't be repaired, the drive has malfunctioned and should be replaced. You might choose to tolerate one such malfunction in the life of the drive. In that case, erase the volume and restore from a backup. If the same thing ever happens again, replace the drive immediately.
    This is one of the rare situations in which you should also run Repair Permissions, ignoring the false warnings it may produce. Look for the line "Permissions repair complete" at the end of the output. Then restart as usual.
    Step 9
    If the startup device is an aftermarket SSD, it may need a firmware update and/or a forced "garbage collection." Instructions for doing this with a Crucial-branded SSD were posted here. Some of those instructions may apply to other brands of SSD, but you should check with the vendor's tech support.  
    Step 10
    Reinstall the OS. If the Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade.
    Step 11
    Do as in Step 9, but this time erase the startup volume in Disk Utility before installing. The system should automatically restart into the Setup Assistant. Follow the prompts to transfer the data from a Time Machine or other backup.
    Step 12
    This step applies only to models that have a logic-board ("PRAM") battery: all Mac Pro's and some others (not current models.) Both desktop and portable Macs used to have such a battery. The logic-board battery, if there is one, is separate from the main battery of a portable. A dead logic-board battery can cause a startup failure. Typically the failure will be preceded by loss of the settings for the startup disk and system clock. See the user manual for replacement instructions. You may have to take the machine to a service provider to have the battery replaced.
    Step 13
    If you get this far, you're probably dealing with a hardware fault. Make a "Genius" appointment at an Apple Store, or go to another authorized service provider.

  • National characters and new Java API

    Hi All,
    I'm looking for your experience with new java api and national characters (like: ü, &#347;, &#263;, etc.). The problem is that when record was updated using MDM Data Manager, and retrieved using new java api - national character are invalid (in java string the national character are represented incorrectly).
    It's strange due to fact that when I create or update this record from java API it's looks fine. Second finding is that old java api (MDM4J) works fine on text fields with national characters.
    Maybe I forget to set something in server configuration / repository / or on java api connection - any help appreciated...
    Regards, marcin

    While retrieving data via the Java API 2,
    you should set the Unicode Normalization after the user session is authenticated.
    I guess this is available in SP5 patch.
    The documentation for this is available at
    https://help.sap.com/javadocs/MDM/current/index.html
    Package: com.sap.mdm.commands
    SetUnicodeNormalizationCommand cmd = new SetUnicodeNormalizationCommand(connectionAccessor);
    cmd.setSession(userSession);
    <b>cmd.setNormalizationType</b>(SetUnicodeNormalizationCommand.NORMALIZATION_COMPOSED);
    cmd.execute();
    This command is used to set the Unicode normalization.  This is used for the lifetime of the session. It should be set after the session is authenticated.
    Unicode normalization is important when a text string is represented differently depending on the normalization used. The MDM server always store text strings in one normalization format. An user providing a text string to the MDM server and later on tries to retrieve back the same text string might get the text string back in a different normalization. To resolve this issue, the user can use this class to specify the normalization the user wants to work with. The MDM server will always return text strings in the normalization specified by this class.

Maybe you are looking for

  • Startup Script folder empty - no Bridge CS5 Output to Web?

    Something must have gone wrong installing CS5 Photoshop over CS4 Indesign! Even after net-updating to Bridge 4.0.2 the startup script folder (Preferences > Startup Scripts) is empty. When selecting the Output Workspace in Bridge, there is no pane tha

  • UpdateContent and Swapping images

    I have a function built to swap photos of a div: var imageCount = 0; setInterval ("updateImage()", 4000 ); function updateImage() Spry.Effect.DoFade('proImg',{ duration: 700, from: 100, to: 0, finish: function(){ imageCount++; if ( imageCount > dsPho

  • Conversion from Blended codepage 6200 to MDMP in 4.6c

    Hi Experts,    If the existing system is on 4.6c, what are the complications as well as the effort required to convert the ambiguous code page to MDMP?    Thank you. regards, David

  • HT2954 unable to set up yahoo account in Mail

    Why did my Mail (IMAP) suddenly quit when I upgraded my OSX recently? Support with my server, is clueless and says that Mac is not compatible with Yahoo, that I must use Yahoo. I do not like Yahoo! I want my Mail! Now, Yahoo is totally messing up...h

  • Getting sign in error for LR Mobile sync on desktop LR5.4

    I just updated the desktop LR to 5.4 and downloaded the Adobe LR app. Signed in fine to the app. When I try to sign in to activate sync on the desktop, I get the error message "Lightrrom has experienced an unexpected Sign In failure. Please try again