Registering a Resource with the Sun Java System Web Server
See Also
- Before you can register a resource with the server, you must set up the resource object.
After you set up a resource object, you must register that resource with the server. Once registered, the object is available to all the applications and resources. You must register each resource individually in the IDE.
When you set up a resource object for a project with the New File wizard, the resource is added to the project and appears in two places:
- In the Server Resources node in the Projects window.
- In the setup folder in the Files window.
To register an individual resource:
- Locate the object in the Projects window or Files window.
- Right-click the object and choose Register.
- Click Register and then click Close when you get the registration successful message.
After the object is registered with the server it is visible in the Runtime window under the Servers node under the node corresponding to the type of resource. You can modify some of the properties of the resource object by opening the properties window for the object.
To delete a resource from the server:
- Locate the object you wish to delete in the Runtime window.
- Right-click the object node and select Delete.
When you delete a resource from the server it is no longer visible in the Runtime window.
- The JNDI name for a resource must be unique. If the JNDI name is already taken by another resource, that resource will be updated with the attributes and properties of the current resource. A message will appear to inform you that the resource has been updated.
- See Also
- Setting Up a Custom Resource on the Sun Java System Web Server
- Setting Up an External JNDI Resource on the Sun Java System Web Server
- Setting Up a JavaMail Resource on the Sun Java System Web Server
- Setting Up a JDBC Resource on the Sun Java System Web Server
- Registering a Sun Java System Web Server
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
Legal Notices