anthonyraymond/joal-desktop

[Workaround] Stucks on start 2.0.1 on Linux / MacOs

toprak opened this issue ยท 11 comments

Hi i was able to use that program 1 day ago but i can't use it because it stucks on start.
ArcoLinux (Arch Linux)
Appimage: 2.0.1
Node version: v12.13.0
I tried that solution but not worked

    Quit the app (completly)
    Remove ~/.config/JoalDesktop/jre directory
    Remove ~/.config/JoalDesktop/joal-core directory
    Restart the app

Can you check if there is any remaining java process running on the system?
If so kill them manually and retry, i'll be interested to know if that could be the problem.

I restarted my pc after these step but doesn't work, im gonna try joal-desktop on ubuntu.

Solution: run from a console the appimage.

  1. See error:
    stdout: [ERROR] 2019-11-21 07:37:30.108 [           main] o.s.b.d.LoggingFailureAnalysisReporter: 
    
    ***************************
    APPLICATION FAILED TO START
    ***************************
    
    Description:
    
    The Tomcat connector configured to listen on port 5081 failed to start. The port may already be in use or the connector may be misconfigured.
    
    Action:
    
    Verify the connector's configuration, identify and stop any process that's listening on port 5081, or configure this application to listen on another port.
    
  2. Identify the used port: lsof -i:5081
  3. Kill the process:
    $ lsof -i:5081
    COMMAND    PID  USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
    java    353571 admin   27u  IPv4 2878747      0t0  TCP localhost:sdl-ets (LISTEN)
    $ kill 353571

Thanks a lot @skjnldsv
As a though the background process is not properly closed on mac and apparently linux as well when joal exit. But i still does not know why, i'll take some time to investigate when releasing the new refactored version in the next few month. In the meantime this workaround will do the trick :)

Thanks a lot for investigating on your side !

somq commented

Can confirm on Ubuntu 18.04

ps aux | grep java                           ๎‚ฒ 1 โ†ต ๎‚ฒ 6266 ๎‚ฒ 17:54:08
clement  12225  8.5  1.4 15961576 464844 ?     Ssl  17:50   0:21 /home/clement/.config/JoalDesktop/jre/jre/bin/java -jar /home/clement/.config/JoalDesktop/joal-core/jack-of-all-trades-2.1.21.jar --joal-conf=/home/clement/.config/JoalDesktop/joal-core --spring.main.web-environment=true --server.port=5081 --joal.ui.path.prefix=f214658d-d0dd-4173-af4e-2c84a6c5fa2a --joal.ui.secret-token=8fc39df5-1fbb-4818-b21d-e63b0e099ea2 --server.address=localhost
clement  17800  0.0  0.0  21532  1032 pts/1    S+   17:54   0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn java
 clement@clement-MS-7B85 ๎‚ฐ ~/Downloads ๎‚ฐ sudo kill -9 12225 
 # => Works on relaunch

Should I close it?

I'll leave it open so people can find it quick

Can you check if there is any remaining java process running on the system? If so kill them manually and retry, i'll be interested to know if that could be the problem.

This worked for me.

Worked on Mac (M1 Max, MacOS 14.3)

Worked on Mac (M1 Max, MacOS 14.3)

Hi, it doesn't work on my M2 Mac, stays stuck at start.
image

@PierreRTEL go check what i've written in #109 :)