Skip to Content
avatar image
Former Member

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

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

  • Get RSS Feed

0 Answers