New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java server not working #372

Open
mobaraksaid opened this Issue Aug 31, 2018 · 41 comments

Comments

@mobaraksaid

mobaraksaid commented Aug 31, 2018

I'm running the newest stable 4.0. 341 on MAC high sierra.
When i try to connect to my MySQL DB i get the error Java server not working.

@murteza

This comment has been minimized.

murteza commented Aug 31, 2018

Hi @mobaraksaid ,

Let me check with the team and get back to you.

--
Erol from TeamSQL

@murteza

This comment has been minimized.

murteza commented Aug 31, 2018

Hi @mobaraksaid ,

We’ll fix this issue with the next update.
So, please stay tuned!

--
Erol from TeamSQL

@fatihdervisi

This comment has been minimized.

fatihdervisi commented Aug 31, 2018

Hi @mobaraksaid,

Can you please check our database drivers are installed correctly in this path :
/Users/{"your-user-here"}/Library/Application\ Support/TeamSQL/AppCache/jdbc-drivers .

And can you try to connect to the database again with TeamSQL and after you've got the error, try to list your java processes in your terminal using this command : ps aux | grep "TEAMSQL_DRIVER_MODULE"

Thanks.

@murteza murteza moved this from Currently Working On to Ready for the Next Release in TeamSQL Sep 6, 2018

@mobaraksaid

This comment has been minimized.

mobaraksaid commented Sep 8, 2018

When is the next release? I can't use the application because of this issue and i don't want to start over with another application.

@init-0

This comment has been minimized.

init-0 commented Sep 10, 2018

I am seeing this issue across MySQL, Postgres and Redshift connections. Would love to use this app but without the basic connection...

@jcusick13

This comment has been minimized.

jcusick13 commented Sep 13, 2018

Hi @fatihdervisi,

I'm running into the same issue -- I'm trying to add a connection to a MSSQL DB and when I click Test Connection I get the same "Java server not working" error message as the user above. I'm using macOS High Sierra v10.13.6.

I followed your suggestions above and found the following in ../TeamSQL/AppCache/jdbc-drivers

  • ts-mssql-extenstion-0.0.1-SNAPSHOT.jar
  • ts-mysql-extenstion-0.0.1-SNAPSHOT.jar
  • ts-oracle-extenstion-0.0.1-SNAPSHOT.jar
  • ts-postgresql-extenstion-0.0.1-SNAPSHOT.jar
  • ts-redshift-extenstion-0.0.1-SNAPSHOT.jar

After receiving the error and typing $ ps aux | grep "TEAMSQL_DRIVER_MODULE", I saw the ts-mssql-extension-0.0.1-SNAPSHOT.jar listed on two different ports. Both instances had the flag -Dmodule_name=TEAMSQL_DRIVER_MODULE.

Do you have any suggestions for other things to check or suggested workarounds to connect to the db? Or if this is already covered in the next release, do you know when that is planned for?

Thanks!

@selcukayhan

This comment has been minimized.

selcukayhan commented Sep 14, 2018

Hi @mobaraksaid , @jcusick13 , @init-0 ,

May I have Java and TeamSQL versions of your environment.
(You can type " java -version " to terminal)

Thank you.

@jcusick13

This comment has been minimized.

jcusick13 commented Sep 14, 2018

Hi @selcukayhan,

My Java version is:

java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

and my TeamSQL is Version 4.0.357 (4.0.357.357)

@selcukayhan

This comment has been minimized.

selcukayhan commented Sep 14, 2018

Hi @jcusick13 ,

We are checking it now.

Thanks.

@igor-finery

This comment has been minimized.

igor-finery commented Sep 14, 2018

@murteza murteza moved this from Ready for the Next Release to Currently Working On in TeamSQL Sep 17, 2018

@alexalouit

This comment has been minimized.

alexalouit commented Sep 19, 2018

Same error here
TeamSQL Version 4.0.357 (4.0.357.357)

$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.6
BuildVersion: 17G65

@selcukayhan

This comment has been minimized.

selcukayhan commented Sep 19, 2018

Hi There,

We fixed this issue and published it on today's release which versioned as 4.0.371

Thank you for your understanding.

@igor-finery

This comment has been minimized.

igor-finery commented Sep 19, 2018

@jcusick13

This comment has been minimized.

jcusick13 commented Sep 19, 2018

@selcukayhan, it works for me as well. Thank you for the effort! 👍

@alexalouit

This comment has been minimized.

alexalouit commented Sep 19, 2018

Same error for me with 4.0.371 version

@AlbertoMontalesi

This comment has been minimized.

AlbertoMontalesi commented Sep 20, 2018

still getting error

TeamSQL version 4.0.371

$ java -version
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (build 1.8.0_181-8u181-b13-0ubuntu0.18.04.1-b13)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)

Ubuntu 18.04

@lemil

This comment has been minimized.

lemil commented Sep 20, 2018

Hi Guys!, found the issue. Apparently there's a missing backslash in the path that the java server uses ( .../Application Support/..). Try launching the service by hand fixing the path.

This is how it works fine (at least for me)....

/usr/bin/java -jar /Users/{your-user-name-here}/Library/Application\ Support/TeamSQL/AppCache/jdbc-drivers/ts-mysql-extension-0.0.1-SNAPSHOT.jar --server.port=63192 -Dmodule_name=TEAMSQL_DRIVER_MODULE

@quequegerones

This comment has been minimized.

quequegerones commented Sep 21, 2018

I'm having the same error... I've just downloaded the app, trying to connect for the first time

@wayneandrews

This comment has been minimized.

wayneandrews commented Sep 25, 2018

I'm having the same issue on Ubuntu 14.04

@michcald

This comment has been minimized.

michcald commented Sep 26, 2018

Same issue happened to me today after having used the app on Ubuntu 18.04 for a week successfully.

@murteza murteza moved this from Currently Working On to Completed in TeamSQL Sep 26, 2018

@murteza

This comment has been minimized.

murteza commented Sep 26, 2018

Hi @michcald @wayneandrews @quequegerones @AlbertoMontalesi @alexalouit ,

We released a new version yesterday. Did you update on TeamSQL 4.0.371?

@michcald

This comment has been minimized.

michcald commented Sep 26, 2018

@murteza

The app started to work again now. I confirm I am using version 4.0.371 but unfortunately I cannot tell if I was having the issue with this same version or not (I forgot to check).

Anyways, the issue no longer persist for me, so thanks

@murteza murteza closed this Sep 26, 2018

@alexalouit

This comment has been minimized.

alexalouit commented Sep 26, 2018

Same error here, even with latest 4.0.376 version

Each connection attempt launch a java process, then 'Java server not working' message

@wayneandrews

This comment has been minimized.

wayneandrews commented Sep 26, 2018

I still have the same error after running the latest version.

@isfo

This comment has been minimized.

isfo commented Sep 26, 2018

same error here.
java version: 10.0.2
teamsql version: 4.0.376.376

@michcald

This comment has been minimized.

michcald commented Sep 27, 2018

Continuation of my last comment #372 (comment)

This morning I opened again the app (no updates still with version 4.0.371) and I am having again the same message "Java server not working"

@murteza murteza reopened this Sep 27, 2018

@murteza

This comment has been minimized.

murteza commented Sep 27, 2018

Hi @michcald ,

If our automatic update system didn't work on your device, can you try "Check for Update" button or you can download from our website.

screen shot 2018-09-27 at 12 21 53

@michcald

This comment has been minimized.

michcald commented Sep 27, 2018

@murteza

Actually when I click on it nothing happens, so I have downloaded the latest version but the issue still applies.

@murteza

This comment has been minimized.

murteza commented Sep 27, 2018

Hi @michcald , @alexalouit , @isfo , @wayneandrews

We'll fix this issue today and release a hotfix for that.
So, please stay tuned!

@murteza murteza moved this from Completed to Currently Working On in TeamSQL Sep 27, 2018

@alexalouit

This comment has been minimized.

alexalouit commented Sep 27, 2018

Same error with 4.0.379 version

@wayneandrews

This comment has been minimized.

wayneandrews commented Sep 28, 2018

Version 4.0.379 has resolved the issue for me. Many thanks!

@michcald

This comment has been minimized.

michcald commented Sep 28, 2018

It's working for me too. Thanks

@murteza

This comment has been minimized.

murteza commented Sep 28, 2018

Hi @alexalouit ,

We are investigating your case. So, please stay tuned!

@alexalouit

This comment has been minimized.

alexalouit commented Sep 30, 2018

@murteza there's is anything else I can do, like generate a debug file?

@zanvd

This comment has been minimized.

zanvd commented Sep 30, 2018

Hi, for me version 4.0.379 is working on Linux Mint 18.3.

Thank you,
Žan

@alex-lit

This comment has been minimized.

alex-lit commented Oct 4, 2018

Same error on Linux Deepin 15.7

deepinscreenshot_ - _20181004114449

@selcukayhan

This comment has been minimized.

selcukayhan commented Oct 4, 2018

Hi @alex-lit ,

Your issue is not related with this issue.

Your solution :
Please type " java -version" to your os terminal.
If terminal returns you JDK, please run TeamSQL App as a sudo.
For another situation please update JDK to latest version.

@alex-lit

This comment has been minimized.

alex-lit commented Oct 4, 2018

@selcukayhan Thanks, it works.

@SadioD

This comment has been minimized.

SadioD commented Oct 14, 2018

Hi @selcukayhan,
I've just installed the latest version (4.0.379) and then failed to create a new connection (MySQL) on localhost with the same error message "java server not working"

Java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

@murteza murteza moved this from Currently Working On to Completed in TeamSQL Oct 31, 2018

@murteza murteza moved this from Completed to Currently Working On in TeamSQL Oct 31, 2018

@murteza

This comment has been minimized.

murteza commented Nov 6, 2018

@SadioD

What is your MySQL version?

@marvi182

This comment has been minimized.

marvi182 commented Nov 8, 2018

Hello there!
I have the same issue when i'm trying to connect via Windows Auth to SQL Server.
My java version 1.8.0_181
Ubuntu 18.04
TeamSQL 4.0.379

i'm getting the same error about java server not working

Thanks for your help!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment