[MDEV-10936] CONNECT engine JDBC type can't find JdbcInterface Created: 2016-10-02 Updated: 2023-05-18 Resolved: 2017-05-16 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Platform RedHat, Storage Engine - Connect |
| Affects Version/s: | 10.1.18 |
| Fix Version/s: | 10.1.24, 10.0.31, 10.2.7 |
| Type: | Bug | Priority: | Major |
| Reporter: | Robert Dyas | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
centOS 7 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
I have the Oracle JVM installed. I issue the following command:
When I try to do this:
I get this:
If I look in the plugins directory (/usr/lib64/mysql/plugin) there are no jar files... so I am guessing this is the problem. The documentation says JdbcInterface.jar is included with the binary distribution and will be located in the plugin folder. Could you attach the jar file to this so I can place it in plugins to try? |
| Comments |
| Comment by Robert Dyas [ 2016-10-02 ] | |||||||||||||||||||||||||||||||
|
using find -name "JdbcInterface.jar" produced no results on my system. Is JdbcInterface.jar actually included with centos RPM binary distribution in 10.1.18? | |||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2016-10-03 ] | |||||||||||||||||||||||||||||||
|
It gets built on RPM-based systems, but not included into RPMs, although it should. Thanks for pointing it out. Meanwhile, I've built it as a part of 10.1.18 release build on CentOS 7 x86_64 and uploaded here: Maybe it will help as a workaround. | |||||||||||||||||||||||||||||||
| Comment by Robert Dyas [ 2016-10-03 ] | |||||||||||||||||||||||||||||||
|
Fantastic! I was able to get a JDBC connection no problem with this jar file! | |||||||||||||||||||||||||||||||
| Comment by Robert Dyas [ 2016-10-06 ] | |||||||||||||||||||||||||||||||
|
Would it be possible for you to post a link to the ApacheInterface.jar file? Also, I think that since this is a general purpose pooling solution and the file is small and would probably be used in most cases, it would be great if this could be included in the binary distribution just like JdbcInterface.jar Thank you. Also PS - zero server crashes with CONNECT JDBC so far !!! | |||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2017-05-13 ] | |||||||||||||||||||||||||||||||
|
Connect engine uses install_jar() function from the UseJava.cmake package to install JdbcInrerface.jar. I'll replace install_jar() function with the native cmake install(FILES) command, which works fine. | |||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-09-07 ] | |||||||||||||||||||||||||||||||
|
Hi, I installed mariadb 10.2.8 on Debian 9 with connect plugin. JdbcInterface.jar file was not installed on my system.
If any other information is required, pls let me know. | |||||||||||||||||||||||||||||||
| Comment by Olivier Bertrand [ 2017-09-07 ] | |||||||||||||||||||||||||||||||
|
FYI: The JdbcInterface.jar file is obsolete, containing only the JdbcInterface wrapper. | |||||||||||||||||||||||||||||||
| Comment by Mohit Chandel [ 2017-09-08 ] | |||||||||||||||||||||||||||||||
|
Thanks Oliver. The documentation needs to be updated. |