B4J Question [Solved:] Log files of jetty server

jalle007

Active Member
Licensed User
Longtime User
OK i tried this

java -jar myserver.jar someFile.file 2>> log.txt

But since my server does not work as expected (not as on my local machine=
I want to see errors. unfortunately log.txt does not collect those errors.

How do you debug your jar server on remote host?


Edit: on my server I see logs/b4j-2014_06_11.request.log
but its always empty
 
Last edited:
Upvote 0

billzhan

Active Member
Licensed User
Longtime User
I think the path where you start the jar should be "/var/" instead of
/var/www .jar file should be /var/webapphelloworld.jar

I tried with a debian server, if the path is not correct, it didn't work.I have no such issues on a local(windows) machine. Hope this can help
 
Upvote 0
Top