Skip to Content
0

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

Jan 10 at 01:06 PM

436

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded

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

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers