java war file not starting

Before the emergency maintenance, things were working fine.

After that, the server is not starting up. I dont see any error msg too. Here are the commands I try.

nohup ./sniper-0.0.1-SNAPSHOT.war -Xms1024m -Xmx1024m -Xss256k | multilog t s10000000 n15 '!tai64nlocal' /home/jbalaji/sniper/log &

and then

./sniper-0.0.1-SNAPSHOT.war -Xms1024m -Xmx1024m -Xss256k

both these attempts give the following logs. But the webapp is not accessible from browser.

linode support suggested "sudo ufw allow 8080". That is not helpful.

Here is the log I get running the war.

@400000005b608c880346f764 2018-07-31 16:21:18.044 INFO 13754 --- [ main] com.neemshade.sniper.SniperApp : Starting SniperApp on ubuntu with PID 13754 (/home/jbalaji/sniper/sniper-0.0.1-SNAPSHOT.war started by jbalaji in /home/jbalaji/sniper)
@400000005b608c8803eb1aec 2018-07-31 16:21:18.062 INFO 13754 --- [ main] com.neemshade.sniper.SniperApp : The following profiles are active: prod
@400000005b608c9c0e7364ec 2018-07-31 16:21:38.240 INFO 13754 --- [ main] c.neemshade.sniper.config.WebConfigurer : Web application configuration, using profiles: prod
@400000005b608c9c0f92e67c 2018-07-31 16:21:38.261 INFO 13754 --- [ main] c.neemshade.sniper.config.WebConfigurer : Web application fully configured

Any help appreciated.

5 Replies

Why are you contacting Linode support? Your Linode is unmanaged. What does lsof -i :8080 show?

"lsof -i :8080" returns empty

Then there's nothing listening on that port. Ask the developer.

the war is the webapp that should listen to 8080.
where can I check for error msg for the failure?

got it working with

UPDATE DATABASECHANGELOGLOCK SET LOCKED=FALSE, LOCKGRANTED=null, LOCKEDBY=null where ID=1;

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct