Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Updating plugins makes jdbc connection disable.(Updating plugins makes jdbc connection disable.)
Updating plugins makes jdbc connection disable. [message #846324] Mon, 16 April 2012 01:03 Go to next message
Jeeeyul Lee is currently offline Jeeeyul LeeFriend
Messages: 111
Registered: July 2009
Location: Seoul
Senior Member

I bundled jdbc drivers(pure java) in my plugin.

One of my customer suffer jdbc conenction failure after just update plugin:
java.sql.SQLException: IO Exception: The Network Adapter could not establish the connection
       at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
       at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
       at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:255)
       at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:387)
       at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
       at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
       at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
       at java.sql.DriverManager.getConnection(Unknown Source)
       at java.sql.DriverManager.getConnection(Unknown Source)


The codes to connect are very formal, and there is no miss configuration in JDBC connection.
Other customers never suffer this problem, and we could not reproduce problem in our lab.

Environment of the customer is pretty restricted. (Closed Network and Some security policy driven)
There is a firewall in server, but it is configured to allow connection.
And It works fine when plugin(any version) is installed first time(not update).

All other functions works well came with updated plugins but just jdbc connection.

Anyone can imagine what can cause this problem?

[Updated on: Mon, 16 April 2012 01:03]

Report message to a moderator

Re: Updating plugins makes jdbc connection disable. [message #857038 is a reply to message #846324] Thu, 26 April 2012 07:36 Go to previous message
Kumar V is currently offline Kumar VFriend
Messages: 1
Registered: April 2012
Junior Member
Hi , I am also facing the same issues. But i am albe to connect with database and gettting the data. but sometime i am getting this issues. please help me with vkumar1977@gmail.com or vkumar1977@rediffmail.com


regards,
Kumar




java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:413)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:752)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at TestConnectionNew.main(TestConnectionNew.java:18)
Previous Topic:Ensuring update path after feature refactoring
Next Topic:Headless Update of Embedded Update Site
Goto Forum:
  


Current Time: Wed Nov 26 10:21:20 GMT 2014

Powered by FUDForum. Page generated in 0.02541 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software