cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Your SecStore.key & SecStore.properties files are to be located in \sapmnt\NPD\global\security\data with read access.

Change the password (if required) through Configtool and try again

Former Member
0 Kudos

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