Invalid keystore format

I have a Java applet (called PALS) that was developed with version 1.5 update 7. It has been signed with a digital certificate from Thawte. Recently a customer had her Windows XP machine re-imaged, and that image comes with the Java 6 JRE. Others have had this done and were still able to run my applet, but she gets an error message that complains about an "invalid keystore format."
I tried going into the Java Console and removing the user's PALS certificate, but it also complains about the keystore format. I then tried just removing Java 6 and installing Java 5, hoping that that would would clear things up, but she gets the same error.
Am I correct that when a user runs my applet the certificate is read from the JAR file and placed in a keystore on their machine? If the keystore has the wrong format, can I just delete it, and where is that file? I thought it was supposed to have the name .keystore but I can't find that anywhere.

That was where I was expecting to find it, but it's not there. On a machine that hasn't been corrupted like my customer's, I can open up the Java Control Panel, go to the Security tab, click on certificates, and see the certificate that was used to sign the JAR file, but I don't have a .keystore file.
If it hasn't saved it in a file, where did it put it?
Thanks for your reply.

Similar Messages

  • Invalid Keystore Format error

    we need to configure an SSO from SAP portal and a third party website by passing encrypted userid as url parameters.
    To configure the SSO I have received the public key of the third party and able to access it from server location. Now I have to access priavte key of the SAP Portal certificate and sign the UserId and pass it as url parameter. I have gone through many blogs and written code as below which is giving Invalid Keystore Format error.
    My question is
    1. What should be passed to FileInputStream?
    As of now we are passing the .cer file which is stored as part of project.
    Below code is throwing error at ks.load() method.
    String fielPath1 = request.getPublicResourcePath()+"/SAPLogonTicketKeypair-cert1.cer";
    FileInputStream ksfis = new FileInputStream(fielPath1);
    KeyStore ks = KeyStore.getInstance("JKS");
    ks.load(null, sPass.toCharArray());
    BufferedInputStream ksbufin = new BufferedInputStream(ksfis);
    ks.load(ksbufin, sPass.toCharArray());
    PrivateKey priv = (PrivateKey) ks.getKey(alias, kPass.toCharArray());
    Error is:
    Invalid keystore formatsun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:633)sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)java.security.KeyStore.load(KeyStore.java:1185)am_sso_apc.doContent(am_sso_apc.java:132)com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:213)
    Please let me know how to pass the filepath to extract the priavte key .
    Regards,
    Satish

    I found the solution. As follows:
    keytool -list -keytool keytoolfile -storetype jceks

  • Ava.io.IOException: Invalid keystore format

    Hi;
    I am getting the following error while launching my applet through browser.
    I have modified my java version from 1.4.2_08 to 1.5.0.10.
    java.io.IOException: Invalid keystore format
         at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
         at java.security.KeyStore.load(Unknown Source)
         at com.sun.deploy.security.DeploySigningCertStore$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
         at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
         at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$100(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)Please help me.what should be a problem for that.

    I think that I am on to something. I deleted all the files in this directory:
    C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security
    This seems to resolve the problem with the invalid keystore (is a new one created?). Do not know yet if it has some unwanted side effects, but jeg jvm seems to start normally.

  • Default SSL context init failed: Invalid keystore format

    Hi, I can't connect to my ldap server. The problem is ssl. I'm trying to do this:
    import java.io.IOException;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.ldap.LdapContext;
    public class TestAuthentifikation {
        public static void main (String [] args) throws IOException  {
               try {
                    Hashtable env = new Hashtable();
                    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
                    env.put(Context.PROVIDER_URL, "ldaps://subdomain.dyndns.org:636/"); 
                    env.put(Context.SECURITY_PRINCIPAL, "uid=user,ou=users,dc=subdomain,dc=dyndns,dc=org");
                    env.put(Context.SECURITY_CREDENTIALS, "passwd");
                    env.put(Context.SECURITY_AUTHENTICATION, "simple");
                    env.put(Context.SECURITY_PROTOCOL, "ssl");
                    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                    System.setProperty("javax.net.ssl.keyStore",  "/usr/lib/j2se/1.4/jre/lib/security/cacerts");
                    System.setProperty("javax.net.ssl.trustStore","/usr/lib/j2se/1.4/jre/lib/security/cacerts");
                    env.put(LdapContext.CONTROL_FACTORIES, "com.sun.jndi.ldap.ControlFactory");
                    DirContext ctx = new InitialDirContext(env);
                    //use ctx....
                    // Close the context when we're done
                    ctx.close();
                  catch(NamingException ne) {
                    System.err.println(ne);
                    ne.printStackTrace();
    }The exception is this:
    javax.naming.CommunicationException: subdomain.dyndns.org:636 [Root exception is java.net.SocketException: Default SSL context init failed: Invalid keystore format]
            at com.sun.jndi.ldap.Connection.<init>(Connection.java:194)
            at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:119)
            at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1668)
            at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2599)
            at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)On the server I have created this ldap_crt.pem file:
    openssl req -x509 -days 3650 -newkey rsa:2048 -nodes -keyout ldap_key.pem -keyform PEM -out ldap_crt.pem -outform PEMwhich sits on the clients /etc/ssl/certs directory. Like this I can connect with a ldap browser to the server.
    I should do something like this:
    keytool -import -alias AUTH_CA -file rootcert.crt -keystore /usr/lib/j2se/1.4/jre/lib/security/cacertsHow do I get this rootcert.crt file?
    I did this and changed the keystore from cacerts to mycacerts in the java class file:
    sudo keytool -import -alias AUTH_CA -file /etc/ssl/certs/ldap_crt.pem -keystore /usr/lib/j2se/1.4/jre/lib/security/mycacertsThen I get this:
    javax.naming.CommunicationException: simple bind failed: subdomain.dyndns.org:636 [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: *No trusted certificate found*]
            at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:198)
            at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2640)
            at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:290)
            at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)
            at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)
            at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)
    Edited by: borobudur on May 18, 2008 7:09 AM

    Just a permission problem! Take care that your process can write on the keystore/truststore.

  • Got 'Invalid keystore format' when trying to set up an SSL connection

    Hello,
    On Windows XP, JDK1.5_13:
    I build a library module that can create an https connection supplying a certificate in a truststore. Used Apaches HttpClient 3.1 and the httpclient contrib library. To test this I used Tomcat, enabled SSL and added a keystore with certificate. I used a browser with the https url to get the certificate, stored it trusted in a keystore and tested the library with that keystore. This worked fine. The keystore was loaded and the connection established (even without supplying the keystore password).
    Now I moved the library as is to a (RedHat) Linux machine, with JDK1.5_01. When I run the same test on this machine, I got the following stack trace:
    java.io.IOException: Invalid keystore format
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:632)
    at java.security.KeyStore.load(KeyStore.java:1150)
    at org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory.createKeyStore(AuthSSLProtocolSocketFactory.java:222)
    at org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory.createSSLContext(AuthSSLProtocolSocketFactory.java:292)
    at org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory.getSSLContext(AuthSSLProtocolSocketFactory.java:331)
    at org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory.createSocket(AuthSSLProtocolSocketFactory.java:368)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    I dug up the JavaKeyStore.engineLoad source and found that it trips over the next piece of code, where stream is the InputStream for the keystore file and password is the password for the keystore file.
         if (password != null) {
              md = getPreKeyedHash(password);
              dis = new DataInputStream(new DigestInputStream(stream, md));
         } else {
              dis = new DataInputStream(stream);
         // Body format: see store method
         int xMagic = dis.readInt();
         int xVersion = dis.readInt();
         if (xMagic!=0xfeedfeed ||
              (xVersion!=0x01 && xVersion!=0x02)) {
              throw new IOException("Invalid keystore format");
    Tried to use JDK1.5_15 on Linux machine, but got the same result.
    Can anyone tell me why it works on a windows machine, and not on a linux machine and/or what I can do to get it working?
    Regards,
    Frank

    I can only guess that the keystore file was corrupted when you copied it onto the Linux system. Check the first 8 bytes of the keystore file with a hex editor or viewer. They should be (in hex) fe ed fe ed 00 00 00 0z, where z is either 1 or 2.
    In Linux, you can use the od command, e.g. od -t x1 keystorefile | head -1 should display the first 16 bytes of the file.

  • Java.io.IOException: Invalid keystore format

    Getting this invalid keystore format when trying to enter a secure website that run java. Tried to re-install several times and several versions of JRE... NtWebTellerApplet.
    This is running on a Vista Ultimate x64 with Q6600 and 8 gigs of RAM. Even tried to get the support on that site to remote help.. No luck in that either.
    ava.io.IOException: Invalid keystore format
         at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
         at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
         at java.security.KeyStore.load(Unknown Source)
         at com.sun.deploy.security.DeploySigningCertStore$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.deploy.security.DeploySigningCertStore.loadCertStore(Unknown Source)
         at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
         at com.sun.deploy.security.DeploySigningCertStore.load(Unknown Source)
         at com.sun.deploy.security.ImmutableCertStore.load(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
         at sun.plugin.security.PluginClassLoader.getPermissions(Unknown Source)
         at java.security.SecureClassLoader.getProtectionDomain(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.defineClass(Unknown Source)
         at java.net.URLClassLoader.access$000(Unknown Source)
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

    I think that I am on to something. I deleted all the files in this directory:
    C:\Users\<username>\AppData\LocalLow\Sun\Java\Deployment\security
    This seems to resolve the problem with the invalid keystore (is a new one created?). Do not know yet if it has some unwanted side effects, but jeg jvm seems to start normally.

  • "Invalid Keystore Format" with Java Web Start

    I got a user with a "invalid keystore format" problem He's running Windows XP and it happens when our java webstart application is starting up. He had a mix of java 5 and java 6.
    We uninstalled all his javas and deleted his c:\program files\java\jre6\lib\security\cacerts file as suggest by my company's support people and reinstalled java 6 U 22 and he still has the problem.
    The other users don't have a problem.
    How do we get our java web start application on work for him? It a java application and not a java applet.
    He got a new Dell laptop a couple of months ago and it has never worked for him. That model of laptop works for other users.

    the jar containing the native lib (win32com.dll) needed to be under the <nativelib> tag in the jnlp rather than <jar> .. duh!
    fixing that solved the problem :)

  • SSIS 2012 is intermittently failing with below "Invalid date format" while importing data from a source table into a Destination table with same exact schema.

    We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
    SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
    Error: 2014-01-28 15:52:05.19
       Code: 0x80004005
       Source: xxxxxxxx SSIS.Pipeline
       Description: Unspecified error
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC0202009
       Source: Process xxxxxx Load TableName [48]
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid date format".
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC020901C
       Source: Process xxxxxxxx Load TableName [48]
       Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
    the specified type.".
    End Error
    But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
    This looks like bug to me, Any suggestion?

    Hi Mohideen,
    Based on my research, the issue might be related to one of the following factors:
    Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
    A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Data services with SQL Server 2008 and Invalid time format variable

    Hi all
    Recently we have switched from DI on SQL Server 2005, to DS(Date Services) on SQL Server 2008. However I have faced an odd error on the query that I was running successfully in DI.
    I validate my query output using a validation object to fill either Target table (if it passes), or the Target_Fail table (if it fails). Before sending data to the Target_Fail table, I map the columns using a query to the Target_Fail table. As I have a column called 'ETL_Load_Date' in that table, which I should fill it with a global variable called 'Load_Date'. I have set this global variable in the script at the very first beginning of the job. It is a data variable type:
    $Load_Date = to_char(sysdate(),'YYYY.MM.DD');
    When I assign this global variable to a datetime data type cloumn in my table and run the job using Data Services, I get this error:
    error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Invalid time format>.
    However I didn't have this problem when I was running my job on the SQL Server 2005 using Data Integrator. The strange thing is that, when I debug this job, it runs completely successfully!!
    Could you please help me to fix this problem?
    Thanks for your help in advance.

    Thanks for your reply.
    The ETL_Date is a datetime column and the global variable is date data type. I have to use the to_char() function to be able to get just the date part of the current system datetime. Earlier I had tried date_part function but it returns int, which didn't work for me.
    I found what the issue was. I don't know why there were some little squares next to the name of the global variable which I had mapped to the ETL_Date in the query object!!! The format and everything was OK, as I had the same mapping in other tables that had worked successfully.
    When I deleted the column in the query object and added it again, my problem solved.

  • Invalid Alias Format : Table_name.Column_name required

    Hi All,
    I am new to the OBIEE 11g and I am trying to get used to the a lot it in one shot. I was hoping that someone could help me answer this question.
    I am trying to replace a value from the database and replace it with another value if a condition is met. I am using the below SQL statement to get there however, when I select ok I get an error message:Invalid Alias Format : Table_name.Column_name required.
    Can anyone tell me how I can accomplish my taskl? I am currently using OBIEE 11g and I am modifying the column measure by editing the formula with the below code. Let me know. Thanks.
    select
    CASE
    WHEN Cmplt Claim - Process Time.Claim Date< 10/30/2010 THEN '10/30/2010'
    END
    From Cmplt Claim - Process Time.Claim Date;

    Thank you so much. The error no longer shows up. I did however, get a diffrent error message. Not sure what that all means but if you can explain to me for a better understanding that would be super helpful. Or should I post under a diffrent subject?
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. Please have your System Administrator look at the log for more details on this error. (HY000)
    SQL Issued: SELECT 0 s_0, "VETSNET Operations Reports"."CLOV - End Product"."End Product Code" s_1, "VETSNET Operations Reports"."CLOV - End Product"."Rating Description" s_2, "VETSNET Operations Reports"."CLOV - File Date"."File Date" s_3, "VETSNET Operations Reports"."CLOV - Geography"."Station Name and Number" s_4, "VETSNET Operations Reports"."Cmplt Claim - Report Filter Flag"."Completed Brokered Flag" s_5, "VETSNET Operations Reports"."Cmplt Claim - Report Filter Flag"."Completed Detail Flag" s_6, CASE when "VETSNET Operations Reports"."Cmplt Claim - Process Time"."Claim Date"<('2012-10-15') then ('2012-10-15') else "Cmplt Claim - Process Time"."Claim Date" end s_7 FROM "VETSNET Operations Reports" WHERE (("CLOV - File Date"."File Date" = date '2012-10-09') AND ("CLOV - End Product"."End Product Code" IN ('681', '687')) AND ("Cmplt Claim - Report Filter Flag"."Completed Detail Flag" = 'Y') AND ("CLOV - End Product"."Rating Description" IN ('Control End Products', 'Other C&P End Products', 'Rating-Related End Products'))
    Edited by: Hangten4881 on Oct 15, 2012 9:41 AM

  • [v4l-dvb] xc5000 driver won't load, invalid module format

    Hi, I recently got a Piccacle PCTV HD Pro Stick for christmas, and have been trying to get it to work. I followed this page, and everything worked, but when I try to load the module xc5000, it gives me the error:
    FATAL: Error inserting xc5000 (/lib/modules/2.6.28-ARCH/kernel/drivers/media/common/tuners/xc5000.ko): Invalid module format
    Can anyone help?
    Thanks,
    Smartboy

    Hi Mike,
    something looks a bit strange for me. On my OEL 5.4 x64 system i have just the following 3 packages:
    $ rpm -qa | grep asm
    oracleasm-2.6.18-164.el5-2.0.5-1.el5
    oracleasm-support-2.1.3-1.el5
    oracleasmlib-2.0.4-1.el5 Your packages should be I think the following:
    http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel5/amd64/2.1.3/oracleasm-support-2.1.3-1.el5.x86_64.rpm
    http://otn.oracle.com/software/tech/linux/asmlib/files/RPMS/rhel5/amd64/2.0.4/oracleasmlib-2.0.4-1.el5.x86_64.rpm
    http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-92.el5/oracleasm-2.6.18-92.el5-2.0.5-1.el5.x86_64.rpm
    Uninstall all asm packages and retry with just those three.
    Good luck!
    Cheers,
    David
    OCP 9i / 10g
    http://www.oratoolkit.ch/knowledge/howto/installation/otn.php

  • Invalid Alias Format : Table_name.Column_name required error

    Hi,
    Below is the query I am using in one of my columns in a report. The ELSE part is working fine. but as soon as I put in the first 2 WHEN conditions, it gives me the invalid alias format error. tried changing the column names,single quotes on numbers, but error does not seem to go.
    Please help.
    Thanks,
    Dan
    CASE
    WHEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = @{PERIOD}) IS NULL THEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = 12)
    WHEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = 12) IS NULL THEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = @{PERIOD})
    ELSE
    FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = @{PERIOD}) - FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = 12)
    END
    Edited by: Danny on Jun 4, 2013 12:44 PM
    Edited by: Danny on Jun 4, 2013 12:44 PM

    NO luck :(
    CASE
    WHEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = '@{PERIOD}') IS NULL THEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = '12')
    WHEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = '12') IS NULL THEN FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = '@{PERIOD}')
    ELSE
    FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR} AND "Quarter"."ACCOUNTING_PERIOD" = '@{PERIOD}') - FILTER("Fact - Investment"."FTI_FAIR_VALUE_AMT" USING "Quarter"."FISCAL_YEAR" = @{YEAR}-1 AND "Quarter"."ACCOUNTING_PERIOD" = '12')
    END
    Can I try making null to 0 by doing IFNULL(measure,0). IN this case how do I do it since measure column is being generated at runtime with filter function like above.
    Edited by: Danny on Jun 4, 2013 1:11 PM

  • Failed to connect to VMware web service: Invalid keystore

    Hi,
    We have a CPO 2.3.1 that refuses to connect to vCenter (see log extract at the end of the post).
    We recently changed our vCenter server (part of an update to 5.1).
    We tried following workarounds:
    remove and add all platform elements from the portal using SE services
    re import automation packs (the 4 from the Starter Edition v2.3.1.38)
    re set the keystore password
    No change at all...
    Would you have a clue on how to correct that?
    Thank you.
    Regards,
    Pierre
    ||235|2012/10/02 15:46:21.667|6072||||WCF: <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.TraceHandledException.aspx</TraceIdentifier><Description>Handling an exception.</Description><AppDomain>Tidal.Automation.Server.exe</AppDomain><Exception><ExceptionType>Tidal.Scheduler.Common.Communications.CommunicationException, Tidal.Scheduler.Common, Version=2.3.0.0, Culture=neutral, PublicKeyToken=fba593b23cf207cd</ExceptionType><Message>The attempt to connect to (VMware vCenter Server (603)@VMware vCenter Server (603)) has failed due to following error:  Failed to connect to VMware web service: Invalid keystore.</Message><StackTrace>   at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation, TargetConfiguration target, RuntimeUserConfiguration runtimeUser)
       at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.&amp;lt;&amp;gt;c__DisplayClass1c.&amp;lt;PerformServerAssistedOperation&amp;gt;b__1b(IAdapter adapter)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction, Int32 remainingRetries)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at SyncInvokePerformServerAssistedOperation(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</StackTrace><ExceptionString>Tidal.Scheduler.Common.Communications.CommunicationException: The attempt to connect to (VMware vCenter Server (603)@VMware vCenter Server (603)) has failed due to following error:  Failed to connect to VMware web service: Invalid keystore.
       at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation, TargetConfiguration target, RuntimeUserConfiguration runtimeUser)
       at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.&amp;lt;&amp;gt;c__DisplayClass1c.&amp;lt;PerformServerAssistedOperation&amp;gt;b__1b(IAdapter adapter)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction, Int32 remainingRetries)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at SyncInvokePerformServerAssistedOperation(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]&amp;amp; outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc&amp;amp; rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)</ExceptionString></Exception></TraceRecord>
    ||236|2012/10/02 15:46:21.667|6072||||An exception that was not of type RhapsodyException was caught while a webmethod call was being made.  This exception has been caught and genericized.
    ||237|2012/10/02 15:46:21.667|6072||||EXCEPTION (Tidal.Scheduler.Common.Communications.CommunicationException): The attempt to connect to (VMware vCenter Server (603)@VMware vCenter Server (603)) has failed due to following error:  Failed to connect to VMware web service: Invalid keystore.
    Stack Trace:   at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation, TargetConfiguration target, RuntimeUserConfiguration runtimeUser)
       at Tidal.Automation.Server.JavaAdapterBase.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.<>c__DisplayClass1c.<PerformServerAssistedOperation>b__1b(IAdapter adapter)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction, Int32 remainingRetries)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action, Boolean haltingAction)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.PerformAdapterAction(Guid adapterId, AdapterAction action)
       at Tidal.Automation.Engine.Core.Adapter.SuspendableAdapter.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Engine.Core.AdapterSystem.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at Tidal.Automation.Server.WebService.AdapterService.PerformServerAssistedOperation(ServerAssistedOperation operation)
       at SyncInvokePerformServerAssistedOperation(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
       at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

    You have an invalid keystore file because the HTTPS certification has changed. You need to delete the old keystore file and restart the CPO server and then reconnect/run something against vCenter.
    There is also a possibility for Adatper Host Framework/java issues that I have seen commonly.
    If you need more help, you'll need to open a TAC case with your services contract please. We normally try to not troubleshoot logs on the forums.
    -Shaun Roberts
    CIAC/CPO Support Team Lead
    [email protected]

  • AD 11g Trusted Recon is failing due to invalid Date format for Start Date

    We are using OIM 11g with AD 11g connector.
    we have mapped "whenCreated" attribute of AD to "Start Date" in OIM. We ran Trusted Recon, the recon failed due to invalid date format.
    we got the following error :
    Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - 10/19/2012 10:33:30 AM against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.convertReconFieldsToOIMFields(ReconOperationsServiceImpl.java:1610)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:548)
    at oracle.iam.reconciliation.impl.ReconOperationsServiceImpl.ignoreEvent(ReconOperationsServiceImpl.java:535)
    at sun.reflect.GeneratedMethodAccessor9326.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at oracle.iam.platform.utils.DMSMethodInterceptor.invoke(DMSMethodInterceptor.java:25)
    at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    Thanks.

    Caused By: oracle.iam.reconciliation.exception.InvalidDataFormatException: Invalid data - *10/19/2012 10:33:30 AM* against Date format yyyy/MM/dd HH:mm:ss z for key Start Date
    Error is because of invalid date format.
    You need to bring data in required format. As I remember you can configured it in one of the AD configuration lookup.

  • Invalid no format error

    whenever i try to execute this statement it gives this error msg
    Invalid no format
    select to_char(salary,'$10,000') from emp;desc of table is
    Name     Type         Nullable Default Comments
    EMPNO    NUMBER(4)                             
    NAME     VARCHAR2(10) Y                        
    SALARY   NUMBER(7,2)  Y                        
    JOB      VARCHAR2(10) Y                        
    HIREDATE DATE         Y                        
    COMM     NUMBER(7,2)  Y                        
    DEPTNO   NUMBER(4)    Y                        

    Do you want something like this ?
    SQL> SELECT TO_CHAR(sal,'$9,999,99') FROM emp;
    TO_CHAR(SA
        $50,00
        $28,50
        $24,50
        $29,75
        $30,00
        $30,00
         $8,00
        $16,00
        $12,50
        $12,50
        $15,00
    TO_CHAR(SA
        $11,00
         $9,50
        $13,00
    14 rows selected.
    SQL> http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#BABIGFBA
    The above link will give you the complete information about number format models.
    URL added: Saubhik on Nov 23, 2010 1:20 PM

Maybe you are looking for

  • HT1420 my other computer crashed, how do i get all my iTunes media over to my new mac

    my other computer crashed, how do i get all my itunes media on my new mac?

  • How can I create different headers in Pages 09?

    I hope someone can explain to me how to solve this issue: I'm creating a simple training manual and I want the different chapters to appear in the header of the page - Chapter 1, Chapter 2, etc. Left and right pages are different because the margin h

  • Data source for Commitments COSS-WRTTP 21,22

    Hello all, Is there a CO datasource where can I get a deeper detail of commitments (value type 40)  than 0CO_OM_CCA_1? I need to trace which values come from purchase order and which from purchase order request. Information is stored in COSS-WRTTP bu

  • Hyperlinks don't work in keynote 3

    My hyperlinks don't work in Keynote 3, even not after re-installing the programme several times. Are there more people who have this priblem, it could be a bug.

  • Is Mini DVI = Micro DVI??

    I have an iMac (Model N.: A1224) and I want o conect it to a Samsung Plasma TV. According to the manual, this model has a video output in MINI DVI. So I have to buy a Mini DVI to DVI converter and also a DVI to HDMI converter. But at Apple Store in B