To supply the runtime connection information for an EAServer component, create a new EAServer connection profile. You can create an EAServer connection profile at design-time or during deployment in the deployment editor.You can also use the fully-configured default EAServer connection profile installed with Sybase WorkSpace.
To create an EAServer connection profile:
In the Enterprise Explorer, right-click Application Servers and select New.
In the Wizard Selection page, select EAServer Connection Profile and click Next.
Complete the following information on the wizard pages:
Name and Description page
Field | Description |
---|---|
Name | For example: myEAServer. |
Description | For example: YourCorp EAServer. |
Auto-Connect | Select the check box to automatically connect to the server and display its contents in the Enterprise Explorer. This happens whenever the Enterprise Explorer is opened. |
Server Properties page (as supplied by the EAServer administrator)
Field | Description |
---|---|
Host | For example: appsrv1.mycorp.com. |
Port | For example: 9000. |
WST Protocol | Choose http for a standard connection or https to connect using Secure Sockets Layer (SSL). |
WST Port | For example: 9000. |
User Name | For example: jagadmin. |
Password | Enter the password for the EAServer login, if required. |
Startup Script | Select the .exe or .bat file that is used to launch the server, for example: startserver.bat. |
Startup Script Options | Enter the EAServer startup script options, if any. For details, see "Starting the Server" in the EAServer System Administration Guide. |
To test your settings, make sure the server is running and click Test Connection.
Click Next.
In the Summary page, click Back to make changes or Finish to confirm.
The connection profile icon appears in the Enterprise Explorer under the Application Servers folder. If you selected Auto-Connect in the Name and Description page, the connection profile is connected.
If you change the connection properties of a connection profile that is already connected, the connection profile will immediately disconnect from the resources and automatically attempt to reconnect using the updated information.
After deploying an EJB to EAServer, you must Disconnect and reconnect the EAServer Connection Profile in Sybase WorkSpace in order to view your changes in the Enterprise Explorer view. Refresh does not display the updated server contents.
Sometimes an error message is displayed during connection but the connection profile icon still appears to be connected. When this happens, it usually means some of the connection profile's subfolders (Message Transports, J2EE Repository, WST Repository) are missing because of a server configuration problem. To fix this error and display a complete set of folders under the connection profile, use the information in the error dialog to make sure the application server is configured properly and double-check the connection profile parameters.
Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com