The current jetty version used is 9.3.6.
There are many B4J server apps (not Jetty apps) running. You don't need to add any special parameter.
nohup is recommended if you are using linux.
https://www.b4x.com/android/forum/threads/60378/#content
Thanks Erel,
Not sure what's wrong. Their server is showing the index.html, and executing the Javascript when the .jar is run, but it's not executing any of the B4J code. So for example, it will execute a button properly that links to another page. But it won't execute the button associated with a B4J _click() event.
It works perfectly, in localhost:[http shared port].
The server tech asked
"how do you call (start) java from javascript? And communicate between webpage and JVM?
I can see you started java manually but without $JAVA_OPTS variable in commend line."
I responded that this was a websockets application, and that I don't really deal with the Javascript - Java communications directly, the internal libraries handle it.
Erel,
Is there anything I should look for, first? The app is using the allowable shared http port.
99999 JMX_CONNECTOR_SERVER shared
99999 JMX_CONNECTOR_REGISTRY shared
99999 HTTP shared <= Using this port, in the B4J app
99999 SSL shared
99999 AJP shared
My command line was
java -jar MyApp.jar &>MyApp.log &
, and is now the following, after your suggestion:
nohup java -jar MyApp.jar > nohup.out &
, and it's definitely running, but the B4J code is not being executed.