Hello, I am trying to use Oracle DB 12c via Java and Tomcat.
The problem is that I can not configurate correct connection via connection pool and declaration in "server.xml" file.
So, when I use this code in a Java class:
Everything works fine.
But when I use this code in a Java class:
This code in <context.xml>
and this code in <server.xml>
I get an exception "java.sql.SQLException: ORA-01017: invalid username/password; logon denied" in line
The username and the password are the same in first and second codes. please advise what is going wrong ?
posted 11 months ago
symboll "2" is a mistake here, it is not set in real perogram.