cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed

Former Member
0 Kudos

I am facing SQLInvalidAuthorizationSpecException whenever i try to deploy my code on higher environment. Everything works fine on my local but not when we deploy the code on higher envionment. We have recently migrated from websphere application server to Tomcat and same code is working on WAS. Below is the error i captured from logs

Caused by: com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException: [10]: authentication failed
	at com.sap.db.jdbc.exceptions.jdbc40.SQLInvalidAuthorizationSpecException.createException(SQLInvalidAuthorizationSpecException.java:40)
	at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:290)
	at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:174)
	at com.sap.db.jdbc.packet.ReplyPacket.buildExceptionChain(ReplyPacket.java:100)
	at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:1141)
	at com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:888)
	at com.sap.db.util.security.AbstractAuthenticationManager.connect(AbstractAuthenticationManager.java:43)
	at com.sap.db.jdbc.ConnectionSapDB.openSession(ConnectionSapDB.java:586)
	at com.sap.db.jdbc.ConnectionSapDB.doConnect(ConnectionSapDB.java:436)
	at com.sap.db.jdbc.ConnectionSapDB.<init>(ConnectionSapDB.java:195)
	at com.sap.db.jdbc.ConnectionSapDBFinalize.<init>(ConnectionSapDBFinalize.java:13)
	at com.sap.db.jdbc.Driver.connect(Driver.java:255)
former_member183326
Active Contributor
0 Kudos

in addition to Florian's remarks, please also run an authorization trace to see whats going on...

govardan_raj
Contributor
0 Kudos

hi ,

Am also facing same issue, can you please let me know if you have resolved the above.

HakanHaslaman
Product and Topic Expert
Product and Topic Expert
0 Kudos

govardan.raj
Did you check the authorization trace like already mention from Michael Healy?

>>>in addition to Florian's remarks, please also run an authorization trace to see whats going on...

Accepted Solutions (0)

Answers (0)