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.
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
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With