| Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components | |
| Close Print View | |
| Installing: Creating a Windows Service for Sun Java System Application Server |
|
Planning for Java CAPS Installation
Java CAPS Supported Operating Systems
Java CAPS Components and Supported External Systems
Overview of the Graphical User Interface Installation Process
Overview of the Command-line Interface Installation Process
Repository Names and User Names
Contents of the Java CAPS "installer" and "components" Download Files
Contents of the Installation DVDs
Increasing the NetBeans IDE Heap Size
To Increase the Heap Size in NetBeans IDE
Certified Sun Solaris 9 and 10 Patches
IBM AIX 5L 5.2 and 5.3 Patches
Certified IBM AIX 5L Version 5.2 Patches
Certified IBM AIX 5L Version 5.3 Patches
Certified SUSE Linux Enterprise Server 10 Daylight Savings Time Patch
Using the Java CAPS 6 Installation GUI
Using the Java CAPS 6 Installation CLI
Installing Additional Components for Java CAPS 6
Installing Third-Party JAR Files
You can create a Window Service for the Sun Java System Application Server by using the Java CAPS Installer to run scripts that create a service after creating a successful installation.
To Create the Windows Service
C:\WINDOWS\system32\sc.exe create DOMAIN1 binPath="C:\JavaCAPS6\appserver\lib\appservService.exe
\"C:\JavaCAPS6\appserver\bin\asadmin.bat start-domain --user admin
--passwordfile C:\JavaCAPS6\appserver\passwordfile domain1\"
\"C:\JavaCAPS6\appserver\bin\asadmin.bat stop-domain domain1\""
start=auto DisplayName="SunJavaSystemAppServer DOMAIN1"
C:\JavaCAPS6\appserver\passwordfile:AS_ADMIN_ADMINPASSWORD=adminadmin
AS_ADMIN_MASTERPASSWORD=changeit
AS_ADMIN_PASSWORD=adminadmin
The output is [SC] CreateService SUCCESS.
To Start, Stop, and Delete the Windows Service Using the Example
To start the Windows Service, enter > net start DOMAIN1.
Note - The output isThe SunJavaSystemAppServer DOMAIN1 service is starting.. and The SunJavaSystemAppServer DOMAIN1 service was started successfully.
To stop the Windows Service, enter > net stop DOMAIN1.
To delete the Windows Service, enter > sc delete DOMAIN1.