Skip Navigation Links | |
Exit Print View | |
Using the Oracle Java CAPS 6.3 Installation GUI Java CAPS Documentation |
Using the Java CAPS 6.3 Installation GUI
Installing the JDK Software and Setting JAVA_HOME
To Install the JDK Software and Set JAVA_HOME on a UNIX System
To Install the JDK Software and Set JAVA_HOME on a Windows System
Installing Java CAPS Using the Java CAPS Installer
To Install Java CAPS Components Using the Java CAPS Installer
Enabling Oracle Advanced Queueing
To Create the Java CAPS Advanced Queue User
To Install Advanced Queueing Support After Installing Java CAPS
To Allow Enterprise Manager to Delete Advanced Queue Messages
Enabling WebLogic JMS for Java CAPS
To Install WebLogic JMS Support After Installing Java CAPS
Adding the GlassFish Server to the NetBeans IDE
Installing Components Using the NetBeans IDE Update Center
To Install Components Using the NetBeans IDE Update Center
Installing Java CAPS Components Using the Java CAPS Uploader
To Install Java CAPS Components Using the Java CAPS Uploader
To Download and Expand ZIP Files Using the Java CAPS Uploader
Installing Plugins Using Enterprise Manager Web Applications Manager
To Install Java CAPS Plugins Using the Enterprise Manager Web Applications Manager
Starting and Stopping Java CAPS
Connecting to the Java CAPS Repository From the NetBeans IDE
To Connect to Java CAPS Repository from the NetBeans IDE
Increasing the NetBeans IDE Heap Size
To Increase the Heap Size in NetBeans IDE
After you install Java CAPS, you can create a Windows Service for the Java CAPS domain in GlassFish by running a script that uses a tool provided with GlassFish ES specifically for this purpose. The script in the instructions below requires you to create a password file.
AS_ADMIN_ADMINPASSWORD=password
AS_ADMIN_MASTERPASSWORD=password
AS_ADMIN_PASSWORD=password
Note - Substitute the actual values for password in the text above.
Caution - This text, and the text in the example below, has been wrapped for readability. When you enter this command, enter it all on one line and substitute a space for each line break. |
C:\WINDOWS\system32\sc.exe create service-name binPath= "fully-qualified-path-to-appservService.exe \"fully-qualified-path-to-asadmin.bat start-domain --user admin --passwordfile fully-qualified-path-to-password-file domain-name\" \"fully-qualified-path-to-asadmin.bat stop-domain domain-name\"" start= auto DisplayName= "display-name"
where:
service-name is the name you want to give the service; for example, “DOMAIN1”.
domain-name is the name of the domain you are creating the service for. The default domain is named domain1.
display-name is the name of the service as you want it to appear on the Services window.
The following example creates a service named “Java CAPS DOMAIN1” that starts and stops the domain named domain1, which was installed in the default Java CAPS location. It uses the password file JavaCAPS_Home\appserver\passwordfile. Again, in an actual command line, this would be entered all in one line with spaces in place of the line breaks below.
C:\\system32\sc.exe create DOMAIN1 binPath= "JavaCAPS_Home\appserver\lib\appservServer.exe \"JavaCAPS_Home\appserver\bin\asadmin.bat start-domain --user admin --passwordfile JavaCAPS_Home\appserver\passwordfile domain1\" \"JavaCAPS_Home\appserver\bin\asadmin.bat stop-domain domain1\"" start= auto DisplayName= "JavaCAPS DOMAIN1"
The output is [SC] CreateService SUCCESS.
<jvm-options>-Dcom.sun.enterprise.server.ss.ASQuickStartup=false</jvm-options>
In the following commands, DomainName is the name of the domain you are using for Java CAPS. By default, this is domain1.
net start DomainName
Note - The output is The SunJavaSystemAppServer DOMAIN1 service is starting.. and The SunJavaSystemAppServer DOMAIN1 service was started successfully.
net stop DomainName
sc delete DomainName