To define the sample PointBase database file:
In the ColdFusion MX Administrator, select Data & Services > Data Sources.
1.
The Add New Data Source dialog box appears.
Specify the following:
2.
Field
Data Source name
text box
Driver drop-down
selection box
Click Add to configure the data source name and driver.
3.
The Data Source dialog box appears.
Specify the following:
4.
Field
JDBC URL
Driver Class
Driver Name
Username
Password
Description
Click Show Advanced Settings to make the following settings:
5.
Field
Maintain Connection
CLOB
BLOB
Click Submit to complete the data source configuration.
6.
The name CompassTravel appears in the Connected Data Sources dialog box.
54
Chapter 5: Lesson 2: Configuring Your Development Environment
Action
Specify the name CompassTravel.
Note: Ensure that the name of the data source file does not contain any
spaces. If the name contains a space, the data source connection fails.
Select Other.
Action
Enter the following JDBC URL for the Compass Travel PointBase files:
jdbc:pointbase:compasstravel,database.home=/<home location>/
wwwroot/cfdocs/getting_started/db
The following is the default home location for stand-alone ColdFusion
web server configurations:
/opt/coldfusionmx7/wwwroot/cfdocs/getting_started/db
Enter the following driver class:
com.pointbase.jdbc.jdbcUniversalDriver
Specify PointBase.
Specify PBPUBLIC.
Specify PBPUBLIC.
Enter the following:
Database file for Compass Travel tutorial
Action
Disabled (clear)
Enabled (checked)
Enabled (checked)
Need help?
Do you have a question about the COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION MX and is the answer not in the manual?
Questions and answers