This section lists Flex Builder site settings for the Flex Sample Apps application running on common J2EE servers. This application provides a number of sample applications you can use to explore Flex and learn to work with Flex Builder.
The Flex Sample Apps application is created when you install the Flex server using the JRun4/Flex install option. If you don't use this install option, you must deploy the samples .war file yourself.
Use the following settings in the Flex Server Site Setup dialog box. For more information, see Defining a Flex Builder site. You can also use these settings in the advanced Site Definition dialog box (if you access the server through a network). Enter the Flex Server Root Folder value in both the Remote Folder text box and the Testing Server Folder text box in the Site Definition dialog box.
Replace items in angle brackets with the information specific to your server configuration.
Caution: These site settings assume default installations of both the application server and the Flex server. The settings may not work for custom installations.
| Integrated JRun4/Flex - Local Install | |
|---|---|
|
Local Root Folder: |
C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples |
|
Flex Server Root Folder: |
C:\Program Files\Macromedia\Flex\jrun4\servers\default\samples |
|
URL Prefix |
http://localhost:8700/samples/ |
| Non-integrated JRun4 - Local Install | |
|---|---|
|
Local Root Folder: |
C:\JRun4\servers\<servername>\samples\ |
|
Flex Server Root Folder: |
C:\JRun4\servers\<servername>\samples\ |
|
URL Prefix |
http://localhost:<port>/samples/ |
| Tomcat 5.0 - Remote Install | |
|---|---|
|
Local Root Folder: |
Any folder on the computer running Flex Builder |
|
Flex Server Root Folder: |
...<installfolder>\Tomcat 5.0\webapps\samples |
|
URL Prefix |
http://<hostname>:8080/samples/ |
| WebSphere 5.1 - Remote Install | |
|---|---|
|
Local Root Folder: |
Any folder on the computer running Flex Builder |
|
Flex Server Root Folder: |
...<installfolder>\WebSphere\AppServer\installedApps\<nodename>\<appname>.ear\samples.war (where <nodename> is the machine name--but could also be an IP or a fqdn--and <appname> is configurable at deploy time) |
|
URL Prefix |
http://<hostname>:9080/samples/ |
| WebLogic 8.1 - Remote Install | |
|---|---|
|
Local Root Folder: |
Any folder on the computer running Flex Builder |
|
Flex Server Root Folder: |
...<installfolder>\bea\user_projects\<domain>\applications\samples (assumes you exploded the war file into a folder named samples to get a samples context root) |
|
URL Prefix |
http://<hostname>:7001/samples/ |