title: Cannot create PoolableConnectionFactory (IO Error: Connection reset) tomcat oracle
body: <p>I am trying to connect to a remote oracle database using JNDI connection via Tomcat. I'm using tomcat 8.0.41 and Oracle  12.1.0.2. I am using ojdbc7.jar for oracle driver. I tried ojdbc6.jar too. I keep getting this error message "Cannot create PoolableConnectionFactory (IO Error: Connection reset)  tomcat oracle" cause: "java.sql.SQLRecoverableException: IO Error: Connection reset". Could anyone help me with this? I spent nearly 3 days trying to figure this one out. Any help will be greatly appreciated.</p>