I have TeamCity setup to use an oracle database. Here are the contents of my database.properties file:
This setup is currently working and TeamCity is happy. However, my plugin is also connecting to the databse and is causing issues because I am not using Connection Pools. I have modified the code to use Connection Pools from the Oracle provided UCP.jar. In order for it to work I needed to add UCP.jar and ojcdb14.jar to <TeamCityInstallation>\webapps\ROOT\WEB-INF\lib folder (otherwise I was getting class path errors when trying to use things in the UCP.jar). This is working in my test environment without any issue.
The issue is when I try and deploy this to my production environment. As soon as I add ojcdb14.jar to <TeamCityInstallation>\webapps\ROOT\WEB-INF\lib TeamCity tells me my database is empty and that it must be built. If I remove the file, it's fine again.
Any ideas why placing the ocjdb14.jar file in <TeamCityInstallation>\webapps\ROOT\WEB-INF\lib would cause it to think the database is empty? I should also mention that it is correctly identifying it as an Oracle database and the URL is correct. I don't see anywhere that the Username is presented in the logs, but I assume they are also being read correctly.
Thanks in advance for the help,