Cannot start SME related to the 52064 port

I tried 2 versions, “A12 Tools - 2023.06.5.1” and “A12 Tools - 2023.06.05.1”.

The SME complains about port 52064. I checked, and no application uses this port. It seems that SME uses this port and complains about itself.

Last week, it worked after I restarted my computer and started SME immediately. Today, it did not work after many restarts.

As one of my teammates also has this issue in another OS, I consider it can happen to others, too.

This blocks my work. I am looking for a way to start my SME.

Starting sme process with command: "/home/thuanle/Documents/deveals/A12 Tools - 2023.06.05.1/bin/java/17.0.6+10/bin/java -jar -Dserver.port=52064 -Dspring.web.resources.static-locations=file:/home/thuanle/Documents/deveals/A12 Tools - 2023.06.05.1/bin/simple-model-editor/10.5.2/static /home/thuanle/Documents/deveals/A12 Tools - 2023.06.05.1/bin/simple-model-editor/10.5.2/sme.jar"
11:06:53.051 › [PORT : 52064] CHECK - Port not reachable
11:06:53.565 › [PORT : 52064] CHECK - Port not reachable
11:06:54.068 › [PORT : 52064] CHECK - Port not reachable
11:06:54.571 › [PORT : 52064] CHECK - Port not reachable
11:06:54.983 › [52064]: ---------------
 Data Services
---------------

11:06:55.074 › [PORT : 52064] CHECK - Port not reachable
11:06:55.345 › [52064]: 2024-08-01T11:06:55.329+07:00  INFO 5509 --- [           main] c.m.a.s.backend.SMEBackendApplicationKt  : Starting SMEBackendApplicationKt v10.5.2 using Java 17.0.6 with PID 5509 (/home/thuanle/Documents/deveals/A12 Tools - 2023.06.05.1/bin/simple-model-editor/10.5.2/sme.jar started by thuanle in /home/thuanle/Documents/deveals/A12 Tools - 2023.06.05.1/bin/simple-model-editor/10.5.2)

11:06:55.348 › [52064]: 2024-08-01T11:06:55.347+07:00  INFO 5509 --- [           main] c.m.a.s.backend.SMEBackendApplicationKt  : No active profile set, falling back to 1 default profile: "default"

11:06:55.577 › [PORT : 52064] CHECK - Port not reachable
11:06:56.079 › [PORT : 52064] CHECK - Port not reachable
11:06:56.582 › [PORT : 52064] CHECK - Port not reachable
11:06:57.084 › [PORT : 52064] CHECK - Port not reachable
11:06:57.588 › [PORT : 52064] CHECK - Port not reachable
11:06:58.090 › [PORT : 52064] CHECK - Port not reachable
11:06:58.139 › [52064]: 2024-08-01T11:06:58.139+07:00  INFO 5509 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port 52064 (http)

11:06:58.165 › [52064]: 2024-08-01T11:06:58.164+07:00  INFO 5509 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2024-08-01T11:06:58.164+07:00  INFO 5509 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/10.1.18]

11:06:58.220 › [52064]: 2024-08-01T11:06:58.219+07:00  INFO 5509 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext

11:06:58.221 › [52064]: 2024-08-01T11:06:58.221+07:00  INFO 5509 --- [           main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2055 ms

11:06:58.479 › [52064]: 2024-08-01T11:06:58.478+07:00  INFO 5509 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: URL [file:/home/thuanle/Documents/deveals/A12%20Tools%20-%202023.06.05.1/bin/simple-model-editor/10.5.2/static/index.html]

11:06:58.593 › [PORT : 52064] CHECK - Port not reachable
11:06:58.994 › [52064]: 2024-08-01T11:06:58.993+07:00  INFO 5509 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port 52064 (http) with context path ''

11:06:59.034 › [52064]: 2024-08-01T11:06:59.033+07:00  INFO 5509 --- [           main] c.m.a.s.backend.SMEBackendApplicationKt  : Started SMEBackendApplicationKt in 4.757 seconds (process running for 6.168)

11:06:59.097 › [PORT : 52064] CHECK - Port is busy
11:06:59.097 › [5509 : 52064] RUNNING - Starting sme process finished
11:06:59.231 › [52064]: 2024-08-01T11:06:59.230+07:00  INFO 5509 --- [io-52064-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'

11:06:59.232 › [52064]: 2024-08-01T11:06:59.230+07:00  INFO 5509 --- [io-52064-exec-2] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'

11:06:59.232 › [52064]: 2024-08-01T11:06:59.232+07:00  INFO 5509 --- [io-52064-exec-2] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms

11:07:41.489 › Stopped SME process on port 52064

Please open a A12 overall bug for this issue!

FYI: you can use this link for SME online while waiting for the bug to be investigated
( <INTERNAL_LINK> )

Thanks! I have just made A12-16260 (I cannot put the link here).
Let me know if you need more information.

Thank you!
It works for some first steps, but I cannot load the workspace, maybe due to performance.

Anyway, I like using this tool online rather than having some version locally.

Kartin H has a great suggestion: delete the cache folder.

mac: ~/Library/Application Support/SimpleModelEditor/Partitions/sme/Cache
linux: ~/.config/SimpleModelEditor/Partitions/sme/Cache

It works!

Update: This issue has ben fixed in 2023.06-ext8.