A P P E N D I X  B

 


Port Usage in the Sun ONE Studio 4 IDE

TABLE B-1 provides a listing of the ports used in the Sun ONE Studio 4, Enterprise Edition for Java 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 changes can be made.

Unless you are using multiple application servers or you are using the IDE in a multiuser environment, you should not encounter port conflicts.

TABLE B-1 Port Usage in the Sun ONE Studio 4, Enterprise Edition for Java IDE

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 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's options pane.

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

Redirecting

You can modify the Tomcat configuration file,
s1studio-user-dir/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.

J2EE Reference Implementation 1.3.1

1050

Naming service (ORB/IIOP)

Use a source editor of your choice to modify the orb.properties file found in the s1studio-user-directory/j2sdkee1.3.1/config directory. Change the default port number to another port number that is unused. The property is listed in the file as port=1050 (the CORBA-based JNDI

implementation port).

NOTE: If you are using your own installation of RI (RI was not installed by the IDE installer), then replace s1studio-user-directory with your RI installation directory name.

1060

Secure Socket Port

Use a source editor of your choice to modify the file s1studio-user-directory/j2sdkee1.3.1/bin/j2ee.bat (for Microsoft Windows systems) or s1studio-user-directory/j2sdkee1.3.1/bin/j2ee (for Solaris and Linux environments). Modify the last four digits on the line that defines the LISTEN_OPTIONS environment variable.

8000

Web server (HTTP)

Use a source editor of your choice to modify the web.properties file found in the s1studio-user-directory/j2sdkee1.3.1/config directory. The property is listed as in the file as http.port=8000.

7000

Secure web server (HTTPS)

Use a source editor of your choice to modify the web.properties file found in the s1studio-user-directory/j2sdkee1.3.1/config directory. The property is listed in the file as https.port=7000.

9191

EJB service

Use a source editor of your choice to modify the ejb.properties file found in the s1studio-user-directory/j2sdkee1.3.1/config directory. The property is listed as http.port=9191.

Java Web Services Developer Pack UDDI Server (bundled with Sun ONE Studio 4, Enterprise Edition for Java)

8095

 

 

 

 

 

Tomcat server port for registry server

The default port assignment can be modified in
s1studio-user-dir/jwsdp/uddi_base/conf/server.xml

  1. Open the server.xml file in a text editor.
  2. Replace the port number.
  3. Restart the IDE.

8089

Tomcat HTTP port for registry server

The default port assignment can be modified in
s1studio-user-dir/jwsdp/uddi_base/conf/server.xml

  1. Open the server.xml file in a text editor.
  2. Replace the port number.
  3. Restart the IDE.

4070

Xinidce Gopher server

 

4080

Xinidce HTTP

The default port assignment can be modified in the <s1studio-user-dir/jwsdp/tools/xindice/config/system.xml

  1. Open the system.xml file in a text editor.
  2. Replace the port number.
  3. Restart the IDE.

WebLogic 6.1 or 7.0

7001

Server HTTP

The default port assignment can be modified during the installation of the WebLogic server.

7002

Server HTTPS

The default port assignment can be modified during the installation of the WebLogic server.

Sun ONE Application Server 7: Solaris Integrated and Solaris Supported Edition

4848

Server administra-tion HTTP

Refer to the server installation documentation (http://docs.sun.com/source/816-7145-10/index.html) for details.