TeamSQL / desktop-app

This repository is currently being used for hosting the official issue & bug tracker of TeamSQL Desktop App.
102 stars 6 forks source link

Java server not working #372

Open mobaraksaid opened 6 years ago

mobaraksaid commented 6 years ago

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.

murtezao commented 6 years ago

Hi @mobaraksaid ,

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

-- Erol from TeamSQL

murtezao commented 6 years ago

Hi @mobaraksaid ,

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

-- Erol from TeamSQL

fatihdervisi commented 6 years ago

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.

mobaraksaid commented 6 years ago

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 commented 6 years ago

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

jcusick13 commented 6 years ago

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

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Hi @jcusick13 ,

We are checking it now.

Thanks.

igor-finery commented 6 years ago

I have the same issue on MacOS 10.13.6

java version "1.8.0_121"

Java(TM) SE Runtime Environment (build 1.8.0_121-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)

and my TeamSQL is Version 4.0.357 (4.0.357.357)

On Fri, Sep 14, 2018 at 10:11 AM selçuk ayhan notifications@github.com wrote:

Hi @jcusick13 https://github.com/jcusick13 ,

We are checking it now.

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TeamSQL/desktop-app/issues/372#issuecomment-421370810, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao22SplaiHIUvHb5Lz_DzY4hwAa6mxUCks5ua7j1gaJpZM4WUwB4 .

alexalouit commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

Thanks, it works now.

On Wed, Sep 19, 2018 at 10:39 AM selçuk ayhan notifications@github.com wrote:

Hi There,

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

Thank you for your understanding.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TeamSQL/desktop-app/issues/372#issuecomment-422829329, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao22SsjLs-1GpYUPtqVY4mL3QZUQg3o1ks5uclccgaJpZM4WUwB4 .

jcusick13 commented 5 years ago

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

alexalouit commented 5 years ago

Same error for me with 4.0.371 version

AlbertoMontalesi commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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

wayneandrews commented 5 years ago

I'm having the same issue on Ubuntu 14.04

michcald commented 5 years ago

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

murtezao commented 5 years ago

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

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

michcald commented 5 years ago

@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

alexalouit commented 5 years ago

Same error here, even with latest 4.0.376 version

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

wayneandrews commented 5 years ago

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

isfo commented 5 years ago

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

michcald commented 5 years ago

Continuation of my last comment https://github.com/TeamSQL/desktop-app/issues/372#issuecomment-424745727

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"

murtezao commented 5 years ago

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 commented 5 years ago

@murteza

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

murtezao commented 5 years ago

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

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

alexalouit commented 5 years ago

Same error with 4.0.379 version

wayneandrews commented 5 years ago

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

michcald commented 5 years ago

It's working for me too. Thanks

murtezao commented 5 years ago

Hi @alexalouit ,

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

alexalouit commented 5 years ago

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

zanvd commented 5 years ago

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

Thank you, Žan

alex-lit commented 5 years ago

Same error on Linux Deepin 15.7

deepinscreenshot_ - _20181004114449

selcukayhan commented 5 years ago

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 commented 5 years ago

@selcukayhan Thanks, it works.

SadioD commented 5 years ago

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)

murtezao commented 5 years ago

Hİ @SadioD

What is your MySQL version?

marvi182 commented 5 years ago

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!!!!