• RELEVANCY SCORE 5.18

    DB:5.18:Re: Error-The Trustanchors Parameter Must Be Non-Empty. 1f





    it solved ultimately. thanks for giving time.

    DB:5.18:Re: Error-The Trustanchors Parameter Must Be Non-Empty. 1f

    hi to all,
    i ve a send mail program in jsf in jdeveloper 11g. after running application on wls ,it is giving *"the trustAnchors parameter must be non-empty"* error. however when i run same program in form of
    standalone class in jdeveloper it is working. i posted this on weblogic forum,javamail forum,security related forum but couldnot find any reply yet.

    Did anyone face this problem in jdeveloper related to sending mail. how to solve this? i m using jdeveloper 11.1.1.2, wls 11g(10.3.2) ,jdk 6 update 14 bundled with jdeveloper, javamail api 1.4.3.

    Edited by: user78995 on May 24, 2010 3:27 AM

    Edited by: user78995 on May 24, 2010 3:29 AM

  • RELEVANCY SCORE 4.65

    DB:4.65:Java.Security.Invalidalgorithmparameterexception: The Trustanchors Paramete a8





    HI
    In SSL Connection for LDAP when adding public key for Remote Server, i'm getting the Exception of "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" . So connection with Server is not established for the First Time. But i'm able to connect from 2nd time onwards.

  • RELEVANCY SCORE 4.65

    DB:4.65:Trustanchors Parameter Must Be Non-Empty ka





    Hi,

    I keep receiving this error when I try to run the client side of my RMI application using SSL from an applet.

    When I run it from the same jar from the command line, it works fine.

    The jar is signed by a thawte code signing certificate, and the RMI application is currently using the Sun sample keystore and truststore, though when I tried it with a 21 day Thawte test certificate, I got the same error.

    The code signing certificate and the certificate used for authentication aren't in the same keystore, could this be a problem?

    Because it works when it is not being an applet, I assume that the error is either a problem with my browser, or the applet code.

    The error occurs for me in both Firefox and IE7.

    Exception occured:error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at HelloImpl_Stub.sayHello(Unknown Source)
    at HelloClient.init(HelloClient.java:116)
    at applet.start(applet.java:57)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    the applet code i use is this:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class applet extends JApplet
    {
    public void start()
    {
    HelloClient app = new HelloClient();
    app.setVisible(true);
    }
    }I tried using this piece of code after I imported my truststore into the cacerts file.
    String filename = System.getProperty("java.home")
    + "/lib/security/cacerts".replace('/', File.separatorChar);
    String password = "changeit";
    System.setProperty("javax.net.ssl.trustStore",filename);
    System.setProperty("javax.net.ssl.trustStorePassword",password);But I then got an error telling me :

    unable to find valid certification path to requested target

    I plan to purchase a proper CA certificate for authentication, but need to be sure the application will be running before I do that. Will using a cert from a CA that is in the trust certs list for both JVM and browsers solve this problem?

    DB:4.65:Trustanchors Parameter Must Be Non-Empty ka

    When I use the cert from a CA that is in the JVM,do I still need to specify a truststore or will Java
    use the cacerts file by default?

    A cert isn't 'in the JVM', it's in cacerts or
    jssecacerts. These are the default truststores. See
    the Javadoc/Guide to Features/Security/JSSE Reference
    Guide. If your CA cert is in or is trusted by either
    of those you don't have to specify the truststore.I realise the CA root is in the cacerts, not the actual JVM, sorry.. that was me being lazy in asking the question.

    If I do have to specify a truststore, will thiserror still be a problem?

    That's the only time it is a problem.Thank you for all your help!
    Much appreciated.

  • RELEVANCY SCORE 4.29

    DB:4.29:Ldap Ssl Problem ac


    I have a working program that can interact with our active directory, reset passwords-the usual stuff. I'd always intended the program for use in different domains but today when i tried exactly that i got an error I don't understand;

    InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    I went through exactly the same process to include the DC's certificate in the keystore using keytool and as far as I can see the DCs are setup the same.

    DB:4.29:Ldap Ssl Problem ac

    What version of the JRE are you using? Some people have solved this by upgrading to 1.5.

    Kevin

  • RELEVANCY SCORE 4.28

    DB:4.28:.Net Empty Array 7x



    I need to call .net DLLs from TestStand. In one application, we need to pass a 1D array of numbers containing a variable number of elements. In certain circumstances, this array may be empty. We've found that when any empty array is passed to a .net DLL, we get the following error:

    The array for the parameter 'XArray' is an input parameter and is empty. All input parameters must have an expression specified.

    It looks to me like the .net adaptor is mis-interpreting the fact that the array is empty as it not being defined. The error message is similar to what I get if I don't define the variable to be passed to the DLL.

    We've produced a simple sequence to demonstrate the issue, attached as a zip file. It contains 6 steps, all of which take a 1D array and display the values of the array in a dialog. The sequence consists of:

    1. Array of 5 elements passed to a LabVIEW VI
    2. Array of 5 elements passed to a built LabVIEW DLL
    3. Array of 5 elements passed to a .net DLL
    4. Empty array passed to a LabVIEW VI
    5. Empty array passed to a built LabVIEW DLL
    6. Empty array passed to a .net DLL

    I can't find a work-around for this. We're now going to do something pretty inelegant and trap the fact that the array is empty and replace its value with one element of "NaN". Then the .net DLL will interpret this as being equivalent to empty. There's a lot of work in this though.

    Message Edited by Sean on 03-27-2007 11:11 AM










    Attachments:






    Pic2.JPG ‏33 KB

    DB:4.28:.Net Empty Array 7x


    I recommend trying out the TestStand 2010 beta if you are able to and are using the .NET adapter a lot.

    -Doug

  • RELEVANCY SCORE 4.22

    DB:4.22:Difference Between Non Empty Function And Non Empty Keyword In Mdx zz


    difference between non empty function and non empty keyword in MDX

  • RELEVANCY SCORE 4.05

    DB:4.05:Error: Index Was Out Of Range In Fdm. x9


    Hi,
    While logging into FDM, I am geting this below error:
    Error: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    Wat can be the reason?

    DB:4.05:Error: Index Was Out Of Range In Fdm. x9

    Hi,
    While logging into FDM, I am geting this below error:
    Error: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    Wat can be the reason?

  • RELEVANCY SCORE 4.05

    DB:4.05:Issue While Connecting To Crmod Webservice z3


    Hi All,
    I was trying to get the jSessionid from crmod service,The steps I did

    1.openssl s_client -showcerts -connect testserver.crmondemand.com:443 secure-ausomxnga.crmondemand.com.pem /dev/null
    2. openssl x509 -in secure-ausomxnga.crmondemand.com.pem -out testserver.crmondemand.com.der -outform DER
    3./oracle/fmwhome/jdk160_18/jre/bin/keytool -importcert -trustcacerts -keystore cacerts -storepass changeit -noprompt -file testserver.crmondemand.com.der -alias crmod
    certificate was succesfully created,
    Then I created a Java class to fetch the JSessionID

    import java.io.File;

    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.util.StringTokenizer;

    public class Class1 {
    public Class1() {
    super();
    }

    public static void main(String[] args) {
    Class1 class1 = new Class1();
    String ar = class1.login("https://testserver.crmondemand.com/Services/Integration","username","password");
    System.out.println(ar);
    }

    public String login(String wsLocation, String userName, String password) {
    String sessionString = "False";
    File kstore = new File("/oracle/javahome/jdk1.6.0_20/jre/security/cacerts");
    System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
    System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
    try
    {
    // create an HTTPS connection to the On Demand webservices
    URL wsURL = new URL(wsLocation + "?command=login");
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    // we don't want any caching to occur
    wsConnection.setUseCaches(false);
    // we want to send data to the server
    // wsConnection.setDoOutput(true);
    // set some http headers to indicate the username and password we are using to logon
    wsConnection.setRequestProperty("UserName", userName);

    wsConnection.setRequestProperty("Password", password);
    wsConnection.setRequestMethod("GET");
    System.out.println(wsConnection.getResponseCode());

    // see if we got a successful response
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    {
    // get the session id from the cookie setting
    sessionString = getCookieFromHeaders(wsConnection);
    // setSessionIdFromCookie(sessionString);
    }
    }
    catch (Exception e)
    {
    System.out.println("Logon Exception generated :: " + e);
    }
    System.out.println("asdasdasd");
    return getSesionId(sessionString);

    //return sessionString;
    }

    public void logmeoff(String wsLocation, String sessionCookie)
    {
    try
    {
    // create an HTTPS connection to the On Demand webservices
    URL wsURL = new URL(wsLocation + "?command=logoff");
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    wsConnection.setUseCaches(false);
    // let it know which session we're logging off of
    wsConnection.setRequestProperty("Cookie", sessionCookie);
    wsConnection.setRequestMethod("GET");
    // see if we got a successful response
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    {
    // if you care that a logoff was successful, do that code here
    // showResponseHttpHeaders(wsConnection);
    }
    }
    catch (Exception e)
    {
    System.out.println("Logoff Exception generated :: " + e);
    }
    }

    private static String getCookieFromHeaders(HttpURLConnection wsConnection)
    {
    System.out.println("asdasd");
    // debug code - display all the returned headers
    String headerName;
    String headerValue = "False";
    for (int i=0; ; i++)
    {
    headerName = wsConnection.getHeaderFieldKey(i);
    System.out.println("achampac" + headerName);
    if (headerName != null headerName.equals("Set-Cookie"))
    {
    // found the Set-Cookie header (code assumes only one cookie is being set)
    headerValue = wsConnection.getHeaderField(i);
    System.out.println("headerValue " + headerValue);

    break;
    }
    }
    // return the header value (FAIL string for not found)
    return headerValue;
    }

    private static String getSesionId(String cookie) {
    System.out.println(cookie);
    StringTokenizer st = new StringTokenizer(cookie, ";");
    String jsessionid = st.nextToken();
    st = new StringTokenizer(jsessionid, "=");
    st.nextToken();

    return st.nextToken();
    }
    }

    Iam getting the error

    Logon Exception generated :: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    any idea what mistake I Might have done,

    thanks in advance
    Krishnaveni

    DB:4.05:Issue While Connecting To Crmod Webservice z3

    Hi All,
    I was trying to get the jSessionid from crmod service,The steps I did

    1.openssl s_client -showcerts -connect testserver.crmondemand.com:443 secure-ausomxnga.crmondemand.com.pem /dev/null
    2. openssl x509 -in secure-ausomxnga.crmondemand.com.pem -out testserver.crmondemand.com.der -outform DER
    3./oracle/fmwhome/jdk160_18/jre/bin/keytool -importcert -trustcacerts -keystore cacerts -storepass changeit -noprompt -file testserver.crmondemand.com.der -alias crmod
    certificate was succesfully created,
    Then I created a Java class to fetch the JSessionID

    import java.io.File;

    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.util.StringTokenizer;

    public class Class1 {
    public Class1() {
    super();
    }

    public static void main(String[] args) {
    Class1 class1 = new Class1();
    String ar = class1.login("https://testserver.crmondemand.com/Services/Integration","username","password");
    System.out.println(ar);
    }

    public String login(String wsLocation, String userName, String password) {
    String sessionString = "False";
    File kstore = new File("/oracle/javahome/jdk1.6.0_20/jre/security/cacerts");
    System.setProperty("javax.net.ssl.trustStore", kstore.getAbsolutePath());
    System.setProperty("javax.net.ssl.trustStorePassword", "changeit");
    try
    {
    // create an HTTPS connection to the On Demand webservices
    URL wsURL = new URL(wsLocation + "?command=login");
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    // we don't want any caching to occur
    wsConnection.setUseCaches(false);
    // we want to send data to the server
    // wsConnection.setDoOutput(true);
    // set some http headers to indicate the username and password we are using to logon
    wsConnection.setRequestProperty("UserName", userName);

    wsConnection.setRequestProperty("Password", password);
    wsConnection.setRequestMethod("GET");
    System.out.println(wsConnection.getResponseCode());

    // see if we got a successful response
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    {
    // get the session id from the cookie setting
    sessionString = getCookieFromHeaders(wsConnection);
    // setSessionIdFromCookie(sessionString);
    }
    }
    catch (Exception e)
    {
    System.out.println("Logon Exception generated :: " + e);
    }
    System.out.println("asdasdasd");
    return getSesionId(sessionString);

    //return sessionString;
    }

    public void logmeoff(String wsLocation, String sessionCookie)
    {
    try
    {
    // create an HTTPS connection to the On Demand webservices
    URL wsURL = new URL(wsLocation + "?command=logoff");
    HttpURLConnection wsConnection = (HttpURLConnection)wsURL.openConnection();
    wsConnection.setUseCaches(false);
    // let it know which session we're logging off of
    wsConnection.setRequestProperty("Cookie", sessionCookie);
    wsConnection.setRequestMethod("GET");
    // see if we got a successful response
    if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK)
    {
    // if you care that a logoff was successful, do that code here
    // showResponseHttpHeaders(wsConnection);
    }
    }
    catch (Exception e)
    {
    System.out.println("Logoff Exception generated :: " + e);
    }
    }

    private static String getCookieFromHeaders(HttpURLConnection wsConnection)
    {
    System.out.println("asdasd");
    // debug code - display all the returned headers
    String headerName;
    String headerValue = "False";
    for (int i=0; ; i++)
    {
    headerName = wsConnection.getHeaderFieldKey(i);
    System.out.println("achampac" + headerName);
    if (headerName != null headerName.equals("Set-Cookie"))
    {
    // found the Set-Cookie header (code assumes only one cookie is being set)
    headerValue = wsConnection.getHeaderField(i);
    System.out.println("headerValue " + headerValue);

    break;
    }
    }
    // return the header value (FAIL string for not found)
    return headerValue;
    }

    private static String getSesionId(String cookie) {
    System.out.println(cookie);
    StringTokenizer st = new StringTokenizer(cookie, ";");
    String jsessionid = st.nextToken();
    st = new StringTokenizer(jsessionid, "=");
    st.nextToken();

    return st.nextToken();
    }
    }

    Iam getting the error

    Logon Exception generated :: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    any idea what mistake I Might have done,

    thanks in advance
    Krishnaveni

  • RELEVANCY SCORE 4.05

    DB:4.05:Typeerror: Error #2007: Parameter Child Must Be Non-Null. ps


    I have three objects dynamically created brick_3, brick_7,brick_9 I have the below piece of code in my programfor(var:i:uint=1;i10;i++){ if(this.contains(getChildByName("brick_"+i))) { removeChild(getChildByName("brick_"+i)); }}and I'm getting this errorTypeError: Error #2007: Parameter child must be non-null. at flash.display::DisplayObjectContainer/contains()If I directly remove the object without checking if it exists there will be an error, so I'm checking if it exists, Still that is giving error, Somebody help me out. Using this.contains() should work and stop the error, it isn't doing anything good yet.

  • RELEVANCY SCORE 3.85

    DB:3.85:Apache Xmlrpc Over Ssl? jz


    Hi, all

    I tried to use apache xmlrpc over SSL transport, the following 2 simple code works in command line:

    --- server.java --

    public class Server {

    public Server() {

    import javax.net.ssl.*;
    import org.apache.xmlrpc.secure.*;

    SecurityTool.setKeyStore("secure.store");
    SecurityTool.setKeyStorePassword("SecurePassword");

    SecureWebServer web=new SecureWebServer(8080);
    web.start();
    web.addHandler("Secure",this);

    }

    public String echo(String message) {

    return message;

    }

    }

    --- client.java ---

    import java.util.*;
    import java.security.cert.*;
    import javax.net.ssl.*;
    import org.apache.xmlrpc.secure.*;

    try {
    SSLContext sslContext=SSLContext.getInstance("SSL");
    sslContext.init(null, new X509TrustManager[] {
    new X509TrustManager() {
    public void checkClientTrusted(X509Certificate[]
    chain, String authType) {
    }
    public void checkServerTrusted(X509Certificate[]
    chain, String authType) {
    }
    public X509Certificate[] getAcceptedIssuers() {
    return null;
    }
    }}, null);
    HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFa
    ctory());
    } catch (Exception e) {
    // SSL connection configure error
    }

    HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
    public boolean verify(String hostname, SSLSession session) {
    // ignore FQDN not matched with certificate common name
    return true;
    }
    });

    SecureXmlRpcClient client;
    Vector parameters;
    String result;

    try {
    client=new SecureXmlRpcClient("https://localhost:8080");
    parameters=new Vector();
    parameters.add("Echo");
    result=(String)client.execute("Secure.echo",parameters);
    System.out.println(result);
    } catch (Exception e) {
    // error here
    System.out.println(e);
    }

    }

    --- code ends here --

    the above code work under command line, but 2 problems occur after I put them to my appplication.

    1. the above code did not use truststore but it work ok. After put them to my application, java complains about:

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    Why the above 2 java code do not have this error?

    2. I import my private CA's certificate to truststore add the following line to server code,

    SecurityTool.setTrustStore("trust.store");
    SecurityTool.setTrustStorePassword("TrustMe");

    The above error is gone but new one comes:

    javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
    javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

    I already configure SSL link not to check certificate's issuer and not to check whether URL matches certificate's common name. It works with the above code, when I got thoese errors again?

    Thanks,

    Vincent Chen

    DB:3.85:Apache Xmlrpc Over Ssl? jz

    I found the following article very useful. check this out....

    http://superfluo.org/blojsom/blog/pic/devel/2005/11/22/Apache-XML-RPC-over-HTTPS.html

  • RELEVANCY SCORE 3.63

    DB:3.63:Connecting To Https With Jdk1.5 Throwing Invalidalgorithmparameterexception 73


    Hi,
    My current system has jdk1.3, weblogic7.1 and axis1.1.
    I have a simple class in java which I use to connect to https://*.jsp.
    Here is the sample code.

    System.setProperty("javax.net.ssl.trustStore","/usr/local/client.keystore");
    System.setProperty"java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    System.setProperty("java.security.egd", "file:/dev/urandom");

    URL url = new URL("https://xyz.com/index.jsp");
    InputStreamReader isr = new InputStreamReader(url.openStream());
    char[] buf = new char[1024];
    int nread;
    while ((nread = isr.read(buf, 0, buf.length)) 0)
    System.out.print(new String(buf, 0, nread));
    System.out.flush();This code works well in jdk1.3 with jsse.jar, jnet.jar, jcert.jar in the classpath and a keystore which has a trusted entry for https://xyz.com/
    I use the first 4lines of the code in a Axis Client to transfer SOAP msgs in https protocol.

    Now I am migrating to JDK1.5, WebLogic9.1 and Axis1.3.
    I have the same keystore. I do not have jsse.jar, jnet.jar, jcert.jar because jdk1.5 has JSSE.
    This same set of code is giving exception in JDK1.5.
    Any Solution?

    Thanks
    Senthil

    Here is the exception from the stack trace
    Exception in thread "main" javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trust
    Anchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLExceptionAlerts.java:166)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1476)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1443)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1426)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1045)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:913)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
    at java.net.URL.openStream(URL.java:1007)
    at axistest.URLReader.main(URLReader.java:24)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:56)
    at sun.security.validator.Validator.getInstance(Validator.java:146)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:840)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038)

    DB:3.63:Connecting To Https With Jdk1.5 Throwing Invalidalgorithmparameterexception 73

    I have se same problem.
    I do a System.setProperty("javax.net.ssl.trustStore", path_filetruststore)
    and I have the same error.

    Can you tell me if you revolve this problem? how?

  • RELEVANCY SCORE 3.60

    DB:3.60:Arg!? And I Mean That Literally... cc



    What I need is a way to validate a parameter such that my function can assume that the

    parameter is of a particular type, in this case, it should be a valid powershell command of some description.

    first try:
    PS C:\ function zap {
    param (
    [ValidateScript({get-command $_})]
    $cmd
    )
    if ( $cmd -eq '' ) {'parameter was BLANK'}
    if ( $cmd -eq $null) {'parameter was NULL'}
    write-host this is a command: '$cmd'
    }

    PS C:\ zap zap # 1. should work
    this is a command: 'zap'
    PS C:\ zap zappa # 2. should fail
    zap : Cannot validate argument on parameter 'cmd'. The get-command $_ validation script for
    the argument with value
    zappa did not return true. Determine why the validation script failed and then try the command
    again.
    At line:1 char:8
    zap zappa # 2. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap '' # 3. should fail
    zap : Cannot validate argument on parameter 'cmd'. Cannot validate argument on parameter
    'Name'. The argument is null o
    r empty. Supply an argument that is not null or empty and then try the command again.
    At line:1 char:8
    zap '' # 3. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap $null # 4. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null, empty, or an element
    of the argument collectio
    n contains a null value. Supply a collection that does not contain any null values and then try
    the command again.
    At line:1 char:8
    zap $null # 4. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap # 5. should fail
    parameter was NULL
    this is a command: ''
    PS C:\
    I would have thought that a parameter with no content would have failed the get-command validation, but apparently not. Of course if $_ was effectively blank the get-command would succeed, because without parameters it returns a list of all commands. But
    that is not the case with this command:
    get-command
    so here's my second attempt:
    PS C:\ function zap {
    param (
    [ValidateScript({get-command $_})]
    $cmd
    )
    if ( $cmd -eq '' ) {'parameter was BLANK'}
    if ( $cmd -eq $null) {'parameter was NULL'}
    write-host this is a command: '$cmd'
    }

    PS C:\ zap zap # 1. should work
    this is a command: 'zap'
    PS C:\ zap zappa # 2. should fail
    zap : Cannot validate argument on parameter 'cmd'. The get-command $_ validation script for
    the argument with value
    zappa did not return true. Determine why the validation script failed and then try the
    command again.
    At line:1 char:8
    zap zappa # 2. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap '' # 3. should fail
    zap : Cannot validate argument on parameter 'cmd'. Cannot validate argument on parameter
    'Name'. The argument is null o
    r empty. Supply an argument that is not null or empty and then try the command again.
    At line:1 char:8
    zap '' # 3. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap $null # 4. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null, empty, or an element
    of the argument collectio
    n contains a null value. Supply a collection that does not contain any null values and then try
    the command again.
    At line:1 char:8
    zap $null # 4. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap # 5. should fail
    parameter was NULL
    this is a command: ''
    PS C:\
    but still no luck. So let's beef up the validation code in attempt three:
    PS C:\ function zap {
    param (
    [ValidateScript({get-command $_})]
    [validatenotnullorempty()]
    $cmd
    )
    if ( $cmd -eq '' ) {'parameter was BLANK'}
    if ( $cmd -eq $null) {'parameter was NULL'}
    write-host this is a command: '$cmd'
    }

    PS C:\ zap zap # 1. should work
    this is a command: 'zap'
    PS C:\ zap zappa # 2. should fail
    zap : Cannot validate argument on parameter 'cmd'. The get-command $_ validation script for
    the argument with value
    zappa did not return true. Determine why the validation script failed and then try the
    command again.
    At line:1 char:8
    zap zappa # 2. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap '' # 3. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap '' # 3. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap $null # 4. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap $null # 4. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap # 5. should fail
    parameter was NULL
    this is a command: ''
    PS C:\
    And still no luck. The thing I find odd is that ValidateNotNullOrEmpty does not flag a completely missing parameter, while the code in the function seems to detect that condition as $null.
    So attempt four will make this a mandatory parameter. Surely this will work:
    PS C:\ function zap {
    param (
    [parameter(mandatory = $true)]
    [ValidateScript({get-command $_})]
    [validatenotnullorempty()]
    $cmd
    )
    if ( $cmd -eq '' ) {'parameter was BLANK'}
    if ( $cmd -eq $null) {'parameter was NULL'}
    write-host this is a command: '$cmd'
    }

    PS C:\ zap zap # 1. should work
    this is a command: 'zap'
    PS C:\ zap zappa # 2. should fail
    zap : Cannot validate argument on parameter 'cmd'. The get-command $_ validation script for
    the argument with value
    zappa did not return true. Determine why the validation script failed and then try the
    command again.
    At line:1 char:8
    zap zappa # 2. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap '' # 3. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap '' # 3. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap $null # 4. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap $null # 4. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap # 5. should fail
    cmdlet zap at command pipeline position 1
    Supply values for the following parameters:
    cmd:
    zap : Cannot validate argument on parameter 'cmd'. Cannot validate argument on parameter
    'Name'. The argument is null o
    r empty. Supply an argument that is not null or empty and then try the command again.
    At line:1 char:8
    zap # 5. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\

    Well n

    ow we're getting somewhere. But instead of reporting an error when a mandatory parameter is absent, it prompts the user for a value to use. That's fine for an interactive command. But my function is going to be used in a script run by a user who will not have
    a better idea as to what to give as a parameter than the writer of the script (me).

    So, to resolve this, it seems I must include code in the function to detect an absent parameter by comparing it to $null, even though I have used ValidateNotNullOrEmpty. Fortunately, I do not need to create my own version of the error message I would like
    to see, as I can call my function recursively to do so:
    PS C:\ function zap {
    param (
    [ValidateScript({get-command $_})]
    [validatenotnullorempty()]
    $cmd
    )
    if ( $cmd -eq $null) {zap $null;return}
    write-host this is a command: '$cmd'
    }

    PS C:\ zap zap # 1. should work
    this is a command: 'zap'
    PS C:\ zap zappa # 2. should fail
    zap : Cannot validate argument on parameter 'cmd'. The get-command $_ validation script for
    the argument with value
    zappa did not return true. Determine why the validation script failed and then try the
    command again.
    At line:1 char:8
    zap zappa # 2. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap '' # 3. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap '' # 3. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap $null # 4. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:1 char:8
    zap $null # 4. should fail
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\ zap # 5. should fail
    zap : Cannot validate argument on parameter 'cmd'. The argument is null or empty. Supply an
    argument that is not null o
    r empty and then try the command again.
    At line:7 char:34
    if ( $cmd -eq $null) {zap $null;return}
    CategoryInfo : InvalidData: (:) [zap], ParameterBindingValidationException
    FullyQualifiedErrorId : ParameterArgumentValidationError,zap
    PS C:\
    This works, but unfortunately, it reports the location of the error as the zap $null statement in the function instead of where the function was called from.
    Can anyone suggest a way to use validation (instead of coding) to ensure that a non-mandatory parameter is not missing? Or, alternately, to make it mandatory such that its absense will throw an error instead of going interactive on me?
    Al Dunbar

  • RELEVANCY SCORE 3.57

    DB:3.57:Configure Jboss As 5 And Ldap 77



    Hi there,

    Basically i have an application that sits on JBoss which needs to connect to a LDAP server. (OS is Windows XP Pro)

    I started the JBoss with run.bat -c all -b 192.168.1.1.

    I have no problem connecting to the LDAP server without SSL. The problem only surface when i setup the LDAP server with SSL which i have trouble connecting to the LDAP server. The following is the error message.

    javax.naming.CommunicationException: simple bind failed: 192.168.1.100:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]

    I have google about configuring JBoss and LDAP and stumbled upon http://docs.jboss.org/jbportal/v2.6.2/referenceGuide/html/ldap.html . Do I really need a JBoss Portal to setup with LDAP??

    Could anyone out there help me out with this?? Or am i missing out any configuration on JBoss.

    Any advice would be greatly appreciated. Many thanks in advance.

    Kevin

    DB:3.57:Configure Jboss As 5 And Ldap 77


    Hi there,

    Basically i have an application that sits on JBoss which needs to connect to a LDAP server. (OS is Windows XP Pro)

    I started the JBoss with run.bat -c all -b 192.168.1.1.

    I have no problem connecting to the LDAP server without SSL. The problem only surface when i setup the LDAP server with SSL which i have trouble connecting to the LDAP server. The following is the error message.

    javax.naming.CommunicationException: simple bind failed: 192.168.1.100:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]

    I have google about configuring JBoss and LDAP and stumbled upon http://docs.jboss.org/jbportal/v2.6.2/referenceGuide/html/ldap.html . Do I really need a JBoss Portal to setup with LDAP??

    Could anyone out there help me out with this?? Or am i missing out any configuration on JBoss.

    Any advice would be greatly appreciated. Many thanks in advance.

    Kevin

  • RELEVANCY SCORE 3.57

    DB:3.57:The Publisher Cannot Be Verified By A Trusted Source Please Help! 7s


    ok so i play this game runescape and this is what i get when i try to play.....

    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(Unknown Source)
    at sun.security.validator.Validator.getInstance(Unknown Source)
    at com.sun.deploy.security.TrustDecider.isAllPermissionGranted(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.access$400(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    at java.security.cert.PKIXParameters.init(Unknown Source)
    at java.security.cert.PKIXBuilderParameters.init(Unknown Source)
    ... 23 more

    Edited by: computergamer on Aug 10, 2009 2:25 PM

    DB:3.57:The Publisher Cannot Be Verified By A Trusted Source Please Help! 7s

    computergamer wrote:
    it also left a notepad named hs_err_pid4524That's an error report that may be of interest to the program vendor, when you contact them.

  • RELEVANCY SCORE 3.56

    DB:3.56:Typeerror: Error #2007: Parameter Listener Must Be Non-Null. kp


    Here is my code:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    // Click Sectionvar nextSection;var sectionName;

    btnHome.addEventListener(MouseEvent.CLICK, fn_NextSection("home"));btnAbout.addEventListener(MouseEvent.CLICK, fn_NextSection("about"));btnProjects.addEventListener(MouseEvent.CLICK, fn_NextSection("projects"));btnContact.addEventListener(MouseEvent.CLICK, fn_NextSection("contact"));function fn_NextSection(sectionName:String) {nextSection = sectionName;play();}
    This is the error:
    function(){return A.apply(null,[this].concat($A(arguments)))}TypeError: Error #2007: Parameter listener must be non-null. at flash.events::EventDispatcher/addEventListener() at player_fla::MainTimeline/frame361()

    DB:3.56:Typeerror: Error #2007: Parameter Listener Must Be Non-Null. kp


    You have to supply just function name. Parameters passing is not allowed:

    btnHome.addEventListener(MouseEvent.CLICK, fn_NextSection);btnAbout.addEventListener(MouseEvent.CLICK, fn_NextSection);btnProjects.addEventListener(MouseEvent.CLICK, fn_NextSection);btnContact.addEventListener(MouseEvent.CLICK, fn_NextSection);

    And listeners accept only one parameter and dattype - Event:

    function fn_NextSection(e:MouseEvent):void

  • RELEVANCY SCORE 3.56

    DB:3.56:Parameter Htmlcontent Must Be Non-Null (Mx:Html) kd



    I have an mx:HTML control inside a ViewStack with the creationPolicy setting to "all". Unfortunately this seems to trigger this error: "Parameter htmlContent must be non-null" I need this creationpolicy on the ViewStack in order to access certain components in advance.

    Any suggestions ?

    DB:3.56:Parameter Htmlcontent Must Be Non-Null (Mx:Html) kd


    Oops, I found the problem:

    mx.controls.HTML.htmlText = myClass.myProperty;

    inside MyClass:

    public var myProperty:String;

    Should have been:

    public var myProperty:String = "";

    Anyway, thanks again for helping!

  • RELEVANCY SCORE 3.56

    DB:3.56:Tls And Server Auth Not Working Right... j7


    In the following code, I'm trying to import a certificate from the filesystem into a new and empty keystore and use it as the trust certificate for the server to which I'm connecting. This code, when connecting to the server, results in the following exception:

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-emptyWhat's wrong with my code, please?

    InputStream certStream = new FileInputStream(System.getProperty("user.home") + "/path/to/my/cert");
    CertificateFactory cf = CertificateFactory.getInstance("X.509");
    X509Certificate serverCert =(X509Certificate)cf.generateCertificate(certStream);
    certStream.close();

    // initialze the trust Manager
    // with an empty keystore
    KeyStore kstrust = KeyStore.getInstance("JKS");
    char[] pass = "password".toCharArray();
    kstrust.load(null, pass);
    TrustManagerFactory tmf= TrustManagerFactory.getInstance("SunX509");
    tmf.init(kstrust);
    kstrust.setCertificateEntry(guardName, serverCert);
    session.setTrustManagerFactory(tmf);

    ............
    ............
    ............ irrelevant code here.............
    ............

    enabledCipherSuites = new String[]{"TLS_RSA_WITH_AES_128_CBC_SHA"};
    enabledProtocols = new String[]{"TLSv1"};
    ctx = SSLContext.getInstance("TLS");
    ctx.init(null, session.getTrustManagerFactory().getTrustManagers(), null);

    sslFact = ctx.getSocketFactory();
    sslSocket = (SSLSocket) sslFact.createSocket(getURL().getHost(), getURL().getPort());

    sslSocket.setEnabledCipherSuites(enabledCipherSuites);
    sslSocket.setEnabledProtocols(enabledProtocols);
    sslSocket.startHandshake();

    DB:3.56:Tls And Server Auth Not Working Right... j7

    In the following code, I'm trying to import a certificate from the filesystem into a new and empty keystore and use it as the trust certificate for the server to which I'm connecting. This code, when connecting to the server, results in the following exception:

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-emptyWhat's wrong with my code, please?

    InputStream certStream = new FileInputStream(System.getProperty("user.home") + "/path/to/my/cert");
    CertificateFactory cf = CertificateFactory.getInstance("X.509");
    X509Certificate serverCert =(X509Certificate)cf.generateCertificate(certStream);
    certStream.close();

    // initialze the trust Manager
    // with an empty keystore
    KeyStore kstrust = KeyStore.getInstance("JKS");
    char[] pass = "password".toCharArray();
    kstrust.load(null, pass);
    TrustManagerFactory tmf= TrustManagerFactory.getInstance("SunX509");
    tmf.init(kstrust);
    kstrust.setCertificateEntry(guardName, serverCert);
    session.setTrustManagerFactory(tmf);

    ............
    ............
    ............ irrelevant code here.............
    ............

    enabledCipherSuites = new String[]{"TLS_RSA_WITH_AES_128_CBC_SHA"};
    enabledProtocols = new String[]{"TLSv1"};
    ctx = SSLContext.getInstance("TLS");
    ctx.init(null, session.getTrustManagerFactory().getTrustManagers(), null);

    sslFact = ctx.getSocketFactory();
    sslSocket = (SSLSocket) sslFact.createSocket(getURL().getHost(), getURL().getPort());

    sslSocket.setEnabledCipherSuites(enabledCipherSuites);
    sslSocket.setEnabledProtocols(enabledProtocols);
    sslSocket.startHandshake();

  • RELEVANCY SCORE 3.51

    DB:3.51:Receiving Error The Query Contains The [Parametername] Parameter, Which Is Not Declared In Ssrs 2005 zx


    Hello,
    I have a report in SSRS 2005 that's connected to an SSAS 2008 cube. I have a multi-valued parameter in this report. When running the report in Report Manager (2005), if I select more than one value for that multi-valued parameter, I receive the error: The
    query contains the [parametername] parameter, which is not declared. Selecting only one value for the parameter works fine and doesn't throw the error. This report also works fine when hooked up to a 2005 SSAS cube, regardless of how many values I select
    for the parameter.
    So I'm thinking it must have something to do with SSAS 2008. My dataset query is a custom MDX expression, and the basic format is:
    =SELECT NON EMPTY
    {
    [Measures]
    } ON COLUMNS,
    NON EMPTY
    {
    (
    [dimension attributes]
    )
    } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME
    ON ROWS
    FROM ( SELECT ( STRTOSET(@Param1, CONSTRAINED) ) ON COLUMNS
    FROM ( SELECT ( STRTOSET(@Param2, CONSTRAINED) ) ON COLUMNS
    FROM ( SELECT ( Code.EvalAccount(Parameters!Account.Value) ) ON COLUMNS
    FROM [CUBE_NAME])))
    CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Any ideas why it would be throwing that error only when connected to the 2008 cube? My parameters are declared in the Parameters tab of the query properties.
    Any help would be appreciated.
    Thanks,
    Greg

    DB:3.51:Receiving Error The Query Contains The [Parametername] Parameter, Which Is Not Declared In Ssrs 2005 zx


    Hello,
    I have a report in SSRS 2005 that's connected to an SSAS 2008 cube. I have a multi-valued parameter in this report. When running the report in Report Manager (2005), if I select more than one value for that multi-valued parameter, I receive the error: The
    query contains the [parametername] parameter, which is not declared. Selecting only one value for the parameter works fine and doesn't throw the error. This report also works fine when hooked up to a 2005 SSAS cube, regardless of how many values I select
    for the parameter.
    So I'm thinking it must have something to do with SSAS 2008. My dataset query is a custom MDX expression, and the basic format is:
    =SELECT NON EMPTY
    {
    [Measures]
    } ON COLUMNS,
    NON EMPTY
    {
    (
    [dimension attributes]
    )
    } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME
    ON ROWS
    FROM ( SELECT ( STRTOSET(@Param1, CONSTRAINED) ) ON COLUMNS
    FROM ( SELECT ( STRTOSET(@Param2, CONSTRAINED) ) ON COLUMNS
    FROM ( SELECT ( Code.EvalAccount(Parameters!Account.Value) ) ON COLUMNS
    FROM [CUBE_NAME])))
    CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Any ideas why it would be throwing that error only when connected to the 2008 cube? My parameters are declared in the Parameters tab of the query properties.
    Any help would be appreciated.
    Thanks,
    Greghttp://msdn.microsoft.com/en-us/library/ms156303(SQL.90).aspx

    Sri.Tummala

  • RELEVANCY SCORE 3.51

    DB:3.51:Delete A User In Gridview Of Membership System 1d


    Hi EveyOne,
    I Use Mmebership System for My Project, but when I want to delete a user this Error Create:

    The parameter 'username' must not be empty.
    Parameter name: username
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: The parameter 'username' must not be empty.
    Parameter name: username

    Source Error:

    Line 26: string strUserName = GridView1.Rows[GridView1.SelectedIndex].Cells[0].Text;
    Line 27:
    Line 28: if (Membership.DeleteUser(strUserName, true) == true)
    Line 29: {
    Line 30: GridView1.DataBind();

    Thank You.

    Thank You

  • RELEVANCY SCORE 3.49

    DB:3.49:Mdx Query, How To Get An Average Of 5 Rows In Mdx? sp


    Hi all,I currently have a very simple MDX as follow:
     
    SELECT NON EMPTY { [Measures].[Param Result] } ON COLUMNS, NON EMPTY { ([Param Data].[Param StartTime].MEMBERS ) } ON ROWS FROM ( SELECT ( STRTOSET(@rpTestName, CONSTRAINED) ) ON COLUMNS FROM [AuditTester])
     
    Since the above query might return a lot of parameter results for each parameter, my users want to bin (group) the results together by 5, 10, 20, etc.  For example, binning by 5 means if the above query returns 10 rows, I need another query to only return two records to users where each new record is an average of 5 old rows.  I did it in sql statement but now I need to do it in MDX.  Any helps or suggestions would be greatly appreciated!
     
    Thanks,
    Amy

  • RELEVANCY SCORE 3.48

    DB:3.48:Adding Parameter To Mdx In Ssrs sd


    Hello,

    I have the follwong mdx:
    SELECT NON EMPTY { [Measures].[Sales] } ON COLUMNS,
    NON EMPTY { ([Dim Date].[Date Hierarchy].[Month].ALLMEMBERS ) } ON ROWS
    FROM
    (
    SELECT ( { [Dim Product].[Level 5].[Milk] } ) ON COLUMNS,
    filter
    (
    [Dim Product].[Level Hierarchy].members,
    (
    [Dim Product].[ID].currentmember.Properties(Quantity Per Item)='1'
    and
    [Dim Product].[Product ID].currentmember.Properties(Unit Of Measurement)='Liters'
    )
    ) on rows
    I want the user to pass values so as to select the months to be shown so in the following line:
    NON EMPTY { ([Dim Date].[Date Hierarchy].[Month].ALLMEMBERS ) } ON ROWS

    I guess i have to put somehting like between @start_date and @end_date . How should i write the line with the parameters?

    Thnaks in advance,
    Andreas

    DB:3.48:Adding Parameter To Mdx In Ssrs sd

    Hello,

    I found the solution. The strtomember was used:
    SELECT NON EMPTY { [Measures].[] } ON COLUMNS,
    NON EMPTY { ([].[].[].ALLMEMBERS ) } ON ROWS
    FROM
    (
    select
    { ( strtomember(@StartYear):strtomember(@EndYear) ) } ON columns
    from [Cube]
    )

    Thnaks,

    Andreas

  • RELEVANCY SCORE 3.40

    DB:3.40:Index Bound Out Of Range. Must Be Non-Negative fd



    i'm using url iview in portal for .NET application,when it's launched first time it's showing below error

    Index bound out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index.

    Has anyone ever come across this error?

    regards,

    Sreedhar

    DB:3.40:Index Bound Out Of Range. Must Be Non-Negative fd


    Hi Sreedhar,

    It seems either in your .NET application there is some error in coding where it is trying to fetch the negative or out-of-bound index in some array or the application is trying to fetch an older index which does not exist now. This may be due to caching.

    Please try restarting the portal server (cleans the cache) then Deploy New Archive Run the application.

    Hope this solves your issue.

    Kind Regards,

    Nitin

  • RELEVANCY SCORE 3.35

    DB:3.35:Regarding Detailed Mess In 'Invalidalgorithmparameterexception'(Japane Os) 8p


    Hi,

    This is regarding detailed message 'the trustAnchors parameter must be non-empty' in the exception:'InvalidAlgorithmParameterException'.

    I am using Java SSL library to authenticate the certificate. While authenticating 'InvalidAlgorithmParameterException' exception got received and verified the detailed message. From that i come to know that keystore is not available in respective path.

    Same detailed message( in english), though i am working in WINDOWS 2003 Japanese version. I need confirmation that the detailed message 'the trustAnchors parameter must be non-empty' is same in Japanese OS also?

    I am using same string in condition to give proper error message 'Certificate is not found' to the user. Is it reliable to check this type of condition in Japanese OS?
    as per my knowledge If that string come is japanese for Japanese OS, It is not relable to check such conditions.

    And where can I get the proof in Java DOC that I will get english message only in Japanese OS also for that exception?

    Could you pleae help.

    Thank you.

    DB:3.35:Regarding Detailed Mess In 'Invalidalgorithmparameterexception'(Japane Os) 8p

    Sorry I am not able get you.Ridiculous. There's nothing hard to understand in the answers I've given above. I'd try harder if I were you. A lot harder. What part of 'no' don't you understand?
    can you plz give more details.Also ridiculous. What 'more details' about 'no' could possibly exist?

    And please take note of my important comment about the wrong error message. This is not a 'certificate problem' but an installation problem, and it should be suitably worded and suitably designed.

    You're barking up the wrong tree here, in every respect possible.

  • RELEVANCY SCORE 3.35

    DB:3.35:Issue With Ordering In Mdx s3


    I have a parameter dataset in a report which i wish to sort as per the SortOrder(integer). I'm able to sort successfully barring 2 records..intead of 1-2-3 i'm getting 1-10-11. My parameter query is as below. Any help would be really great.
    WITH MEMBER
    [Measures].[ParameterCaption] AS
    [Level].[Level ID].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS
    [Level].[Level ID].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS
    [Level].[Level ID].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT
    NON EMPTY {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    NON EMPTY {(
    ORDER([Level].[Sort Order].[Sort Order],[Measures].[ParameterValue],ASC)*
    [Level].[Level ID].[Level ID].ALLMEMBERS *
    [Level].[Level Name].[Level Name].ALLMEMBERS
    )}
    ON ROWS
    FROM [ISG_BIM_FIN_UrveTime]Nelton D'Souza MS BI Developer

    DB:3.35:Issue With Ordering In Mdx s3

    Thanks alot Sorna...Solved my issue.Nelton D'Souza MS BI Developer

  • RELEVANCY SCORE 3.29

    DB:3.29:Error Message:Ldap Directory - Ldap Server W/ Ssl 89



    We are getting the following error message when we are using ssl within LDAP server information section.

    [We have CUCM 6.1.1.2000-3]

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty; nested exception is:

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    How can we correct this issue?

    DB:3.29:Error Message:Ldap Directory - Ldap Server W/ Ssl 89


    If I remember right, DirSync only runs on publisher. You just need to restart tomcat on pub.

  • RELEVANCY SCORE 3.23

    DB:3.23:Problem Sending Mail With Smtp And Ssl 1s


    Hi,

    I am trying to send mail using JavaMail 1.4/jdk1.5 using ssl. I save the certificate by going into IE and exporting the certificate and added the certificate using the keytool to ${JAVA_HOME}/jre/lib/security/cacerts.I have also added this in the code using

    System.setProperty("javax.net.ssl.trustStore","${JAVA_HOME}/jre/lib/security/cacerts");But I am still getting the following error.

    DEBUG SMTP: trying to connect to host "XXXX", port 465, isSSL true
    DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    Exception in thread "main" javax.mail.MessagingException: Exception reading response;
    nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
    at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
    at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
    at javax.mail.Service.connect(Service.java:275)
    at glycomics.common.util.SendMailUsingAuthentication.postMail(Unknown Source)
    at glycomics.common.util.SendMailUsingAuthentication.main(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1485)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1468)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1394)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:86)
    at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
    at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
    at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
    ... 5 more
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:56)
    at sun.security.validator.Validator.getInstance(Validator.java:146)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:105)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:167)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:678)
    at com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
    ... 10 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)
    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87)
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:54)Has anybody faced similar problem??Any suggestions??

    TIA

    M

    Message was edited by:
    c@de-m@nkey

    DB:3.23:Problem Sending Mail With Smtp And Ssl 1s

    See SSLNOTES.txt and the JavaMail FAQ for debugging hints.
    If you turn on all the debugging output and still can't figure it out,
    you'll probably need to ask in some Java security forum. The
    problem is occurring when making the connection using SSLSocket,
    before any JavaMail code comes into play.

  • RELEVANCY SCORE 3.18

    DB:3.18:Obiee 11g Ssl For Msad c1


    Has anyone successfully configured a MSAD connection using SSL? I was able to setup connection on port 636, check SSL and also check Use retrieved username as principal. Basically followed this: https://support.oracle.com/CSP/main/article?cmd=showtype=NOTdoctype=BULLETINid=1326641.1

    From there I imported my cert into the cacerts and was able to see my users in Web Logic. Since that point I have been unable to authenticate any user, even native and weblogic as well as BISystemUser. When I tried to login I was seeing this error in the log file: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    I ran across a doc referencing the error http://docs.oracle.com/cd/E28271_01/bi.1111/e10543/ssl.htm but it sounds intended more for Web Services and SOA. I also disabled port 7001 for WebLogic and enabled port 7002 which is SSL. If I follow the doc I resolved the error, but then get another error:

    The policy reference URI "oracle/wss_username_token_client_policy" is not valid.

    Anyone has any take on this as I am under the assumption there is no way to just use SSL for security and that I need to set SSL on all component which I do not wish to do. As it is I have a VIP that is SSL encrypted and assume when a user logs in to the front end their password is encrypted and passed back to LDAP for verification, so is there any real point in using SSL MSAD?

    DB:3.18:Obiee 11g Ssl For Msad c1

    When I look at my documents closer, the one write-up is in regards to OID, so not even sure the same logic would apply to LDAP/MSAD.

  • RELEVANCY SCORE 3.11

    DB:3.11:Can I Create Expression As A Constant In Generated Pl/Sql Code 37


    I want to create some expressions and it values must uses in generated SQL code like constant, but not calculate for each row.

    I know one stupid solution: Create empty procedure with IN OUT parameters and use this procedure in pre-mapping process. In this case value of expression will be IN parameter and OUT pre-mapping's parameter will be generated as Constant for SQL code.

    Who can help me?

    DB:3.11:Can I Create Expression As A Constant In Generated Pl/Sql Code 37

    There are more than one way you can do this. Put it in the pre-mapping process, as described by you, use an expression, use a trasformation or use a temporary table to store constant values calculated on the fly. It all depends on what exacltly you want to do and on your environment details.

    Regards:
    Igor

  • RELEVANCY SCORE 3.04

    DB:3.04:Trustanchors Error fz


    Hi, we have migrated root DC's from 2003 to 2008R2. In Operations Manager I received:Zone TrustAnchors on DNS Server DC02.domain.local is not responding to queries.could not find how to solve this,thanks

    DB:3.04:Trustanchors Error fz

    Well,Check your DNS configuration, and confirm there is noDNSSEC configurationCheck with your DS Admin, all operations done during migration.May be it's a new configuration following your upgrade to W2008 ofr security raisonAnd if you're not concerned by this alert, simply create an override to desactive itRegards,JF BERENGUER
    MVP System Center Operations Manager
    MCSE, MCT, MCSA messaging,
    NEXTEC SYSTEMS

    http://actelia.spaces.live.com/

  • RELEVANCY SCORE 3.02

    DB:3.02:Java.Security.Invalidalgorithmparameterexception: The Trustanchors Paramete z1


    We are not able to connect to Sybase 12.5 DB from WLS 10.3 if SSL is enabled. But when we try to connect from WLS 10.3 to Sybase 15 by enabling the SSL, the connection successful. Also the same configuration works with WLS 8.1 SP6 connecting the Sybase 12.5 by enabling SSL. The issue is only with WLS 10.3 trying to connect to Sybase 12.5 by enabling SSL.

    When we try to connect to Sybase 12.5 with WLS 10.3 by enabling the SSL, below exception is thrown in the log files.

    ####Feb 19, 2010 4:40:37 PM EST Warning JDBC NAMDSW8804 AdminServer [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1266615637524 BEA-001129 Received exception while creating connection for pool "SCF Data Source": JZ006: Caught IOException: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    ####Feb 19, 2010 4:40:37 PM EST Info JDBC NAMDSW8804 AdminServer [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' WLS Kernel 1266615637540 BEA-001156 Stack trace associated with message 001129 follows:

    java.sql.SQLException: JZ006: Caught IOException: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sybase.jdbc3.jdbc.ErrorMessage.raiseError(Unknown Source)
    at com.sybase.jdbc3.jdbc.ErrorMessage.raiseErrorCheckDead(Unknown Source)
    at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
    at com.sybase.jdbc3.tds.Tds.a(Unknown Source)
    at com.sybase.jdbc3.tds.Tds.login(Unknown Source)
    at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
    at com.sybase.jdbc3.jdbc.SybConnection.a(Unknown Source)
    at com.sybase.jdbc3.jdbc.SybConnection.init(Unknown Source)
    at com.sybase.jdbc3.jdbc.SybConnection.init(Unknown Source)
    at com.sybase.jdbc3.jdbc.SybDriver.connect(Unknown Source)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:316)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:217)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1109)
    at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1033)
    at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:214)
    at weblogic.jdbc.common.internal.ConnectionPool.doStart(ConnectionPool.java:1051)
    at weblogic.jdbc.common.internal.ConnectionPool.start(ConnectionPool.java:146)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:385)
    at weblogic.jdbc.common.internal.ConnectionPoolManager.createAndStartPool(ConnectionPoolManager.java:326)
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:251)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
    at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16)
    at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
    at weblogic.deploy.internal.targetserver.SystemResourceDeployment.prepare(SystemResourceDeployment.java:55)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Verified all the SSL configurations and also enabled below SSL debug flags. The configurations looks good. Not much information is logged in the WLS log files by enabling the SSL debugs.

    set JAVA_OPTIONS= -Djavax.net.debug=ssl -Dweblogic.security.SSL.verbose=true -Dapp.sslcert=C:/citivisioncert/cvision.jks -Dweblogic.security.SSL.enforceConstraints=off -Dapp.sslcert=C:/citivisioncert/cvision.jks -Dweblogic.security.SSL.verbose=true -Dssl.debug=true -Dweblogic.security.SSL.debugEaten=true -Dweblogic.StdoutDebugEnabled=true -Djava.security.policy="%WL_HOME%\wlserver_10.3\server\lib\weblogic.policy"

    Environment: WLS 10.3, Sun Solaris 10 SPARC (64-bit), SUN JDK 1.6.0_05-b13, Sybase 12.5 DB.

    Any clues on this error when trying to connect from WLS 10.3 to Sybase 12.5.4?

    Thanks in Advance.

    DB:3.02:Java.Security.Invalidalgorithmparameterexception: The Trustanchors Paramete z1

    please im trying to connect to sybase 15 from wls 10.3 by enanlig ssl and i cant find anything describe how to the configuration could any one help me plz

  • RELEVANCY SCORE 3.01

    DB:3.01:The Dns Server Encountered Error 32 Attempting To Load Zone Trustanchors From Active Directory 1c


    Recently added a 2008R2 RODC to my network, functioning as AD-Integrated DNS server for a remote branch office. I have a problem where whenever theserver is restarted, I repeatedly get the following errors:
    Log Name: Application
    Source: Application Error
    Date: 8/9/2011 8:01:36 AM
    Event ID: 1000
    Task Category: (100)
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: AR13.applereit.local
    Description:
    Faulting application name: dns.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc929
    Faulting module name: dns.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc929
    Exception code: 0xc0000005
    Fault offset: 0x000000000001f256
    Faulting process id: 0xe20
    Faulting application start time: 0x01cc5690956fe991
    Faulting application path: C:\Windows\system32\dns.exe
    Faulting module path: C:\Windows\system32\dns.exe
    Report Id: b67fcd8d-c287-11e0-b6f9-001b21a2b1bc

    Followed by:
    Log Name: System
    Source: Service Control Manager
    Date: 8/9/2011 8:01:37 AM
    Event ID: 7031
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: AR13.applereit.local
    Description:
    The DNS Server service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 120000 milliseconds: Restart the service.
    Followed by:
    Log Name: DNS Server
    Source: Microsoft-Windows-DNS-Server-Service
    Date: 8/9/2011 8:03:37 AM
    Event ID: 4001
    Task Category: None
    Level: Error
    Keywords: Classic
    User: N/A
    Computer: AR13.applereit.local
    Description:
    The DNS server was unable to open zone TrustAnchors in the Active Directory. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning
    properly and reload the zone. The event data is the error code.
    And finally:
    Log Name: DNS Server
    Source: Microsoft-Windows-DNS-Server-Service
    Date: 8/9/2011 8:03:37 AM
    Event ID: 4521
    Task Category: None
    Level: Warning
    Keywords: Classic
    User: N/A
    Computer: AR13.applereit.local
    Description:
    The DNS server encountered error 32 attempting to load zone TrustAnchors from Active Directory. The DNS server will attempt to load this zone again on the next timeout cycle. This can be caused by high Active Directory load and may be a transient condition.
    This will go on for several hours, and then it will just stop until next time I restart the server. I don't think I need TrustAnchors in my environment, and it seems like something that was installed by default when I enabled DNS services on this machine.
    I would just like to remove/disable any TrustAnchors settings, but can't find any information on how. Any help would be greatly appreciated.

    DB:3.01:The Dns Server Encountered Error 32 Attempting To Load Zone Trustanchors From Active Directory 1c

    Leave the Root stuff alone. We just need to delete the duplicates.
    As for the delegation, not sure whether to tell you to delete it or not. It depends on how is your parent-child DNS relationhip designed? Read the following for more info:
    DNS Design Options in a Multi-Domain Forest - How to create a Parent-Child DNS Delegation, and How to Configure DNS to create a new Tree in the Forest
    http://msmvps.com/blogs/acefekay/archive/2010/10/01/dns-parent-child-dns-delegation-how-to-create-a-dns-delegation.aspx

    Ace Fekay
    MVP, MCT, MCITP Enterprise Administrator, MCTS Windows 2008 Exchange 2007 Exchange 2010, Exchange 2010 Enterprise Administrator, MCSE MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php

    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • RELEVANCY SCORE 3.01

    DB:3.01:The Trustanchors Parameter Must Be Non-Empty aj


    Hello Friends I have one Java Procedure that is called by Database Trigger. This Java Procedure takes some values from Database and post it to the URL like.. https://abcdefg.bcdas.com/abc=ttt. In short I am posting form from Java Procedure. This works fine from outside the database. But not posting form when I load it to the Database. If any one know please help me to solve this problem. Its urgent.. We have created SSL certificate and Inserted in the JRE/lib/security/cacerts for HTTPS. Still it is not working. If give the keystore=*JRE/lib/security/cacerts* this then I get this Error.... javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at CLientHttpRequest.insertMethod(CLientHttpRequest.java:126) at CLientHttpRequest.main(CLientHttpRequest.java:192) Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.validator.PKIXValidator.init(PKIXValidator.java:59) at sun.security.validator.Validator.getInstance(Validator.java:161) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) ... 7 more Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183) at java.security.cert.PKIXParameters.init(PKIXParameters.java:103) at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87) at sun.security.validator.PKIXValidator.init(PKIXValidator.java:57) ... 18 more java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Thanks and Regards DB

    DB:3.01:The Trustanchors Parameter Must Be Non-Empty aj

    Hello Friends I have one Java Procedure that is called by Database Trigger. This Java Procedure takes some values from Database and post it to the URL like.. https://abcdefg.bcdas.com/abc=ttt. In short I am posting form from Java Procedure. This works fine from outside the database. But not posting form when I load it to the Database. If any one know please help me to solve this problem. Its urgent.. We have created SSL certificate and Inserted in the JRE/lib/security/cacerts for HTTPS. Still it is not working. If give the keystore=*JRE/lib/security/cacerts* this then I get this Error.... javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at CLientHttpRequest.insertMethod(CLientHttpRequest.java:126) at CLientHttpRequest.main(CLientHttpRequest.java:192) Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at sun.security.validator.PKIXValidator.init(PKIXValidator.java:59) at sun.security.validator.Validator.getInstance(Validator.java:161) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) ... 7 more Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183) at java.security.cert.PKIXParameters.init(PKIXParameters.java:103) at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87) at sun.security.validator.PKIXValidator.init(PKIXValidator.java:57) ... 18 more java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Thanks and Regards DB

  • RELEVANCY SCORE 3.01

    DB:3.01:Trouble When Using Properties To Load A Parameter From A File. kk


    Hi, everyone!

    I use Properties class to read parameter from a
    file. It works fine but there is still a small trouble.
    The trouble is the name of the patameter is case
    sensitive.

    For example, if I want to get property URL from
    a file, the file must be like this,

    --------
    URL = www.ibm.com
    --------

    If the file likes this,
    --------
    url = www.ibm.com
    --------

    Or
    --------
    uRl = www.ibm.com
    --------

    The Properties class is not working very well.

    How to load a parameter from a file by a
    non-case sensitive parameter name?

    Thanks in advance,
    George

    DB:3.01:Trouble When Using Properties To Load A Parameter From A File. kk

    Read the properties the usual way.
    Fetch the values as an enumeration, and loop until you find the desired key
    public String getKeyIgnoringCase(Properties properties, String keyName) {
    for (Enumeration e = properties.propertyNames(); e.hasMoreElements();) {
    String sKey = (String)e.nextElement();
    if (sKey.equalsIgnoreCase(keyName)) {
    return properties.getProperty(skey);
    }
    }
    return null;
    }Regards,

    /Haring;kan

  • RELEVANCY SCORE 2.93

    DB:2.93:Javax.Net.Ssl.Sslexception: Java.Lang.Runtimeexception: Unexpected Error x1


    Below exception is coming sometimes in the program.javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.After getting this exception, i restarted the server then program was working fine without any issues.But after some hours again above exception is coming. Restarting server everyday is not feasible. I am not able to find the cause of the problem. but this might not be the certificate path problem because program is running for 1/2 days. After getting the exception its not running.I am using tomcat,java 6 in application.Its urgent..Please help!!! Thanks in advance..

    DB:2.93:Javax.Net.Ssl.Sslexception: Java.Lang.Runtimeexception: Unexpected Error x1

    This bizarre message means that the truststore you specified was not found.

  • RELEVANCY SCORE 2.87

    DB:2.87:Msbuild Virtualdirectory Creation In Win 2008 Server Error kj


    We are creating a virtual directory on a win 2008 server.

    WebDirectoryCreate
    VirtualDirectoryName=Desktop
    VirtualDirectoryPhysicalPath=$(BaseDir)\Web
    /
    This gives an error
    Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
    Any help?

    DB:2.87:Msbuild Virtualdirectory Creation In Win 2008 Server Error kj

    Hello LNR,
    If you just use MSBuild.exe to execute your project, will you get that error?

    Thanks.Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.84

    DB:2.84:The Trustanchors Parameter Must Be Non-Empty 8p


    Hello Friends
    I have one Java Procedure that is called by Database Trigger. This Java Procedure takes some values from Database and post it to the URL like.. https://abcdefg.bcdas.com/abc=ttt. In short I am posting form from Java Procedure. This works fine from outside the database. But not posting form when I load it to the Database. If any one know please help me to solve this problem. Its urgent..

    We have created SSL certificate and Inserted in the JRE/lib/security/cacerts for HTTPS. Still it is not working.
    If give the keystore=*JRE/lib/security/cacerts* this then I get this Error....
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:415)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:881)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230)
    at CLientHttpRequest.insertMethod(CLientHttpRequest.java:126)
    at CLientHttpRequest.main(CLientHttpRequest.java:192)
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:59)
    at sun.security.validator.Validator.getInstance(Validator.java:161)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:108)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:204)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:249)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1014)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:124)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
    ... 7 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)
    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87)
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:57)
    ... 18 more
    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    Thanks and Regards
    DB

    DB:2.84:The Trustanchors Parameter Must Be Non-Empty 8p

    I know it's not much of an answer, but maybe ask your question in a java-related forum.

    Mark the question as answered if you want to close the thread.

  • RELEVANCY SCORE 2.73

    DB:2.73:Setting Javax.Net.Ssl.Truststore In Ejb 19


    Hi,

    I want to call a web service from an EJB and need a certification to do so.
    I imported this cert into a keystore and put it into my JAR file (which is in the
    EAR). How do I have to set javax.net.ssl.trustStore?

    System.setProperty(
    "javax.net.ssl.trustStore",
    "keystore");nor

    System.setProperty(
    "javax.net.ssl.trustStore",
    "/keystore");worked :( I always get this Exception:

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)
    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87)
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:54)
    ... 89 moreAny ideas? Thanks!
    -Danny

    DB:2.73:Setting Javax.Net.Ssl.Truststore In Ejb 19

    Hi,

    I want to call a web service from an EJB and need a certification to do so.
    I imported this cert into a keystore and put it into my JAR file (which is in the
    EAR). How do I have to set javax.net.ssl.trustStore?

    System.setProperty(
    "javax.net.ssl.trustStore",
    "keystore");nor

    System.setProperty(
    "javax.net.ssl.trustStore",
    "/keystore");worked :( I always get this Exception:

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:183)
    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)
    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters.java:87)
    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:54)
    ... 89 moreAny ideas? Thanks!
    -Danny

  • RELEVANCY SCORE 2.59

    DB:2.59:Pmsdatabasedatacontext Must Be A Non-Abstract Type With A Public Parameterless Constructor In Order To Use It As Parameter Tcontext In The Generic Type Or Method System.Web.Domainservices.Linqtosql.Linqtosqldomainservicetcontext pz



    public class
    Patient_Registration :
    LinqToSqlDomainServicePMSDataBaseDataContext

    i have getting this error when i build my silverlight application with LINQ :
    Error1'BLL.Web.Data.DataBaseDataContext' must be a non-abstract type with a public parameterless constructor in order to use it as parameter 'TContext' in the generic type or method 'System.Web.DomainServices.LinqToSql.LinqToSqlDomainServiceTContext'../BLL.Web\Patient\Patient_Registration.cs2018BLL.Web
    but i get solution for it and i will put like this on my domain service class :
    public class
    Patient_RegistrationTContext :
    LinqToSqlDomainServiceTContext
    where TContext :
    PMSDataBaseDataContext,
    new()
    then i have getting this error : Error33The type 'PMSBLL.Web.Admin.Demographic`1' is not a valid domain service type. Domain service types must be concrete and non-generic.PMSBLL (PMSBLL\PMSBLL)

    pls give me any solution for it.

  • RELEVANCY SCORE 2.59

    DB:2.59:Argumenterror: Error #2085: Parameter Aliasname Must Be Non-Empty String. 7a



    hi -

    I started getting this error today from an application I am developing using FlashBuilder 4. Here's the full stack trace (bold text replaced the actual appname):

    ArgumentError: Error #2085: Parameter aliasName must be non-empty string. at global/flash.net::registerClassAlias() at _{appName}_FlexInit$/init() at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.0.0\frameworks\projects\fra mework\src\mx\managers\SystemManager.as:2620] at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.0.0\frame works\projects\framework\src\mx\managers\SystemManager.as:2539] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.preloaders::Preloader/timerHandler()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \preloaders\Preloader.as:515] at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick()

    Looks like the the flash vm tries to load initialize my application, but fails. I cant seem to figure out why this is happening? It was working last week.

    Few things that could have changed:

    a) our company updates the flash runtime to patch any vulnerabilities, that may have caused something? ( i tried in FF, IE, and Chrome...same err.)

    b) my code updates...but i swear the changes were done further along in the screens...and this error occurs when the app is just getting started.

    Appreciate any help/insight...thanks in advance.

    [k s]

    DB:2.59:Argumenterror: Error #2085: Parameter Aliasname Must Be Non-Empty String. 7a


    oh man. thank you. that was it. mhmm...i think this should've been a compiler error. ( I had the alias=""...but since i didnt yet write the remote class, left it blank 2 days back...and of course, forgot about that!)

    Not sure how you figured that out...is it mentioned somewhere, that i missed? But I think the compiler should warn me on such errors. Anyone else thinks not?

    thanks for the answer!

  • RELEVANCY SCORE 2.56

    DB:2.56:Trustanchors Parameter Must Be Non-Empty (In Applet) jx


    Hi all,

    I am writing a sample app using RMI over SSL.

    It works fine when I run it from the jar, from the command line, but when I try to run it from an applet, I get this error:

    Exception occured:error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at HelloImpl_Stub.sayHello(Unknown Source)
    at HelloClient.init(HelloClient.java:116)
    at applet.start(applet.java:57)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    ... 8 more
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(Unknown Source)
    at sun.security.validator.Validator.getInstance(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
    ... 12 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    at java.security.cert.PKIXParameters.init(Unknown Source)
    at java.security.cert.PKIXBuilderParameters.init(Unknown Source)
    ... 24 more

    This is my applet code:

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class applet extends JApplet
    {
    public void start()
    {
    HelloClient app = new HelloClient();
    app.setVisible(true);
    }
    }And this is the code I use in HelloClient to use the keystore and truststore that are located inside the jar.

    TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
    KeyStore truststore = KeyStore.getInstance(KeyStore.getDefaultType());
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());

    InputStream keystoreStream = ClassLoader.getSystemResourceAsStream("keystore");
    InputStream truststoreStream = ClassLoader.getSystemResourceAsStream("truststore");
    truststore.load(truststoreStream, "trustword".toCharArray());
    keystore.load(keystoreStream, "password".toCharArray());
    trustManagerFactory.init(truststore);
    keyManagerFactory.init(keystore, "password".toCharArray());
    TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
    KeyManager[] keyManagers = keyManagerFactory.getKeyManagers();
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(keyManagers, trustManagers, null);
    SSLContext.setDefault(sc);From this topic (the only one with any information on this problem)

    http://forum.java.sun.com/thread.jspa?forumID=2threadID=580496

    It seems there are two possible errors...

    One is that it can't find the truststore... but it finds it when I run the application (same class) from the cmd, so I am unsure whether this is the root cause of the error.

    I tried using this line instead
    ClassLoader.getSystemResourceAsStream("C:\\truststore");and putting a copy of the truststore in C:\ but this didn't work either.

    The other is that it isn't finding the root certificate for the truststore in the jvm cacerts. I exported the duke.cer from the truststore and imported that into the cacerts but still nothing changed.

    Are my assumptions correct here, and is there anything I have missed?

    I am using jre1.6.0_01 and for testing purposes, am using the keystore and truststore downloaded in the resources zip from
    http://blogs.sun.com/lmalventosa/entry/using_the_ssl_tls_based

    The jar is signed by a non self-signed certificate and using the getResourceAsStream, is able to load images throughout.

    Thanks,
    Brendo

    DB:2.56:Trustanchors Parameter Must Be Non-Empty (In Applet) jx

    Hi all,

    I am writing a sample app using RMI over SSL.

    It works fine when I run it from the jar, from the command line, but when I try to run it from an applet, I get this error:

    Exception occured:error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at HelloImpl_Stub.sayHello(Unknown Source)
    at HelloClient.init(HelloClient.java:116)
    at applet.start(applet.java:57)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
    at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)
    at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    at java.io.BufferedOutputStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    ... 8 more
    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(Unknown Source)
    at sun.security.validator.Validator.getInstance(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)
    ... 12 more
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    at java.security.cert.PKIXParameters.init(Unknown Source)
    at java.security.cert.PKIXBuilderParameters.init(Unknown Source)
    ... 24 more

    This is my applet code:

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;

    public class applet extends JApplet
    {
    public void start()
    {
    HelloClient app = new HelloClient();
    app.setVisible(true);
    }
    }And this is the code I use in HelloClient to use the keystore and truststore that are located inside the jar.

    TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
    KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(KeyManagerFactory.getDefaultAlgorithm());
    KeyStore truststore = KeyStore.getInstance(KeyStore.getDefaultType());
    KeyStore keystore = KeyStore.getInstance(KeyStore.getDefaultType());

    InputStream keystoreStream = ClassLoader.getSystemResourceAsStream("keystore");
    InputStream truststoreStream = ClassLoader.getSystemResourceAsStream("truststore");
    truststore.load(truststoreStream, "trustword".toCharArray());
    keystore.load(keystoreStream, "password".toCharArray());
    trustManagerFactory.init(truststore);
    keyManagerFactory.init(keystore, "password".toCharArray());
    TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
    KeyManager[] keyManagers = keyManagerFactory.getKeyManagers();
    SSLContext sc = SSLContext.getInstance("SSL");
    sc.init(keyManagers, trustManagers, null);
    SSLContext.setDefault(sc);From this topic (the only one with any information on this problem)

    http://forum.java.sun.com/thread.jspa?forumID=2threadID=580496

    It seems there are two possible errors...

    One is that it can't find the truststore... but it finds it when I run the application (same class) from the cmd, so I am unsure whether this is the root cause of the error.

    I tried using this line instead
    ClassLoader.getSystemResourceAsStream("C:\\truststore");and putting a copy of the truststore in C:\ but this didn't work either.

    The other is that it isn't finding the root certificate for the truststore in the jvm cacerts. I exported the duke.cer from the truststore and imported that into the cacerts but still nothing changed.

    Are my assumptions correct here, and is there anything I have missed?

    I am using jre1.6.0_01 and for testing purposes, am using the keystore and truststore downloaded in the resources zip from
    http://blogs.sun.com/lmalventosa/entry/using_the_ssl_tls_based

    The jar is signed by a non self-signed certificate and using the getResourceAsStream, is able to load images throughout.

    Thanks,
    Brendo

  • RELEVANCY SCORE 2.53

    DB:2.53:Oracle Weblogic 10.3 Bea-000362 87


    Hi,

    I have just installed weblogic server and have create my base_domain. However when running startup I get the following error:-

    BEA-000362 - Server failed. Reason: Management:141266 Parsing Failure in config.xml: java.lang.IllegalArguementException: "" is not a legal value for username. The value must be non-empty string.

    So i looked at config.xml and found no empty strings. Odd!

    Can anyone advise?

    Speak later,

    DB:2.53:Oracle Weblogic 10.3 Bea-000362 87

    Hi,

    I have run ./setDomainEnv.sh.

    Then ./startWebLogig.sh

    but I get the same error unfortunately. I have never seen this error before.

    Can you assist?

    Speak later,

  • RELEVANCY SCORE 2.52

    DB:2.52:Index Out Of Range Error pd


    I want to delete a record from the database . The record is selected in a datagridview . The error I get is :Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index

    DB:2.52:Index Out Of Range Error pd

    Hi Codruta,
    Welcome to the MSDN Forum.
    As review your code, I have made a little change as follows:
    1. In the form2_Load subroutine: nrRanduri = ds.Tables(Clienti).Rows.Count() - nrRanduri = ds.Tables(Clienti).Rows.Count
    2. In the subroutine cauta: add one line before this statement ds = New DataSet:
    DataGridView1.DataSource = Nothing
    ds = Nothing
    da = Nothing
    Please have a try.
    I hope this will be helpful.
    Best regards,Mike Feng [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.50

    DB:2.50:How To Set Trustanchors Parameters??? m9


    Hi ,
    I am Implementing SSO .As I am developing SSO I got this Problem
    like

    trustAnchors Parameter must be Non-emptyHow to solve this problem ???

    I searched in google regarding this problem but i didn't find the correct solution....
    some members told to set the trustStore using -D option ..I am also set that property but there is no use..Still i am facing this problem.. If any one solved this problem plz Send the reply as early as possible..

    Thanks alot for your Help,

    Regards,
    Vishnavi..

    DB:2.50:How To Set Trustanchors Parameters??? m9

    What is the main purpous of using CAS .In which situations we have to use CAS.Whatever CAS may be, it has nothing to do with JSSE, and therefore nothing to do with this forum.

  • RELEVANCY SCORE 2.49

    DB:2.49:Invalidalgorithmparameterexception: The Trustanchors Parameter Must Be Non-Empty 8f



    Hi,

    I am a newbie to vSphere Web Services SDK.

    I am trying to execute the SimpleClient.java program from the sample programs given along with the SDK.

    I have set all the required variables (JAVAHOME, AXISHOME, WBEMHOME, VMKEYSTORE). I had also executed the code on friday and it worked.

    After which I had turned off my machine.

    Today morning when I started working on the same code to try to execute it, its giving me an exception as below:

    " Caught Exception : Exception : org.apache.axis.AxisFault Message : ; nested exception is:

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty"

    The way I am executing my code is as below:

    $ ./run.sh com.vmware.samples.general.SimpleClient --url https://lt;IPgt;:8443/sdk --username lt;usernamegt; --password lt;passwordgt;

    I am absolutely stuck up in this and am not able to understand the reason for tis exception.

    Please help me with this.

    thanks a lot in advance.

    DB:2.49:Invalidalgorithmparameterexception: The Trustanchors Parameter Must Be Non-Empty 8f

    Hi,

    No i wan't using --url http. I am damn sure i was using --url https and the code worked for the first time.

    Probably after I shut down the system, something went wrong wrt the certificates (thats my gut feeling).

    I just want to understand what that somethng is, so that when stuck into similar situation next time,

    I know the root cause of the problem and am able to solve it then.

  • RELEVANCY SCORE 2.48

    DB:2.48:Empty String For Rowkey In Azure js


    Azure allowed me to store an entity with non-empty string for partitionKey and empty string for rowKey. It then won't let me delete it because of:
    ! java.lang.IllegalArgumentException: The argument must not be an empty string or null:Delete requires a valid RowKey
    I'm confused why it would let me store an entity that I then can't delete.
    Apologies if I missed this in previous questions. I didn't see it in search results.
    Thanks

    DB:2.48:Empty String For Rowkey In Azure js

    HI

    I can't repro you issue.
    May be you use as the rowkey. It's not a empty string.
    Please use this tool http://azurestorageexplorer.codeplex.com/check your table and find what's the value in your rowkey.
    If it's empty you can post the capture to this thread to follow this thread.
    Something like this:
    Please mark post as answered if it helped!

  • RELEVANCY SCORE 2.48

    DB:2.48:Re: How To Pass Parameter To Jsp In Usertask 7p


    is taskId != null? it looks to me like task id would be empty?

    hth clemens

    DB:2.48:Re: How To Pass Parameter To Jsp In Usertask 7p

    Thanks Clemens,

    I am assigning a task to group dynamically and a group contains many users. So probably can't use IWorklistContext authenticateUser(..,..).

    Or can I modify the customapp worklist and in the payload section use the code that is implemented in External Application to get the data based on ID I get from the process payload, but also this data is coming from some other schema, so can I have a separate datasource and use it in worklist customapp for this piece only without affecting the worklists functionality, as I am thinking to use AJAX based on the complexity of the Data Display inside a task. Just wanted to make sure if it's ok to mix all this within worklist custom app with retereiving data from multiple schemas.

    Thanks

  • RELEVANCY SCORE 2.48

    DB:2.48:Index Was Out Of Range. Must Be Non-Negative And Less Than The Size Of The Collection. Parameter Name: Index jd


    Rohit J

    DB:2.48:Index Was Out Of Range. Must Be Non-Negative And Less Than The Size Of The Collection. Parameter Name: Index jd

    Is it possible, you're trying to update the same (last) row you've only just deleted!?

    wizend

  • RELEVANCY SCORE 2.48

    DB:2.48:Thrift Exception f1



    Hi All,

    I am getting the following error when trying to run the example onePK applications remotely. For example, the com.cisco.onep.examples.SyslogMonitor onePK application gives the following output.

    0 [main] INFO com.cisco.onep.examples.SyslogMonitor.SyslogMonitor - We have a NetworkElement -
    NetworkElement [ router1.3node.example.com ]
    715 [main] ERROR com.cisco.onep.element.NetworkElement - Thrift exception: org.apache.thrift.transport.TTransportException: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    715 [main] ERROR com.cisco.onep.element.NetworkElement - Could not connect to NetworkElement: com.cisco.onep.core.exception.OnepTransportException: Error occurred in the operation. Failed to connect to the network element or the session is closed. javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    717 [main] ERROR com.cisco.onep.element.NetworkElement - Error in disconnecting the session.
    725 [main] WARN com.cisco.onep.element.NetworkElement - Failed to connect to router1.3node.example.com/10.10.10.110: Error occurred in the operation. Failed to connect to the network element or the session is closed. javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    725 [main] ERROR com.cisco.onep.examples.SyslogMonitor.SyslogMonitor - Error occurred in the operation. Failed to connect to the network element or the session is closed. javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    It appears there is an issue with the trustAnchors parameter, but I am not sure what I need to do to correct the problem. When I run this application on the all-in-one VM, it works fine so I assume there is something missing on my development box. Can anyone shed some light on why I am getting this error?

    Thanks, Dave

    DB:2.48:Thrift Exception f1


    Hi Dave,

    What version of IOS are you running on your remote device? And you can ping it okay?

    Also, the certificate that comes with the All-in-One you downloaded will not work with other devices. If you haven't done so already, you should look into TLS Pinning:

    TLS Pinning Guide - Java

    Regards,

    Dave

  • RELEVANCY SCORE 2.45

    DB:2.45:New Dc/Dns 2k8r2 X64, Dns.Exe Faults/Trustanchors Errors fa


    I'm seeing a wealth of errors on a new DC i have created.. it is a GC, has a secondary dns server (ad integrated), by secondary i mean, its the 2nd dns server, the first being on the other dc.. I see the following: warning: eventid 4521 The DNS server encountered error 32 attempting to load zone TrustAnchors from Active Directory. The DNS server will attempt to load this zone again on the next timeout cycle. This can be caused by high Active Directory load and may be a transient condition. error: 4001 The DNS server was unable to open zone TrustAnchors in the Active Directory. This DNS server is configured to obtain and use information from the directory for this zone and is unable to load the zone without it. Check that the Active Directory is functioning properly and reload the zone. The event data is the error code. Under the application log: Faulting application name: dns.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc929 Faulting module name: dns.exe, version: 6.1.7600.16385, time stamp: 0x4a5bc929 Exception code: 0xc0000005 Fault offset: 0x000000000001f256 Faulting process id: 0xc80 Faulting application start time: 0x01caa40fcf3873cc Faulting application path: C:\Windows\system32\dns.exe Faulting module path: C:\Windows\system32\dns.exe Report Id: 78e01e48-1006-11df-be5e-00155d64533a eventid 1000 I've tried removing and re-adding the dns role to no avail, as mentioned somewhere else.. Possibly related.. but.. In the tcp/ip for this machine.. should the primary dns be the other dns server, while the secondary be the 127.0.0.1 address? Thanks for any help

    DB:2.45:New Dc/Dns 2k8r2 X64, Dns.Exe Faults/Trustanchors Errors fa

    Hi Markm75g,Are you still having the problem mentioned above ?Just curious to know , are you running non-authoratative dns servers ?, i see that youhave setup trust anchor which is used managed zone transfers ( secured ) between non-authoratative servers.Also what is your domain setup ? , please also make sure that you have pointed the primary dns server as itself .Dcrpomo has one wierd way of adding up 127.0.0.1 , you need to clear this ipaddress and point to your server.

  • RELEVANCY SCORE 2.45

    DB:2.45:Finding 'At Methodinfo-9()' az



    I'm getting this error...

    TypeError: Error #2007: Parameter hitTestObject must be non-null.
    at flash.display::DisplayObject/flash.display:DisplayObject::_hitTest()
    at flash.display::DisplayObject/hitTestObject()
    at MethodInfo-9()

    DB:2.45:Finding 'At Methodinfo-9()' az


    I'm getting this error...

    TypeError: Error #2007: Parameter hitTestObject must be non-null.
    at flash.display::DisplayObject/flash.display:DisplayObject::_hitTest()
    at flash.display::DisplayObject/hitTestObject()
    at MethodInfo-9()

  • RELEVANCY SCORE 2.45

    DB:2.45:Add An Expression To A Parameter ca


    Hello,
    Below is my mdx for a report: (I'm using OLEDB connection)
    =SELECT NON EMPTY {[Measures].[Count]} ON COLUMNS, NONEMPTY ( [Producers].[Producer Name].[Producer Name].ALLMEMBERS * [Date].[Quarter].[Quarter].ALLMEMBERS ) ON ROWS FROM ( SELECT ( -- + Parameters!CRM.Value + [CRM].[Name].[abc]) ON COLUMNS FROM ( SELECT ( [Date].[Quarter].[2006Q1]:[Date].[Quarter].[2006Q4] -- + Parameters!FromQtr.Value + : + Parameters!ToQtr.Value + ) ON COLUMNS FROM [Mycube] ))
    the dropdown list dataset for both FromQtr and ToQtr are:
    = WITH MEMBER [Measures].[ParameterCaption]  AS   '[Date].[Quarter].CURRENTMEMBER.MEMBER_CAPTION'   MEMBER [Measures].[ParameterValue]  AS     '[Date].[Quarter].CURRENTMEMBER.UNIQUENAME'    SELECT  NON EMPTY { [Measures].[ParameterCaption] , [Measures].[ParameterValue]  } ON COLUMNS ,    NON EMPTY {[Date].[Quarter].[Quarter].ALLMEMBERS } ON ROWS  FROM ( SELECT ( + Parameters!CRM.Value +   ) ON COLUMNS   FROM [Mycube])
    Instead of allowing the user to select ToQtr parameter from the dropdown list, how do I modify my MDX saying that if the user picks  [Date].[Quarter].[2006Q1] for FromQtr parameter, then the ToQtr parameter would automatically be [Date].[Quarter].[2006Q4] , i.e add '7' more quarters to it. We run this report for a CRM user for every 8 quarters. and also the report should always return data.
    I just want CRM and FromQtr to be shown/displayed for the user to select and ToQtr parameter should take the value in the backend and give out the result.
    I need the expression to add that 7 qtrs. Can anyone please tell me how to do it? Thanks.

    DB:2.45:Add An Expression To A Parameter ca

    ok,
    the problem is not that FromQtr + 8 does not exist - if FromQtr +8 does not exist, the range goes till the last Quater
    check the query that is sent to AS using profiler and debug the query using SSMS where the error-message is in more detail
     - www.pmOne.com -

  • RELEVANCY SCORE 2.45

    DB:2.45:Error-The Trustanchors Parameter Must Be Non-Empty x1


    hi to all,
    i ve a send mail program in jsf. when i try to send the mail after running the application "the trustAnchors parameter must be non-empty" error is coming. however same program when i run in form of standalone class, it is working.

    i think wls is unable to find truststore or something else. and i dont have any clue.

    can anyone help me? how to solve this problem?

    i m using jdev11g 2 with wls 11g(10.3.2).

    the error is-
    javax.mail.MessagingException: Can't send command to SMTP host;+
    nested exception is:javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty+

    Edited by: user78995 on May 23, 2010 1:52 AM

    DB:2.45:Error-The Trustanchors Parameter Must Be Non-Empty x1

    yes, i configured partially for cacerts file which resides in java home.

    in the wls console-
    go to EnvironmentServersConfigurationClick on yr servernameConfigurationKeyStores.
    In *'Java Standard Trust Keystore Passphrase' in 'Confirm Java Standard Trust Keystore Passphrase'* fields, type changeit .
    press the Save . restart the wls. this is working for me fine.

    i used code above setting in wls.

    thanks

  • RELEVANCY SCORE 2.44

    DB:2.44:Source : Dns-Server-Service - Event Id : 769 aa


    Ciao a tutti,
    Premessa, in AD abbiamo circa una ventina di DC disribuiti su rete geografica di cui 16 sono 2003 R2, 4 sono 2008 R2 e l'ultimo arrivato è 2012 R2 dove appunto sembra che abbia il problema.
    L'evento, visualizzato sul DNS Global, ovvero guardato dalla console del DNS è il seguente :
    The description for Event ID ( 769 ) in Source ( Microsoft-Windows-DNS-Server-Service ) cannot be found. Either the component that raises this event is not installed on your local computer, or the installation is corrupted. You can install or repair the
    component on the local computer, or contact the component manufacturer for a newer version.

    If the event was saved from another computer or forwarded from a remote computer, you might have to include display information with the events when saving them or when setting up the forwarding s 52.168.192.in-addr.arpa; NULL; MONSDCO03.miodominio.it.
    c'è un evento per ogni riferimento ad ogni reverse ( qusta è una delle tante 52.168.192.in-addr.arpa )
    Mentre se guardo lo stesso evento dall'event viewer di 2012 il messaggio è diverso, ovvero :
    The DNS server has loaded the zone TrustAnchors from file NULL on server MONSDCO03.miodominio.it.

    Come posso sistemare, sempre che ci sia qualcosa da sistemare nel DNS ? ho fatto il DCDIAG /test:dns ma non risultano problemi.

    Grazie come sempre per il supporto.
    Umberto

    DB:2.44:Source : Dns-Server-Service - Event Id : 769 aa

    Ovviamente il Server, visto che non andava l'ho riportato al nome originale, quando ho fatto le prove era MONSDCO04 ;) con IP diverso.

  • RELEVANCY SCORE 2.44

    DB:2.44:Ssl - Trustanchors Parameter p8


    I'm trying to get some code working against an internal server with a self signed ssl certificate. I keep getting the following error and can't seem to find a solution.
    I've read various posts on this forum and elsewhere but I can't figure it out.From what I've read I believe this occurs when the truststore cannot be found OR cannot be opened because the password is wrong.

    I've tried adding the self signed certificate to the default trustStore file, using a different truststore file, setting the truststore password... I don't know what else to try. I've never worked with ssl before and this particular exception doesn't seem to be very well documented. Any input at all would be useful, but please bear in mind I've already searched these forums (and the rest of the internet) many times before posting here so unless I've missed something then linking me to existing threads isn't going to help :-P

    Perhaps it would be most beneficial if anybody could tell me possible causes of the exception I'm getting.

    java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    DB:2.44:Ssl - Trustanchors Parameter p8

    Nevermind... The information I found elsewhere was exactly correct. The trustStore wasn't being found due to the path being set (incorrectly) in a lump of code that I didn't have access to. It's still not fixed but I'm getting closer.

  • RELEVANCY SCORE 2.43

    DB:2.43:Csharp Cmdlet Empty Pipeline Problem d9


    Hi,
    I need to write my own cmdlet processing files.
    However, when the pipeline is empty, this gives an error:ls | Import-DemoFiles
    Import-DemoFiles : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the p
    arameters that take pipeline input.
    At line:1 char:22
    ls | Import-DemoFiles
    CategoryInfo : InvalidArgument: (2010A_GZ:PSObject) [Import-DemoFiles], ParameterBindingException
    FullyQualifiedErrorId : InputObjectNotBound,DemoPS.getDemoFileNames

    [Cmdlet(VerbsData.Import, DemoFiles)]
    public class getDemoFileNames : Cmdlet
    {
    [Parameter(Position=0, ValueFromPipeline= true)]
    public FileInfo[] Files
    {
    get { return _files; }
    set { _files = value; }
    }
    private FileInfo[] _files;

    protected override void ProcessRecord()
    {
    foreach (var file in _files)
    {
    WriteObject(file, true);
    }
    }
    }

    I tried to make the property nullable, but then I get the following error
    Error 1
    The type 'System.IO.FileInfo' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.NullableT'
    C:\Devel\PSTest\DemoPS\DemoPS\Class1.cs
    40 28
    DemoPS

    Thanks,
    Jan

    DB:2.43:Csharp Cmdlet Empty Pipeline Problem d9

    using System;
    using System.IO;
    using System.Management.Automation;

    [Cmdlet(VerbsData.Import, DemoFiles)]
    public class getDemoFileNames : Cmdlet
    {
    [Alias(FullName)]
    [Parameter(Position = 0, ValueFromPipeline = true,ValueFromPipelineByPropertyName=true)]
    public string[] Files
    {
    get { return _files; }
    set { _files = value; }
    }
    private string[] _files;

    protected override void ProcessRecord()
    {
    if (_files != null)
    {
    foreach (var obj in _files)
    {
    if(!string.IsNullOrEmpty(obj))
    {
    bool isDir = (File.GetAttributes(obj) FileAttributes.Directory) == FileAttributes.Directory;
    if (!isDir)
    {
    FileInfo file = new FileInfo(obj);
    WriteObject(file, true);
    }
    }
    }
    }
    }
    }

  • RELEVANCY SCORE 2.42

    DB:2.42:Error -The Trustanchors Parameter Must Be Non-Empty. mj


    Hi to all,
    i ve a send mail program, which i modified fm smtpsend.java,the sample come with javamail 1.4.3. this is working when i run from command prompt. but when i run this inside in jdeveloper 11g "the trustAnchors parameter must be non-empty" error is coming.
    i m using Weblogic Server 11g(10.3.2) jdk6 update 16.

    Can anyone help me? wt is problem here?

    C:\Middleware11g2\jdk160_14_R27.6.5-32\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\MyTestApp\classes;C:\JDeveloper\mywork\WorkFlow\javamail-1.4.3\javamail-1.4.3\mail.jar "-Djavax.net.ssl.trustStore=D:\Middleware11g 2\wlserver_10.3\server\lib\DemoTrust.jks" com.company.jsf.TestSmtp
    javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
    nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty.

    -------------------------------------------------------
    package com.company.jsf;

    import com.sun.mail.smtp.SMTPTransport;
    import java.util.Properties;
    import javax.mail.Message;
    import javax.mail.MessagingException;
    import javax.mail.SendFailedException;
    import javax.mail.Session;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeMessage;

    public class TestSmtp {
    public TestSmtp() {
    super();
    }

    public static void main(String[] args){
    String to="recipient@yahoo.com", subject = "Hi", from = "myid@gmail.com", cc = null, bcc = null, url = null;
    String mailhost = "smtp.gmail.com";

    String user = "myid", password = "mypassword";
    boolean debug = false;
    boolean verbose = false;
    boolean auth = true;
    String prot = "smtps";

    try{

    Properties props = System.getProperties();
    if (mailhost != null)
    props.put("mail." prot ".host", mailhost);
    if (auth)
    props.put("mail." prot ".auth", "true");

    // Get a Session object
    Session session = Session.getInstance(props, null);
    if (debug)
    session.setDebug(true);
    Message msg = new MimeMessage(session);
    if (from != null)
    msg.setFrom(new InternetAddress(from));

    msg.setRecipients(Message.RecipientType.TO, InternetAddress.parse(to, false));
    if (cc != null)
    msg.setRecipients(Message.RecipientType.CC, InternetAddress.parse(cc, false));
    if (bcc != null)
    msg.setRecipients(Message.RecipientType.BCC, InternetAddress.parse(bcc, false));

    msg.setSubject(subject);

    String text = "hr u?";
    msg.setText(text);

    SMTPTransport t = (SMTPTransport)session.getTransport(prot);
    try {
    if (auth)
    t.connect(mailhost, user, password);
    else
    t.connect();
    t.sendMessage(msg, msg.getAllRecipients());
    }

    finally {
    if (verbose)
    System.out.println("Response: " + t.getLastServerResponse());
    t.close();
    }

    System.out.println("\nMail was sent successfully.");
    }
    catch(Exception e){
    e.printStackTrace();
    }

    }
    }

    Edited by: user7895 on May 20, 2010 12:47 AM

    DB:2.42:Error -The Trustanchors Parameter Must Be Non-Empty. mj

    no, not the location of trust key store. when i was using the location of truststore file in standalone class , it was working.
    but on wls, it already knows the java truststore file location. only it doesnot know the password, which was required.

    thanks

  • RELEVANCY SCORE 2.42

    DB:2.42:Re: Error When Importing Dump File kj


    directory object parameter must be specified and non-nullYou didn't specify DIRECTORY= on the command line...

    DB:2.42:Re: Error When Importing Dump File kj

    Data Pump needs to know where the file you want imported is and what the file is called. There are also a ton of other parameters you can tell Data Pump. All of this is in the documentation. If you don't specify a directory object, Data Pump has a built in name it will use, but if it is not created or populated, then it is useless. Also, if you don't specify a dumpfile, then datapump assumes a default. Again, if that is not the name of your dumpfile, then the job will fail.

    Here is the basic syntax, but please look at the documentation.

    impdp user/password directory=your_directory dumpfile=your_dumpfile

    Replace the keyword with your values.

    Dean

  • RELEVANCY SCORE 2.42

    DB:2.42:Difference Between Non Empty And Nonempty() fd


    Would you expect any difference in the resluts returned by the following?:
     
    SELECT Set1 ON COLUMNS,
    NON EMPTY Set2 ON ROWS
    FROM Cube
     
    and
     
    SELECT Set1 ON COLUMNS
    NonEmpty(Set2) ON ROWS
    FROM Cube
     
    In the specific example I am considering the difference between:
     
    SELECT Set1 ON COLUMNS,
    NON EMPTY Subset(Set2, 0, 1500) ON ROWS
    FROM Cube
     
    and
     
    SELECT Set1 ON COLUMNS
    Subset(NonEmpty(Set2), 0, 1500) ON ROWS
    FROM Cube
     
    Now - I would expect a difference in the second examples. With NON EMPTY specified I would expect a set of up to 1500 members returned but as little as zero (if all the members in Set2 are empty).  The NonEmpty function nested inside the Subset should (I believe) always return the first 1500 non-empty rows assuming there are more than 1500 in the first place.
     
    My concern is to be sure that when the context (optional second parameter) is not specified for NonEmpty(Set1, Set2) function that it is equivalent to NON EMPTY and that factors such as calculated members are treated the same......

    DB:2.42:Difference Between Non Empty And Nonempty() fd

     
    Hm,
     
    I made few tests and it seams that you were right. If you place NonEmpty() with only first argument as a wrapper function around set on axis, it will indeed work as NON EMPTY. NonEmpty() takes current measure. If there is no current measure, only then it takes the default measure, which is normal behaviour for any hierarchy. So I guess you can go that way, using Subset() with/without NonEmpty(), depending whether there was an initial NON EMPTY on axis or not. Or there is something else you and I don't see at moment?
     
    Regards,
     
     
    Tomislav Piasevoli
    Business Intelligence Specialist
    http://www.softpro.hr

  • RELEVANCY SCORE 2.41

    DB:2.41:Ca Rekey With Self-Issued Certificate Leads To Ssl Handshake Exception zk


    Hi,
    I am working on a Project where the communication between the clients and the servers shall be secured with a private PKI. Because the lifespan of the individual certificates is very long, nearly 20 years (not our decision) we thought that a regular rekey of the root ca and a renew of the hierarchy would be a good idea.

    After the setup of the ca hierarchy and some initial tests i ran into a problem with the ssl handshake in java (1.6 and 7).

    Setup

    I did my tests with the following ca hierarchy:

    First Generation Hierarchy:

    RootCA1(self-signed) --- IntermediateCA1 --- Client

    Second Generation Hierarchy:

    RootCA2(self-signed) --- IntermediateCA2 --- Server

    and for the renew a self-issued certificate (NewWithOld) that connects RootCA1(SS) -- RootCA2(SS) called RootCA2(self-issued)

    So basically the certificate chain for the server certificate is RootCA1(SS) --- RootCA2(SI) --- IntermediateCA2 --- Server

    Now if my client calls the server the server sends its certificate chain until RootCA2(SI) (omits RootCA1(SS) ) which I think is fine. The client finds a trusted certificate ( RootCA1(SS) ) sends its Certificate Message, then sends the ClientKeyExchange Message and the Certificate Verify Message and I think on this messages the handshake fails.

    --------------------
    Client Side Logs
    On the Client side I see in the logs:
    ***
    *** ClientKeyExchange, RSA PreMasterSecret, TLSv1
    main, WRITE: TLSv1 Handshake, length = 4083
    SESSION KEYGEN:
    PreMaster Secret:
    0000: 03 01 AC EF 48 EB 4E B5 0C D2 70 4D 4B 7D D8 64 ....H.N...pMK..d
    0010: 36 6B 3A 0F FB B3 25 A7 80 50 D0 CF 04 8E A4 59 6k:...%..P.....Y
    0020: D2 79 B4 B6 BC 1B 0F 87 27 2F 0D 0E 9B B2 23 BB .y......'/....#.
    CONNECTION KEYGEN:
    Client Nonce:
    0000: 4F 3D 39 8B 99 BC 5A C1 F3 55 72 64 EF C4 1C F5 O=9...Z..Urd....
    0010: F7 FC 50 34 91 B0 25 AB 53 7F 13 39 44 8C CD 38 ..P4..%.S..9D..8
    Server Nonce:
    0000: 4F 3D 39 8B 4E 95 9E AC 3A 24 6C 2D F0 47 33 9A O=9.N...:$l-.G3.
    0010: CB 75 29 6A 56 84 7A E2 3B 73 D4 5D FE 81 98 66 .u)jV.z.;s.]...f
    Master Secret:
    0000: 8B B1 0E 08 DE CA D4 2F 9B 92 DF 36 9B 3D 6A 2C ......./...6.=j,
    0010: 01 0E C0 F6 C0 97 2A 61 31 D1 6F C8 3B E4 67 AD ......*a1.o.;.g.
    0020: 02 B0 E9 84 7A A0 6B 6A 18 FF 85 CA 44 5B BC 69 ....z.kj....D[.i
    Client MAC write Secret:
    0000: 53 5D B5 D9 37 2C EC 48 42 98 0B 08 75 BC F8 6B S]..7,.HB...u..k
    0010: 3B 41 A0 86 ;A..
    Server MAC write Secret:
    0000: DD 87 01 BA BB 92 7C 4D 62 37 EF 9D 9B B5 2A A4 .......Mb7....*.
    0010: 8E C8 21 76 ..!v
    Client write key:
    0000: F2 AF 1E A9 7F 54 D6 5A 4F 72 F8 28 63 B1 7F 1E .....T.ZOr.(c...
    Server write key:
    0000: 04 C5 2F 4E AD 81 CA 1F 14 E8 CB 75 1F 9A 95 A4 ../N.......u....
    Client write IV:
    0000: D6 1B 56 F9 42 51 56 1F AB D6 88 2C 68 A1 11 6B ..V.BQV....,h..k
    Server write IV:
    0000: E0 C4 8D 1A 67 1C DA C4 80 69 D5 18 1C 1A 80 7D ....g....i......
    *** CertificateVerify
    main, WRITE: TLSv1 Handshake, length = 262
    main, WRITE: TLSv1 Change Cipher Spec, length = 1
    *** Finished
    verify_data: { 1, 81, 68, 144, 225, 47, 165, 196, 156, 232, 251, 135 }
    ***
    main, WRITE: TLSv1 Handshake, length = 48
    main, waiting for close_notify or alert: state 1
    main, Exception while waiting for close java.net.SocketException: Software caused connection abort: recv failed
    main, handling exception: java.net.SocketException: Software caused connection abort: recv failed
    %% Invalidated: [Session-1, TLS_RSA_WITH_AES_128_CBC_SHA]------------------------------
    Server side logs
    On the server side I just see the end of the client certificate chain which ends with RootCA1(SS) and then this exception:

    ***
    http-bio-8443-exec-2, handling exception: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    %% Invalidated: [Session-2, TLS_RSA_WITH_AES_128_CBC_SHA]
    http-bio-8443-exec-2, SEND TLSv1 ALERT: fatal, description = internal_error
    http-bio-8443-exec-2, WRITE: TLSv1 Alert, length = 2
    [Raw write]: length = 7
    0000: 15 03 01 00 02 02 50 ......P
    http-bio-8443-exec-2, called closeSocket()
    http-bio-8443-exec-2, IOException in getSession(): javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    http-bio-8443-exec-2, called close()
    http-bio-8443-exec-2, called closeInternal(true)
    Finalizer, called close()
    Finalizer, called closeInternal(true)
    Finalizer, called close()
    Finalizer, called closeInternal(true)Configuration

    The Client Keystore contains RootCA1(SS), IntermediateCA1, Client and windows and portacle can build the chain. The client truststore just contains RootCA1(SS).
    The Server Keystores contains RootCA1(SS), RootCA2(SI), IntermediateCA2, Server and windows and portacle can build the chain but keytool also just displays it until RootCA2(S1). The server truststore just contains RootCA1(SS). Unlimited strength policies files are installed and working. All certificates use BasicConstraints, Root CAs got a unlimited path length (wanted to test the behaviour with pathlength 1 later), intermediate got pathlength 0 and client and server are end entities. They also all use Subject- and AuthorityKeyIdentifier.

    I initially tried it with 1.6.0_24 but after reading this blog https://blogs.oracle.com/xuelei/entry/undertanding_self_issued_certificate which states that self-issued certificates should be supported i tried it with 1.7.0_03 but got exactly the same exception.

    Anybody got an luck with self-issued certificates with java 6 or 7? I mean I am not really surprised that I ran into this problems but I thought it should work after reading that blog entry. I could not find really much help online because self-issued is commonly misused as a synonym for self-signed.

    Edited by: 915046 on 16.02.2012 10:26 added some italics for readability

    Edited by: 915046 on 16.02.2012 10:43 fixed the link to the blog

    DB:2.41:Ca Rekey With Self-Issued Certificate Leads To Ssl Handshake Exception zk

    mh, thanks for your suggestion, I think you solved it:

    On the server side I use tomcat 7, the client uses apache cxf programmatically.. Strangely the client could only load the keystores if I set the provider of the key- and truststore to bouncycastle. So you got me thinking maybe the tomcat has the same problem, because you get exceptions if you pass in a nonexistent file name but maybe he just checks if it exists and afterwards cannot load the content. Shows that you never should assume if you got no exception everything is working. So I changed it too to bouncycastle in the server.xml and now it seems to work. I don't have much time at the moment to test it but I think it works now.
    Need to find out now why It does not work with the default provider in my environment.
    Thanks..

  • RELEVANCY SCORE 2.40

    DB:2.40:D7360 Won't Print In "Black Only", Unless Color Cartridges Are Also Non-Empty 9m



    I'm trying to print a document in grayscale mode using D7360 Photosmart printer.

    In the printing setup dialog am explicitly checking the option to use "Black Print Cartridge Only".

    The printer refuses to print, saying:

    "The following ink cartridges are empty: Light Cyan. Replace these ink cartridges to resume printing."

    "The printer does not have enough ink to ensure printer's health. The empty ink cartridges must be replaced to resume."

    Does this mean that even though it is not using the color cartridges, all of them have to be non-empty when the printer is operating?

    DB:2.40:D7360 Won't Print In "Black Only", Unless Color Cartridges Are Also Non-Empty 9m


    My printer did not function as you suggested until I changed the printer properties in the control panel. Spent 1 hour and 15 minutes with HP tech support last night to no avail. Conversation ended with the conclusion that I should buy a color cartridge. Glad I tried the control panel this morning.

  • RELEVANCY SCORE 2.40

    DB:2.40:Unity How To Pass Empty Param To Constructor From Config? zp


    Hi!
    I use Unity to register some types at design time and need to initialize some constructors with empty parameters like:
    constructor
    param name=MyParam value= /
    /constructor

    After that Unity sends error The attribute value must be present and non-empty.
    Using construction
    constructor
    param name=MyParam/
    /constructor
    leads to error:The type String cannot be constructed. You must configure the container to supply this value.

    Existing constructors couldn't be changed, overloaded, overrided.
    Values like: String.Empty, '', etc. the functionality recognized as valuable and creates instances with them.
    Is any possibility to pass an empty parameter to a constructor?

    DB:2.40:Unity How To Pass Empty Param To Constructor From Config? zp

    Hi akov777,
    Thank you for sharing your solutions here.Bob Shen
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.39

    DB:2.39:Rmi-Iiop Compatible Parameters c3


    Java EE stateless session bean with remote interface methods must have RMI-IIOP compatible parameters and return types in order to expose as web service.

    Could you please tell me an example of a RMI-IIOP compatible parameter and a non-RMI-IIOP compatible parameter ? I dont understand this part. when do we call a parameter to be RMI-IIOP compatible ?

    DB:2.39:Rmi-Iiop Compatible Parameters c3

    Java EE stateless session bean with remote interface methods must have RMI-IIOP compatible parameters and return types in order to expose as web service.

    Could you please tell me an example of a RMI-IIOP compatible parameter and a non-RMI-IIOP compatible parameter ? I dont understand this part. when do we call a parameter to be RMI-IIOP compatible ?

  • RELEVANCY SCORE 2.39

    DB:2.39:Java.Security.Invalidalgorithmparameterexception: 87


    I play this game, RuneScape..And it seems lately I am having trouble loading any type of java. I am a noob when it comes to this because I have never experienced an error when it comes to Java. this is what I get:

    java.lang.RuntimeException: Unexpected error:
    java.security.InvalidAlgorithmParameterException: the trustAnchors paramater must be non-empty

    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(Unknown Source)
    at sun.security.validator.Validator.getInstance(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)
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    at java.security.cert.PKIXParameters.init(Unknown Source)

    what can I do to fix this?

    DB:2.39:Java.Security.Invalidalgorithmparameterexception: 87

    I play this game, RuneScape..And it seems lately I am having trouble loading any type of java. I am a noob when it comes to this because I have never experienced an error when it comes to Java. this is what I get:

    java.lang.RuntimeException: Unexpected error:
    java.security.InvalidAlgorithmParameterException: the trustAnchors paramater must be non-empty

    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at sun.security.validator.PKIXValidator.init(Unknown Source)
    at sun.security.validator.Validator.getInstance(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)
    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    at java.security.cert.PKIXParameters.init(Unknown Source)

    what can I do to fix this?

  • RELEVANCY SCORE 2.39

    DB:2.39:Obiee 11.1.1.7 And External Openldap Provider 8d


    Hi,
    my organization recently decided to upgrade OBIEE from version 11.1.1.6 to 11.1.1.7. I've made installation on our DEV environment followed the instructions prepared during previous installation (11.1.1.6). The installation went without any problems (every server and deployment started), but after configuration external OpenLDAP provider I can't add any user from OpenLDAP to Application Role because of this error:

    Failed to retrieve users.

    Operations error: entity=dc=ldap op=search mesg=Protocol Error LDAP Error 2 : simple bind failed: ldap_server:636

    #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: oracle.sysman.emSDK.app.exception.EMSystemException

    javax.faces.FacesException: #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: oracle.sysman.emSDK.app.exception.EMSystemException
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: javax.faces.el.EvaluationException: oracle.sysman.emSDK.app.exception.EMSystemException
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    ... 67 more
    Caused by: oracle.sysman.emSDK.app.exception.EMSystemException
    at oracle.sysman.emas.model.security.EMJpsASObject.throwsEMSystemException(EMJpsASObject.java:112)
    at oracle.sysman.emas.model.security.DialogAdminBean.fetchUserNameList(DialogAdminBean.java:838)
    at oracle.sysman.emas.model.security.DialogAdminBean.fetchPrincipals(DialogAdminBean.java:554)
    at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.searchPrincipal(EditAppRolePageModel.java:496)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(Unknown Source)
    at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
    ... 68 more
    Caused by: org.openliberty.arisid.stack.ConnectionException: Operations error: entity=dc=ldap op=search mesg=Protocol Error LDAP Error 2 : simple bind failed: ldap_server:636
    at com.oracle.ovd.arisid.OvdStackProvider.mapResultCode(OvdStackProvider.java:644)
    at com.oracle.ovd.arisid.OvdStackProvider.doSearch(OvdStackProvider.java:1264)
    at com.oracle.ovd.arisid.OvdStackProvider.doSearch(OvdStackProvider.java:1200)
    at com.oracle.ovd.arisid.ArisIdStackProvider.doSearch(ArisIdStackProvider.java:266)
    at org.openliberty.arisid.Interaction.doSearch(Interaction.java:1379)
    at org.openliberty.arisidbeans.IGFObjectManager.searchDigitalSubject(IGFObjectManager.java:1143)
    at oracle.igf.userrole.UserManager.searchUsers(UserManager.java:1441)
    at oracle.igf.userrole.UserManager.searchUsers(UserManager.java:1491)
    at oracle.sysman.emas.model.security.UserRoleUtil.fetchUserListIGF(UserRoleUtil.java:202)
    at oracle.sysman.emas.model.security.DialogAdminBean.fetchUserNameList(DialogAdminBean.java:813)
    ... 77 more

    In AdminServer-diagnostic.log I've another error:

    ComponentAdminServer
    Thread ID[ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'
    Message{0} Unable to create connection to {1} as {2}.
    Supplemental Detailjavax.naming.CommunicationException: simple bind failed: ldap_server:636 [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]
    at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:195)

    As I've mentioned before all configuration parameters are the same as in previous installation: especially provider configuration. Could You help me with this problem?

    Pzdr.
    GRQ

    DB:2.39:Obiee 11.1.1.7 And External Openldap Provider 8d

    No, I didn't resolve this problem :/ It seems to be a bug in OpenLDAP provider: it works properly when you are using unencrypted connection but fails with SSL connection to OpenLDAP server.In my case the solution was downgrade to OBIEE 11.1.1.6.10 - in this version connection with OpenLDAP through SSL works properly.GRQ

  • RELEVANCY SCORE 2.39

    DB:2.39:How To Create A Calulated Member Based On A Value Parameter fx


    Hello,
    I have a problem filtering a metric in SSRS by a specific value.
    Example iwant to filter Sales AMT USD less than 10,000,000with a parameter but i dont know how to do it with specific value in this case 10,000,000
    i know how to filter Sales AMT USD by dimension
    Example
    SELECT NON EMPTY { [Measures].[Sales Amt USD] } ON COLUMNS, NON EMPTY { ([Order Date].[Calendar YQMD].[Date].ALLMEMBERS * [Customer].[Geography].[State Province].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS FROM (
    SELECT ( STRTOSET(@OrderDateCalendarYQMD, CONSTRAINED) ) ON COLUMNS FROM [MDWT 2008R2]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    but i want to filter Sales AMT USD by a Specific Value that will be my parameter
    I Appreciate your answers
    Regards,
    Santana Garza

    DB:2.39:How To Create A Calulated Member Based On A Value Parameter fx

    Create a calculated member that returns back something if the Sales Amount exceeds the selected amount and NULL otherwise. Then use the NonEmpty function passing that calculated member as the second parameter. You'll only get cells exceeding the parameter
    value.
    WITH MEMBER [Measures].[Sales Amt Selected] AS
    IIF( [Measures].[Sales Amt] @Value, 1, NULL )
    SELECT {
    [Measures].[Sales Amt USD]
    } ON COLUMNS,
    NonEmpty (
    { [Order Date].[Calendar YQMD].[Date].ALLMEMBERS }
    * { [Customer].[Geography].[State Province].ALLMEMBERS }
    , [Measures].[Sales Amt Selected]
    ) ON ROWS DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS
    FROM (
    SELECT STRTOSET(@OrderDateCalendarYQMD, CONSTRAINED) ON COLUMNS
    FROM [MDWT 2008R2]
    )
    CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS

    HTH, Martinhttp://martinmason.wordpress.com

  • RELEVANCY SCORE 2.38

    DB:2.38:Proc Http Ssl 7s



    Hello everyone,

    I'm trying to use proc http to query a https site. I tried to setup the ssl certificate per the sas documentation (link is below).

    link to sas documentation:

    Base SAS(R) 9.3 Procedures Guide, Second Edition

    I put the following code in my cfg file:

    -JREOPTIONS=(

    -Djavax.net.ssl.trustStore=C:\Users\Bill\SAS\CACERT\ca-bundle.crt

    -Djavax.net.ssl.trustStorePassword=trustStorePassword

    SAS opens up and runs fine. Except when I execute the proc http to query the https site, I get the following error:

    200 proc http

    201 url="url."

    202 method='POST'

    203 headerin=header

    204 in=body

    205 ct='application/x-www-form-urlencoded;charset=UTF-8'

    206 headerout=hout

    207 out=json;

    208 run;

    ERROR: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error:

    java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    NOTE: PROCEDURE HTTP used (Total process time):

    real time 0.29 seconds

    cpu time 0.03 seconds

    Should I specify a different file in the cfg file? I tried cacert.pem, but it didn't work. Also, I tried deleting the 2nd line of the jreoptions above (trustStorePassword), but I still got the same error message. Note I'm running SAS 9.3 on Windows Professional. Additionally, I believe the parameters (header, body, etc) , of my request are correct. I can use cURL to query the same site without any issues.

    Thank so much for any suggestions.

    Regards,

    Bill

    DB:2.38:Proc Http Ssl 7s


    FreidEgg,

    Thanks very much for your assistance. I'll attempt to build a trustStore and will report back.

    Thanks again,

    Bill

  • RELEVANCY SCORE 2.38

    DB:2.38:Dns Problems Zone Trustanchors Secondary Servers Not Reponding z1


    I have updated my two DCs from Server 2008 R2 to 2012 R2 by reconfiguring two new 2012 R2 server, adding then to the domain (including the DNS) then once all has replicated and is working OK, removed the old 2008 R2 servers from the domain. Mostly this worked
    fine.
    However, I am now getting BPA errors from the DNS on both my DCs (called Pluto and Uranus) stating:
    PLUTO ERRORZone TrustAnchors secondary servers must respond to queries for the zone.
    URANUS ERRORZone TrustAnchors secondary servers must respond to queries for the zone.
    The problem analysis states:
    None of the secondary servers configured for zone TrustAnchors are responding. However the link in the error (/fwlink/?LinkId=188791) only tells you how to enable secondary servers. All the domains hosted by URANUS and PLUTO are Active Directory integrated
    (and I assume you do not need to configure zone transfers).
    I would appreciate some advice on how to fix this issue.
    Thanks

    DB:2.38:Dns Problems Zone Trustanchors Secondary Servers Not Reponding z1

    Hi,
    Thanks for the quick response. In answer to your questions:

    The DNS server address for both IP4 and IP6 are set as follows:
    For Uranus (192.168.100.150); Primary = Pluto, secondary 127.0.0.1 and ::1
    For Pluto (192.168.100.151); Primary = Uranus, secondary 127.0.0.1 and ::1

    The forwarders are configured the same for both servers, namely;
    1) Two DNS servers for my ISP
    2) One reference to the Google DNS server (8.8.8.8)

    More specifically the BPA warnings for PLUTO are:

    PLUTOWarningDNS: Zone TrustAnchors secondary server 192.168.100.151 should respond to queries for the zone.Configuration
    PLUTOWarningDNS: Zone TrustAnchors secondary server 192.168.100.150 should respond to queries for the zone.Configuration
    PLUTOErrorDNS: Zone TrustAnchors secondary servers must respond to queries for the zone.Configuration

  • RELEVANCY SCORE 2.38

    DB:2.38:Designates An Existing Non-Empty Directory As A Worm Root Directory zs



    I notice isi worm create can only desinates an existing directory as a WORM root directory, but it must be empty.

    I already have a directory with many files in it and now I need to turn on WORM, how can that be done?

  • RELEVANCY SCORE 2.38

    DB:2.38:Headertext Error jf



    i write this code for change header text in radgrid but encounter with this problem: please help me
    Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
    my code is:RadGrid1.Columns[0].HeaderText = Rank;

    DB:2.38:Headertext Error jf

    Hi,
    I am sorry that here is not the correct forum for you to deal with your issue. If you are working ASP.NET forum, please re-open one new case on the ASP.NET forum to get better support:
    http://forums.asp.net/
    Thanks,Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.38

    DB:2.38:Index Bound Out Of Range. Must Be Non-Negative p1



    i'm using url iview in portal for .NET application,when it's launched first time it's showing below error

    Index bound out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index.

    Has anyone ever come across this error?

    regards,

    Sreedhar

    DB:2.38:Index Bound Out Of Range. Must Be Non-Negative p1


    i'm using url iview in portal for .NET application,when it's launched first time it's showing below error

    Index bound out of range. Must be non-negative and less than the size of the collection.

    Parameter name: index.

    Has anyone ever come across this error?

    regards,

    Sreedhar

  • RELEVANCY SCORE 2.38

    DB:2.38:Exception When Extracting Data From Essbase To Oracle xd


    MQXQuery:

    WITH set [Data1] AS
    'crossjoin(crossjoin({[oaccount]},{[noclassfication]}),{[Element].[method]})'

    set [Data2] AS
    'crossjoin(crossjoin({[amount]},{[total]}),{[Element].[method]})'

    SELECT {[Data1],[Data2],[Data3]} ON COLUMNS,
    NON EMPTY {Descendants([ORG])} ON ROWS,
    NON EMPTY {Descendants([YearTotal])} ON pages
    FROM [LAN.Oper]

    ***We wanna extract data from essbase to oracle ,but during the extraction .An exception is thrown out ,like below:

    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Data Column [Data1] must be either a valid member in multi data extract or should be named as [Data] for single data extract .

    who knows the root cause of this problem ? tks for any tips .

    DB:2.38:Exception When Extracting Data From Essbase To Oracle xd

    MQXQuery:

    WITH set [Data1] AS
    'crossjoin(crossjoin({[oaccount]},{[noclassfication]}),{[Element].[method]})'

    set [Data2] AS
    'crossjoin(crossjoin({[amount]},{[total]}),{[Element].[method]})'

    SELECT {[Data1],[Data2],[Data3]} ON COLUMNS,
    NON EMPTY {Descendants([ORG])} ON ROWS,
    NON EMPTY {Descendants([YearTotal])} ON pages
    FROM [LAN.Oper]

    ***We wanna extract data from essbase to oracle ,but during the extraction .An exception is thrown out ,like below:

    com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Data Column [Data1] must be either a valid member in multi data extract or should be named as [Data] for single data extract .

    who knows the root cause of this problem ? tks for any tips .

  • RELEVANCY SCORE 2.38

    DB:2.38:Java.Security.Invalidalgorithmparameterexception: The Trustanchors Paramete s9


    HI
    In SSL Connection for LDAP when adding public key for Remote Server, i'm getting the Exception of "java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" . So connection with Server is not established for the First Time. But i'm able to connect from 2nd time onwards.

    Edited by: Mala.G on Mar 13, 2009 7:52 AM

    DB:2.38:Java.Security.Invalidalgorithmparameterexception: The Trustanchors Paramete s9

    I am very sorry for my delayed response. Can you verify if any communication happens with the directory server? If it does, you can use an application like ssltap to decode the traffic and see what is happening.
    http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html

    If you're getting errors before this communication happens, you should try the Java/JDK forums such as http://forums.sun.com/forum.jspa?forumID=2

  • RELEVANCY SCORE 2.37

    DB:2.37:Using Ssl Keystores Inside Jars pa


    Hi
    I have a problem with using SSL keystores. I am writing an application upgrading jira account using web services. This application is secured by SSL. I'v writen a class which has to be used by other code. I would like to hide the server SSL keystore inside jar file with execution code which need this file. The code i am using for setting keystore is:
    URL skeystore = this.getClass().getResource("/jira_keystore");
    System.out.println("keystore = " + keystore);
    System.setProperty("javax.net.ssl.trustStore", keystore);That works fine if it is running as ordinary java application. But when i pack it into java and use it from third-part code it doesn't work. I'm getting an error

    Exception in thread "main" pl.psnc.core.SynchronizationException: ; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at pl.psnc.core.Synchronizer.synchronize(Synchronizer.java:243)
    at MainClass.main(MainClass.java:24)

    It looks like there is problem with getting keystore file from jar, or cannot pass a jar file as system properthybecause if I pass a keystore path as an parameter its also works fine. Paths to keystore in every try are correct. Unfortunatelly I cannot pass a keystore as an params. It must be readed from jar file.
    Thanks for any help.

    DB:2.37:Using Ssl Keystores Inside Jars pa

    Hi
    I have a problem with using SSL keystores. I am writing an application upgrading jira account using web services. This application is secured by SSL. I'v writen a class which has to be used by other code. I would like to hide the server SSL keystore inside jar file with execution code which need this file. The code i am using for setting keystore is:
    URL skeystore = this.getClass().getResource("/jira_keystore");
    System.out.println("keystore = " + keystore);
    System.setProperty("javax.net.ssl.trustStore", keystore);That works fine if it is running as ordinary java application. But when i pack it into java and use it from third-part code it doesn't work. I'm getting an error

    Exception in thread "main" pl.psnc.core.SynchronizationException: ; nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    at pl.psnc.core.Synchronizer.synchronize(Synchronizer.java:243)
    at MainClass.main(MainClass.java:24)

    It looks like there is problem with getting keystore file from jar, or cannot pass a jar file as system properthybecause if I pass a keystore path as an parameter its also works fine. Paths to keystore in every try are correct. Unfortunatelly I cannot pass a keystore as an params. It must be readed from jar file.
    Thanks for any help.

  • RELEVANCY SCORE 2.37

    DB:2.37:Node.Js Copyblob Api Error jd


    Hi,
    I try touse copyBlob API in server scripts, but it always gives me error such as Error: Container name
    format is incorrect. or Error: Container name must be a non-empty string. My code structure
    is like this:
    var sourceContainerName = 'container1';
    var sourceBlobName = 'blob.jpg';
    var targetContainerName = 'container2';
    var targetBlobName = 'blob.jpg';
    var url = blobService.getBlobUrl(sourceContainerName, sourceBlobName);
    blobService.copyBlob(url,targetContainerName, targetBlobName,function (error) {
    if (error != null) {
    console.log(error);
    } else {
    request.respond();
    }
    });
    I'm pretty sure that mytargetContainerName is a non-empty string. Am I doing anything wrong here? Please help.
    Thanks in advance!

    DB:2.37:Node.Js Copyblob Api Error jd

    Hi SmartWSN
    Looking at this code, it looks everything is fine. so I suggest you verify 3 things first.
    1. the container name is correct .you can check container name using Azure Storage Explorer.

    2. if the container name have special character inside ?
    3. does the target container exists or not
    meanwhile, I have a code sample which works fine on my side. you can run it on your side and see if it works. you'll need to install Azure module before you run this code.
    var azure = require('azure');
    var blobService = azure.createBlobService('[your storage account]',[storage access key]');
    var sourceContainer = 'source container';
    var sourceBlob = 'source blob name';
    var targetContainer = 'target container';
    var targetBlob = 'target blob name';
    var url = blobService.getBlobUrl(sourceContainer,sourceBlob);
    blobService.copyBlob(url, targetContainer,targetBlob, function (error) {
    if (error != null) {
    console.log(error);
    } else {
    console.log(copied successfully.);
    }
    });

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    Regards,
    Serena Yu
    Microsoft Online Community Support

  • RELEVANCY SCORE 2.37

    DB:2.37:Using Jstl In Glassfish, Non-Serializable Attribute zf


    I'm using JSTL in a java web project. We have to switch to Glassfish for some reason(tomcat6 before).When I deployed the project into Glasfish, following error occurs:java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute with name langThe code looks like:
    %@ page session="true"%
    %@ taglib prefix="c" uri="/WEB-INF/tlds/c.tld" %
    %@ taglib prefix="fmt" uri="/WEB-INF/tlds/fmt.tld" %
    %@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %
    !-- Internationalization --
    c:choose c:when test="${not empty param.lang}"
    c:if test="${param.lang=='cn'}"
    fmt:setLocale scope="session" value="zh_CN" /
    fmt:setBundle scope="session" basename="cubicmap.config.language.cn" var="lang"/
    /c:if

    c:if test="${param.lang=='en'}"
    fmt:setLocale scope="session" value="en_US" /
    fmt:setBundle scope="session" basename="cubicmap.config.language.en" var="lang"/
    /c:if
    /c:when

    c:otherwise
    c:if test="${empty lang}"
    fmt:setLocale scope="session" value="zh_CN" /
    fmt:setBundle scope="session" basename="cubicmap.config.language.cn" var="lang" /
    /c:if
    /c:otherwise
    /c:choose
    The parameter "lang" is gonna be stored in session. But we know that eveything must be serialized in session. but it's JSTL, how can we do that.... I tried to search on Google with no luck, only 2 posts about this issue and no solution.

  • RELEVANCY SCORE 2.37

    DB:2.37:Jms Over Https: Trustanchors Parameter Must Be Non-Empty s8



    Question: how can i start a java jms over https client program inside a .war?My stategy: put the code inside a servlet, and put the jvm parameters used for starting the client, to the jboss JAVA_OPTS.More in detail:I implemented a java client program, that connects to a jms over https. The client program uses the chap8.keystore (using -Djavax.net.ssl.trustStore=...), and the server uses it as well (in the jbossweb-tomcat50.sar\server.xml). This all works fine.Now, i try to do the same, but i put my client code in a servlet, in a .war folder inside the deploy folder.What i try to achieve here, is that this client code automatically runs when jboss boots.When the servlet tries to connect to the jndi, by doing new InitialContext(), using the properties (just like the java client did):java.naming.factory.initial org.jboss.naming.HttpNamingContextFactoryjava.naming.provider.url https://localhost:443/invoker/JNDIFactorySSLjava.naming.factory.url.pkgs org.jboss.naming:org.jnp.interfaces;java.protocol.handler.pkgsi get this problem:javax.naming.NamingException: Failed to retrieve Naming interface [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targetI guess this is, because i started my client program with -Djavax.net.ssl.trustStore=..., which has now disappeared, since i run the client code inside a servlet in jboss.When i start jboss with a -Djavax.net.ssl.trustStore=conf/chap8.keystore parameter, i getjavax.naming.NamingException: Failed to retrieve Naming interface [Root exception is javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty]It makes no different wheter i invoke this servlet over https of http.

    DB:2.37:Jms Over Https: Trustanchors Parameter Must Be Non-Empty s8


    Moderated: Questions about SSL config belong in the security forum.

  • RELEVANCY SCORE 2.37

    DB:2.37:Parameter To Mdx In Ssrs ff


    Hi,
    It could be very simple question but couldnt get it out from net,so here it is
    I have a MDX say

    WITH
    MEMBER
    [Measures].[Rev] AS ([Measures].[Total Rev] ,[Dim Period].[Dim Period].[201211])

    SELECT
    { [Measures].[Rev] } on 0
    , NON EMPTY {([DimLocation].[Loc Hierarchy].Members)} on 1
    FROM
    [Cube_FI]

    All i want is to pass 201211 from my report parameter, My report parameter name is @Period.
    Pls guide me through what should i do in MDX editor of SSRS to get 201211 replaced by @period.

    I am using ssrs 2005

    Thanks

    DB:2.37:Parameter To Mdx In Ssrs ff

    Hi Ricky,
    The following thread is about the same issue, please take as reference.
    http://social.msdn.microsoft.com/Forums/is/sqlreportingservices/thread/8259343a-85de-4aaa-ba13-59d73cdfb1c6
    http://social.msdn.microsoft.com/Forums/en-US/sqlanalysisservices/thread/7ae1c5ef-98de-468a-bc28-b7c3ed4ad377
    For more information about MDX query, please refer to the book online.
    Analysis Services MDX Query Designer User Interface

    Regards,
    Fanny LiuFanny Liu
    TechNet Community Support

  • RELEVANCY SCORE 2.37

    DB:2.37:Window Event, Problem With Attaching Listener dp


    Can someone point me in the right direction here

    1:
    window.nativeWindow.addEventListener(air.Event.RESIZE,onResizeComplete);
    2:
    window.nativeWindow.addEventListener(air.Event.MOVE,onMoveComplete);

    Line #1 works perfect, line #2 throws an error: "TypeError:
    Error #2007: Parameter type must be non-null."

    Both functions
    onResizeComplete and
    onMoveComplete are defined the same way.

    DB:2.37:Window Event, Problem With Attaching Listener dp

    Can someone point me in the right direction here

    1:
    window.nativeWindow.addEventListener(air.Event.RESIZE,onResizeComplete);
    2:
    window.nativeWindow.addEventListener(air.Event.MOVE,onMoveComplete);

    Line #1 works perfect, line #2 throws an error: "TypeError:
    Error #2007: Parameter type must be non-null."

    Both functions
    onResizeComplete and
    onMoveComplete are defined the same way.

  • RELEVANCY SCORE 2.37

    DB:2.37:2lis_03_Bf - Change Update Time aj



    Hello,

    currently my 2LIS_03_BF update is running daily at 04:00 a.m.

    Now I want to change from 04:00 a.m. to 05:00 a.m.

    Is there something to keep in mind or is it just to change the start parameter?

    Must delta-queue empty before change the time-parameter?

    Thanks for input.

    Best regards.

  • RELEVANCY SCORE 2.37

    DB:2.37:Non-Serializable Parameter In Client Methods On An Application Module 89


    Hello,

    I want to create a client method which expects an java.io.InputStream as input parameter. Unfortunately all method parameters must be of a data type that implements the Serializable Interface. This might be good and reasonably for remote deployments as EJBs, but I want to use them local.
    Is there any solution for this problem?

    Thanks,
    Christian

    DB:2.37:Non-Serializable Parameter In Client Methods On An Application Module 89

    The use of our interface-based approach is for guaranteeing that your client layer is always separable from your middle-tier layer.

    If you are implementing a project where you are making the assumption that you won't be separating the two, then you can:

    (1) Make sure you're using Immediate sync mode, and

    (2) Have your client downcast to your *Impl class to call your method with non-serializable parameter.

    This isn't best practice in general, but given your constraints, it's the way to solve this problem.

  • RELEVANCY SCORE 2.37

    DB:2.37:Sharepoint / Infopath Error - Empty Row Cannot Be Inserted. Row Must Have At Least One Column Value Set. mz


    Have created a form in Infopath connected to a SQL database and published to SharePoint 2007 (non-browser enabled). Once form has been completed, on click to Submit this error appears. Any ideas, please?

    DB:2.37:Sharepoint / Infopath Error - Empty Row Cannot Be Inserted. Row Must Have At Least One Column Value Set. mz

    Have created a form in Infopath connected to a SQL database and published to SharePoint 2007 (non-browser enabled). Once form has been completed, on click to Submit this error appears. Any ideas, please?

  • RELEVANCY SCORE 2.37

    DB:2.37:Must Be A Non-Nullable Value Type In Order To Use It As Paratmer T... k3


    Given this method declaration:
    internal void SetValues(int ID, DateTime StartDate, DateTime EndDate, FuncListMyTimeEntity CallBack)
    The compiler error is :
    The type 'System.FuncSystem.Collections.Generic.ListMyTimeEntity' must be a non-nullable value type in order to use it as parameter 'T' in the generic type or method 'System.NullableT'
    First off, if I want it as an optional nullable parameter, why should the compiler complain? Like this:
    internal void SetValues(int ID, DateTime StartDate, DateTime EndDate, FuncListMyTimeEntity CallBack = null)
    This doesn't work either:
    internal void SetValues(int ID, DateTime StartDate, DateTime EndDate, FuncListMyTimeEntity? CallBack)

    or this:
    internal void SetValues(int ID, DateTime StartDate, DateTime EndDate, FuncListMyTimeEntity? CallBack=null)

    I don't really understand what it's trying to tell me, can't I have a Func as a parameter?

    JP Cowboy Coders Unite!

    DB:2.37:Must Be A Non-Nullable Value Type In Order To Use It As Paratmer T... k3

    Interesting, yesterday I was doing some major re-factoring. I think I whacked the designer compile checker somehow just by the amount of changes I was doing (and obviously hammering something deep in the solution as well). After correcting
    all the other errors in the project (not just this one which was un-correctable yesterday) the problem disappeared.
    Ever have that happen to you where you are getting false errors after doing a lot of stuff in a solution? I believe the error I was seeing was indeed false, or perhaps true for something else in the project but applied to the wrong line? Almost
    as if the error was flagging the incorrect statement? If you notice in the error above there was no run time generic type of 'T' in the code, however the base func class is nothing but generic types. It's almost as if the base Func class was interferring
    with the stuff I was designing.

    Anyway thanks for the confirmation both of you made on this yesterday.JP Cowboy Coders Unite!

  • RELEVANCY SCORE 2.37

    DB:2.37:Issue With Mdx Query Builder In Producing Results For Measures That Reference To Levels In Dimension s7


    The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple
    hierarchies, nor should it reference any dimension other than the Measures dimension..
    Parameter name: mdx (MDXQueryGenerator)
    I'm getting the above error when I execute the below query on SSRS,

    SELECT NON EMPTY { {[Dim Date].[Full Date Alternate Key].[2009-08-20T00:00:00],[Dim Date].[Full Date Alternate Key].[2009-08-21T00:00:00]} * {[Measures].[Start Time], [Measures].[End Time]} }ON COLUMNS,
    NON EMPTY { ([Dim Slots].[Slot Alias].[Slot Alias].ALLMEMBERS * [Dim Pages Detail].[Connection Uri].[Conn String Text].ALLMEMBERS) } ON ROWS FROM [Keynote]

    DB:2.37:Issue With Mdx Query Builder In Producing Results For Measures That Reference To Levels In Dimension s7

    Hi,
    Could you try below query in Query Builder?
    SELECT

    NON
    EMPTY
    {[Measures].[Start Time], [Measures].[End Time]}
    ON COLUMNS,

    NON
    EMPTY
    {[Dim Date].[Full Date Alternate Key].[2009-08-20T00:00:00],[Dim Date].[Full Date Alternate Key].[2009-08-21T00:00:00]}

    *{[Dim Slots].[Slot Alias].[Slot Alias].ALLMEMBERS} *

    {[Dim Pages Detail].[Connection Uri].[Conn String Text].ALLMEMBERS}
    ON ROWS

    FROM
    [Keynote]

    Hope this helps,
    Raymond
    Raymond Li - MSFT

  • RELEVANCY SCORE 2.37

    DB:2.37:Npe When Creating Simplestring j8



    Just a reminder to pay attention when we convert a String to a SimpleString.

    The SimpleString constructor expects a non-null String parameter. If we pass null, it will throw a NPE.

    Most of the time, the String parameter must not be null but there are cases where this could happen (eg. a null filter, a null bridge's forward address).

    In the case the String can be null, we can use SimpleString.toSimpleString(String) instead. This method returns null if the parameter is null or a valid SimpleString.

    I've been bitten more than once by this, I'm spreading the info now

    DB:2.37:Npe When Creating Simplestring j8


    Just a reminder to pay attention when we convert a String to a SimpleString.

    The SimpleString constructor expects a non-null String parameter. If we pass null, it will throw a NPE.

    Most of the time, the String parameter must not be null but there are cases where this could happen (eg. a null filter, a null bridge's forward address).

    In the case the String can be null, we can use SimpleString.toSimpleString(String) instead. This method returns null if the parameter is null or a valid SimpleString.

    I've been bitten more than once by this, I'm spreading the info now

  • RELEVANCY SCORE 2.37

    DB:2.37:Issue With Ordering In Mdx d3


    I have a parameter dataset in a report which i wish to sort as per the SortOrder(integer). I'm able to sort successfully barring 2 records..intead of 1-2-3 i'm getting 1-10-11. My parameter query is as below. Any help would be really great.
    WITH MEMBER
    [Measures].[ParameterCaption] AS
    [Level].[Level ID].CURRENTMEMBER.MEMBER_CAPTION MEMBER
    [Measures].[ParameterValue] AS
    [Level].[Level ID].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS
    [Level].[Level ID].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT
    NON EMPTY {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS ,
    NON EMPTY {(
    ORDER([Level].[Sort Order].[Sort Order],[Measures].[ParameterValue],ASC)*
    [Level].[Level ID].[Level ID].ALLMEMBERS *
    [Level].[Level Name].[Level Name].ALLMEMBERS
    )}
    ON ROWS
    FROM [ISG_BIM_FIN_UrveTime]Nelton D'Souza MS BI Developer

    DB:2.37:Issue With Ordering In Mdx d3

    Im glad to hear that you resolve this issue. Thank you for sharing your solutions and experience here. I will mark it as answer.
    It will be very beneficial for other community members who have similar questions.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • RELEVANCY SCORE 2.36

    DB:2.36:Bmc Remedy Ar System Message Number 150 9s


    Hello Everyone,

    Could somebody please help me on the below error we encounter in our REMEDY application?

    =====

    BMC Remedy AR System Message Number 150

    Subject: A server name must be supplied in the control record.

    Details: The server field of the ARControlStruct parameter is empty. Supply the name of the server to reference in this field.

    ====

    Thanks a lot!

    Cathy

    DB:2.36:Bmc Remedy Ar System Message Number 150 9s


    Dear Cathy;

    you have to check the CAI:Application Registry form, you need to identify the server name on all entries you have.

    Good luck

    Mohanad

    Devoteam

  • RELEVANCY SCORE 2.35

    DB:2.35:Setting Non Empty Behavior Results In Empty Rows fk


    Hi All,
     
    When performance tuning some of my calculated measures, I came across the details of the Non empty behavior property. According to BOL:
     
    The measures you specify in the Non-empty behavior list are used to resolve NON EMPTY queries in MDX. When you specify one or more measures in the Non-empty behavior list, Analysis Services treats the calculated member as empty if all the specified measures are empty. If the Non-empty behavior property is blank, Analysis Services must evaluate the calculated member itself to determine whether the member is empty.
     
    The only thing is, when I apply this, in the cube browser and other client tools, it is showing empty rows (rows with ony null values) while it was hiding those as expected before this change. Why does it do that and can I somehow prevent this?
     
    Thanks,
    Jeroen

    DB:2.35:Setting Non Empty Behavior Results In Empty Rows fk

    Hello Radim,
     
    Thankx. I found out that I had selected a wrong base measure, one which was not used in the calculated measure. Hence the weird behavior.
     
    Cheers, Jeroen
     

  • RELEVANCY SCORE 2.35

    DB:2.35:[Error #2007] Parameter Blendmode Must Be Not Null j7



    Hi to EO,

    i've a problem with a MC containing 3 3D nested animated MC. When i place this MC on the main TLine, it give me

    error #2007 Parameter blendMode must be non-null.

    The I tried to set the blendmode of the 3 nested MC in the nested timeline:

    nestedMC.blendMode = BlendMode.NORMAL;

    but it keep giving me error...

    DB:2.35:[Error #2007] Parameter Blendmode Must Be Not Null j7


    If you're using Flash everything below may be irrelevant I haven't worked with Flash itself enough in the recent past to know if this is applicable, but I know it's true for Flex, actually if it's flash most of this definitely doesn't apply but it still might be true that some files you depend on were generated with different versions of flash and so you're experiencing a similar issue.

    Wow that was an immense amount of abbreviations, I'm gonna try to stick with full words

    . I believe you're probably experiencing the same problem I've had for quite a while, it's been a while since anything was posted on this but this problem arises when you have SWC files compiled with different versions of the SDK and then have a project that depends on them. It's probably not a problem with blendMode on your MovieClips but rather a problem with other framework components.

    if you're not afraid of the command line you can use this little java utility I made for myself to try and figure out what's going wrong with some pretty big projects that have many dependendencies, you can grab the compiled jar if you trust a stranger and don't have time to deal with getting things compiling, or else grab the java file check out the source and compile it for yourself. It uses xerces to parse the xml in the .actionscriptProperties file and the catalog.xml file you can grab that from apache, was compiled against xerces 2.9.

    I should at least state here that I claim no liability for any damages incurred by downloading or using these files and make no guarantees as to the functionality and yada yada yada check out the LGPL free to download modify and re-distribute. Licenses for all xerces code which is everything in the jar outside of my Manifest.mf file FindDependenciesFlexSDKVersions.java and FindDependenciesFlexSDKVersions.class are included in the jar and can be found on the xerces site here: http://xerces.apache.org/xerces-j/

    Copyright 2010 Shaun Husain

    (http://www.gnu.org/licenses/lgpl.txt)

    http://www.shaunhusain.com/java/FindDependencies.jar

    http://www.shaunhusain.com/java/FindDependenciesFlexSDKVersions.java

    So you'd download the .jar file from the above location then drop it in the root folder of your project (there should be a .actionscriptProperties file there) and run it the class will parse out the information about where the swcs are your project is depending on then it'll open each one because they're zip files and it'll look through the zip for a catalog.xml then it'll find the flex version number in there that signifies what version of flex that swc was compiled with. You can do these steps manually but if you're working on a lot of projects that have a lot of dependencies this can make you crazy.

    After you dropped the file in there go to the command line, navigate to that folder.

    This command assumes java is installed and on your path as set in your environment variables (regardless of OS) you should be able to just type.

    java -jar FindDependencies.jar output.html

    and it should run the command and pipe the ouptut to html. The works in windows not sure what the *nix version of this is, might be the same but I can't recall and don't feel like booting up another machine, all it does is redirect the standard output that would show up on the console to a text file, in this case with an html extension so when you open it by typing output.html [enter], a web browser will start up. I wrote it to generate HTML after doing it with tabs and now I'm thinking it should just be comma separated values and open in excel, maybe XML...keep changing my mind, anyhow open the html file and you should see a list of all the swcs and the version they were compiled with. Optionally the class will take two parameters first the path to the actionscriptProperties file to parse second is a bit of text to look for in the catalog.xml to see if a particular class was included in a swc during compilation (no guarantees here either but it seems to work).

    java FindDependencies.jar .actionscriptProperties HaloFocusRect output.html

    if this works out for anyone, great if not and you have some idea of what's going wrong, like you can explain that it's not showing xyz in the output file that you expected to see or it gives some sort of error let me know and I'll try and help. I also found a good method of being able to use this (and a couple of other) little java utilities from any place and with a shorter command, I create a folder called helpfulBatchfiles at the root of my drive, then put that in the PATH Windows environment variable so anything in there with a .bat extension will get executed (really anything in PATHEXT I think). So my batch file has two lines in it.

    Contents of FindDependencies.bat below, create a plain text file put these lines in it and save it with a .bat extension (be sure all files is selected in the save as dialog file type if using a notepad or the like)

    @echo OFFjava -jar C:\homemadeJava\findDependencies\FindDependencies.jar %1 %2

    this makes it so I can go to any directory that's the root of a project and just type

    FindDependencies output.html

    and I'm good to go, optional parameters still work and all. I plan to build some sort of a "front-end" or face for these utilties once I've got them fleshed out a litte better come to my site occasionally to see what I'm up to, although it hasn't been updated in quite some time I do plan to get around to it one of these days.

    I'm still struggling with this issue because we depend on some swcs that are pre-compiled and we cannot get the source for them, so I'm in a bit of a predicament anyhow it's forced me to learn way more about things I feel like I should have known about so I guess no harm no foul.

    Shaun

  • RELEVANCY SCORE 2.35

    DB:2.35:Dns Error dk


    Boa tarde,
    Alguém sabe me informar o motivo do erro abaixo?
    Grato

    Title:
    DNS: Zone TrustAnchors secondary servers must respond to queries for the zone.

    Severity:
    Error

    Date:
    8/2/2013 5:32:27 PM

    Category:
    Configuration

    Issue:
    None of the secondary servers configured for zone TrustAnchors are responding.

    Impact:
    Secondary servers will fail DNS queries for the zone TrustAnchors.

    Resolution:
    Validate secondary servers for zone TrustAnchors.

    More information about this best practice and detailed resolution procedures: http://go.microsoft.com/fwlink/?LinkId=188791

    DB:2.35:Dns Error dk


    Obrigado carlos,
    Não estou usando DNSSEC.

    Chegou a executar um dcdiag /test:dns ?
    Limpeza de cache também é útil, dncmd /clearcache.
    Reveja as configurações de transferência de zona, achei um artigo sobre esse erro:
    http://technet.microsoft.com/en-us/library/ff807384(v=ws.10).aspxAtt. Marcelo - Analista de Suporte Microsoft - MCITP/MCSA Server Administrator (2012 e 2008) | Hyper-v | SCOM 2007 R2 | E-mail: marcelosep@outlook.com | http://mswiki.wordpress.com

  • RELEVANCY SCORE 2.35

    DB:2.35:System Monitoring Plugin For Vmware Esx Server.. 7z


    i have a OEM grid control 10.2.0.5 with management plugin for Vmware ESX server (Management Plug-in: vmware_esx_server, Version 1.1.3.1.0) added.
    I later added another server agent for management/monitoring of VMware ESX server.
    the agent state is UP and under Monitored targets for the agent I am now trying to add the VMware ESX server
    Once on the page, here I enter the details Hostname / Usrname:Pwd / Protocol:HTTPS / Keystore and click on Test Connection and recieve a Warning :
    ***********************************
    Failed to contact the target to be added. Following errors were received while testing the connection to the target. Update the properties accordingly, try Test Connection for testing the properties before saving.
    TestVersion - caught com.vmware.vim.InvalidLogin: ; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty Aug 26, 2009 9:28:04 AM org.apache.axis.utils.JavaUtils isAttachmentSupported WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    ***********************************
    If I go ahead and click OK it adds the Target(Vmware esx server) to the agent and displays message :
    "Target ESXVS (VMware ESX Server) has been added."

    THE problem starts here.. the metrics collection doesnt happen for the target and I get Metric collection errors.
    I have tried checking in diff versions of management plugins as well as tried adding the target to the Grid control's agent//
    Pls help..

    DB:2.35:System Monitoring Plugin For Vmware Esx Server.. 7z

    it worked.. the keystore file wasnt copied to the agent location where the ESX server is added as a target. Test Connection is now successful and the metrics are being gathered.. thanks a lot for the help..

  • RELEVANCY SCORE 2.35

    DB:2.35:Unable To Login Epmaweb App (Awb) Using Ssl d7


    Hi,

    Recently I have installed EPM 11.1.2.2 suit in my PC (Essbase, Planning). I am able to connect all applications, web portals successfully in non-SSL mode. Later I have changed to SSL mode.

    Non-SSL
    ------------
    HSS (http://hyppoc.corp.epm.com:28080/interop) [WL]
    Planning (http://hyppoc.corp.epm.com:8300/HyperionPlanning/ [WL]
    Dimension Server ( http://hyppoc.corp.epm.com:80/hyperion-bpma-server/Sessions.asmx) [IIS7]
    EPMA WebAPP: ( http://hyppoc.corp.epm.com:19091/awb) [WL]
    Workspace : (http://hyppoc.corp.epm.com:19000/workspace) (able to launch all web apps from workspace including performance management architect)

    Later configured all components for SSL
    -- Created own root self signed CA using Wallet Manager
    -- Created Wallet OHS certificate request for (hyppoc.corp.epm.com), signed by CA, imported back to wallet, added root ca to trusted list
    -- Imported wallet into IIS 7
    -- Converted wallet into JKS for weblogic, created wallet sso for OHS
    -- Enabled SSL in weblogic, updated kestore, SSL tabs for all servers
    -- Reconfigured common components to enable SSL service, configured OHS for SSL (updated ssl.conf)
    -- Import JKS file into all required Kestore places

    After all I am able to connect all components in SSL mode, except one (Performance Management Architect apps)

    ( https://hyppoc.corp.epm.com:19047/awb) or from (https://hyppoc,corp.epm.com:19443/workspace)

    Verified all EPMA services up and running, when I enter admin user and password, its throwing an error related to certificates. Please find the complete error message captured from epma.log

    ===============================================================================================
    Loading the module 'awb.appcontainer' failed

    ; nested exception is:
    HTTP transport error: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    ================================================================================================

    I tried launching bpma SSL url: https://hyppoc.corp.epm.com:443/hyperion-bpma-server/Sessions.asmx it has successfully returned session id for Admin user, I am struggling to identify where the problem is.

    Please help ! Thanks in advance.

    Regds,
    Naresh

    DB:2.35:Unable To Login Epmaweb App (Awb) Using Ssl d7

    This error means trust store you specified was not found.

    Check below Oralce's KM article, see if we can use this document for our Hyperion EPMA as well:
    the trustAnchors parameter must be non-empty error when logging into the workspace [ID 1465228.1]

  • RELEVANCY SCORE 2.35

    DB:2.35:Help! Bug In Datagridview! fd


    HELP!I have a bound gridwith DataTable as DataSource. After performing a .Merge on the DataTable I get: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.ArrayList.get_Item(Int32 index) at System.Windows.Forms.DataGridViewRowCollection.SharedRow(Int32 rowIndex) at System.Windows.Forms.DataGridView.OnRowValidating(DataGridViewCell

    DB:2.35:Help! Bug In Datagridview! fd

    We took some last minute fixes in this area -- doing things on the datasource which changes the row count like this. When the released bits come out give this a shot.-markDataGridView Program ManagerMicrosoftThis post is provided "as-is"

  • RELEVANCY SCORE 2.35

    DB:2.35:Index Was Out Of Range. Must Be Non-Negative And Less Than The Size Of The Collection. Parameter Name: Index : Dotnet m3


    hi 

    DB:2.35:Index Was Out Of Range. Must Be Non-Negative And Less Than The Size Of The Collection. Parameter Name: Index : Dotnet m3

    Yup. I got your point.What is happening, is with the binding of url with the series.So.... you need to modify your url string as below :
    string strURL = Request.Url.OriginalString.ToString();

    strURL = strURL.Substring(0, strURL.LastIndexOf(/)) + /Pagename?QueryStrings;

    SomeChart.Series[YourSeriesName].Url = strURL;

    Hope, this will solve your problem.Dhruv Patel [ Email : mail2dhruv@rocketmail.com ]
    Please Mark As Answer if you think the answer was correct.

  • RELEVANCY SCORE 2.35

    DB:2.35:Beginner Question - Exitinstance() dj


    Hello all, I have a very basic question: How does one go about overriding your app's ExitInstance() function? I'm using VC++ 2005, so I tried right-clicking on the app class in the Class View , selecting Add-Add Function.... Of course, I know the function name (ExitInstance) and I know I need to select the virtual check box, but I don't know the return type, and the parameter list should be empty but the parameter type list box doesn't contain such an option (i.e. I must pick a parameter type). Anyone? Thanks in advance!
     

  • RELEVANCY SCORE 2.35

    DB:2.35:Regarding Sso With Cas Server 3a


    Hi,
    I am implementing SSO with sample Application(Using HelloWorldExample) in Tomcat 5.5 and jdk1.5.
    I generated the SSL using comuptername(eOffice-TEAMLEAD.iton.com) .I enabled SSO and SSL in server.xml like

    I enabled SSO like
    Valve className="org.apache.catalina.authenticator.SingleSignOn" /and enabled SSL like
    Connector port="8443" maxHttpHeaderSize="8192"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" disableUploadTimeout="true"
    acceptCount="100" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" keystoreFile="C:/Documents and Settings/User/.keystore"
    keystorePass="changeit" truststoreFile="C:/Program Files/Java/jdk1.5.0_02/jre/lib/security/cascerts"
    truststorePass="changeit"
    /and added the filter in web.xml in C:\Tomcat 5.5.23\webapps\servlets-examples\WEB-INF like

    filter
    filter-nameCAS Filter/filter-name
    filter-classedu.yale.its.tp.cas.client.filter.CASFilter/filter-class
    init-param
    param-nameedu.yale.its.tp.cas.client.filter.loginUrl/param-name
    param-valuehttps://eOffice-TEAMLEAD.iton.com:8443/cas/login/param-value
    /init-param
    init-param
    param-nameedu.yale.its.tp.cas.client.filter.validateUrl/param-name
    param-valuehttps://eOffice-TEAMLEAD.iton.com:8443/cas/serviceValidate/param-value
    /init-param
    init-param
    param-nameedu.yale.its.tp.cas.client.filter.serverName/param-name
    param-valueeOffice-TEAMLEAD.iton.com:8086/param-value
    /init-param
    /filterand added two jar file in C:\Tomcat 5.5.23\webapps\servlets-examples\WEB-INF\lib
    like

    cas-2.0.12.jar
    casclient-2.0.11.jar

    but when i login with my url then it enables the SSL using https connection and getting CAS login page
    when i enter the username and pwd then it shows the error like
    HTTP Status 500 -

    --------------------------------------------------------------------------------

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:254)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:184)

    root cause

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:36)
    edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
    edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:219)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:184)

    root cause

    java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    sun.security.validator.PKIXValidator.init(Unknown Source)
    sun.security.validator.Validator.getInstance(Unknown Source)
    com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
    com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
    com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
    com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:36)
    edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
    edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:219)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:184)

    root cause

    java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
    java.security.cert.PKIXParameters.init(Unknown Source)
    java.security.cert.PKIXBuilderParameters.init(Unknown Source)
    sun.security.validator.PKIXValidator.init(Unknown Source)
    sun.security.validator.Validator.getInstance(Unknown Source)
    com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(Unknown Source)
    com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)
    com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
    com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
    com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    edu.yale.its.tp.cas.util.SecureURL.retrieve(SecureURL.java:36)
    edu.yale.its.tp.cas.client.ServiceTicketValidator.validate(ServiceTicketValidator.java:212)
    edu.yale.its.tp.cas.client.filter.CASFilter.getAuthenticatedUser(CASFilter.java:219)
    edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:184)Plz Help me I am getting this type of problem from 2 days onwards.

    I searched for this error in google
    I found so many fourms like set the trustAnchors parameter like this

    Djavax.net.ssl.trustStore=/Documents and Settings/username/.keystore but my problem is not solved..

    After that i implemented the SSL with "localhost" also but my problem is not solved...

    so please Help me as early as possible...

    Thanks a lot ,
    Vishnavi.

    If possible Plz send the solution to vishnavi033@gmail.com

    DB:2.35:Regarding Sso With Cas Server 3a

    truststoreFile="C:/Program Files/Java/jdk1.5.0_02/jre/lib/security/cascerts"

    It's cacerts.

  • RELEVANCY SCORE 2.35

    DB:2.35:Calendar Date Picker In Reporting Services Mdx Cube Report a9


    Hi, to anyone who can help me I would really appreciate it. I have spent several days trying to make a Reporting Services report using Visual Studio 2005 and a cube from SQL Server 2005 Analysis Services. The report needs to use a Date parameter. The cube stores the date field in a string format. After creating the parameter for the report a list of values is presented for the user to select from. I do not wish to use an entire list of available values for the parameter, I need to be able to use a calendar date picker. I am using the Adventure Works sample database.
    My MDX query which I have edited manually looks like this:
    SELECT NON EMPTY { [Measures].[Internet Order Count] } ON COLUMNS FROM ( SELECT ( STRTOMEMBER(@DateDate) ) ON COLUMNS FROM [Adventure Works]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    I know that I must go to Layout Report Parameters DateDate parameter and change the Data type from String to DateTime, deselect Multi-value, put Available values as Non-queried and Default values to Null.
    Then in the Dataset click the ... button and go to the Parameters tab. There I must replace the Value for the DateDate parameter with an Expression. I think this is where my problem is. I have tried several expressions and conversion formulas but in the results the field always appears blank.
    My DateDate parameter Value expression is:=[Date].[Date].[ Format(CDate(Parameters!DateDate.Value),MM/dd/yyyy) ]
    I have encased my MDX query in an expression with =SELECT etc etc but have not gotten this to work.
    My query is:SELECT NON EMPTY { [Measures].[Internet Order Count] } ON COLUMNS FROM ( SELECT ( STRTOMEMBER(@DateDate) ) ON COLUMNS FROM [Adventure Works]) CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS

    DB:2.35:Calendar Date Picker In Reporting Services Mdx Cube Report a9

    Hi Jason, thanks again for your expert help. I tried what you said and it worked great. Now I will try on my production server which has dates stored in a different format but since now I know how to recognize the string format and manipulate the expression I should have no problems. I could have not resolved this without your help, thanks! I will later be posting a detailed summary of the steps for people who may have had the same problems.

  • RELEVANCY SCORE 2.35

    DB:2.35:Automatic Shared Memory Management 19


    Hi all.I know that if i need using automatic shared memory management i must be set sga_target int. parameter non-zero.But what is mean that statistics_level int parameter which i must be typical or all? statistics_level default typical.How is connected statistics_level and sga_target?

    DB:2.35:Automatic Shared Memory Management 19

    Hi,

    Yes, they are related. Look in the Oracle documentation "Oracle Database Reference" manual; there in chapter 1 you can read information about initialization parameters.

    For example, in 10g documentation - http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams211.htm#CHDDAHJD
    - the information about STATISTICS_LEVEL quite clearly tell us that :

    Setting the STATISTICS_LEVEL parameter to BASIC disables the collection of many of the important statistics required by Oracle Database features and functionality, including:

    Automatic Workload Repository (AWR) Snapshots

    Automatic Database Diagnostic Monitor (ADDM)

    All server-generated alerts

    "Automatic SGA Memory Management"

    Automatic optimizer statistics collection

    Object level statistics

    End to End Application Tracing (V$CLIENT_STATS)

    Database time distribution statistics (V$SESS_TIME_MODEL and V$SYS_TIME_MODEL)

    Service level statistics

    Buffer cache advisory

    MTTR advisory

    Shared pool sizing advisory

    Segment level statistics

    PGA Target advisory

    Timed statistics

    Monitoring of statisticsHope this helps.

    Regards,

    Ados

  • RELEVANCY SCORE 2.35

    DB:2.35:Getting Invalid Argument When I Use The Internal Url For An Ifd Crm 2013 az


    Hi,
    I'm having problems using the internal url for my IFD setup CRM 2013. When I access the CRM with https://org.domain.se:444 (I have ADFS 2.0 on the same server) it all works fine, but when I try to connect with the internal address https://internal.domain.se:444/org
    I get an Invalid argument error and in the trace I get the following error after the windows logon box:
    Crm Exception: Message: Expected non-empty string., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty string.
    Parameter name: userPrincipalName
    and
    Crm Exception: Message: Expected non-empty string., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty string.
    Parameter name: userPrincipalName
    Any ideas what can be wrong here?
    Thanks

    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    DB:2.35:Getting Invalid Argument When I Use The Internal Url For An Ifd Crm 2013 az

    Hi,
    I'm having problems using the internal url for my IFD setup CRM 2013. When I access the CRM with https://org.domain.se:444 (I have ADFS 2.0 on the same server) it all works fine, but when I try to connect with the internal address https://internal.domain.se:444/org
    I get an Invalid argument error and in the trace I get the following error after the windows logon box:
    Crm Exception: Message: Expected non-empty string., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty string.
    Parameter name: userPrincipalName
    and
    Crm Exception: Message: Expected non-empty string., ErrorCode: -2147220989, InnerException: System.ArgumentException: Expected non-empty string.
    Parameter name: userPrincipalName
    Any ideas what can be wrong here?
    Thanks

    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

  • RELEVANCY SCORE 2.35

    DB:2.35:Vsphere Web Services Sdk Setup Help 89



    I am attempting to setup a proof of concept for Citrix XenDesktop 5. I am attempting to integrate this with our ESXi 4.1 farm but in order to do that I am told I need to setup the web services. I hope somebody can help me out, I contacted VM Ware support but they refered me to this community site instead. I am slightly shocked they don't have any staff on hand who have set this up in order to help their customers.

    I followed this guide:

    https://www.vmware.com/support/developer/vc-sdk/visdk41pubs/vsp41_developerssetupguide.pdf

    I ran the build process but when I go to test it with the provided sample application in the SDK using this command:

    run.bat com.vmware.samples.general.SimpleClient --url https://vmprod20.corp.pgcore.com/sdk --username ***** --password ****** [--ignorecert ignorecert]

    (**** are just place holders for user name and password)

    I get this dump of errors:

    at com.vmware.apputils.vim.ServiceUtil.clientConnect(ServiceUtil.java:39

    )

    at com.vmware.apputils.AppUtil.connect(AppUtil.java:530)

    at com.vmware.samples.general.SimpleClient.main(SimpleClient.java:154)

    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAl

    gorithmParameterException: the trustAnchors parameter must be non-empty

    at sun.security.validator.PKIXValidator.lt;initgt;(PKIXValidator.java:

    56)

    at sun.security.validator.Validator.getInstance(Validator.java:146)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509Tr

    ustManagerImpl.java:105)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(

    X509TrustManagerImpl.java:167)

    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(

    SSLContextImpl.java:320)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien

    tHandshaker.java:841)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHa

    ndshaker.java:106)

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4

    95)

    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.jav

    a:433)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j

    ava:877)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS

    LSocketImpl.java:1089)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1116)

    ... 19 more

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors pa

    rameter must be non-empty

    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java

    :183)

    at java.security.cert.PKIXParameters.lt;initgt;(PKIXParameters.java:10

    3)

    at java.security.cert.PKIXBuilderParameters.lt;initgt;(PKIXBuilderPara

    meters.java:87)

    at sun.security.validator.PKIXValidator.lt;initgt;(PKIXValidator.java:

    54)

    ... 30 more

    {http://xml.apache.org/axis/}hostname:vmprod20

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.s

    ecurity.InvalidAlgorithmParameterException: the trustAnchors parameter must be n

    on-empty

    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)

    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

    y.java:32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at com.vmware.vim.VimBindingStub.retrieveServiceContent(VimBindingStub.j

    ava:23449)

    at com.vmware.apputils.vim.ServiceConnection.connect(ServiceConnection.j

    ava:54)

    at com.vmware.apputils.vim.ServiceUtil.clientConnect(ServiceUtil.java:39

    )

    at com.vmware.apputils.AppUtil.connect(AppUtil.java:530)

    at com.vmware.samples.general.SimpleClient.main(SimpleClient.java:154)

    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected er

    ror: java.security.InvalidAlgorithmParameterException: the trustAnchors paramete

    r must be non-empty

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    584)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    547)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketI

    mpl.java:1530)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1123)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1100)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac

    tory.java:186)

    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1

    91)

    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja

    va:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    ... 14 more

    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAl

    gorithmParameterException: the trustAnchors parameter must be non-empty

    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:56)

    at sun.security.validator.Validator.getInstance(Validator.java:146)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509Tr

    ustManagerImpl.java:105)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(

    X509TrustManagerImpl.java:167)

    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(

    SSLContextImpl.java:320)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien

    tHandshaker.java:841)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHa

    ndshaker.java:106)

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4

    95)

    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.jav

    a:433)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j

    ava:877)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS

    LSocketImpl.java:1089)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1116)

    ... 19 more

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors pa

    rameter must be non-empty

    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java

    :183)

    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)

    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters

    .java:87)

    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:54)

    ... 30 more

    [ Thu Apr 07 13:42:20 CDT 2011 ] End Log.

    Exception in thread "main" AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException

    faultSubcode:

    faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected

    error: java.security.InvalidAlgorithmParameterException: the trustAnchors param

    eter must be non-empty

    faultActor:

    faultNode:

    faultDetail:

    {http://xml.apache.org/axis/}stackTrace:javax.net.ssl.SSLException: java

    .lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParamete

    rException: the trustAnchors parameter must be non-empty

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    584)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    547)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketI

    mpl.java:1530)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1123)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1100)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac

    tory.java:186)

    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1

    91)

    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja

    va:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

    y.java:32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at com.vmware.vim.VimBindingStub.retrieveServiceContent(VimBindingStub.j

    ava:23449)

    at com.vmware.apputils.vim.ServiceConnection.connect(ServiceConnection.j

    ava:54)

    at com.vmware.apputils.vim.ServiceUtil.clientConnect(ServiceUtil.java:39

    )

    at com.vmware.apputils.AppUtil.connect(AppUtil.java:530)

    at com.vmware.samples.general.SimpleClient.main(SimpleClient.java:154)

    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAl

    gorithmParameterException: the trustAnchors parameter must be non-empty

    at sun.security.validator.PKIXValidator.lt;initgt;(PKIXValidator.java:

    56)

    at sun.security.validator.Validator.getInstance(Validator.java:146)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509Tr

    ustManagerImpl.java:105)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(

    X509TrustManagerImpl.java:167)

    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(

    SSLContextImpl.java:320)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien

    tHandshaker.java:841)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHa

    ndshaker.java:106)

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4

    95)

    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.jav

    a:433)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j

    ava:877)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS

    LSocketImpl.java:1089)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1116)

    ... 19 more

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors pa

    rameter must be non-empty

    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java

    :183)

    at java.security.cert.PKIXParameters.lt;initgt;(PKIXParameters.java:10

    3)

    at java.security.cert.PKIXBuilderParameters.lt;initgt;(PKIXBuilderPara

    meters.java:87)

    at sun.security.validator.PKIXValidator.lt;initgt;(PKIXValidator.java:

    54)

    ... 30 more

    {http://xml.apache.org/axis/}hostname:vmprod20

    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.s

    ecurity.InvalidAlgorithmParameterException: the trustAnchors parameter must be n

    on-empty

    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)

    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg

    y.java:32)

    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)

    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)

    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)

    at org.apache.axis.client.Call.invoke(Call.java:2767)

    at org.apache.axis.client.Call.invoke(Call.java:2443)

    at org.apache.axis.client.Call.invoke(Call.java:2366)

    at org.apache.axis.client.Call.invoke(Call.java:1812)

    at com.vmware.vim.VimBindingStub.retrieveServiceContent(VimBindingStub.j

    ava:23449)

    at com.vmware.apputils.vim.ServiceConnection.connect(ServiceConnection.j

    ava:54)

    at com.vmware.apputils.vim.ServiceUtil.clientConnect(ServiceUtil.java:39

    )

    at com.vmware.apputils.AppUtil.connect(AppUtil.java:530)

    at com.vmware.samples.general.SimpleClient.main(SimpleClient.java:154)

    Caused by: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected er

    ror: java.security.InvalidAlgorithmParameterException: the trustAnchors paramete

    r must be non-empty

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:166)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    584)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1

    547)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketI

    mpl.java:1530)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1123)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1100)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFac

    tory.java:186)

    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:1

    91)

    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja

    va:404)

    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

    ... 14 more

    Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAl

    gorithmParameterException: the trustAnchors parameter must be non-empty

    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:56)

    at sun.security.validator.Validator.getInstance(Validator.java:146)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.getValidator(X509Tr

    ustManagerImpl.java:105)

    at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(

    X509TrustManagerImpl.java:167)

    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(

    SSLContextImpl.java:320)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Clien

    tHandshaker.java:841)

    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHa

    ndshaker.java:106)

    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:4

    95)

    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.jav

    a:433)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.j

    ava:877)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SS

    LSocketImpl.java:1089)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketIm

    pl.java:1116)

    ... 19 more

    Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors pa

    rameter must be non-empty

    at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java

    :183)

    at java.security.cert.PKIXParameters.init(PKIXParameters.java:103)

    at java.security.cert.PKIXBuilderParameters.init(PKIXBuilderParameters

    .java:87)

    at sun.security.validator.PKIXValidator.init(PKIXValidator.java:54)

    ... 30 more

    Done.

    DB:2.35:Vsphere Web Services Sdk Setup Help 89


    I went through the tutorial and this is the result:

    time taken:1209root:DatacentersHello Window 7 32bit BaseGuestOS: Microsoft Windows Vista (32-bit)Multiple snapshot supported: true

    Does this mean the SDK is working properly? I still can't get XenDesktop 5 to talk to it.

  • RELEVANCY SCORE 2.35

    DB:2.35:The Mdx-Query Mmsm Works - Bids Error jd


    for me it's very strange, the following mdx-query

    SELECT
    NON EMPTY
    exists([Date].[Month].[Month].ALLMEMBERS,[Current FY]) ON COLUMNS
    ,NON EMPTY
    {
    [Company].[Company].[Company].ALLMEMBERS*
    [Country].[Country].[Country].ALLMEMBERS*
    nonempty({[City].[City].[City].ALLMEMBERS},{[Measures].[Budget]})*
    {
    [Measures].[Fee]
    ,[Measures].[Broker]
    ,[Measures].[Income]
    ,[Measures].[FeeS]
    ,[Measures].[Comm]
    ,[Measures].[Budget]
    }
    } ON ROWS
    FROM
    (
    SELECT
    {[Company].[Company].[All]} ON COLUMNS
    FROM
    (
    SELECT
    {[City].[City].[ADR]} ON COLUMNS
    FROM
    (
    SELECT
    {[Company].[Company].[ASZ]} ON COLUMNS
    FROM [Cube]
    )
    )
    );

    the query works fine in SSMS and returns correct result but in SSRS BIDS returns error
    TITLE: Microsoft Visual Studio
    ------------------------------

    Query preparation failed.

    ------------------------------
    ADDITIONAL INFORMATION:

    The query cannot be prepared: The query must have at least one axis. The first axis of the query should not have multiple hierarchies, nor should it reference any dimension other than the Measures dimension..
    Parameter name: mdx (MDXQueryGenerator)

    DB:2.35:The Mdx-Query Mmsm Works - Bids Error jd

    Yes, but you will need to use dynamic MDX, I use it all the time, and it's fairly easy, you create the params like a normal data source, (with MDX), and then just insert them in the MDX like so.

    =WITH
    MEMBER [Measures].[Measures].[Employee#] AS ([Measures].[Sum of Employee#]), FORMAT_STRING = '#,0'
    MEMBER [Measures].[Measures].[Member#] AS ([Measures].[Sum of Member#]), FORMAT_STRING = '#,0'
    MEMBER [Measures].[Premiums Paid] AS ([Measures].[Sum of Premiums Paid]), FORMAT_STRING = '$#,0'
    SELECT
    {[Prem Paid Month].[MONTH - Calendar].members
    } ON COLUMNS,
    { [Measures].[Employee#],
    [Measures].[Member#],
    [Measures].[Premiums Paid]
    } on rows
    FROM [Premiums]
    WHERE ([Prem Paid Month].[Calendar Year].[Year].[ Parameters!Year.Label ],
    Parameters!Company.Value ,
    Parameters!PlanID.Value )
    When you build the params, copy the code that SSRS uses to create the params, mine look like this, I have used a custom DLL to restrict the data coming back from the year parameter, here's the year param.
    =WITH
    MEMBER [Measures].[ParameterCaption] AS [Prem Paid Month].[Calendar Year].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS [Prem Paid Month].[Calendar Year].CURRENTMEMBER.UNIQUENAME

    SELECT {
    [Measures].[ParameterCaption],
    [Measures].[ParameterValue]
    } ON COLUMNS ,
    {
    customDLL.GetYears()
    } ON ROWS
    FROM [Premiums]

  • RELEVANCY SCORE 2.35

    DB:2.35:Javax.Net.Ssl.Truststore=C:\Oracle\Middleware\Wlserver_10.3\Server\Lib\Demo fc


    Dear All

    I am using Java mail api in my ADF project, I am facing problem when I fetch messages from gmail pop3 store.

    javax.mail.MessagingException: Connect failed;
    nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    Actually integrated weblogic in jdeveloper 11g us using trust store like this

    javax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks.

    I want to change to C:\Oracle\Middleware\JDeveloper11g\jdk160_24\jre\lib\security\cacerts. My problem will be solved by changing trust store.

    How can I change it

    Please guide.

    Aamir

    DB:2.35:Javax.Net.Ssl.Truststore=C:\Oracle\Middleware\Wlserver_10.3\Server\Lib\Demo fc

    Dear All

    I am using Java mail api in my ADF project, I am facing problem when I fetch messages from gmail pop3 store.

    javax.mail.MessagingException: Connect failed;
    nested exception is:
    javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    Actually integrated weblogic in jdeveloper 11g us using trust store like this

    javax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks.

    I want to change to C:\Oracle\Middleware\JDeveloper11g\jdk160_24\jre\lib\security\cacerts. My problem will be solved by changing trust store.

    How can I change it

    Please guide.

    Aamir

  • RELEVANCY SCORE 2.35

    DB:2.35:Soap Over Ssl k8


    Hi
    I have certificate ForKaraganda.pfx.
    I need to connect to web service .NET-SOAP application using client-certificate authentication uses HTTP over SSL and execute remote function.

    String file = "c:\\tmp\\ForKaraganda.pfx";
    String pass = "123456";

    System.setProperty("javax.net.ssl.keyStoreType","pkcs12");
    System.setProperty("javax.net.ssl.keyStore", file);
    System.setProperty("javax.net.ssl.keyStorePassword", pass);

    url = new URL("https://something.kz");
    SOAPConnectionFactory fac = SOAPConnectionFactory.newInstance();
    con = fac.createConnection();
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();

    SOAPHeader header = message.getSOAPHeader();

    SOAPBody body = message.getSOAPBody();
    SOAPFactory soapFactory = SOAPFactory.newInstance();

    javax.xml.soap.Name bodyName = soapFactory.createName("SelectUserByUIN","", "http://something2.kz/");
    javax.xml.soap.Name name = soapFactory.createName("uin");
    SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
    SOAPElement uin = bodyElement.addChildElement(name);
    uin.addTextNode("234234234242");
    SOAPMessage response = con.call(message, url);But happened error

    ....
    WT-EventQueue-0, handling exception: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    AWT-EventQueue-0, SEND TLSv1 ALERT: fatal, description = internal_error
    AWT-EventQueue-0, WRITE: TLSv1 Alert, length = 2
    [Raw write]: length = 7
    0000: 15 03 01 00 02 02 50 ......P
    AWT-EventQueue-0, called closeSocket()
    24.01.2008 14:39:56 com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    ....
    Caused by: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:140)
    ... 29 more
    ...How it fix?

    DB:2.35:Soap Over Ssl k8

    Hi
    I have certificate ForKaraganda.pfx.
    I need to connect to web service .NET-SOAP application using client-certificate authentication uses HTTP over SSL and execute remote function.

    String file = "c:\\tmp\\ForKaraganda.pfx";
    String pass = "123456";

    System.setProperty("javax.net.ssl.keyStoreType","pkcs12");
    System.setProperty("javax.net.ssl.keyStore", file);
    System.setProperty("javax.net.ssl.keyStorePassword", pass);

    url = new URL("https://something.kz");
    SOAPConnectionFactory fac = SOAPConnectionFactory.newInstance();
    con = fac.createConnection();
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();

    SOAPHeader header = message.getSOAPHeader();

    SOAPBody body = message.getSOAPBody();
    SOAPFactory soapFactory = SOAPFactory.newInstance();

    javax.xml.soap.Name bodyName = soapFactory.createName("SelectUserByUIN","", "http://something2.kz/");
    javax.xml.soap.Name name = soapFactory.createName("uin");
    SOAPBodyElement bodyElement = body.addBodyElement(bodyName);
    SOAPElement uin = bodyElement.addChildElement(name);
    uin.addTextNode("234234234242");
    SOAPMessage response = con.call(message, url);But happened error

    ....
    WT-EventQueue-0, handling exception: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
    AWT-EventQueue-0, SEND TLSv1 ALERT: fatal, description = internal_error
    AWT-EventQueue-0, WRITE: TLSv1 Alert, length = 2
    [Raw write]: length = 7
    0000: 15 03 01 00 02 02 50 ......P
    AWT-EventQueue-0, called closeSocket()
    24.01.2008 14:39:56 com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post
    SEVERE: SAAJ0009: Message send failed
    com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    ....
    Caused by: java.security.PrivilegedActionException: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Message send failed
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:140)
    ... 29 more
    ...How it fix?