Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

Starting the Registry Server

In order to use the Java WSDP Registry Server, you must start the Application Server. Starting the Application Server automatically starts both the Registry Server and the Xindice database.

To start the Application Server on Windows, choose Sun MicrosystemsRight ArrowJ2EE 1.4 SDKRight ArrowStart Default Server from the Start menu.

To start the Application Server on a UNIX system, use the following command:

<J2EE_HOME>/bin/asadmin start-domain domain1 

To stop the Application Server on Windows, choose Sun MicrosystemsRight ArrowJ2EE 1.4 SDKRight ArrowStop Default Server from the Start menu.

To stop the Application Server on a UNIX system, use the following command:

<J2EE_HOME>/bin/asadmin stop-domain domain1 

Changing the Port for the Registry Server

Normally you run the Application Server on port 8080. If another application uses this port, you can change the port by editing the <J2EE_HOME>/domains/domain1/config/domain.xml file. Open the file in a text editor and find the http-listener element that uses port 8080 (its id attribute has the value http-listener-1). Change this attribute to some other port value, such as 8082 or 8083:

port="8082" 

In order to run the Registry Server on a changed Application Server port, you must also edit the file <JWSDP_HOME>/jwsdp-shared/bin/launcher.xml. Find the following lines (they are all on one line):

<sysproperty key="org.apache.xindice.host" 
value="desired Xindice host"/>
<sysproperty key="org.apache.xindice.port" 
value="desired Xindice port"/> 

Make the host and port the same as those for the Application Server HTTP listener. Uncomment these properties before you save the file.

Divider
Download
FAQ
History
PrevHomeNext API
Search
Feedback
Divider

All of the material in The Java(TM) Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.