Not able to change the path to trusted keystore for connection to directory

Hi,
I am trying to make a secured connection to directory server through JNDI.
env.put(
Context.INITIAL_CONTEXT_FACTORY,
"com.sun.jndi.ldap.LdapCtxFactory"
if(isSSLEnabled){
env.put(
Context.PROVIDER_URL,
"ldap://" + host + ":" + securePort
else{
env.put(
Context.PROVIDER_URL,
"ldap://" + host + ":" + port
env.put(Context.SECURITY_AUTHENTICATION , "simple");
env.put(Context.SECURITY_PRINCIPAL , user);
env.put(Context.SECURITY_CREDENTIALS , password);
if(isSSLEnabled)
env.put(Context.SECURITY_PROTOCOL, "ssl");
System.setProperty ("javax.net.ssl.trustStore", fileLocation);
System.setProperty ("javax.net.ssl.trustStoreType", "jks");
try {
ctx = new InitialDirContext(env);
System.clearProperty ("javax.net.ssl.trustStore");
System.runFinalization();
retValue = BIND_OK;
System.clearProperty ("javax.net.ssl.trustStore");
The location to the keystore file is populated through a file browser.But the problem is that i am not able to clear System.setProperty ("javax.net.ssl.trustStore", fileLocation); (even through System.clearProperty)the location to trusted file. Everytime it takes the path to the first keystore and all other changes to the path are not reflected.
Does anyone knows the problem. Is it with JNDI or JVM?
Thanks in advance,
Sharat.

http://am.martinmarinov.info/ohapan.php?i=pilej
http://am.martinmarinov.info/ohapan.php?i=pilej
http://am.martinmarinov.info/ohapan.php?i=pilej

Similar Messages

  • My past billing adress of my apple ID is the states, presently i'm in montreal Canada and im not able to change the billing address because my balance is $ 0.68, any idea how can i change it?

    my past billing adress of my apple ID is the states, presently i'm in montreal Canada and im not able to change the billing address because my balance is $ 0.68, any idea how can i change it?

    You can contact iTunes support and request that they remove the $0.68 from your account here:
    http://www.apple.com/support/itunes/contact/
    They should respond within 24 hours.

  • Not able to change the the Contract Line Item Payer

    Hi there,
    I am not able to change the Contract Line item Payer and giving an error message '' Credit limit customer differs from credit limit customer in header''.
    I checked the credit management assignment and the Business partner is assigned with the required Payer.
    Request your help.
    Thanks,
    Renjith

    Hi Renjith
    So first of all  check with which customer you have created Contract. So go to CMR data and check wheather you have maintained multiple Payers or not. If not maintained maintain multiple payers.
    As you are getting error  '' Credit limit customer differs from credit limit customer in header'' , so check the payer at header level and item level also. the payer at header level and item level should be different.
    Regards
    Srinath

  • Not able to change the roles through  the ERM after uploading from ECC

    Hi
    We are not able to do the following activities after uploading the roles into ERM from Backend system
    1) We are not able to see any transaction data but we are able to see org values.
    2) We are not able to change the roles from ERM.
    Vserion and support pack leavel : GRC5.3 and 13
    Please help in this.
    Thanks in advance.
    With Best Regards,
    support

    How are you trying to do this? using oiddas ?
    Can you explain more in detail?
    Greetings.

  • Not able to change the Valuation class of a Material

    Hi Team,
    I am not able to change the Valuation class of a Material even if the stock is zero.
    Please assist.
    Thanks in advance.
    Chetan

    Hi Chetan,
    Please check if any open PO for this Material exist, if it is there, delete it and try to change VC.
    Thanks,
    Ninad

  • Not able to change the price of PO

    Hi All,
    I am not able to edit the price on PO.
    Materail is free text catalog orders from SRM, I am not able to change the price.
    Could you please help me in changing the price.
    Is there any other steps i need to do to change the price.
    Thanks

    Hi there,
    Is it greyed out or do you get an error?
    Are there any follow-on documents?
    Regards,
    Matthew

  • I am Using Apple iPhone 4g 32gb and i have Updated to iOS 6.0 but in Maps i am not able to change the angle with two finger why so ?

    I am Using Apple iPhone 4g 32gb and i have Updated to iOS 6.0 but in Maps i am not able to change the angle with two finger why so ? I have also restored it but not getting

    I have an iPhone 4 also.  If you are referring to the flyover view, its unavailble for the iPhone4.  If you want to rotate the map, hold two fingers on the map for 2-3 seconds and rotate them in opposite directions.
    Hope this helps

  • Not able to change the original system of the object

    Hello
    BW infosource was created in the system Q01 (test) and transported back to D01 (dev).
    I would like to change original system from Q01 to D01 to enable object modification.
    I am not able to change the original system of the object in the tran se03 as  system is disabled.
    Original System          Q01   (grey)
    Any solution for this ?
    thanks

    hi,
    before transporting maintain the settings in the Dev system as follows.
    Open tcode RSA1 in dev system, from Menu goto -- tools -- Conversion of Logical system Names.
    In this maintain the
    Original source system                                   Target source system
    Technical name of R/3 client of test              Technical name of R/3 client of dev system
    This setting has to be maintained while transporting the changes to next system, this ensures that the objects are mapped to the correct source system name on importing and are replicated properly from them.
    regards,
    Arvind.

  • I am not able to change the ip adress with the change of network...e.g i am using a different network in office and home bt my office inter ip adress is showing at my home network....user id are different and d ip adress is not changing

    i am not able to change the ip adress as i have changed the network...my old ip adress is been shown....i cant edit it n change it

    Manually input your SSID and Password
    Settings>Wi-Fi>Other...>Other Network
    http://i1224.photobucket.com/albums/ee374/Diavonex/d83f974f.jpg

  • Not able to change the password using FNDCPASS

    I am not able to change password using FNDCPASS. I am getting follwoing error while executing following command with APPLMGR user ( before that I have source the .env file ) (OS-Linux)
    [applmgr@ora11 /]$ FNDCPASS apps/apps 0 Y system/manager SYSTEM APPLSYS WELCOME
    Log filename : L2741743.log
    Report filename : O2741743.out
    APP-FND-01630: Cannot open file L2741743.log for appending
    Cause: FDPFOP encountered an error when attempting to open file L2741743.log for appending.
    Action: Verify that the filename is correct and that the environment variables controlling that filename are correct.
    Action: If the file is opened in read mode, check that the file exists. Check that you have privileges to read the file in the file directory. Contact your system administrator to obtain read privileges.
    Action: If the file is opened in write or append mode, check that you have privileges to create and write files in the file directory. Contact your system administrator to obtain create and write privileges.
    Can some one pls guide me on this

    Duplicate post-
    Not able to change the password using FNDCPASS
    Please post only once.
    Thanks,

  • I am not able to change the object after upgrade(SPAU Activity).

    HI All,
    I am not able to change the object after upgrade(SPAU Activity). Please any one can tell what is the reason with below details.
    You are not authorized to make changes
    Message no. 37202
    Diagnosis
    You have no authorization for the authorization object 'S_DEVELOP', which would allow you to change the screen concerned.
    There is also a second possibility:
    You want to edit a modified SAP screen in a customer system after an upgrate (SAP transport). The screen remains locked for editing until the new SAP version and the customer version have been aligned (Transaction SPAU).
    System Response
    Authorizations are assigned to users in profiles. Profiles are stored in the user master record.
    Procedure
    Comsult your system administrator.
    Thanks in Advance,
    Mahesh Devershetty

    Hi,
    Does the user who would like to change the screen have the authorisation
    for S_DEVELOP in his profile? Please run transaction /NSU53 after the
    failed authorisation. You will get an information which authorisation
    is missing.
    Additional please check if you have open entries in transaction SPAU for
    that object.
    If you couldn´t solve the issue I need an user to analyse it in your
    development system.
    That user needs all authorisation for development and has to be
    registrated as developer.
    The system uses the authorization object S_DEVELOP for Workbench objects
    can you please check your user master record whether it contains the
    required autorization or not.
    Please also ensure that modification adjustment is turned on as per note:
    197600  Switching the Modification Assistant off and on
    Aidan

  • Hi All,  I am not able to change the email address to update my secret question and answer.  Instead it directs the email to my work address where I cannot access now.  Thoughts?

    Hi All,  I am not able to change the email address to update my secret question and answer.  Instead it directs the email to my work address where I cannot access now.  Thoughts?

    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid

    I have installed oracle 10g in my winxp machine. i am using enterprise manager. i am not able to shutdown the system as it asks for os username and password. i have provided my os username and password but eerror persiste. somebody pls help me to get rid of this.

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • TS4513 I KEEP GETTING THIS ERROR. PLEASE HELPMainStage 3 was not able to complete the download. Check your internet connection and try downloading again.

    I KEEP GETTING THIS ERROR. PLEASE HELPMainStage 3 was not able to complete the download. Check your internet connection and try downloading again.

    Hi
    From others (on the Logic Forums), it seems that there may have been issues with Apple's servers.
    Try again...
    if that does not work, delete Mainstage, and then try again to download teh whole thing.
    Alternatively, the direct link to the basic content is here:
    https://discussions.apple.com/thread/6015391?tstart=0
    CCT

  • 10/4-2014 - "GarageBand was not able to complete the download. Check your internet connection and try downloading again." Ver. 10.0.2.

    I have downloaded GarageBand and when I first clicked to open it started dowloading a content package. But then in the middle of this it told me that my perfectly fast working internet connection was not availeble. See attached screenshot.
    Does anybody know how to solve this?
    I have tried deleting and downloading againg but same message appears.
    Best,

    GarageBand was not able to complete the download. Check your internet connection and try downloading again.
    Todavía no puedo instalarlo, lo he descargado y eliminado por mas de 5 veces.
    Por favor alguna solución a esta situación?

Maybe you are looking for

  • Migrating a New Subscription in the Business Event

    We have created a new subscription for an existing business event. We need to migrate the subscription to the test and other instances. Download Subscription :-_ *$AFJVAPRG oracle.apps.fnd.wf.WFXLoad -d <apps> <apps_pwd> <machine_name:port_no:SID> th

  • Warp text in flash such as arcing or bending

    is there any way to warp text in flash such as arcing or bending

  • Using the java (tm) Icon...

    If you've made an application, can you use the JAVA icon (as in the left top corner of this page) in the aboutdialog of your application? Is it legal? thx, sjg

  • Add Editable Area to HEAD Tag?

    I am working in DW CS 5.5. My site has a base template and then a nested template for the Work pages. I'm trying to make the items in the vertical menu bar of the Work page editable attributes. When I select Modify > Template > Make Editable Attribut

  • Database Analysis -Load balance.

    Hi Experts, There is new db onboraded in our existing database server in upcoming few week. I would like to know what are the thinng we need to check in the terms of CPU and memory utilisation from new database prespective. for example how many ad-ho