While starting Jboss service i am getting following error meesage in jboss7.
"Starting jboss-as: chown: missing operand after `/var/run/jboss-as'Try `chown --help' for more information."
To over come this ,
#vim /usr/local/jboss-as/standalone/configuration/standalone.xml
and add the below line into standalone.xml file
# Set defaults.
JBOSS_USER=jboss
export JBOSS_USER
Now we can start the jboss server as usual without any error message.
#/etc/init.d/jboss start
Enjoy!!!!...
standalone.xml is an XML file - where exactly am I supposed to put the lines?
ReplyDeleteit should be the 'jboss-as.conf' file NOT 'standalone.xml'
ReplyDeleteit should be the 'jboss-as.conf' ....thanks Jeffrey!!!
ReplyDeleteand where is the 'jboss-as.conf'?
ReplyDeleteHere is the jboss-as.conf
ReplyDeletePath : /jboss-eap-6.1/bin/init.d/jboss-as.conf
after your hints the result is the same. I still get the error!
ReplyDeletejboss-as.conf should be in /etc/jboss-as, otherwise it won't be read.
DeleteI m facing same issue but in wildfly 8.2 so what can i set.
DeleteTo resolve this issue, kindly input/set correctly the jvm path in the jboss config file located in the default directly.
ReplyDeleteThis is not resolved the issue
ReplyDeleteconf file path should be jboss_home path and inside the script check whether you have given jboss-as.id or jboss-as-standalone. id
ReplyDelete