To start or stop Java CAPS, after the initial installation, navigate to the Java CAPS install directory or to the directory where the component is installed that you want to start or stop. Run the appropriate command.
Component |
From Java CAPS Installation Directory |
From Component Installation Directory |
---|---|---|
GlassFish Enterprise Server |
UNIX – sh start_appserver_domain1.sh UNIX – sh stop_appserver_domain1.sh Windows GUI – start_appserver_domain1 Windows GUI – stop_appserver_domain1 Windows CLI – start start_appserver_domain1 Windows CLI – start stop_appserver_domain1 | |
Repository |
UNIX – sh start_repository.sh UNIX – sh stop_repository.sh Windows GUI – start_repository Windows GUI – stop_repository Windows CLI – start start_repository Windows CLI – start stop_repository |
UNIX directory – install-directory/repository/repository CLI – sh startserver.sh CLI – sh stopserver.sh Windows directory – install-directory\repository\repository GUI – startserver.bat GUI – stopserver.bat
CLI – start startserver CLI – start stopserver |
Enterprise Manager |
UNIX – sh start_emanager.sh UNIX – sh stop_emanager.sh Windows GUI – start_emanager Windows GUI – stop_emanager Windows CLI – start start_emanager Windows CLI – start stop_emanager |
UNIX directory – install-directory/emanager CLI – sh startserver.sh CLI – sh stopserver.sh Windows directory – install-directory\emanager GUI – startserver.bat GUI – stopserver.bat CLI – start startserver CLI – start stopserver |
NetBeans IDE |
Windows GUI – start_netbeans Windows CLI – start start_netbeans To stop NetBeans click “X” in title bar |
Windows directory – install-directory\netbeans\bin GUI – netbeans.exe CLI – start netbeans |
Note – Windows provides a Repository Service Manager. To open it, navigate to install-directory\repository\repository and invoke servicemanager.bat to open the Sun Java CAPS Repository Server Service Manager dialog box. Use the dialog box options to install and uninstall services, and to start and stop the Repository Server. |