-
1. Re: How to start the JBoss Server on Mac OS X.
itsme Jan 23, 2008 6:18 AM (in response to chrisrjcox)open a console, navigate to the bin directory of your jboss and type
./start.sh
-
2. Re: How to start the JBoss Server on Mac OS X.
chrisrjcox Jan 23, 2008 1:25 PM (in response to chrisrjcox)Hi,
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
Password:
su: Sorry
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
Password:
su: Sorry
None seam to work, I assume su ./start.sh would run the application as a superuser as the ./start.sh replies with Permission denied
Any clues? -
3. Re: How to start the JBoss Server on Mac OS X.
peterj Jan 23, 2008 1:58 PM (in response to chrisrjcox)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:
./run.sh
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:
su
(enter the password for root)
./run.sh
or do the following:
sudo ./run/sh
(enter your password)
Of course, to use sudo you have to first configure it (Ubuntu does this automatically, not sure if OS/X does) -
4. Re: How to start the JBoss Server on Mac OS X.
chrisrjcox Jan 23, 2008 2:19 PM (in response to chrisrjcox)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 :) -
5. Re: How to start the JBoss Server on Mac OS X.
mekonom Dec 17, 2009 11:32 AM (in response to chrisrjcox)Hi I can statr jboss but when stating it gives an error
java.lang.IllegalArgumentException: Invalid control flag: REQU?RED
at org.jboss.security.microcontainer.beans.Util.getControlFlag(Util.java:57)
at org.jboss.security.microcontainer.beans.AuthorizationPolicyBean.getPolicyInfo(AuthorizationPolicyBean.java:49)
at org.jboss.security.microcontainer.beans.ApplicationPolicyBean.getApplicationPolicy(ApplicationPolicyBean.java:459)
at org.jboss.security.microcontainer.beans.ApplicationPolicyBean.start(ApplicationPolicyBean.java:420)
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? -
6. Re: How to start the JBoss Server on Mac OS X.
peterj Dec 17, 2009 11:48 AM (in response to mekonom)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.
-
7. Re: How to start the JBoss Server on Mac OS X.
mekonom Dec 17, 2009 11:57 AM (in response to peterj)OK. sorry