B4J Question rasberry pi 3 Hellow World WebApp

Starchild

Active Member
Licensed User
Longtime User
I am struggling with "Hello World" WebApp running on the Rasberry Pi 3.

Start it via B4j-Bridge.
Log shows....

2016-06-01 08:44:40.318:INFO::main: Logging initialized @501ms
2016-06-01 08:44:40.713:INFO:eek:ejs.Server:main: jetty-9.3.z-SNAPSHOT
2016-06-01 08:44:41.050:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@1a23b66{/,file:///home/pi/Downloads/tempjars/www,AVAILABLE}
2016-06-01 08:44:41.059:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /home/pi/Downloads/tempjars/logs/b4j-2016_06_01.request.log
2016-06-01 08:44:41.110:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@643faf{HTTP/1.1,[http/1.1]}{0.0.0.0:51042}
2016-06-01 08:44:41.112:INFO:eek:ejs.Server:main: Started @1307ms
-----------

When I try connecting to the WebApp Server (now running on Rasberry Pi) using Chrome Browser (10.0.0.13:51042) on my PC, I only get ...

HTTP ERROR: 404
Problem accessing /. Reason:
Not Found
--------------------

Also get the same error if I try accessing the Server locally on the Rasberry Pi (0.0.0.0:51042) using it's own browser.

Could someone please point me in the direction to get this working?
Unfortunately, my first time using a Rasberry Pi


I have had some success with the other "Hello World" examples UI and Non-UI although they are quirky! Non-UI examples won't run in Debug mode (work ok in Release) and UI layout ones throw errors but still seem to run.
 

Starchild

Active Member
Licensed User
Longtime User
Thanks.

The log shows it is running but nothing is displayed on the Rasberry Pi display.
No reported errors.
I'm not really bothered at this time but will try to gather more info later.
 
Upvote 0

Starchild

Active Member
Licensed User
Longtime User
At this time it's more becoming familiar with B4J and Rasberry Pi 3 by running the various examples.

I have been able to get my own server based app up and running on the Rasberry Pi.
I am amazed how simple it is, but more important to me, how compatible it is to B4A code.
Only one or two line changes and up it came. Also, I can do testing running locally on the PC itself.

Great work. Thanks.
 
Upvote 0
Top