./jboss-cli.sh --connect command=:shutdown
Thursday, March 8, 2012
How to shut down JBoss EAP6 / AS7 from the CLI
From the JBOSS_HOME/bin run the following :
Thursday, March 1, 2012
Changing a symbolic link in Linux
Symbolic links are great.
I need to swap out local Maven repositories for the project I'm working on. I created a symbolic link, "maven_repo" in my home directory that points the current local Maven repo. When it came time to change the "maven_repo" link I realized that changing a symbolic link to a directory requires an extra command :
It wasn't so obvious from the man page. This blog post saved me a ton of time.
I need to swap out local Maven repositories for the project I'm working on. I created a symbolic link, "maven_repo" in my home directory that points the current local Maven repo. When it came time to change the "maven_repo" link I realized that changing a symbolic link to a directory requires an extra command :
ln -sfn DESTINATION_DIRECTORY LINK_NAME
It wasn't so obvious from the man page. This blog post saved me a ton of time.
Subscribe to:
Posts (Atom)