open a console, navigate to the bin directory of your jboss and type
Thanks for the fast reply :)
I have just tried the below command in terminal from within the bin directory.
host46:bin Chris$ ./run.sh
-bash: ./run.sh: Permission denied
host46:bin Chris$ su ./run.sh
Then tried the below from within the server directory.
host46:server Chris$ ./start.sh
-bash: ./start.sh: Permission denied
host46:server Chris$ su ./start.sh
None seam to work, I assume su ./start.sh would run the application as a superuser as the ./start.sh replies with Permission denied
You have to first change the permissions on run.sh to make it executable. Try this (from the bin directory):
chmod a+x *.sh
Then try running it again:
By the way, su is the 'switch user' command used to switch to any user. In your case, you asked to switch to the user whose name is "./run.sh" and the system asked you for the password for that user. Not what you intended. To run something as 'root', you could enter:
(enter the password for root)
or do the following:
(enter your password)
Of course, to use sudo you have to first configure it (Ubuntu does this automatically, not sure if OS/X does)
Thank you PeterJ and itsme.
With your help I have managed to start and test my JBoss Installation!
After running the chmod a+x *.sh command (from the bin directory)
I ran the following:
./run.sh -c jbpm (I'm using the JBoss jBPM installation)
And it works.
Thank you so much, I'm not sure why this information is not included in the installation guide, but now its in the Forum, I hope others can use this thread.
Thanks again. Your both Stars :)
Hi I can statr jboss but when stating it gives an error
java.lang.IllegalArgumentException: Invalid control flag: REQU?RED
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)and it continious..How to fix it? I only downloaded from site and run..must I have to make configirutation?
Ercan, please don't hijack other's threads (by asking others to help soplve your problem), and also please do not reply to (or ask questions) on threads that are 2 years old - most likely none of the OPs care any more.
Instead, open a new thread an describe your issue in detail. And don't forget to post which version of JBoss AS, which JVM and what version of the OS. Finally, post the full log entry for the stack trace.