java - Spring boot App not working after ssh logout -


so i'm deploying spring boot application on ubuntu lts server. built maven , running embedded tomcat.

i'm still new deployment process, did was:

  1. log server via ssh
  2. use scp upload my_application.zip
  3. unzip in ssh
  4. java -jar my_application.jar

now of works fine , i've been using quiet time. have make application stay online , available after logging out of shell.

i have read documentation running processes in background on linux , i've tried nohup java -jar myapplication.jar &, screen command , bg. of them worked fine while i'm logged ssh.

here comes problem:

as end ssh session web app still available (so process didn't stop) looks & behaves weird. css not applied, js not work etc.

my guess paths or file system accesses messed up, have no idea @ how origin ssh session.

(when log ssh working fine again)

would great if has clue here

if server has encrypted home directory, re-encrypted once log out , therefore script stop working. not have lot of sense have encrypted homes on servers can disable it.

or run script different directory , avoid working files under home directory.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -