Spring backend not starting on Ubuntu


up vote
0
down vote
favorite
I have installed many backend services on Ubuntu system, but since today it does not work anymore.
In my spring application, I have written that the application should be executable (pom.xml)
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
After uploading to my server and trying to install the jar as a init.d service I get the following error message when trying to start.
Failed to start <myapp>.service: Unit <myapp>.service not found.
There are no logs or something.
I installed the init.d service or in other terms I created a symlink with sudo ln -s /var/myapp /myapp.jar /etc/init.d/myapp
.
14.04 java
add a comment |Â
up vote
0
down vote
favorite
I have installed many backend services on Ubuntu system, but since today it does not work anymore.
In my spring application, I have written that the application should be executable (pom.xml)
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
After uploading to my server and trying to install the jar as a init.d service I get the following error message when trying to start.
Failed to start <myapp>.service: Unit <myapp>.service not found.
There are no logs or something.
I installed the init.d service or in other terms I created a symlink with sudo ln -s /var/myapp /myapp.jar /etc/init.d/myapp
.
14.04 java
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have installed many backend services on Ubuntu system, but since today it does not work anymore.
In my spring application, I have written that the application should be executable (pom.xml)
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
After uploading to my server and trying to install the jar as a init.d service I get the following error message when trying to start.
Failed to start <myapp>.service: Unit <myapp>.service not found.
There are no logs or something.
I installed the init.d service or in other terms I created a symlink with sudo ln -s /var/myapp /myapp.jar /etc/init.d/myapp
.
14.04 java
I have installed many backend services on Ubuntu system, but since today it does not work anymore.
In my spring application, I have written that the application should be executable (pom.xml)
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<executable>true</executable>
</configuration>
</plugin>
</plugins>
</build>
After uploading to my server and trying to install the jar as a init.d service I get the following error message when trying to start.
Failed to start <myapp>.service: Unit <myapp>.service not found.
There are no logs or something.
I installed the init.d service or in other terms I created a symlink with sudo ln -s /var/myapp /myapp.jar /etc/init.d/myapp
.
14.04 java
asked May 15 at 11:08
Markus G.
1012
1012
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1036485%2fspring-backend-not-starting-on-ubuntu%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password