facebook

Secure database connections supported?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #293816 Reply

    mpk3003
    Member

    In attempting to use a secure database connection in MyEclipse Database Explorer, I configured the following parameters in “myeclipse.ini”:
    -vmargs
    -Djavax.net.ssl.trustStore=”C:\mytrusts.jks”
    -Djavax.net.ssl.trustStorePassword=password

    This gets much further along in the secure database connection than not providing those args, but still results in the following errors:

    A dialog window that says:
    Error while performing database login with the 208 MMX driver:
    Error establishing socket to host and port: 127.0.0.1:8888. Reason: Unconnected sockets not implemented

    [color=blue]When running MyEclipse with the “-debug” option more details appear in the log:[/color]

    ERROR [com.metamatrix.jdbc.transport.SocketTransportHandler] SocketServerInstance Failed to connect to HostInfo: hostName: 127.0.0.1 portNumber: 8888 inetAddress: /127.0.0.1 ssl: true clusterName: DEFAULT_CLUSTER_128890592 on try [3]. Maximum number of retries reached.
    java.net.SocketException: Unconnected sockets not implemented
    at javax.net.SocketFactory.createSocket(Unknown Source)
    at com.metamatrix.common.comm.platform.socket.SocketUtil.createSocket(SocketUtil.java:107)
    at com.metamatrix.common.comm.platform.socket.ObjectSocketFactoryImpl.createObjectSocket(ObjectSocketFactoryImpl.java:33)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerInstanceImpl.<init>(SocketServerInstanceImpl.java:132)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerInstanceFactory.createServerInstance(SocketServerInstanceFactory.java:61)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerInstancePool.createServerInstance(SocketServerInstancePool.java:520)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerInstancePool.findServerInstance(SocketServerInstancePool.java:468)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerInstancePool.getServerInstance(SocketServerInstancePool.java:330)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerConnection.selectServerInstance(SocketServerConnection.java:380)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerConnection.connect(SocketServerConnection.java:262)
    at com.metamatrix.common.comm.platform.socket.client.SocketServerConnectionFactory.establishConnection(SocketServerConnectionFactory.java:115)
    at com.metamatrix.jdbc.transport.SocketTransportHandler.createConnection(SocketTransportHandler.java:45)
    at com.metamatrix.jdbc.transport.MultiTransportFactory.establishConnection(MultiTransportFactory.java:55)
    at com.metamatrix.jdbc.MMDriver.createMMConnection(MMDriver.java:147)
    at com.metamatrix.jdbc.MMDriver.connect(MMDriver.java:124)
    at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:99)
    at com.genuitec.eclipse.sqlexplorer.actions.LoginProgress$Login.run(LoginProgress.java:51)
    at java.lang.Thread.run(Unknown Source)[color=black]
    [/color]

    I am running this on Windows XP, and using 1.5.0_16 JRE.

    #293888 Reply

    Loyal Water
    Member

    Hi,
    This is not supported by MyEclipse I’ll file this as an enhancement request.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Secure database connections supported?

You must be logged in to post in the forum log in