Error while accessing secure store: File "SecStore.properties" does not exi

Hi ,
I have a java desktop application, and i am trying to get a connection from a datasource deployed on one SAP AS Java, I can get the datasource succsfullly but when i try to get a connection from the DS, it throughs this exception, I put the secstore..properties file in the classpath even after that it is not happy,
any solution/hint/light please!!!!
com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "SecStore.properties" does not exist although it should..
     at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:106)
     at com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:145)
     at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:226)
     at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:197)
     at com.sap.customcode.ConflictingActionFixture.(ConflictingActionFixture.java:53)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
     at java.lang.reflect.Constructor.newInstance(Unknown Source)
     at java.lang.Class.newInstance0(Unknown Source)
     at java.lang.Class.newInstance(Unknown Source)
     at fit.FixtureClass.newInstance(Unknown Source)
     at fit.FixtureLoader.instantiateFixture(Unknown Source)
     at fit.FixtureLoader.instantiateFirstValidFixtureClass(Unknown Source)
     at fit.FixtureLoader.disgraceThenLoad(Unknown Source)
     at fit.Fixture.loadFixture(Unknown Source)
     at fit.Fixture.getLinkedFixtureWithArgs(Unknown Source)
     at fit.Fixture.doTables(Unknown Source)
     at fit.FitServer.process(Unknown Source)
     at fit.FitServer.run(Unknown Source)
     at fit.FitServer.main(Unknown Source)
Caused by: com.sap.security.core.server.secstorefs.FileMissingException: File "SecStore.properties" does not exist although it should.
     at com.sap.security.core.server.secstorefs.StorageHandler.openExistingStore(StorageHandler.java:372)
     at com.sap.security.core.server.secstorefs.SecStoreFS.openExistingStore(SecStoreFS.java:1946)
     at com.sap.sql.connect.OpenSQLConnectInfo.getStore(OpenSQLConnectInfo.java:802)
     at com.sap.sql.connect.OpenSQLConnectInfo.lookup(OpenSQLConnectInfo.java:783)
     at com.sap.sql.connect.OpenSQLDataSourceImpl.setDataSourceName(OpenSQLDataSourceImpl.java:209)
     ... 18 more
caused by

the SecStore.key file was not there, I changed the passwd and checked the 'Encryption' on, after that my sever instance is not starting.
Any idea?
-Puneet

Similar Messages

  • Error while accessing secure store

    Hi Team,
    We are on EP 7.0 on SQL server 2005 . Iam facing one problem , in sometimemy IRJ pOrtal site stops giving error " Java iView Runtime " .At this time what happens that in my usr/sap drive , the sap folder is not shown as shared its share goes away and that time when i connect to visual admin tool the authentication fails and that time config tool gives error
    #1.5#00188B417A01007E0160B338000008FC00045DE876A4C303#1229152911187#com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl##com.sap.engine.services.dbpool.spi.ManagedConnectionFactoryImpl#Guest#2####f168def0c8c411dd9a2100188b417a01#SAPEngine_Application_Thread[impl:3]_29##0#0#Error##Plain###ManagedConnectionFactoryImpl.createManagedConnection(): SQLException occured while creating ManagedConnection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    musaprd
    sapmnt
    PWC
    SYS
    global
    security
    data
    SecStore.properties" does not exist although it should..#
    #1.5#00188B417A010085015AAAF5000008FC00045DE876A4C207#1229152911187#com.sap.sql.connect.OpenSQLDataSourceImpl##com.sap.sql.connect.OpenSQLDataSourceImpl#Guest#2####09e36ed0c8c711dd93b200188b417a01#SAPEngine_Application_Thread[impl:3]_39##0#0#Error#1#/System/Database/sql/connect#Java#com.sap.sql_0019##Exception of type com.sap.sql.log.OpenSQLException caught: Error while accessing secure store: File
    When i check in this path SecStore.properties is there , also i have checked the permissions .....................please revert the reason of this error  . 
    Main part of this all is that after taking a reboot everything becomes fine , this happens every few days .
    Please revert to this .
    Regards,
    Somya

    Hi,
    This error crops up when the the folder usr/sap folder sharing is lost .  We  have recently faced this problem this is Windows OS level problem you can ask your OS admin. Applying a security patch will do.
    Regards,
    Vamshi.

  • Error in Integration Repository: ..SecStore.properties does not exist

    Hi Guys!
    I'm getting this error when I try to tick and save the values "Objects Are Original Objects" and "Objects Are Modifiable" in a software component version in the Integration Repository:
    "ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.dbpool.exceptions.BaseResourceException: SQLException thrown by the physical connection: com.sap.sql.log.OpenSQLException: Error while accessing secure store: File "
    <hostname>\sapmnt\XIP\SYS\global\security\data\SecStore.properties" does not exist although it should.."
    Would any of you know what might be wrong?
    I'm using PI 7.0.
    Warm Regards,
    Glenn

    Is your XI installed on SQL Server? Seems like there is a db connection error woth XI to the underlying database.
    Check if the DB instance is running.
    VJ

  • Error while accessing a jsp file

              hi all,
              i am working on weblogic5.1 under solaris platform.
              my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              i have an import statement as follows import sun1.sun2.* in my JSP file.
              when i access this jsp file from my browser i have an error.
              the error is import package sun1 not found.
              i have set my classpath correctly(i feel so)...
              can anybody help me with this problem.
              if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              thanx in advance.
              Prasad.
              

              Hi,
              1) what is your "weblogic.httpd.documentRoot=????"
              2) if it is "public_html" put your jsp there.
              Joe
              "Prasad" <[email protected]> wrote:
              >
              >hi all,
              >
              >i am working on weblogic5.1 under solaris platform.
              >
              >my folder hierarchy is as follows weblogic_home/classes/weblogic/sun1/sun2.
              >
              >i have an import statement as follows import sun1.sun2.* in my JSP file.
              >
              >when i access this jsp file from my browser i have an error.
              >
              >the error is import package sun1 not found.
              >
              >i have set my classpath correctly(i feel so)...
              >
              >can anybody help me with this problem.
              >
              >if there is some fault in my classpath please tell me where exactly i should set my classpath for jsp files.
              >
              >thanx in advance.
              >Prasad.
              

  • 0x80090213 error while accessing itunes store

    i have reinstalled it two time completley still getting this error message..
    Please help

    I'd like to add some more details to my question.
    I don't know if this happens at Win8 since I updated to Win 8.1 right after I purchased my laptop, all Win patches are up to date and also iTunes, I am running Win 8.1 64bit Pro version.
    I tryed to reinstall iTunes, install quicktime or reinstall quicktime, also tryed to use microsoft kb 2639417, but it does not support win 8.1.

  • Error while creating connection pool "FATAL: database "null" does not exist

    Hi,
    Iam trying to create a XA connection pool using postgres driver (postgresql-8.3-603.jdbc3.jar) on Weblogic 8.1.6.0 from the Admin Console.
    I have provided the following info in the JDBC config
    Driver Class Name: org.postgresql.xa.PGXADataSource.
    JDBC URL: jdbc:postgresql://192.168.192.112:5432/sample1
    UserName: postgres
    Password: Postgres
    When i click Test Driver Configuration. Iam getting the following error
    "FATAL: database "null" does not exist"
    if i change the Driver Class Name to "org.postgresql.Driver", it is working fine. But as iam trying to create XA datasource i need to use the XA Driver class name.
    Can someone tell me how to resolve this issue ?
    The postgres version iam using is 8.3.1

    Hi Joe,
    The driver is in the classpath.
    Please find the stack trace.
    org.postgresql.util.PSQLException: FATAL: database "null" does not exist
    at org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(Conn
    ectionFactoryImpl.java:444)
    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(Conne
    ctionFactoryImpl.java:99)
    at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactor
    y.java:66)
    at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Conn
    ection.java:124)
    at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Conn
    ection.java:30)
    at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
    at org.postgresql.Driver.makeConnection(Driver.java:386)
    at org.postgresql.Driver.connect(Driver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at org.postgresql.ds.common.BaseDataSource.getConnection(BaseDataSource.
    java:83)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    47)
    at org.postgresql.xa.PGXADataSource.getXAConnection(PGXADataSource.java:
    32)
    at weblogic.management.console.utils.JDBC.testConnection(JDBC.java:185)
    at weblogic.management.console.actions.mbean.JDBCConnectionPoolTestActio
    n.prePerform(JDBCConnectionPoolTestAction.java:114)
    at weblogic.management.console.actions.mbean.DoMBeanWizardAction.perform
    (DoMBeanWizardAction.java:215)
    at weblogic.management.console.actions.internal.ActionServlet.doAction(A
    ctionServlet.java:182)
    at weblogic.management.console.actions.internal.ActionServlet.doPost(Act
    ionServlet.java:86)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1077)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:465)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:348)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:7047)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    121)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3902)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2773)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

  • Error while compiling JMS example - package javax.jms does not exist

    Dear All,
    I am a newbie trying to use JMS. I have downloaded EE 5 SDK and installed (it contains Message Queue 4.1 as well). After the installation and going to some tutorials, I tried to compile the example 'SimpleQueueSender.java' which was downloaded from Sun website.
    Before running the application, I made sure that I have set the classpath, path environment veriables correctly, but still I got the error "package javax.jms does not exist". I have searched internet for help and in all places I found people replying to similar issues. But I was not able to apply the solution as either the folder names or file names specified in the solution is different from what is existing in my system.
    Please help me. Also could anyone help me in telling the pre-requisites to ensure a proper running of java application.
    Thanks in Advance
    Regards,
    San

    I'm not sure exactly what your JavaEE SDK installation contains (there are so many versions) but it will typically contain a Glassfish installation. Under the Glassfish installation, the imq directory contains all the files needed for MessageQueue.
    The javax.jms package contains the JMS API interfaces. These can be found in jms.jar, which is typically in imq/lib. At runtime you will also need imq.jar from the same directory, which contains the implementation of these interfaces for MessageQueue.
    Note that you will need to start a Message Queue server as well. EIther start a Glassfish server (which includes an embedded Message Queue broker), or (simpler) start a standalone Message Queue broker by running imqbrokerd (from the imq/bin directory).
    Nigel

  • Error: While Opening a Custom view- Action &OBJECT_ID& does not exist

    Hi Experts,
    On the click of button, I am creating a window and opening as follows:
      wd_comp_controller->go_window         = lo_window_manager->create_window(
                          window_name            = 'ZW_CERTIFICATION_POP'
                          title                  = lv_pop_title
                          close_in_any_case      = abap_false
                          message_display_mode   = if_wd_window=>co_msg_display_mode_selected
                          close_button           = abap_true
                          button_kind            = if_wd_window=>co_buttons_okcancel
                          message_type           = if_wd_window=>co_msg_type_none
    I have written following code in INIT method of View to Subscribe events but it is dumping with the Error "Action &OBJECT_ID& does not exist ".
    DATA lv_ok     type string.
    DATA lv_cancel type string.
    DATA lo_popup  TYPE REF TO if_wd_window.
    DATA lo_view   TYPE REF TO if_wd_view_controller.
    DATA lo_window_ctlr type ref to if_wd_window_controller.
    register button events
        lo_view = wd_this->wd_get_api( ).
        lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
        wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
        lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
        wd_comp_controller->go_window->subscribe_to_button_event(
                       button            = if_wd_window=>co_button_ok
                       button_text       = lv_ok
                       action_name       = 'OK'
                       action_view       = lo_view
                       is_default_button = abap_true
        lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
                   wd_comp_controller->go_window->subscribe_to_button_event(
                      button            = if_wd_window=>co_button_cancel
                      button_text       = lv_cancel
                      action_name       = 'CANCEL'
                      action_view       = lo_view
                      is_default_button = abap_true
    How to solve this exception causing application to dump.
    Thanks
    Depesh

    Hi Depeshn,
    I have written following code in INIT method of View
    I think you have writen code containg subscribe_to_button_event method in the INIT method of the pop up view. But actually you should write that code where you are generating the pop up window. i.e in the ONACTION method of the button (which when clicked generates the pop up window.)
    It should be something like this:
    " This whole code should come in the event handler of the button.
    wd_comp_controller->go_window = lo_window_manager->create_window(
    window_name = 'ZW_CERTIFICATION_POP'
    title = lv_pop_title
    close_in_any_case = abap_false
    message_display_mode = if_wd_window=>co_msg_display_mode_selected
    close_button = abap_true
    button_kind = if_wd_window=>co_buttons_okcancel
    message_type = if_wd_window=>co_msg_type_none
    DATA lv_ok type string.
    DATA lv_cancel type string.
    DATA lo_popup TYPE REF TO if_wd_window.
    DATA lo_view TYPE REF TO if_wd_view_controller.
    DATA lo_window_ctlr type ref to if_wd_window_controller.
    * register button events
    lo_view = wd_this->wd_get_api( ).
    lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
    wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
    lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
    wd_comp_controller->go_window->subscribe_to_button_event(
    button = if_wd_window=>co_button_ok
    button_text = lv_ok
    action_name = 'OK'
    action_view = lo_view
    is_default_button = abap_true
    lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
    wd_comp_controller->go_window->subscribe_to_button_event(
    button = if_wd_window=>co_button_cancel
    button_text = lv_cancel
    action_name = 'CANCEL'
    action_view = lo_view
    is_default_button = abap_true
    I hope it helps.
    Regards
    Arjun

  • Error while deploying BPM : DC bpm_0/bl/ddic does not contain any archives for deployment

    Hi All,
            I'm using SAP PO 7.31 single stack. I've created a simple BPM in NWDS. I'm able to successfuly build the BPM which I created but when I "Deploy" it throws the below error.
    DC bpm_0/bl/caf/metadata does not contain any archives for deployment
    DC bpm_0/bl/ddic does not contain any archives for deployment
    DC bpm_0/bl/caf/dictionary does not contain any archives for deployment
    Not sure what/where to check and fix the issue. Can you please help me in fixing the issue?
    Thanks
    Raj.

    Dear Raj,
    I am looking into this.
    In the meantime can you try this also.
    xxx/pr/pm: Deployment error,&amp;nbsp;GD&amp;nbsp;|&amp;nbsp;ABAP,&amp;nbsp;SAP,&amp;nbsp;benX AG,&amp;nbsp;benXBrain,&a…
    Thanks & Regards,
    Patralekha

  • Error while accessing secured protocol https

    Hi
    I was trying to access the https urls but browser giving error that not support secured connection. Can somebody tell me is this a browser issue.
    Thanks

    Hey vijendra07kulhade,
    Are you using the BlackBerry Internet Service or are you on a BlackBerry Enterprise Server?
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Regenerate the security files : SecStore.properties and SecStore.key

    Hello Expert,
    I have a big issue because I lost the both files : SecStore.properties and SecStore.key from the directory /sapmnt/SID/global/security/data. I tried to regenerate the SecStore.properties  from another instance. And when I tried to connect via Configtool I have the following error message : The encryption key (usually in the key files) is
    not  the key that is required to decrypt the data in the secure store file or the system name is wrong (SID).
    I think that the idea is to generate the new key file.
    Could you please help me to find a solution to solve this issue.
    Many thanks in advance for your greatfull help.
    Regards
    San

    Check this out, though it doesn't directly address your problem. It should definately give you more insight.
    http://help.sap.com/saphelp_nw04/helpdata/en/cd/14c93ec2f7df6ae10000000a114084/frameset.htm

  • Error  while accessing the application server file

    Hello,
    When I try to load the data from CSV file to PSA , I am getting following error message
    "Error  while accessing the application server file"
    "Errors in source system"
    I gave the right file path
    I am not sure about this error message.
    Thanks,

    Hi ram,
    if you have more than one application server running in your BI system (see at transaction SM51) be aware that your infopackage will be executed on the right one. Each application server has its own file system and your job need to run on the server your file is stored on.
    Also check if the os user of the SAP system itself (<sid>adm on Unix) has rights to read that file.
    Bye
    Frank

  • Error encountered: An unknown error occurred while access the upgrade file.

    Hi all,
    I was upgrading my call manager subscriber server from
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    7.1.3.10000-11 build to 8.0.2.41006-1 build, got the following error and the upgrade failed,
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    Status: Error encountered: An unknown error occurred while access the upgrade file.
    While the same upgrade was successful on the pub.
    Need help.

    Brad,
    I've seen that a number of times with 7x upgrade files.  I would like to say it's consistent but it hasn't always been.  I've done a number of upgrades and sometimes I would run across that issue and other times, I would not (there would be multiple files in the SFTP path).  After a few times, I just started always putting my upgrade file in a dedicated folder.
    Good catch...and you're not alone in experiencing it.
    Hailey

  • Error while updating the configuration files (MOB20003)

    hi,
    After installing the BI 4.0 server, i am trying to configure mobile using mobile server configuration tool. When i enter all the information for non Blackberry option as i would like to access through ipad, its giving me the error message" Error while updating the configuration files (MOB20003)" Please advise.

    Hi Somesh,
    If i am not wrong, only a war file deployment is needed to make ipad work.
    This happens with URL hitting directly on the Server.
    If you want to configure VAS and VMS servers, let us know what configuration settings have been done.
    Regards,
    Atul

  • InvalidSecurity Error while accessing Webservice

    Hi,
    I am getting an "*InvalidSecurity*" error while accessing webservice.
    Below is the error, which I got while invoking the webservice :
    <env:Envelope
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body>
    <env:Fault
    xmlns:ns0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <faultcode>ns0:InvalidSecurity</faultcode>
    <faultstring>InvalidSecurity : error in processing the WS-Security security header</faultstring>
    <faultactor/>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Thanks
    Abheek
    Edited by: 1005832 on May 14, 2013 6:16 AM

    The error was generated on the endpoint and indicates that the SOAP request message had incorrect WS-Security information in its headers. The SOAP response message you included doesn't contain specific information about what is wrong (we wouldn't want to reveal too much to hackers, of course!).
    Without seeing the SOAP request message and the WS-SecurityPolicy that the endpoint requires, it's impossible to tell what's wrong.
    Other important information:
    - what version of WLS are you running?
    - is the endpoint a WLS JAX-WS or a WLS JAX-RPC web service?
    - is WS-Security configured using native WLS WS-Security (e.g. @Policy) or using OWSM WS-Security (i.e. @SecurityPolicy)?
    - what specific policy is being used to enforce security at the endpoint (the advertised WSDL for the endpoint should contain this)

Maybe you are looking for