Hi! I have a problem with my first Hello World webapp, which is a modification of this: https://www.b4x.com/android/forum/threads/webapp-hello-world-web-app.39808/
On my computer it works fine, without issue. I have an Ubuntu14.04 VPS with installed Java7
I compile .jar file with B4J Compile+Run menuitem, in "Release" mode, #MergeLibraries: true. I uploaded .jar to the VPS /var/www folder and the projects other files (b4j_ws.js, index.htm, index.css) to a /var/www/html folder, and the html side works fine, you can check it: http://82.102.5.102/
The problem is the .jar file. If I want to run it (see screenshot!) it starts, I get a few system message, but then it "freezes" and I don't get back the cursor, independently from the time. The console doesn't react, only a CTRL-ALT-DEL helps, which restarts the VPS. Suspicious? I think, that .jar doesn't run on the VPS. Is the .jar file correctly compiled.....?
And if I don't restart, on the html screen in my Google Chrome (v45.0.24...) the webapps function buttons don't work. In the Chromes console comes "WebSocket connection to 'ws://82.102.5.102/ws' failed: Error during WebSocket handshake: Unexpected response code: 404" message.
Can anybody helps me fix the problem....? Thank you in advance!!
On my computer it works fine, without issue. I have an Ubuntu14.04 VPS with installed Java7
I compile .jar file with B4J Compile+Run menuitem, in "Release" mode, #MergeLibraries: true. I uploaded .jar to the VPS /var/www folder and the projects other files (b4j_ws.js, index.htm, index.css) to a /var/www/html folder, and the html side works fine, you can check it: http://82.102.5.102/
The problem is the .jar file. If I want to run it (see screenshot!) it starts, I get a few system message, but then it "freezes" and I don't get back the cursor, independently from the time. The console doesn't react, only a CTRL-ALT-DEL helps, which restarts the VPS. Suspicious? I think, that .jar doesn't run on the VPS. Is the .jar file correctly compiled.....?
And if I don't restart, on the html screen in my Google Chrome (v45.0.24...) the webapps function buttons don't work. In the Chromes console comes "WebSocket connection to 'ws://82.102.5.102/ws' failed: Error during WebSocket handshake: Unexpected response code: 404" message.
Can anybody helps me fix the problem....? Thank you in advance!!