"java.net.SocketException: Connection reset" while connecting to Oracle DB
Issue
-
Following Exceptions are thrown while accessing Oracle DB from JBoss:
java.sql.SQLRecoverableException: IO Error: Connection resetand
java.net.SocketException: Connection reset at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at oracle.net.ns.DataPacket.send(DataPacket.java:210) at oracle.net.ns.NetOutputStream.flush(NetOutputStream.java:230) at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:312) ...(snip)...
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
- Red Hat JBoss A-MQ
- 6.1
- Red Hat JBoss Fuse
- Oracle Database and Oracle JDBC Driver
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
