Elvyx URL

On elvyx version 1.24, the file elvyx.property was removed and the data needed to connect it to the datatabase is included in the elvyx url.

The elvyx client can generate this url for you. It will be explained below in the 'Elvyx Client' section.

The elvyx url is built like this:

jdbc:elvyx://elvyx_host :elvyx_port /?elvyx.real_driver=real_jdbc_driver &elvyx.real_jdbc=real_url_encoded &user=user &password=password

  • elvyx_host: Elvyx host ( Ex: localhost )
  • elvyx_port: Elvyx port ( Ex: 4448 )
  • real_jdbc_driver: Real jdbc driver ( Ex: oracle.jdbc.driver.OracleDriver )
  • real_url_encoded: Real url encoded [UTF-8]
  • user: the database user
  • password: the database password

    I hope it helps to understand how it should be generated:

    String realJdbcEncoded = URLEncoder.encode(realUrl.toString(), "UTF-8");

    url = "jdbc:elvyx://" + elvyxHost + ":" + elvyxPort + "/?elvyx.real_driver=" + realDriver + "&elvyx.real_jdbc=" + realJdbcEncoded + "&user=" + user + "&password=" + password;

Example:

jdbc:elvyx://localhost :4448 /?elvyx.real_driver=oracle.jdbc.driver.OracleDriver &elvyx.real_jdbc=jdbc%3Aoracle%3Athin%3A%40sun20-1.elvyx.com%3A1536%3Adev &user=sa &password=none

Help

The Elvyx url can be generated using either the Elvx Client OR the elvyxurl.bat:

Elvyx Client -Generate Elvyx URL Option 1

  • Execute elvyx.bat
  • Go to menu [Options] [Help to generate Elvyx URL]
  • Enter data needed
  • Go to the Elvyx url cell and copy it pressing the right-click.

elvyxurl.bat -Generate Elvyx URL Option 2

Run elvyxurl.bat

  • Go into tools folder
  • Execute elvyxurl.bat / elvyxurl.sh
  • Enter data required
  • Copy the elvyx url is generated