Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Wildfly 10.0.0 on ubuntu 16.0 could not be able to configure init.d file

I am using the command sudo cp /opt/wildfly/bin/init.d/wildfly.conf /etc/default/wildfly to copy and edit the init.d file. I am getting this error cp: cannot stat '/opt/wildfly/bin/init.d/wildfly.conf': No such file or directory> When I check in my bin, I cannot see the init.d file. How can I solve this problem.

like image 615
S. Kiragu Avatar asked Jun 07 '16 16:06

S. Kiragu


2 Answers

Run wildfly from terminal and move to bin ans start the service, e.g for my case, this is the path that I use to start wildfly from terminal ...path_to your_wildfly//wildfly/bin/sh standalone.sh

Point to note: remember to be in your wildfly folder from terminal

like image 112
S Murani Avatar answered Nov 03 '22 02:11

S Murani


I have done my research and found that wildfly version 10 have the conf file in a different location. For I need to work with hibernate I decided to use version 9. At the same time I am using the wildfly not as a service. I use the command ./standalone.sh

like image 25
S. Kiragu Avatar answered Nov 03 '22 00:11

S. Kiragu