This was working fine. I have no idea what I did. Days old saved versions do the same thing. I have not done anything to UBUNTU other than kill/start result.jar.
1) Delete everything and start over. Double-comment out all lines that are not already disabled in ABMTemplate copy.
2) Uncomment one line at a time. Run.
3) Repeat until I understand.
It is not a matter of seeing, but what is the server log telling you - in text?
The log window on your local host in the IDE shows all. But on your server, u must record the log to a file so u can investigate it.
Also.... ALWAYS copy the .needs file to the server anytime you update the jar there.
Even thou u THINK nothing has changed, u will be surprised how NOT doing this will BITE u in the butt....
B4X:
Sub RedirectOutput (Dir As String, FileName As String)
#if RELEASE
Dim out As OutputStream = File.OpenOutput(Dir, FileName, False) 'Set to True to append the logs
Dim ps As JavaObject
ps.InitializeNewInstance("java.io.PrintStream", Array(out, True, "utf8"))
Dim jo As JavaObject
jo.InitializeStatic("java.lang.System")
jo.RunMethod("setOut", Array(ps))
jo.RunMethod("setErr", Array(ps))
#end if
End Sub
Nice to see u are embracing this framework for your web apps.
My examples and tuts are very plain in a UI nature. Your apps can look as modern as anything on the internet right now - and work with much less effort than anything else you may try.... Good Luck moving forward...
1) Delete everything and start over. Double-comment out all lines that are not already disabled in ABMTemplate copy.
2) Uncomment one line at a time. Run.
3) Repeat until I understand.