jinyistudio Well-Known Member Licensed User Longtime User Dec 9, 2020 #1 Hi I have put following code in the ABMApplication/StartServer (V4.30). My other no-ui b4j app could connect to server with jwebsocketclient but it disconnection with server in fixed time(couple sec) . Why Other big question is : I use shell execute cmd to run .jar and i always get a exception org.apache.exec.ExecuteException: The stop timeout of 500 ms was exceeded and then exit application ! B4X: Copy srvr.AddWebSocket("/ws/engine/*", "enginehandler") Last edited: Dec 9, 2020
Hi I have put following code in the ABMApplication/StartServer (V4.30). My other no-ui b4j app could connect to server with jwebsocketclient but it disconnection with server in fixed time(couple sec) . Why Other big question is : I use shell execute cmd to run .jar and i always get a exception org.apache.exec.ExecuteException: The stop timeout of 500 ms was exceeded and then exit application ! B4X: Copy srvr.AddWebSocket("/ws/engine/*", "enginehandler")
alwaysbusy Expert Licensed User Longtime User Dec 9, 2020 #2 You better remove ABMaterial from your topic title to get more replies. ABM is just the UI part of a jServer and this looks like a standard jServer error. Upvote 0
You better remove ABMaterial from your topic title to get more replies. ABM is just the UI part of a jServer and this looks like a standard jServer error.
OliverA Expert Licensed User Longtime User Dec 9, 2020 #3 jinyistudio said: Other big question is : I use shell execute cmd to run .jar and i always get a exception Click to expand... Show the code for this. If using jShell, set timeout to -1 for indefinitely running apps Upvote 0
jinyistudio said: Other big question is : I use shell execute cmd to run .jar and i always get a exception Click to expand... Show the code for this. If using jShell, set timeout to -1 for indefinitely running apps
jinyistudio Well-Known Member Licensed User Longtime User Dec 9, 2020 #4 OliverA said: Show the code for this. If using jShell, set timeout to -1 for indefinitely running apps Click to expand... Y,I use shell and the timeout is -1. Why does timeout still happen? Upvote 0
OliverA said: Show the code for this. If using jShell, set timeout to -1 for indefinitely running apps Click to expand... Y,I use shell and the timeout is -1. Why does timeout still happen?
OliverA Expert Licensed User Longtime User Dec 9, 2020 #5 I think your application (the one called with jShell) may be crashing (at minimum it's not stopping normally or taking to long to stop). You may want to log the applications STDOUT/STDERR to a file and see what is happening. Upvote 0
I think your application (the one called with jShell) may be crashing (at minimum it's not stopping normally or taking to long to stop). You may want to log the applications STDOUT/STDERR to a file and see what is happening.