278
On UNIX
Solaris
You can debug custom tags on UNIX using the dbx debugger. You should shut down
ColdFusion using the stop script.
Set the environment variables, including
in the start script. You should then be able to run the cfserver executable under the dbx
debugger and set break points in your CFX code. You may need to set a break point in
main ("stop in main") so dbx loads the symbols for your CFX before you can set
breakpoints in your code.
HP-UX 10.20
You can debug custom tags on UNIX using HP's DDE debugger. You should shut down
ColdFusion using the stop script.
Set the environment variables, including
start script. You should then be able to run the cfserver executable under the DDE
debugger and set break points in your CFX code. You may need to set a break point in
main ("stop in main") so the debugger loads the symbols for your CFX before you can
set breakpoints in your code.
Before You Begin Developing CFX Tags in Java
Because the methods and syntax are similar, if you are familiar with creating CFXs
using C++ you will be productive creating CFXs in Java almost immediately. Even if you
have never used the C++ based API, you will find that the Java implementation is
extremely easy to learn and work with.
Sample Java CFXs
Before you begin developing a CFX tag in Java, you may want to study sample CFX tags.
The Java source files for the examples can be found in the
main installation directory. The example tags are:
HelloColdFusion
implementation required to create a CFX.
ZipBrowser
ColdFusion query and returning it to the calling page.
ServerDateTime
Demonstrates attribute validation, using numeric attributes, and setting
variables within the calling page.
OutputQuery
handling a ColdFusion query as input, throwing exceptions, and generating
dynamic output.
LD_LIBRARY_PATH
SHLIB_PATH
- Prints a personalized greeting. Demonstrates the minimal
- Retrieves the contents of a zip archive. Demonstrates generating a
- Retrieves the date and time from a network server.
- Outputs a ColdFusion query in an HTML table. Demonstrates
Developing Web Applications with ColdFusion
and
CFHOME
and
as they are set in the
CFHOME
subdirectory of the
examples
as they are set
Need help?
Do you have a question about the COLDFUSION 4.5-DEVELOPING WEB and is the answer not in the manual?