Re: Keeps saying "Establishing connection to.." but no connection established

47 views
Skip to first unread message

Takis Diakoumis

unread,
Feb 23, 2017, 11:48:36 PM2/23/17
to execut...@googlegroups.com
hi

i'm not really familiat with the drive you're using there, but from examining the stack, perhaps you are missingf some additional parameters required for that driver in your case.

additional parameters may bne supplied to any dirver using the 'Advanced' tab on the Connection Properties panel. parameters are typically provided as name/value pairs.

from the stack you posted it looks like the parameter 'trustAnchors' is a required one. set it with the relevant value in the Advanced connection properties and maybe try again.

hope this helps - let me know how you go.

thanks :)
Takis




On Tue, Feb 21, 2017 at 2:36 AM, Tarra Ajay <ajtk...@gmail.com> wrote:
Here is the connection log

[09:05:16] Initialising data source for Trust_Repository_uat
[09:05:16] Using user specified JDBC URL: jdbc:XXXXXX
[09:05:16] JDBC Driver class: cs.jdbc.driver.CXXX
[09:05:17] Exception in thread "Thread-24"
[09:05:17] cs.jdbc.driver.protocol.UnexpectedException: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
..................
..............
.......
..

[09:05:17]  at java.lang.Thread.run(Unknown Source)
[09:05:17] Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
[09:05:17]  at java.security.cert.PKIXParameters.setTrustAnchors(Unknown Source)
[09:05:17]  at java.security.cert.PKIXParameters.<init>(Unknown Source)
[09:05:17]  at cs.jdbc.driver.protocol.Encryption.validateCertificate(Encryption.java:76)
[09:05:17]  at cs.jdbc.driver.DriverOptions.setAndValidateCertificate(DriverOptions.java:408)
[09:05:17]  ... 18 more
[09:30:06] java.lang.reflect.InvocationTargetException
[09:30:06]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[09:30:06]  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[09:30:06]  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[09:30:06]  at java.lang.reflect.Method.invoke(Unknown Source)
[09:30:06]  at org.underworldlabs.swing.ActionPanel.actionPerformed(ActionPanel.java:76)
[09:30:06]  at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
[09:30:06]  at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
[09:30:06]  at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
[09:30:06]  at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
[09:30:06]  at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
[09:30:06]  at java.awt.Component.processMouseEvent(Unknown Source)
[09:30:06]  at javax.swing.JComponent.processMouseEvent(Unknown Source)
[09:30:06]  at java.awt.Component.processEvent(Unknown Source)
[09:30:06]  at java.awt.Container.processEvent(Unknown Source)
[09:30:06]  at java.awt.Component.dispatchEventImpl(Unknown Source)
[09:30:06]  at java.awt.Container.dispatchEventImpl(Unknown Source)
[09:30:06]  at java.awt.Component.dispatchEvent(Unknown Source)
[09:30:06]  at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
[09:30:06]  at org.executequery.databaseobjects.impl.DefaultDatabaseHost.connect(DefaultDatabaseHost.java:93)
[09:30:06]  at org.executequery.gui.browser.ConnectionPanel.connect(ConnectionPanel.java:623)
[09:30:06]  ... 41 more


On Monday, February 20, 2017 at 9:23:12 AM UTC-6, Tarra Ajay wrote:

I am trying to connect to Oracle DB using Execute Query through java application application   using the JDBC driver and using encryption and through remote certificate verification


when I try to connect it just keeps saying establishing connection but never establishes the connection


Kindly help

--
You received this message because you are subscribed to the Google Groups "Execute Query" group.
To unsubscribe from this group and stop receiving emails from it, send an email to executequery+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages