Jump to content
Excelsior Forums
JohnnyA

MySQL Connection Error In Excelsior Jet 9 with MP 1

Recommended Posts

I have a Java application that uses the MySQL JDBC Connector library to connect to a MySQL Server via named pipe. Using/compiling with Excelsior Jet version 8 with MP 1 it works fine.

When I switched and compiled the same application with Excelsior version 9 with MP 1, I started receiving the following error:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

at ......

at ......

at ......

at ......

Caused by: java.io.FileNotFoundException: All pipe instances are busy

... 4 more

Please note that this application works with Java 1.6.0_18 without any problem, the issue started after compiling the Java application with Excelsior Jet 9 with MP 1.

How can this issue be resolved?

Share this post


Link to post
Share on other sites

I have a Java application that uses the MySQL JDBC Connector library to connect to a MySQL Server via named pipe.

Please note that this application works with Java 1.6.0_18 without any problem, the issue started after compiling the Java application with Excelsior Jet 9 with MP 1.

How can this issue be resolved?

Does it work on Oracle JRE 7 update 40?

Share this post


Link to post
Share on other sites

Does it work on Oracle JRE 7 update 40?

Yes, it works in Oracle JRE 7 update 40 but after the application is compiled with Excelsior JET, the problem starts, I also noticed that using a system time that shows the time in another language like Chinese also causes the application to be unable to connect to a MySQL server, when the time is set to English it works.

All mentioned issues only occur after the JAR file of the application including all it's dependencies are compiled to an executable with Excelsior JET.

It's easy to replicate this issue, create a simple application that uses the MYSQL Connector/J from the MYSQL website and compile with Excelsior JET, set the MYSQL to use named-pipe, you will see that the application will fail to connect to the MYSQL, do the steps again now make it use localhost, it will connect, also change the system time to show as Chinese character, you will see that the application fails to connect.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×