A P P E N D I X  B

 


Port Usage in the Sun ONE Studio IDE

TABLE B-1 provides a listing of the ports used in the Sun ONE Studio 4, Community Edition IDE. It includes ports used by Sun ONE Studio 4 modules, third-party components, and application servers available for use with the IDE. Also included is information on whether the default port assignment can be modified and how to make the modification.

TABLE B-1 Port Usage in Sun ONE Studio 4, Community Edition

Names of Module, Application Server, or Third-Party Components

Default Port Number Assigned

Description

Information on Modifying Default Port Assignment

NetBeans Open File Module

7318

Open file server

The default port assignment can be modified using the properties editor for the Open File Server:

  1. Choose Tools right arrow Options menu from the main window of the IDE.
  2. From the Options window, expand the IDE Configuration node.
  3. Expand the Server and External Tool Settings node, right-click Open File Server, and choose Properties from the contextual menu.
  4. Click the current value for Port property and type a different port number.

NetBeans Internal HTTP Server Module

8082

Embedded server HTTP

The default port assignment is automatically changed if a conflict is detected.

External Editor

3219

 

The default port assignment can be modified through the external editor options panel.

PointBase Restricted Edition

9092

 

The default port assignment can be modified in the PointBase initialization file, s1studio-user-directory/pointbase/pointbase.ini. Add the line: server.port=new-port-number.

Tomcat 4.0.1

8015

Server adminis-tration

The default port number can be modified using the properties editor for the internal Tomcat 4.0.1 server:

  1. On the Runtime tab of the Explorer, expand the Server Registry node and the Installed Servers node.
  2. Expand the Tomcat 4.0 node, right-click the Internal node, and choose Properties from the contextual menu.
  3. Click the current value for the Server Port property, and type the desired port number.

8081

Server HTTP

The default port number can be modified using the properties editor for the Host to be edited:

  1. On the Runtime tab of the Explorer, expand the Server Registry node and the Installed Servers node.
  2. Expand the Tomcat 4.0 node, and expand the relevant installation node.
  3. Right-click the node representing the Host to be edited, and choose Properties from the contextual menu.
  4. Click the value for the HTTP Connector property field, and type the desired port number.

8443

Redirec-ting

You can modify the Tomcat configuration file,
s1studio-install-directory/tomcat401_base/conf/server.xml.

Be aware that you edit the server.xml file at your own risk. Be sure to create a backup version of your working server.html file before beginning to edit.

  1. On the Runtime tab of the Explorer, expand the Tomcat 4.0 node under the Installed Servers node.
  2. Right-click the node for the installation of Tomcat that you want to edit. From the contextual menu, choose Configure (server.xml).

The server.xml file appears in the Source Editor. You can now edit server.xml to modify the default port number.

11555

IDE debugger connection

The default port number can be modified using the properties editor for the internal Tomcat 4.0.1 server:

  1. On the Runtime tab of the Explorer, expand the Server Registry node and the Installed Servers node.
  2. Expand the Tomcat 4.0 node, right-click the Internal node, and choose Properties from the contextual menu.
  3. Select the Debugger tab.
  4. Click the current value for the Debugger Port property, and type the desired port number.