The IDE is preconfigured with J2EE Reference Implementation 1.3.1 and Tomcat 4.0 as registered and default servers for J2EE and web tier applications. Ensure that the Sun ONE Application Server is registered and is the default server for both types of applications.
TIP - You can also register application server running on a remote machine. To register the application server on an another machine, type the remote machine's hostname or IP address instead oflocalhost
in the Admin Server Host field below.
To register the application server:
If you see a localhost:port
node under the Sun ONE Application Server 7 node, the application server is already registered, and you can skip the rest of this section.
Otherwise, right-click the Sun ONE Application Server 7 node and choose Add Admin Server.
The Add Admin Server dialog box appears.
localhost
in the Admin Server Host field, and your server's Administration Port in the Admin Server Port field.
/appserv/domains/domain1/admin-server/config
directory.server.xml
file in your favorite editor. Look for the element:<http-listener id="http-listener-1" address="0.0.0.0"
port="4848"
...
In this case, port 4848 is the administration port number in use.
install_root/appserv/domains/domain1/admin-server/config/admpw
This file contains the administrator's user name followed by the encrypted form of the administrative user's password.
If you do not remember the administrator's password, then you will need to uninstall and reinstall the application server.
Once you Click OK, you should now be able to see the Sun ONE Application Server listed as an installed server.
If you expand the localhost:port administration server node, you can see the server1 instance.
You are now ready to set the Sun ONE Application server as a default server.
See also | |
Setting up Your Development Environment Starting the Sun ONE Application Server 7 Starting the IDE Setting Sun ONE Application Server as the Default Server Starting a Database |