29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Note: If you have not changed the server preferences from the default, the<br />

publish will happen automatically when you start the server and you will not<br />

need to perform the next step, which publishes the server manually. You<br />

can check the preferences by clicking Window -> Preferences -> <strong>Server</strong>.<br />

The Automatically publish before starting servers option should be<br />

selected.<br />

5. Select the server in the <strong>Server</strong>s view, right-click, and select Publish.<br />

Figure 13-11 Publish the application<br />

Once the publish is complete, the server state should indicate that the server<br />

is synchronized.<br />

13.4.3 Updating the server configuration for the application<br />

If the application you are testing has requirements for the runtime environment,<br />

you will need to add them at this point. For example, if you are using a data<br />

source to access a database, you will need to define the JDBC driver and data<br />

source. If you are using JAAS for database authentication, you will need to add<br />

the JAAS authentication entry. These steps are the same whether you are using<br />

the Express test environment or a standalone Express <strong>Application</strong> <strong>Server</strong>. To<br />

update the server configuration to add these resources, see 13.6, “Working with<br />

server configurations” on page 483.<br />

470 <strong>IBM</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> - Express V5.0.2 Developer Handbook

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!