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

System Requirements

Before You Install

About the Installation

Overview of the Graphical User Interface Installation Process

Overview of the Command-line Interface Installation Process

Java CAPS Component Names

Repository Names and User Names

Environment Names

Installation Media

Contents of the Java CAPS "installer" and "components" Download Files

Contents of the Installation DVDs

Preparing for Installation

JDK and JAVA_HOME

Upgrading to 6

Java CAPS Installer Caveats

Creating a Windows Service for Sun Java System Application Server

Increasing the NetBeans IDE Heap Size

To Increase the Heap Size in NetBeans IDE

UNIX and Linux Patches

Checking Patch Levels

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

Linux 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

Java CAPS Runtime Installation

Uninstalling Java CAPS 6

Installing Patches for Java CAPS

Creating a Windows Service for Sun Java System Application Server

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"

Contents of 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