|Sun Java System Application Server|
The sample applications use the Java BluePrints build system
that employs a set of Ant build scripts (XML files) in the
In the instructions below,
refers to the path where you installed the Java EE 5 SDK (for Windows,
the default path is
c:/Sun/AppServer). Follow these steps
to build a sample application:
<javaee.home>/lib/ant/bindirectory to your PATH environment variable.
<javaee.home>/samples/bp-project/build.propertiesand set the value of
javaee.server.passwordfile(see below). Note: the Java EE 5 SDK installer automatically sets default values for some of these properties.
|javaee.home||The installation directory of the Java EE 5 SDK||c:/Sun/AppServer|
|javaee.server.name||Host name of the server where the Java EE 5 SDK is installed||localhost|
|javaee.server.port||The port number for the server you chose while installing Java EE 5 SDK||8080|
|javaee.server.username||The administrator username specified for the serve while installing Java EE 5 SDK||admin|
path to a file containing the admin
password for the Java EE 5 SDK. The password file needs to be in the
Where you will replace <javaeesdk-admin-password> with the admin password for the Java EE 5 SDK.
|javaee.adminserver.port||The port number for admin server you chose while installing the Java EE 5 SDK||4848
||The host name of your HTTP proxy server, if the server running Java EE SDK is behind a firewall. Leave blank otherwise||myproxy.mydomain
||The port number of your HTTP
proxy server, if the server running Java EE SDK is behind a firewall.
Leave blank otherwise
Please note the following regarding NetBeans IDE 6.x.
Because of a change in default behavior of NetBeans IDE 6.x when a samples main project is opened the corresponding sub-projects are not opened. These sub-projects are needed for the successful building and running of the sample. The solution is to select the sub-projects by checking the corresponding check box when the main samples project is opened. Then follow the other instructions as mentioned in the sample documentation.
Sometimes it is possible that because of Netbeans caching, the sample may not work correctly. In such a case, do the following.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.