Failed to load `oracle.net.nt.TimeoutInterruptHandler` from plugin jar `/home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar`: sealing violation: package oracle.net.nt is sealed

Hi Team,

Getting below lines in debug.log of neo4j:
2021-03-23 11:03:57.846+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.MQLNTAdapter from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: com/oracle/common/internal/net/ipclw/mql/LocalQueue$ReadCallback
2021-03-23 11:03:57.847+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.NTMQProtocolHandler from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: com/oracle/common/internal/net/ipclw/mql/LocalQueue
2021-03-23 11:03:57.848+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.NetStatImpl from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed
2021-03-23 11:03:57.848+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.SSLSocketChannel from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed
2021-03-23 11:03:57.849+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.TimeoutInterruptHandler$InterruptTask from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed
2021-03-23 11:03:57.849+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.TimeoutInterruptHandler$InterruptTaskType from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed
2021-03-23 11:03:57.849+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.TimeoutInterruptHandler from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed
2021-03-23 11:03:57.850+0530 WARN [o.n.k.i.p.Procedures] Failed to load oracle.net.nt.TimeoutSocketChannel from plugin jar /home/jioapp/neo4j-enterprise-3.5.5/plugins/ojdbc8.jar: sealing violation: package oracle.net.nt is sealed

@akshat_mittal

the error sealing violation: package oracle.net.nt is sealed appears to be an error native to Oracle and not Neo4j

A google search on said error describes this at

Hello Dana ,

After going through your shared google search link , I understood that plugins directory may have only 1 ojdbc.jar.
In my case i have ojdbc6.jar , ojdbc7.jar , ojdbc8.jar for my neo4j 3.5.5.

So Now point is , Do i need to remove these extra jar's from plugin directory ?

Regards
Akshat

@akshat_mittal

why are their multiple odbc*.jar files in the plugins/ directory. Its not something that Neo4j would install.
And as the jar file is a Oracle jar, presumably thats a question for Oracle support and relative to which jar can i use to make a connection to Oracle vX.Y

Hi Dana,

I am maintaining multiple jars because i am not sure which odbc*.jar will be supported by neo4j 3.5.X.

Regards
Akshat

Akshat
We do not provide support for odbc*.jar files. Neo4j has the ability to connect a Oracle instance and via apoc.load.jdbc and to do so requires that a compatible jar file from Oracle be placed into plugins/. Now the question becomes, what Oracle release/version are you connecting to and for said release/version what is the recommended Oracle jar version. Now if for example you are connecting to Oracle 18c and Oracle indicates to connect to said db version and via odbc you need odbc8.jar, then I would simply only have odbc8.jar in plugins/.

HI Dana,

This gives me a better understanding.

I got your point.

Thank you.

Regards
Akshat