User Guide Cancel

Install the JEE configuration

  1. ColdFusion User Guide
  2. Introduction to ColdFusion
    1. About Adobe ColdFusion
    2. Download Adobe ColdFusion
    3. What's new in ColdFusion (2023 release)
    4. ColdFusion (2023 release) Release Notes
    5. Deprecated Features
    6. REST enhancements in ColdFusion
    7. Central Configuration Server
    8. Server Auto-Lockdown
    9. Asynchronous programming
    10. Docker images for ColdFusion
    11. SAML in ColdFusion
    12. JSON Web Tokens in ColdFusion
    13. Use SAML and LDAP in Admin
  3. Cloud Services in ColdFusion
    1. ColdFusion and GCP Storage
    2. ColdFusion and GCP Firestore
    3. ColdFusion and GCP PubSub
    4. ColdFusion and Amazon S3
    5. ColdFusion and DynamoDB
    6. ColdFusion and Amazon SQS
    7. ColdFusion and Amazon SNS
    8. ColdFusion and MongoDB
    9. ColdFusion and Azure Blob
    10. ColdFusion and Azure Service Bus
    11. Multi-cloud storage services
    12. Multi-cloud RDS databases
    13. ColdFusion and Azure Cosmos DB
  4. Install ColdFusion
    1. Install the server configuration
    2. Install ColdFusion- Zip Installer
    3. Install ColdFusion- GUI Installer
    4. CFSetup configuration tool
    5. ColdFusion Licensing and Activation
    6. ColdFusion server profiles
    7. Prepare to install ColdFusion
    8. Install the JEE configuration
    9. Install ColdFusion Express
    10. Install integrated technologies
    11. Configure your system
    12. Troubleshoot installation issues
    13. Install ColdFusion silently
    14. Install Adobe ColdFusion (2016 release) hotfix
    15. ColdFusion (2018 release) - Install JEE configuration
  5. Use ColdFusion
    1. GraphQL in ColdFusion
    2. Command Line Interface (CLI)
    3. External session storage
    4. Generate Swagger documents
    5. Language enhancements
    6. NTLM support
    7. Enhanced PDF in ColdFusion
    8. Security enhancements in ColdFusion (2016 release)
  6. Performance Monitoring Toolset
    1. Overview of ColdFusion Performance Monitoring Toolset
    2. Auto-discovery of ColdFusion nodes and clusters
    3. Code profiler in ColdFusion Performance Monitoring Toolset
    4. Configure ColdFusion Performance Monitoring Toolset settings
    5. Install ColdFusion Performance Monitoring Toolset
    6. View cloud metrics
    7. Monitor GraphQL in Performance Monitoring Toolset
    8. Configure TLS/SSL and Authentication for Elasticsearch 8.x  in Performance Monitoring Toolset
    9. View cluster and node metrics
    10. View data source metrics
    11. View external services
    12. View incoming services
    13. View list of sites and busy connections
    14. View topology of sites
    15. Datastore Health Monitoring
    16. Performance Monitoring Toolset Update 1
    17. Secure Performance Monitoring Toolset with HTTPS/SSL
    18. Performance Monitoring Toolset deployment guide
  7. Adobe ColdFusion Builder extension for Visual Studio Code
    1. Getting started with Adobe ColdFusion Builder extension for Visual Studio Code
    2. Add a ColdFusion server
    3. Project Manager
    4. Work with ColdFusion code
    5. Profile preferences
    6. Debug applications
    7. Debug code in Virtual Host
    8. Refactoring
    9. Services Browser
    10. RDS support
    11. PMT Code Profiler integration
    12. Security Analyzer report integration
    13. Known issues in this release
  8. Use ColdFusion Builder
    1. About ColdFusion Builder
    2. System requirements | ColdFusion Builder
    3. Install ColdFusion Builder
    4. Edit code in ColdFusion Builder
    5. Manage servers in ColdFusion Builder
    6. Manage projects in ColdFusion Builder
    7. What's new in Adobe ColdFusion Builder (2018 release)
    8. Frequently Asked Questions (FAQ) | Adobe ColdFusion Builder (2018 release)
    9. Debug applications in ColdFusion Builder
    10. ColdFusion Builder workbench
    11. ColdFusion Builder extensions
    12. Debugging Perspective in ColdFusion Builder
    13. Build mobile applications using ColdFusion Builder
    14. Bundled ColdFusion Server
    15. Debug mobile applications in ColdFusion Builder
    16. Use extensions in ColdFusion Builder
  9. Coldfusion API Manager
    1. Overview of Adobe ColdFusion API Manager
    2. Features in ColdFusion API Manager
    3. Get started with ColdFusion API Manager
    4. Install ColdFusion API Manager
    5. Authentication types
    6. Create and publish APIs
    7. Administrator
    8. Subscriber
    9. Throttling and rate limiting
    10. Notifications
    11. Connectors
    12. Set up cluster support
    13. Integrate ColdFusion and API Manager
    14. Metrics and Logging in API Manager
    15. Generate Swagger documents
    16. Configure SSL
    17. Known issues in this release
    18. Policies in ColdFusion API Manager
    19. Create a Redis cluster
    20. Multitenancy in API Manager
    21. Docker images for ColdFusion API Manager
  10. Configure and administer ColdFusion
    1. Administer ColdFusion
    2. Use the ColdFusion administrator
    3. Data Source Management for ColdFusion
    4. Connect to web servers
    5. Deploy ColdFusion applications
    6. Administer ColdFusion security
    7. Basic Troubleshooting and FAQs
    8. Work with Server Manager
    9. Use multiple server instances
    10. WebSocket Enhancements (ColdFusion 11)
    11. Security Enhancements (ColdFusion 11)
    12. Work with Server Monitor
    13. ColdFusion Administrator API Reference
  11. ColdFusion functions
    1. ColdFusion functions by category
    2. Functions a-b
      1. Abs
      2. ACos
      3. AddSOAPRequestHeader
      4. AddSOAPResponseHeader
      5. AjaxLink
      6. AjaxOnLoad
      7. ApplicationStop
      8. ArrayAppend
      9. ArrayAvg
      10. ArrayClear
      11. ArrayContains
      12. ArrayContainsNoCase
      13. ArrayDelete
      14. ArrayDeleteAt
      15. ArrayDeleteNoCase
      16. ArrayEach
      17. ArrayFilter
      18. ArrayFind
      19. ArrayFindAll
      20. ArrayFindAllNoCase
      21. ArrayFindNoCase
      22. ArrayInsertAt
      23. ArrayIsDefined
      24. ArrayIsEmpty
      25. ArrayLen
      26. ArrayMap
      27. ArrayMax
      28. ArrayMin
      29. ArrayNew
      30. ArrayPrepend
      31. ArrayReduce
      32. ArrayResize
      33. ArraySet
      34. ArraySetMetadata
      35. ArraySlice
      36. ArraySort
      37. ArraySum
      38. ArraySwap
      39. ArrayToList
      40. Asc
      41. ASin
      42. Atn
      43. AuthenticatedContext
      44. AuthenticatedUser
      45. BinaryDecode
      46. BinaryEncode
      47. BitAnd
      48. BitMaskClear
      49. BitMaskRead
      50. BitMaskSet
      51. BitNot
      52. BitOr
      53. BitSHLN
      54. BitSHRN
      55. BitXor
      56. BooleanFormat
    3. Functions-c-d
      1. CacheGet
      2. CacheGetAllIds
      3. CacheGetMetadata
      4. CacheGetProperties
      5. CacheGetSession
      6. CacheIdExists
      7. CachePut
      8. CacheRegionExists
      9. CacheRegionNew
      10. CacheRegionRemove
      11. CacheRemove
      12. CacheRemoveAll
      13. CacheSetProperties
      14. CallStackDump
      15. CallStackGet
      16. CanDeSerialize
      17. Canonicalize
      18. CanSerialize
      19. Ceiling
      20. CharsetDecode
      21. CharsetEncode
      22. Chr
      23. CJustify
      24. Compare
      25. CompareNoCase
      26. Cos
      27. CreateDate
      28. CreateDateTime
      29. CreateObject
      30. CreateObject: .NET object
      31. CreateObject: COM object
      32. CreateObject: component object
      33. CreateObject: CORBA object
      34. CreateObject: Java or EJB object
      35. CreateObject: web service object
      36. CreateODBCDate
      37. CreateODBCDateTime
      38. CreateODBCTime
      39. CreateTime
      40. CreateTimeSpan
      41. CreateUUID
      42. CSRFGenerateToken
      43. CSRFVerifyToken
      44. DateAdd
      45. DateCompare
      46. DateConvert
      47. DateDiff
      48. DateFormat
      49. DatePart
      50. DateTimeFormat
      51. Day
      52. DayOfWeek
      53. DayOfWeekAsString
      54. DayOfYear
      55. DaysInMonth
      56. DaysInYear
      57. DE
      58. DecimalFormat
      59. DecodeForHTML
      60. DecodeFromURL
      61. DecrementValue
      62. Decrypt
      63. DecryptBinary
      64. DeleteClientVariable
      65. Deserialize
      66. DeserializeJSON
      67. DeserializeXML
      68. DirectoryCopy
      69. DirectoryCreate
      70. DirectoryDelete
      71. DirectoryExists
      72. DirectoryList
      73. DirectoryRename
      74. DollarFormat
      75. DotNetToCFType
      76. Duplicate
    4. Functions-e-g
      1. EncodeForCSS
      2. EncodeForDN
      3. EncodeForHTML
      4. EncodeForHTMLAttribute
      5. EncodeForJavaScript
      6. EncodeForLDAP
      7. EncodeForURL
      8. EncodeForXML
      9. EncodeForXMLAttribute
      10. EncodeForXpath
      11. Encrypt
      12. EncryptBinary
      13. EntityDelete
      14. EntityLoad
      15. EntityLoadByExample
      16. EntityLoadByPK
      17. EntityMerge
      18. EntityNew
      19. EntityReload
      20. EntitySave
      21. EntityToQuery
      22. Evaluate
      23. Exp
      24. ExpandPath
      25. FileClose
      26. FileCopy
      27. FileDelete
      28. FileExists
      29. FileGetMimeType
      30. FileIsEOF
      31. FileMove
      32. FileOpen
      33. FileRead
      34. FileReadBinary
      35. FileReadLine
      36. FileSeek
      37. FileSetAccessMode
      38. FileSetAttribute
      39. FileSetLastModified
      40. FileSkipBytes
      41. FileUpload
      42. FileUploadAll
      43. FileWrite
      44. FileWriteLine
      45. Find
      46. FindNoCase
      47. FindOneOf
      48. FirstDayOfMonth
      49. Fix
      50. Floor
      51. FormatBaseN
      52. Generate3DesKey
      53. GeneratePBKDFKey
      54. GenerateSecretKey
      55.  GetApplicationMetadata
      56. GetAuthUser
      57. GetBaseTagData
      58. GetBaseTagList
      59. GetBaseTemplatePath
      60. GetClientVariablesList
      61. GetComponentMetaData
      62. GetContextRoot
      63. GetCPUUsage
      64. GetCurrentTemplatePath
      65. GetDirectoryFromPath
      66. GetEncoding
      67. GetException
      68. GetFileFromPath
      69. GetFileInfo
      70. GetFreeSpace
      71. GetFunctionCalledName
      72. GetFunctionList
      73. GetGatewayHelper
      74. GetHttpRequestData
      75. GetHttpTimeString
      76. GetK2ServerDocCount
      77. GetK2ServerDocCountLimit
      78. GetLocale
      79. GetLocaleDisplayName
      80. GetLocalHostIP
      81. GetMetaData
      82. GetMetricData
      83. GetPageContext
      84. GetPrinterInfo
      85. GetPrinterList
      86. GetProfileSections
      87. GetProfileString
      88. GetReadableImageFormats
      89. GetSafeHTML
      90. GetSAMLAuthRequest
      91. GetSAMLLogoutRequest
      92. GenerateSAMLSPMetadata
      93. GetSOAPRequest
      94. GetSOAPRequestHeader
      95. GetSOAPResponse
      96. GetSOAPResponseHeader
      97. GetSystemFreeMemory
      98. GetSystemTotalMemory
      99. GetTempDirectory
      100. GetTempFile
      101. GetTemplatePath
      102. GetTickCount
      103. GetTimeZoneInfo
      104. GetToken
      105. GetTotalSpace
      106. GetUserRoles
      107. GetVFSMetaData
      108. GetWriteableImageFormats
    5. Functions-h-im
      1. Hash
      2. HMac
      3. Hour
      4. HQLMethods
      5. HTMLCodeFormat
      6. HTMLEditFormat
      7. IIf
      8. ImageAddBorder
      9. ImageBlur
      10. ImageClearRect
      11. ImageCopy
      12. ImageCreateCaptcha
      13. ImageCrop
      14. ImageDrawArc
      15. ImageDrawBeveledRect
      16. ImageDrawCubicCurve
      17. ImageDrawLine
      18. ImageDrawLines
      19. ImageDrawOval
      20. ImageDrawPoint
      21. ImageDrawQuadraticCurve
      22. ImageDrawRect
      23. ImageDrawRoundRect
      24. ImageDrawText
      25. ImageFlip
      26. ImageGetBlob
      27. ImageGetBufferedImage
      28. ImageGetEXIFMetadata
      29. ImageGetEXIFTag
      30. ImageGetHeight
      31. ImageGetIPTCMetadata
      32. ImageGetIPTCTag
      33. ImageGetMetadata
      34. ImageGetWidth
      35. ImageGrayscale
      36. ImageInfo
      37. ImageMakeColorTransparent
      38. ImageMakeTranslucent
      39. ImageNegative
      40. ImageNew
      41. ImageOverlay
      42. ImagePaste
      43. ImageRead
      44. ImageReadBase64
      45. ImageResize
      46. ImageRotate
      47. ImageRotateDrawingAxis
      48. ImageScaleToFit
      49. ImageSetAntialiasing
      50. ImageSetBackgroundColor
      51. ImageSetDrawingColor
      52. ImageSetDrawingStroke
      53. ImageSetDrawingTransparency
      54. ImageSharpen
      55. ImageShear
      56. ImageShearDrawingAxis
      57. ImageTranslate
      58. ImageTranslateDrawingAxis
      59. ImageWrite
      60. ImageWriteBase64
      61. ImageXORDrawingMode
    6. Functions-in-k
      1. IncrementValue
      2. InputBaseN
      3. Insert
      4. Int
      5. InvalidateOauthAccesstoken
      6. Invoke
      7. InitSAMLAuthRequest
      8. InitSAMLLogoutRequest
      9. InvokeCFClientFunction
      10. IsArray
      11. IsAuthenticated
      12. IsAuthorized
      13. IsBinary
      14. IsBoolean
      15. IsClosure
      16. IsCustomFunction
      17. IsDate
      18. IsDateObject
      19. IsDDX
      20. IsDebugMode
      21. IsDefined
      22. IsImage
      23. IsImageFile
      24. IsInstanceOf
      25. IsIPv6
      26. IsJSON
      27. IsK2ServerABroker
      28. IsK2ServerDocCountExceeded
      29. IsK2ServerOnline
      30. IsLeapYear
      31. IsLocalHost
      32. IsNull
      33. IsNumeric
      34. IsNumericDate
      35. IsObject
      36. isOnline
      37. IsPDFArchive
      38. IsPDFFile
      39. IsPDFObject
      40. IsProtected
      41. IsQuery
      42. isSamlLogoutResponse
      43. isSafeHTML
      44. IsSimpleValue
      45. IsSOAPRequest
      46. IsSpreadsheetFile
      47. IsSpreadsheetObject
      48. IsStruct
      49. IsUserInAnyRole
      50. IsUserInRole
      51. IsUserLoggedIn
      52. IsValid
      53. IsValidOauthAccesstoken
      54. IsWDDX
      55. IsXML
      56. IsXmlAttribute
      57. IsXmlDoc
      58. IsXmlElem
      59. IsXmlNode
      60. IsXmlRoot
      61. JavaCast
      62. JSStringFormat
    7. Functions-l
      1. LCase
      2. Left
      3. Len
      4. ListAppend
      5. ListChangeDelims
      6. ListContains
      7. ListContainsNoCase
      8. ListDeleteAt
      9. ListEach
      10. ListFilter
      11. ListFind
      12. ListFindNoCase
      13. ListFirst
      14. ListGetAt
      15. ListInsertAt
      16. ListLast
      17. ListLen
      18. ListMap
      19. ListPrepend
      20. ListQualify
      21. ListReduce
      22. ListRemoveDuplicates
      23. ListRest
      24. ListSetAt
      25. ListSort
      26. ListToArray
      27. ListValueCount
      28. ListValueCountNoCase
      29. LJustify
      30. Location
      31. Log
      32. Log10
      33. LSCurrencyFormat
      34. LSDateFormat
      35. LSDateTimeFormat
      36. LSEuroCurrencyFormat
      37. LSIsCurrency
      38. LSIsDate
      39. LSIsNumeric
      40. LSNumberFormat
      41. LSParseCurrency
      42. LSParseDateTime
      43. LSParseEuroCurrency
      44. LSParseNumber
      45. LSTimeFormat
      46. LTrim
    8. Functions-m-r
      1. Max
      2. Mid
      3. Min
      4. Minute
      5. Month
      6. MonthAsString
      7. Now
      8. NumberFormat
      9. ObjectEquals
      10. ObjectLoad
      11. ObjectSave
      12. OnWSAuthenticate
      13. ORMClearSession
      14. ORMCloseAllSessions
      15. ORMCloseSession
      16. ORMEvictCollection
      17. ORMEvictEntity
      18. ORMEvictQueries
      19. ORMExecuteQuery
      20. ORMFlush
      21. ORMFlushall
      22. ORMGetSession
      23. ORMGetSessionFactory
      24. ORMIndex
      25. ORMIndexPurge
      26. ORMReload
      27. ORMSearch
      28. ORMSearchOffline
      29. ParagraphFormat
      30. ParameterExists
      31. ParseDateTime
      32. Pi
      33. PrecisionEvaluate
      34. ProcessSAMLResponse
      35. ProcessSAMLLogoutRequest
      36. Quarter
      37. PreserveSingleQuotes
      38. QueryAddColumn
      39. QueryAddRow
      40. QueryConvertForGrid
      41. QueryExecute
      42. QueryFilter
      43. QueryGetResult
      44. QueryGetRow
      45. QueryKeyExists
      46. QueryMap
      47. QueryNew
      48. QueryReduce
      49. QuerySetCell
      50. QuotedValueList
      51. QueryEach
      52. Rand
      53. Randomize
      54. RandRange
      55. ReEscape
      56. REFind
      57. REFindNoCase
      58. ReleaseComObject
      59. REMatch
      60. REMatchNoCase
      61. RemoveCachedQuery
      62. RemoveChars
      63. RepeatString
      64. Replace
      65. ReplaceList
      66. ReplaceNoCase
      67. REReplace
      68. REReplaceNoCase
      69. RestDeleteApplication
      70. RestSetResponse
      71. RestInitApplication
      72. Reverse
      73. Right
      74. RJustify
      75. Round
      76. RTrim
    9. Functions-s
      1. Second
      2. SendGatewayMessage
      3. SendSAMLLogoutResponse
      4. Serialize
      5. SerializeJSON
      6. SerializeXML
      7. SessionInvalidate
      8. SessionRotate
      9. SessionGetMetaData
      10. SessionInvalidate
      11. SessionRotate
      12. SetDay
      13. SetEncoding
      14. SetHour
      15. SetLocale
      16. SetMonth
      17. SetProfileString
      18. SetVariable
      19. SetYear
      20. Sgn
      21. Sin
      22. Sleep
      23. SpanExcluding
      24. SpanIncluding
      25. SpreadsheetAddAutoFilter
      26. SpreadsheetAddColumn
      27. SpreadsheetAddFreezePane
      28. SpreadsheetAddImage
      29. SpreadsheetAddInfo
      30. SpreadsheetAddPageBreaks
      31. SpreadsheetAddRow
      32. SpreadsheetAddRows
      33. SpreadsheetAddSplitPane
      34. SpreadsheetCreateSheet
      35. SpreadsheetDeleteColumn
      36. SpreadsheetDeleteColumns
      37. SpreadsheetDeleteRow
      38. SpreadsheetDeleteRows
      39. SpreadsheetFormatCell
      40. SpreadsheetFormatColumn
      41. SpreadsheetFormatCellRange
      42. SpreadsheetFormatColumn
      43. SpreadsheetFormatColumns
      44. SpreadsheetFormatRow
      45. SpreadsheetFormatRows
      46. SpreadsheetGetCellComment
      47. SpreadsheetGetCellFormula
      48. SpreadsheetGetCellValue
      49. SpreadsheetGetColumnCount
      50. SpreadsheetInfo
      51. SpreadsheetMergeCells
      52. SpreadsheetNew
      53. SpreadsheetRead
      54. SpreadsheetReadBinary
      55. SpreadsheetRemoveSheet
      56. SpreadsheetSetActiveSheet
      57. SpreadsheetSetActiveSheetNumber
      58. SpreadsheetSetCellComment
      59. SpreadsheetSetCellFormula
      60. SpreadsheetSetCellValue
      61. SpreadsheetSetColumnWidth
      62. SpreadsheetSetFooter
      63. SpreadsheetSetHeader
      64. SpreadsheetSetRowHeight
      65. SpreadsheetShiftColumns
      66. SpreadsheetShiftRows
      67. SpreadsheetWrite
      68. Sqr
      69. StripCR
      70. StructAppend
      71. StructClear
      72. StructCopy
      73. StructCount
      74. StructDelete
      75. StructEach
      76. StructFilter
      77. StructFind
      78. StructFindKey
      79. StructFindValue
      80. StructGet
      81. StructGetMetadata
      82. StructInsert
      83. StructIsEmpty
      84. StructKeyArray
      85. StructKeyExists
      86. StructKeyList
      87. StructMap
      88. StructNew
      89. StructReduce
      90. StructSetMetadata
      91. StructSort
      92. StructToSorted
      93. StructUpdate
      94. StoreSetMetadata
      95. StoreGetACL
      96. StoreGetMetadata
      97. StoreAddACL
      98. StoreSetACL
    10. Functions-t-z
      1. Tan
      2. ThreadJoin
      3. ThreadTerminate
      4. Throw
      5. TimeFormat
      6. ToBase64
      7. ToBinary
      8. ToScript
      9. ToString
      10. Trace
      11. Transactionandconcurrency
      12. TransactionCommit
      13. TransactionRollback
      14. TransactionSetSavePoint
      15. Trim
      16. UCase
      17. URLDecode
      18. URLEncodedFormat
      19. URLSessionFormat
      20. Val
      21. ValueList
      22. VerifyClient
      23. Week
      24. Wrap
      25. WriteDump
      26. WriteLog
      27. WriteOutput
      28. WSGetAllChannels
      29. WSGetSubscribers
      30. WSPublish
      31. WSSendMessage
      32. XmlChildPos
      33. XmlElemNew
      34. XmlFormat
      35. XmlGetNodeType
      36. XmlNew
      37. XmlParse
      38. XmlSearch
      39. XmlTransform
      40. XmlValidate
      41. Year
      42. YesNoFormat
  12. ColdFusion Tags
    1. ColdFusion tags by category
    2. Tags a-b
      1. cfabort
      2. cfajaximport
      3. cfajaxproxy
      4. cfapplet
      5. cfapplication
      6. cfargument
      7. cfassociate
      8. cfauthenticate
      9. cfbreak
    3. Tags c
      1. cfcache
      2. cfcalendar
      3. cfcase
      4. cfcatch
      5. cfchart
      6. cfchartdata
      7. cfchartseries
      8. cfclient
      9. cfclientsettings
      10. cfcol
      11. cfcollection
      12. cfcomponent
      13. cfcontent
      14. cfcontinue
      15. cfcookie
      16. Tags d-e
    4. Tags f
      1. cffeed
      2. cffile
      3. cffile action = "append"
      4. cffile action = "copy"
      5. cffile action = "delete"
      6. cffile action = "move"
      7. cffile action = "read"
      8. cffile action = "readBinary"
      9. cffile action = "rename"
      10. cffile action = "upload"
      11. cffile action = "uploadAll"
      12. cffile action = "write"
      13. cffileupload
      14. cffinally
      15. cfflush
      16. cfform
      17. cfformgroup
      18. cfformitem
      19. cfftp
      20. cfftp: Connection: file and directory operations
      21. cfftp: Opening and closing FTP server connections
      22. cfftp : Opening and closing secure FTP server connections
      23. cfftp action = "listDir"
      24. cffunction
    5. Tags g-h
      1. cfgraph
      2. cfgraphdata
      3. cfgrid
      4. cfgridcolumn
      5. cfgridrow
      6. cfgridupdate
      7. cfheader
      8. cfhtmlhead
      9. cfhtmltopdf
      10. cfhtmltopdfitem
      11. cfhttp
      12. cfhttpparam
    6. Tags i
      1. cfif
      2. cfimage
      3. cfimap
      4. cfimapfilter
      5. cfimpersonate
      6. cfimport
      7. cfinclude
      8. cfindex
      9. cfinput
      10. cfinsert
      11. cfinterface
      12. cfinvoke
      13. cfinvokeargument
    7. Tags j-l
      1. cfjava
      2. cflayout
      3. cflayoutarea
      4. cfldap
      5. cflocation
      6. cflock
      7. cflog
      8. cflogin
      9. cfloginuser
      10. cflogout
      11. cfloop
      12. cfloop : conditional loop
      13. cfloop : index loop
      14. cfloop : looping over a COM collection or structure
      15. cfloop : looping over a date or time range
      16. cfloop : looping over a list, a file, or an array
      17. cfloop : looping over a query
    8. Tags m-o
      1. cfmail
      2. cfmailparam
      3. cfmailpart
      4. cfmap
      5. cfmapitem
      6. cfmediaplayer
      7. cfmenu
      8. cfmenuitem
      9. cfmessagebox
      10. cfmodule
      11. cfNTauthenticate
      12. cfoauth
      13. cfobject
      14. cfobject: .NET object
      15. cfobject: COM object
      16. cfobject: component object
      17. cfobject: CORBA object
      18. cfobject: Java or EJB object
      19. cfobject: web service object
      20. cfobjectcache
      21. cfoutput
    9. Tags p-q
      1. cfparam
      2. cfpdf
      3. cfpdfform
      4. cfpdfformparam
      5. cfpdfparam
      6. cfpdfsubform
      7. cfpod
      8. cfpop
      9. cfpresentation
      10. cfpresentationslide
      11. cfpresenter
      12. cfprint
      13. cfprocessingdirective
      14. cfprocparam
      15. cfprocresult
      16. cfprogressbar
      17. cfproperty
      18. cfquery
      19. cfqueryparam
    10. Tags r-s
      1. cfregistry
      2. cfreport
      3. cfreportparam
      4. cfrethrow
      5. cfreturn
      6. cfsavecontent
      7. cfschedule
      8. cfscript
      9. cfsearch
      10. cfselect
      11. cfservlet
      12. cfservletparam
      13. cfset
      14. cfsetting
      15. cfsharepoint
      16. cfsilent
      17. cfslider
      18. cfspreadsheet
      19. cfsprydataset
      20. cfstoredproc
      21. cfswitch
    11. Tags t
      1. cftable
      2. cftextarea
      3. cftextinput
      4. cfthread
      5. cfthrow
      6. cftimer
      7. cftooltip
      8. cftrace
      9. cftransaction
      10. cftree
      11. cftreeitem
      12. cftry
    12. Tags u-z
      1. cfupdate
      2. cfwddx
      3. cfwebsocket
      4. cfwindow
      5. cfxml
      6. cfzip
      7. cfzipparam
  13. CFML Reference
    1. Reserved words and variables
      1. Reserved words and variables
      2. Reserved words
      3. Scope-specific built-in variables
      4. Custom tag variables
      5. ColdFusion tag-specific variables
      6. CGI environment (CGI Scope) variables
    2. Ajax JavaScript functions
      1. Ajax JavaScript functions
      2. Function summary Ajax
      3. ColdFusion.Ajax.submitForm
      4. ColdFusion.Autosuggest.getAutosuggestObject
      5. ColdFusion.Layout.enableSourceBind
      6. ColdFusion.MessageBox.getMessageBoxObject
      7. ColdFusion.ProgressBar.getProgressBarObject
      8. ColdFusion.MessageBox.isMessageBoxDefined
      9. JavaScriptFunctionsinColdFusion9Update1
    3. ColdFusion ActionScript functions
      1. ColdFusion ActionScript functions
      2. CF.http
      3. CF.query
    4. ColdFusion mobile functions
      1. ColdFusion Mobile Functions
      2. Accelerometer Functions
      3. Camera Functions
      4. Connection Functions
      5. Contact Functions
      6. Event Functions
      7. File System Functions
      8. Geolocation Functions
      9. Media and Capture Functions
      10. Notification Functions
      11. Splash Screen Functions
      12. Storage Functions
    5. Application.cfc reference
      1. Application.CFC reference
      2. Application variables
      3. Method summary
      4. onAbort
      5. onApplicationEnd
      6. onApplicationStart
      7. onMissingTemplate
      8. onCFCRequest
      9. onError
      10. onRequestEnd
      11. onRequest
      12. onRequestStart
      13. onServerStart
      14. onSessionEnd
      15. onSessionStart
    6. Script functions implemented as CFCs
      1. Script Functions Implemented as CFCs
      2. Accessing the functions
      3. Function summary
      4. ftp
      5. http
      6. mail
      7. pdf
      8. query
      9. Script functions implemented as CFCs in ColdFusion 9 Update 1
      10. storedproc
    7. ColdFusion Flash Form style reference
      1. Styles valid for all controls
      2. Styles for cfform
      3. Styles for cfformgroup with horizontal or vertical type attributes
      4. Styles for box-style cfformgroup elements
      5. Styles for cfformgroup with accordion type attribute
      6. Styles for cfformgroup with tabnavigator type attribute
      7. Styles for cfformitem with hrule or vrule type attributes
      8. Styles for cfinput with radio, checkbox, button, image, or submit type attributes
      9. Styles for cftextarea tag and cfinput with text, password, or hidden type attributes
      10. Styles for cfselect with size attribute value of 1
      11. Styles for cfselect with size attribute value greater than 1
      12. Styles for cfcalendar tag and cfinput with dateField type attribute
      13. Styles for the cfgrid tag
      14. Styles for the cftree tag
      15. ColdFusion Flash Form Style Reference
    8. ColdFusion event gateway reference
      1. ColdFusion Event Gateway reference
      2. addEvent
      3. CFEvent
      4. CFEventclass
      5. Constructor
      6. Gateway development interfaces and classes
      7. getStatus
      8. setCFCPath
      9. setCFCMethod
      10. getOriginatorID
      11. getLogger
      12. getBuddyList
      13. getBuddyInfo
      14. IM gateway message sending commands
      15. IM Gateway GatewayHelper class methods
      16. onIncomingMessage
      17. onIMServerMessage
      18. onBuddyStatus
      19. onAddBuddyResponse
      20. onAddBuddyRequest
      21. IM Gateway CFC incoming message methods
      22. IM gateway methods and commands
      23. CFML CFEvent structure
      24. warn
      25. info
      26. setOriginatorID
      27. data command
      28. submit Multi command
      29. submit command
      30. setGatewayType
      31. setGatewayID
      32. setData
      33. setCFCListeners
      34. outgoingMessage
      35. getStatusTimeStamp
      36. numberOfMessagesReceived
      37. numberOfMessagesSent
      38. removeBuddy
      39. removeDeny
      40. removePermit
      41. setNickName
      42. setPermitMode
      43. setStatus
      44. SMS Gateway CFEvent structure and commands
      45. SMS Gateway incoming message CFEvent structure
      46. getStatusAsString
      47. getProtocolName
      48. getPermitMode
      49. getPermitList
      50. getNickName
      51. getName
      52. getDenyList
      53. getCustomAwayMessage
      54. getQueueSize
      55. getMaxQueueSize
      56. getHelper
      57. getGatewayType
      58. getGatewayServices
      59. getGatewayID_1
      60. getGatewayID
      61. getData
      62. getCFCTimeout
      63. setCFCTimeout
      64. getCFCPath
      65. getCFCMethod
      66. GatewayServices class
      67. Gateway interface
      68. GatewayHelper interface
      69. addPermit
      70. addDeny
      71. addBuddy
      72. error
      73. debug
      74. Logger class
      75. stop
      76. start
      77. CFML event gateway SendGatewayMessage data parameter
      78. restart
      79. fatal
      80. SMS gateway message sending commands
    9. ColdFusion C++ CFX Reference
      1. C++ class overview
      2. Deprecated class methods
      3. CCFXException class
      4. CCFXQuery class
      5. CCFXRequest class
      6. CCFXStringSet class
      7. ColdFusion C++ CFX Reference
    10. ColdFusion Java CFX reference
      1. ColdFusion Java CFX reference
      2. Class libraries overview
      3. Custom tag interface
      4. Query interface
      5. Request interface
      6. Response interface
      7. Debugging classes reference
    11. WDDX JavaScript Objects
      1. WDDX JavaScript objects
      2. JavaScript object overview
      3. WddxRecordset object
      4. WddxSerializer object
  14. Develop ColdFusion applications
    1. Introducing ColdFusion
      1. Introducing ColdFusion
      2. About ColdFusion
      3. About Internet applications and web application servers
      4. About JEE and the ColdFusion architecture
    2. Changes in ColdFusion
      1. Changes in ColdFusion
      2. Replacement of JRun with Tomcat
      3. Security enhancements
      4. ColdFusion WebSocket
      5. Enhanced Java integration
      6. ColdFusion ORM search for indexing and search
      7. Solr enhancements
      8. Scheduler enhancements
      9. Integration with Microsoft Exchange Server 2010
      10. RESTful Web Services in ColdFusion
      11. Lazy loading across client and server in ColdFusion
      12. Web service enhancements
      13. Displaying geolocation
      14. Client-side charting
      15. Caching enhancements
      16. Server update using ColdFusion Administrator
      17. Secure Profile for ColdFusion Administrator
    3. Introduction to application development
      1. Introduction to application development using ColdFusion
      2. Using the Developing ColdFusion Applications guide
      3. About Adobe ColdFusion documentation for Developers
    4. The CFML programming language
      1. The CFML programming language
      2. Elements of CFML
      3. ColdFusion variables
      4. Expressions and number signs
      5. Arrays and structures
      6. Extend ColdFusion pages with CFML scripting
      7. Regular expressions in functions
      8. ColdFusion language enhancements
      9. Built-in functions as first class citizen
      10. Data types- Developing guide
    5. Building blocks of ColdFusion applications
      1. Building blocks of ColdFusion applications
      2. Create ColdFusion elements
      3. Write and call user-defined functions
      4. Build and use ColdFusion Components
      5. Create and use custom CFML tags
      6. Build custom CFXAPI tags
      7. Use the member functions
      8. Object Oriented Programming in ColdFusion
    6. Develop CFML applications
      1. Develop CFML applications
      2. Design and optimize a ColdFusion application
      3. Handle errors
      4. Use persistent data and locking
      5. Use ColdFusion threads
      6. Secure applications
      7. Client-side CFML (for mobile development)
      8. Use the ColdFusion debugger
      9. Debugging and Troubleshooting Applications
      10. Develop globalized applications
      11. REST enhancements in ColdFusion
      12. Authentication through OAuth
      13. Social enhancements
    7. Develop mobile applications
      1. Mobile application development
      2. Build mobile applications
      3. Debug mobile applications
      4. Inspect mobile applications
      5. Package mobile applications
      6. Troubleshoot mobile applications
      7. Device detection
      8. Client-side CFML
      9. Mobile Templates
      10. Code samples to build a mobile application
    8. Access and use data
      1. Access and use data
      2. Introduction to Databases and SQL
      3. Access and retrieve data
      4. Update database
      5. Use Query of Queries
      6. Manage LDAP directories
      7. Solr search support
    9. ColdFusion ORM
      1. ColdFusion ORM
      2. Introducing ColdFusion ORM
      3. ORM architecture
      4. Configure ORM
      5. Define ORM mapping
      6. Work with objects
      7. ORM session management
      8. Transaction and concurrency
      9. Use HQL queries
      10. Autogenerate database schema
      11. Support for multiple data sources for ORM
      12. ColdFusion ORM search
    10. ColdFusion and HTML5
      1. ColdFusion and HTML 5
      2. Use ColdFusion Web Sockets
      3. Media Player enhancements
      4. Client-side charting
      5. Display geolocation data
    11. Flex and AIR integration in ColdFusion
      1. Flex and AIR integration in ColdFusion
      2. Use the Flash Remoting Service
      3. Use Flash Remoting Update
      4. Offline AIR application support
      5. Proxy ActionScript classes for ColdFusion services
      6. Use LiveCycle Data Services ES assembler
      7. Use server-side ActionScript
    12. Request and present information
      1. Request and present information
      2. Retrieve and format data
      3. Build dynamic forms with cfform tags
      4. Validate data
      5. Create forms in Flash
      6. Create skinnable XML forms
      7. Use Ajax data and development features
      8. Use Ajax User Interface components and features
    13. Office file interoperability
      1. Office file interoperability
      2. Using cfdocument
      3. Using cfpresentation
      4. Using cfspreadsheet
      5. Supported Office conversion formats
      6. SharePoint integration
    14. ColdFusion portlets
      1. ColdFusion portlets
      2. Run a ColdFusion portlet on a JBoss portal server
      3. Run a ColdFusion portlet on a WebSphere portal server
      4. Common methods used in portlet.cfc
      5. ColdFusion portlet components
      6. Support for JSR-286
    15. Work with documents, charts, and reports
      1. Work with documents, charts, and reports
      2. Manipulate PDF forms in ColdFusion
      3. Assemble PDF documents
      4. Create and manipulate ColdFusion images
      5. Create charts and graphs
      6. Create reports and documents for printing
      7. Create reports with Report Builder
      8. Create slide presentations
    16. Use web elements and external objects
      1. Use web elements and external objects
      2. Use XML and WDDX
      3. Use web services
      4. Use ColdFusion web services
      5. Integrate JEE and Java elements in CFML applications
      6. Use Microsoft .NET assemblies
      7. Integrate COM and CORBA objects in CFML applications
    17. Use external resources
      1. Send and receive e-mail
      2. Interact with Microsoft Exchange servers
      3. Interact with remote servers
      4. Manage files on the server
      5. Use event gateways
      6. Create custom event gateways
      7. Use the ColdFusion extensions for Eclipse
      8. Use the data services messaging event gateway
      9. Use the data management event gateway
      10. Use the FMS event gateway
      11. Use the instant messaging event gateways
      12. Use the SMS event gateway

One of the main advantages of ColdFusion is that you can install it as an integrated server (the server configuration) or deploy it as a Java application on a standards-based Java Enterprise Edition (JEE, formerly termed, J2EE) application server, using the JEE configuration option offered in the ColdFusion Installer. In addition to greater flexibility, this allows your ColdFusion applications to leverage features of the JEE architecture, such as support for multiple application instances and multiple-instance clustering.

Installing the JEE Configuration

Gathering information necessary to install the JEE configuration

Although the ColdFusion installer provides an intuitive interface, it helps to plan your answers to the questions asked by the installer. Use the following tables to help plan for installing the JEE configuration of ColdFusion.

Question

Answer

Platform-specific installer name?

Serial number for ColdFusion?

Type of installation?

Server configuration_X_ JEE configuration

EAR or WAR file?

EAR WAR

Subcomponents to install?

ColdFusion ODBC Services ColdFusion Solr Services .NET Integration Services

Installation directory for ColdFusion and services?

Context root for ColdFusion (EAR file only, default=cfusion)?

ColdFusion Administrator password?

Enable Secure Profile

__Yes__No

Identify a list of IP addresses that will have access to the ColdFusion Administrator.

Configure OpenOffice

__Yes__No

Whether to enable RDS?

Yes No

Note: RDS allows the server to interact with remotely connected developers. Adobe recommends that you disable RDS for production servers.Disabling RDS also disables the directory browsing applets in the ColdFusion Administrator.

RDS password?

__

Automatically check for server updates?

Yes No

ColdFusion and JEE application servers

You can deploy ColdFusion in the JEE configuration by using a JEE application server, such IBM WebSphere. When you use the JEE configuration, you can use an existing JEE application server; the installation wizard creates a web application archive (WAR) or enterprise application archive (EAR) file, which you then deploy by using the tools provided by your application server.

Choosing EAR or WAR deployment

In the JEE environment, you deploy applications in one of the following formats:

  • Web application archive file Contains the ColdFusion application. A web application archive (also called a WAR) uses a directory structure that contains a WEB-INF/web.xml deployment descriptor, which defines the servlets and context parameters it uses. JEE application servers can deploy web applications in this directory structures as-is or in compressed WAR files that contain these directory structures. However, ColdFusion must run from an expanded directory structure:

WEB-INF
web.xml
CFIDE
cfdocs
CFIDE (rds.war)
WEB-INF
web.xml

The cfusion.war file contains the ColdFusion web application. The rds.war file is a web application that redirects RDS requests from /CFIDE to /context-root/CFIDE. It forwards requests to the ColdFusion Administrator when ColdFusion uses a context root other than a forward slash.

Enterprise application archive file Contains the ColdFusion and RDS redirector web applications. An enterprise application archive (also called an EAR) uses a directory structure that contains a META-INF/application.xml deployment descriptor, which defines the web applications that it contains. JEE application servers can deploy enterprise applications in these directory structures as-is or in compressed EAR files that contain these directory structures. However, ColdFusion must run from an expanded directory structure:

META-INF
application.xml
cfusion-war
WEB-INF
web.xml
CFIDE
cfdocs
rds.war
WEB-INF
web.xml

If your JEE application server supports enterprise applications, install and deploy the EAR file. For more information, see Installing an EAR file or WAR files section in this page.

Context root

Because the JEE environment supports multiple, isolated web applications running in a server instance, JEE web applications running in a server are each rooted at a unique base URL, called a context root (or context path). The JEE application server uses this initial portion of the URL (that is, the portion immediately following http://_hostname_) to determine which web application services an incoming request.

For example, if you are running ColdFusion with a context root of cf11, you display the ColdFusion Administrator using the URL http://localhost/_cf11_/CFIDE/administrator/index.cfm.

Most JEE application servers allow one application in each server instance to use a forward slash for the context root. Setting the context root to / for the ColdFusion application is especially useful when serving CFM pages from the web server, because it supports the functionality most similar to earlier ColdFusion versions. In addition, the RDS web application is not required if you use a context root of /.

When you deploy the ColdFusion EAR file, it uses the context root that you specified when you ran the installation wizard, which copied your specification to the context-root element of the META-INF/application.xml file. When you deploy ColdFusion as a WAR file, you use application-server-specific functionality to define the context root.

Multiple instances

When you use the JEE configuration, you can define multiple server instances on a single computer, each running ColdFusion. Running multiple instances of ColdFusion has the following advantages:

  • Application isolation You deploy an independent application to each server instance. Each server instance has separate settings, and because each server instance runs in its own instance of the JVM, problems encountered by one application have no effect on other applications.
  • Load balancing and failover You deploy the same application to each server instance and add the instances to a cluster. The web server connector optimizes performance and stability by automatically balancing load and by switching requests to another server instance when a server instance stops running.

Platforms

Full ColdFusion functionality is available for Windows, Macintosh, Linux, and Solaris, except that the following are Windows-specific: COM, .NET, and ODBC Services. AIX support is provided for WebSphere application server only. Functionality provided by platform-specific binary files. is not available on AIX. Additionally, you can install and deploy the all-Java ColdFusion JEE configuration on other platforms, although without the functionality provided by platform-specific binary files (C++ CFXs).

Preparing to install using the JEE configuration

Tomcat is embedded with a stand-alone ColdFusion installation. After installing ColdFusion in stand-alone mode, you can create multiple instances and clusters, provided you have an Enterprise or Developer license.

Note:

 This feature is not available in Standard Edition.

Installing an EAR file or WAR files

If your computer is already running a JEE application server, the installation wizard creates an EAR file or WAR files, which you deploy using application-server-specific tools. 

The ColdFusion JEE configuration must run from an expanded directory structure. Different JEE application servers have different functionality with regard to deployment and an expanded directory structure, as follows:

  • Deploy compressed archive to working directory. On some JEE application servers (such as IBM WebSphere), the deployment process expands the EAR/WAR file into a working directory and, from that point forward, the expanded directory is considered to be the application. For these application servers, you deploy the compressed EAR/WAR file and work in the resulting directory structure. For more information, see ColdFusion JEE deployment and configuration section in this page.
  • Deploy expanded archive as working directory On other application servers (such as Oracle WebLogic), the deployment process expands the EAR/WAR file into a temporary directory and (conceptually), the compressed EAR/WAR file is still considered to be the application. For these application servers, expand the EAR/WAR file manually, and then deploy the expanded directory structure, which becomes your working directory. For more information, see ColdFusion JEE deployment and configuration section in this page.

Installing an EAR file or WAR files in Windows

You can install the ColdFusion JEE configuration in Windows.

Note:

The Windows installer requires a computer that supports at least 256 colors.

  1. Ensure that your operating system meets the system requirements described on the Adobe website at www.adobe.com/go/learn_cfu_cfsysreqs_en.

  2. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.adobe.com/go/learn_cfu_releasenote_en.

  3. Review the Installation considerations for Windows and Installation considerations for all platforms sections in the Preparing to Install ColdFusion document.

  4. Determine and record environment information, as described in Preparing to install using the JEE configuration section of this document.

     

  5. Determine the answers to the questions in the above section Gathering information necessary to install the JEE configuration

  6. Close any applications that are currently running on your computer.

  7. Insert the DVD or download the setup file from the Adobe website.

  8. If the installation wizard does not start automatically when you insert the DVD, locate the appropriate installer on the DVD and double-click it. If you are installing from a network or a downloaded file, locate the ColdFusion installation executable file (ColdFusion_11_WWEJ_win32.exe (for 32-bit systems)/ColdFusion_11_WWEJ_win64.exe (for 64-bit systems)) and double-click it.

  9. Follow the instructions in the installation wizard, and let it run to completion.

     

  10. Deploy ColdFusion and configure Java settings, as required by your application server. For more information, see ColdFusion JEE deployment and configuration section of this document.

  11. Open the ColdFusion Administrator to run the Configuration wizard.

  12. To install any other integrated Adobe or third-party technologies, see Installing Integrated Technologies.

  13. Configure and manage your system, as described in Configuring your System.

  14. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

  15. Code ColdFusion CFM pages.

Store CFM pages under the web application root (either cfusion-ear\cfusion-war or cfusion-war) and access these pages using a URL of the form http://_hostname_:_portnumber_/_context-root_/_filename_.cfm, as follows:

  • hostname: The machine name, IP address, or localhost.
  • portnumber: The port number used by your application server's web server.
  • contextroot: The context root for the ColdFusion web application. For more information, see Context root section in this page.
  • filename: The directory path and file to display. The path is relative to the cfusion-war directory.

Installing an EAR file or WAR files in UNIX

You can install the ColdFusion JEE configuration in UNIX. If you are updating an existing deployment of ColdFusion for JEE, see Updating from an earlier version for JEE section of this document before you continue.

Install ColdFusion in UNIX (JEE configuration)

  1. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.adobe.com/go/learn_cfu_releasenote_en.

  2. Ensure that your operating system meets the system requirements described on the Adobe website at www.adobe.com/go/learn_cfu_cfsysreqs_en.

     

  3. Review the Installation considerations for UNIX and Installation considerations for all platforms sections in the Preparing to Install ColdFusion document.

  4. Determine and record environment information, as described in Preparing to install using the JEE configuration section of this document.

  5. Determine the answers to the questions in the section Gathering information necessary to install the JEE configuration section of this document.

  6. Log in as root.

  7. Copy the installation file that is appropriate for your platform and locale from the DVD or Adobe website, and save it to a directory on your local disk. 

    The following installation files are those for supported JEE configuration platforms:

    Platform

    File

    Linux

    • ColdFusion_11_WWEJ_linux32.bin (for 32-bit systems)
    • ColdFusion_11_WWEJ_linux64.bin (64-bit systems)

    Solaris

    ColdFusion_11_WWEJ_solaris64.bin

    UNIX (other than Solaris or Linux)

    ColdFusion_11_WWEJ_java.jar

     

  8. Using the cd command, go to the directory with the installation file.

  9. Start the installation with the following command:

    ./<filename> -i console

    The installation program starts. 

    To use the ColdFusion_11_WWEJ_java.jar file to install on a UNIX platform other than Solaris or Linux, enter the following command (for more information, see Installation considerations for UNIX in Preparing to Install ColdFusion page of this wiki ):

    java_home/bin/java -jar ColdFusion_11_WWEJ_java.jar -i console
    Note:

    To run the Linux installer in GUI mode, type ./<filename> -i gui.

  10. Follow the prompts, and let the installation program run to completion.

    Note:

    For security reasons, it is crucial that you do not use root for the run-time user. Instead, use a non-privileged user that does not have a login shell, such as the default user account nobody, which exists for this type of situation.

  11. Deploy ColdFusion and configure Java settings, as required by your application server. 

    For more information, see ColdFusion JEE deployment and configuration section of this page.

    Note:

    If you deployed the rds.war file, and an error message indicates that RDS is not installed or not enabled, edit the rds.properties file to match the ColdFusion context root, restart the application server, and re-open the ColdFusion Administrator.

  12. Open the ColdFusion Administrator to run the Configuration wizard.

  13. Configure and manage your system, as described in Configuring your System.

  14. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

     

  15. Code and test ColdFusion CFM pages.

    Store CFM pages under the web application root (either cfusion-ear/cfusion-war or cfusion-war) and access these pages using a URL of the form http://_hostname_:_portnumber_/_context-root_/_filename_.cfm, as follows:

    • hostname: The machine name, IP address, or localhost.
    • portnumber: The port number used by your application server's web server.
    • contextroot: The context root for the ColdFusion web application. For more information, see Context root section of this page.
    • filename: The directory path and file to display. The path is relative to the cfusion-war directory.

Installing an EAR file or WAR files in Mac OS X

You can install the ColdFusion JEE configuration for Mac OS X. If you are updating an existing, earlier deployment of ColdFusion for JEE, see Updating from an earlier version for JEE section in this page before you continue.

Install ColdFusion in Mac OS X (JEE configuration)

  1. Read the online version of the Release Notes for any late-breaking information or updates. For more information, see www.adobe.com/go/learn_cfu_releasenote_en.

  2. Ensure that your operating system meets the system requirements described on the Adobe website at www.adobe.com/go/learn_cfu_cfsysreqs_en.

  3. Review the Installation considerations for UNIX and Installation considerations for all platforms in the Preparing to Install ColdFusion document.

  4. Determine and record environment information, as described in Preparing to install using the JEE configuration section of this page.

  5. Determine the answers to the questions in the section Gathering information necessary to install the JEE configuration section of this page.

  6. Log in as root.

  7. Copy the installation file that is appropriate for your platform and locale from the DVD or Adobe website, and save it to a directory on your local disk. 

    The following installation files are those for supported JEE configuration platforms:

    • ColdFusion_11_WWEJ_osx11.dmg - To install in Mac OS X systems
  8. Start the installation by double-clicking the installation file on the desktop. The file ColdFusion Installer.app is installed in the same directory. Double click this APP file to start the installation in GUI mode.

  9. Follow the prompts, and let the installation program run to completion

    Note:

    For security reasons, it is crucial that you do not use root for the runtime user. Instead, use a nonprivileged user that does not have a login shell, such as the default user account nobody, which exists for this type of situation.

  10. Deploy ColdFusion and configure Java settings, as required by your application server. For more information, see ColdFusion JEE deployment and configuration section in this page.

    Note:

    If you deployed the rds.war file, and an error message indicates that RDS is not installed or not enabled, edit the rds.properties file to match the ColdFusion context root, restart the application server, and reopen the ColdFusion Administrator.

  11. Open the ColdFusion Administrator to run the Configuration wizard.

  12. Configure and manage your system, as described in Configuring your System.

  13. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

  14. Code and test ColdFusion CFM pages. 

    Store CFM pages under the web application root (either cfusion-ear/cfusion-war or cfusion-war) and access these pages using a URL of the form http://_hostname_:_portnumber_/_context-root_/_filename_.cfm, as follows:

    • hostname -The machine name, IP address, or localhost.
    • portnumber-The port number used by your application server's web server.
    • contextroot - The context root for the ColdFusion web application. For more information, see Context root section in this page.
    • filename - The directory path and file to display. The path is relative to the cfusion-war directory.

Updating from an earlier version for JEE

If you previously deployed the ColdFusion JEE configuration on your application server, you must also perform the following steps as part of the installation procedure:

  1. As appropriate for your application server, either stop the ColdFusion application and RDS application (if it is running), or stop the application server before you start the installation wizard.

  2. (Windows only) If you installed the SequelLink ODBC Agent, stop the ODBC services before you start the installation wizard.

  3. Copy application files to a backup directory.

  4. Save settings by copying the files cf_webapp_root/WEB-INF/cfusion/lib/neo-*.xml to a backup directory.

  5. Before you deploy ColdFusion,  undeploy  the previous ColdFusion application using your application-server-specific  undeploy  functionality.

  6. Deploy ColdFusion as described in Deploying ColdFusion on IBM WebSphereDeploying ColdFusion on Oracle WebLogic, or Deploying ColdFusion on JBoss Application Server sections of this page.

  7. Create a directory named cf_X_settings (in which X is the earlier version of ColdFusion) in the cf_webapp_root/WEB-INF/cfusion/lib directory.

  8. Copy the backed up settings files to the ColdFusion cfusion/lib/cf_X_settings directory.

  9. Edit the ColdFusion entry in cfusion/lib/ adminconfig .xml file by setting the value of the  runmigrationwizard  and the  migratecf X  (in which X is the earlier version of ColdFusion) switch to true.

  10. Restart the ColdFusion application.

  11. Browse to ColdFusion Administrator to run the migration wizard.

ColdFusion JEE deployment and configuration

The JEE specification allows application servers to handle compressed and expanded deployments in a server-dependent manner; each application server has its own deployment and configuration mechanism, as the following table shows:

Application server

Deployment mechanism

Expanded or compressed deployment

Apache Tomcat

Tomcat Deployment Manager

Expanded

IBM WebSphere

IBM WebSphere Administrative Console

Compressed

Oracle WebLogic

Weblogic Administration Console/Auto deploy to server domains

Expanded

JBOSS Application Server

Auto deploy to server root

Expanded

Oracle Weblogic Server

Oracle Weblogic Server Administration Console

Expanded

For basic deployment information, see your JEE application server documentation. ColdFusion deployment instructions differ for each JEE application server. For more information, see deployment instructions for the specific application server.

JEE directory structure

The following table describes the directories under the cf_webapp_root web application directory when you use the JEE configuration:

Directory

Description

cfdocs

Documentation for ColdFusion.

CFIDE

Files for the ColdFusion Administrator.

WEB-INF/cfclasses

Compiled ColdFusion templates in your ColdFusion applications.

WEB-INF/cfc-skeletons

Support for ColdFusion components that are exported as web services.

WEB-INF/cfform

Files that support Flash forms.

WEB-INF/cftags

Templates for ColdFusion.

WEB-ING/flex

Configuration and files for LiveCycle Data Services ES.

WEB-INF/gateway

Files that support event gateways.

WEB-INF/cfusion/bin

Executable files used by ColdFusion.

WEB-INF/cfusion/cfx

CFX tag include file and examples.

WEB-INF/cfusion/charting

Files for the ColdFusion graphing and charting engine.

WEB-INF/cfusion/Custom Tags

Repository for your custom tags.

WEB-INF/cfusion/db

Sample databases for all platforms. These databases are Apache Derby databases.

WEB-INF/cfusion/jintegra

JIntegra programs, libraries, and other supporting files (for example, to integrate Java and COM code; manage access to ActiveX controls (OCXs) that are hosted in a graphical user interface (GUI) container; and register the JVM and type libraries).

WEB-INF/cfusion/lib WEB-INF/lib andWEB-INF/cfusion/MonitoringServer

JAR, XML, property, and other files that are the foundation of ColdFusion, including functionality such as queries, charting, mail, security, Solr searches, and system probes.

WEB-INF/cfusion/logs

ColdFusion log files.

WEB-INF/cfusion/Mail

Files, including spool files, used by ColdFusion for mail.

WEB-INF/cfusion/registry

Used only in UNIX, by the cfregistry tag.

WEB-INF/cfusion/stubs

Compiled code for web services.

WEB-INF/cfusion/solr

Solr configuration and Jetty.

Deploying ColdFusion on IBM WebSphere

The following instructions tell you how to deploy ColdFusion on IBM WebSphere Application Server (AS) and Network Deployment (ND).

The following terms refer to WebSphere and ColdFusion directories:

  • websphere_root The directory in which IBM WebSphere Application Server is installed; for example, C:\Program Files\WebSphere in Windows, and /opt/WebSphere in UNIX.
  • cf_webapp_root The directory to which the ColdFusion web application is deployed; for example, C:\Program Files\WebSphere\AppServer\installedApps_<My_Host>\cfusion.ear\cfusion.war in Windows, and /opt/WebSphere/AppServer/installedApps/<_My_Host>/cfusion.ear/cfusion.war in UNIX.
  • java_home The root directory of your Java 2 software development kit (J2SDK); for example, C:\j2sdk1.6.0_29.

Expand the EAR file

  1. Open a console window, navigate to the directory that contains the EAR file, and make a new directory named cfusion-ear:

    md cfusion-ear (mkdir cfusion-ear on UNIX)
  2. Change to the cfusion-ear directory and expand the cfusion.ear file with the jarcommand:

    java_home/bin/jar -xvf ../cfusion.ear

    This expands the cfusion.ear file into cfusion.war and rds.war (rds.war is not included if you specified a context root of / when you ran the installation wizard).

  3. In cfusion-ear, make a new directory named cfusion-war.

    md cfusion-war (mkdir cfusion-war on UNIX)
  4. Change to the cfusion-war directory and expand the cfusion.war file with the jarcommand:

    java_root/bin/jar -xvf ../cfusion.war

    This expands the cfusion.war file.

  5. (If rds.war exists) Go up one level to cfusion-ear, make a new directory named rds-war.

    md rds-war (mkdir rds-war on UNIX)
  6. (If rds.war exists) Change to the rds-war directory and expand rds.war with the jarcommand:

    java_root/bin/jar -xvf ../rds.war

    This expands rds.war.

  7. Go up one level to the cfusion-ear file, and delete the cfusion.war and rds.war files:

    del cfusion.war (rm cfusion.war on UNIX)
    del rds.war (rm rds.war on UNIX)
  8. Open the cfusion-ear/META-INF/application.xml file in a text editor.

  9. Change the web-uri element from cfusion.war to cfusion-war (or the name of the directory that contains the expanded cfusion.war file). Change the web-uri element for rds.war to rds-war. A directory name in the web-uri element cannot contain a dot.

  10. Save the application.xml file. To use LiveCycle Data Services ES, you must be running WebSphere 5.1.1 Business Integration.

Note:

Add the following JVM flag -Djavax.xml.stream.XMLInputFactory=com.ctc.wstx.stax.WstxInputFactory.

For more information on how to configure JVM flag, visit https://www-01.ibm.com/support/docview.wss?uid=swg21417365

Deploy ColdFusion on WebSphere 7 or 8 (AS)

  1. Start the IBM WebSphere Application Server, if it is not running.

  2. Open the IBM WebSphere Administrative Console, if it is not running.

  3. Select Applications > Install New Application.

  4. When the Preparing for the Application Installation page appears, in the text box for the local file system, enter the path to the EAR file that you installed when you installed ColdFusion; for example, C:\ColdFusion11\cfusion.ear. If you are running the Administrative console from a browser that is not on the same system on which WebSphere is running, that is, not from localhost, use the Remote file system option, which enables directory browsing on the server file system.

  5. Leave the Context Root box empty and click Next.

  6. Accept the default values on the second Select Installation Options page, if appropriate for your WebSphere configuration, and then click Next. WebSphere might display an Application Security Warnings page with a message at the bottom of the page that starts with "ADMA0080W: A template policy file without any permission set is included in the 1.2.x enterprise application." You can ignore this warning.

  7. If you have multiple application servers, select the application server in which to install the ColdFusion application and RDS support, and then click Next.

  8. When the Map Virtual Hosts for Web Modules panel appears, select the virtual host or hosts in which to install the ColdFusion application and Remote Development Services (RDS) support, and then click Next.RDS must be on the same virtual host and port as ColdFusion.

  9. When the Summary panel appears, review the installation configuration, and then click Finish.

  10. When the Application Adobe ColdFusion Installed Successfully message appears on the Installing page, select Save To Master Configuration, and then select Save on the Save page to save your workspace. If you changed the application name from the default, the message uses your application name.

  11. Start the enterprise application named Adobe ColdFusion.

  12. Browse to the ColdFusion Administrator to run the Configuration Wizard.

    Note:

    Copy the version of tools.jar that the application server uses to thecfusion/lib directory.

Deploy ColdFusion on WebSphere 7 or 8 (ND)

  1. Start the IBM WebSphere Application Server, if it is not running.

  2. Open the IBM WebSphere Administrative Console, if it is not running.

  3. Select Applications > Install New Application.

  4. When the Preparing for the Application Installation page appears, in the text box for the local file system, enter the path to the EAR file that you installed when you installed ColdFusion; for example, C:\ColdFusion11\cfusion.ear. If you are running the Administrative console from a browser that is not on the same system on which WebSphere is running, that is, not from localhost, use the Remote file system option, which enables directory browsing on the server file system.

  5. Leave the Context Root box empty and click Next.

  6. Accept the default values on the second Select Installation Options page, if appropriate for your WebSphere configuration, and then click Next.WebSphere might display an Application Security Warnings page with a message at the bottom of the page that starts with "ADMA0080W: A template policy file without any permission set is included in the 1.2.x enterprise application." You can ignore this warning.

  7. Select the cluster on which to install the ColdFusion application and RDS support, and then click Next.

  8. When the Map Virtual Hosts for Web Modules panel appears, select the virtual host or hosts in which to install the ColdFusion application and Remote Development Services (RDS) support, and then click Next.RDS must be on the same virtual host and port as ColdFusion.

  9. When the Summary panel appears, review the installation configuration, and then click Finish.

  10. When the Application Adobe ColdFusion Installed Successfully message appears on the Installing page, select Save To Master Configuration, and then select Save on the Save page to save your workspace. If you changed the application name from the default, the message uses your application name.

  11. Start the enterprise application named Adobe ColdFusion.

  12. Browse to the ColdFusion Administrator to run the Configuration Wizard.

Note:

You must copy the version of tools.jar that the application server uses to the cfusion/lib directory.

On WebSphere ND, deploying multiple application server clones on a single computer is commonly referred to as vertical clustering. Vertical clustering leverages the computer's processing power to obtain a higher level of efficiency; however, if there is total computer failure, no application server instances are available. The applications deployed in a vertical cluster share the same file system. Deploying the multiple application servers on multiple computers is commonly referred as horizontal clustering; it provides the highest level of failover and scaling. The steps you perform to deploy ColdFusion in a clustered environment are the same, regardless of clustering method, because the WebSphere Network Deployment Manager manages the cluster.

Enable sandbox security

  1. Do the following to ensure that ColdFusion sandbox security secures Java access to files and network resources:

    1. On the WebSphere Administrative Console Security > Secure Administration panel, ensure that the Java 2 Security option is selected.
    2. Click Apply and then click Save.
  2. Add the following lines to the Standard Properties That Can Be Read By Anyone section of the JVM's security policy file, java.policy. (For example, this file can be located in C:\Program Files\WebSphere\AppServer\java\jre\lib\security\java.policy):

    permission java.security.AllPermission;
    };

Configure operating system-specific binary support in Windows

This process is required to support the following features that use binaries that are specific to your operating system:

  • CFX tags written in C++
  • Microsoft Access driver with Unicode support

    You do this by configuring the search paths to find the required binary files, which are located in the cf_webapp_root\WEB-INF\cfusion\lib directory.

Configure search paths

  1. Make a backup copy of the setupCmdLine.bat file, located in the websphere_root\AppServer\bin directory.

  2. Open the original file for editing and add the following on a single line before the line that starts with SET WAS_CLASSPATH:

    SET CF_APPS_PATH=cf_webapp_root\WEB-INF\cfusion\lib

    Replace cf_webapp_rootwith the path to your web application directory; for example, enter the following:

    SET CF_APPS_PATH=%WAS_HOME%\installedApps\%WAS_CELL%\ Adobe_ColdFusion_11.ear\cfusion.war\WEB-INF\cfusion\lib;%WAS_HOME%\installedApps\%WAS_CELL%\ Adobe_ColdFusion_11.ear\cfusion.war\WEB-INF\flex\jars
  3. Add the CF_APPS_PATH variable to the WAS_CLASSPATH by appending the following text to the path statement:

    ;%CF_APPS_PATH%

    The WAS_CLASSPATH line should look similar to the following:

    SET WAS_CLASSPATH=%WAS_HOME%/properties;%WAS_HOME%/lib/bootstrap.jar;
    %WAS_HOME%/lib/j2ee.jar;%WAS_HOME%/lib/lmproxy.jar;%WAS_HOME%/lib/
    urlprotocols.jar;%CF_APPS_PATH%
  4. Save the file.

  5. Add the full path to the cf_webapp_root\WEB-INF\cfusion\lib directory to the WAS_PATH variable in the setupCmdLine.bat file. The WAS_PATH line should look similar to the following:

    C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\java\bin;C:/Program Files/IBM/WebSphere MQ/WEMPS\bin;%CF_APPS_PATH%;
  6. Save the file.

Enable COM support for Windows

You enable Component Object Model (COM) support in Windows after installing ColdFusion so that you can use the cfreport tag with Crystal Reports. COM support is not required for the ColdFusion Report Builder or any reports that you create with the ColdFusion reporting feature.

  1. Make a backup copy of the setupCmdLine.bat file, which is located in the websphere_root\AppServer\bin directory.

  2. Open the original file and add the following on a single line:

    SET PATH=%PATH%;cf_webapp_root\WEB-INF\cfusion\jintegra\bin;cf_webapp_root\WEB-INF\cfusion\jintegra\bin\international

    Replace cf_webapp_rootwith the path to your web application root directory, for example:

    \cfusion.ear\cfusion.war\WEB-INF\cfusion\jintegra\
    bin;%WAS_HOME%\installedApps\%WAS_CELL%\Adobe_ColdFusion_11.ear
    \cfusion.war\WEB-INF\cfusion\jintegra\bin\international
  3. Save the file. In some cases, you might also have to do the following to register the Microsoft Type viewer:

  4. Open a console window and go to the cf_webapp_root\WEB-INF\cfusion\lib directory.

  5. Register TypeViewer.dll by issuing the following command:

    regsvr32 TypeViewer.dll

Configure operating system-specific binary support for Solaris and Linux

This process is required to support CFX tags written in C++ that use binaries that are specific to your operating system.

You must configure the search paths to find the required binary files, which are located in the cf_webapp_root/WEB-INF/cfusion/lib directory.

Configure search path

  1. Make a backup copy of the startServer.sh file, which is located in the websphere_root/AppServer/bin directory. The path specifications in these instructions assume that you deployed ColdFusion using the standard application name (Adobe ColdFusion) and did not rename the application.

  2. Open the original file, and in the PLATFORM case block, just above the LD_LIBRARY_PATH or LIBPATH line, add the following entry on a single, long line: 

    On Solaris:

    CFUSION_APPS_PATH=cf_webapp_root/WEB-INF/cfusion/lib

    Replace cf_webapp_rootwith the path to your web application root directory; for example:

    CF_APPS_PATH="$WAS_HOME"/installedApps/"$WAS_CELL"/
    Adobe_ColdFusion_11.ear/cfusion.war/WEB-INF/cfusion/lib

    On Linux:

    CF_APPS_PATH=cf_webapp_root/WEB-INF/cfusion/lib

    Replace cf_webapp_rootwith the path to your web application root directory; for example:

    CF_APPS_PATH="$WAS_HOME"/installedApps/"$WAS_CELL"/ Adobe_ColdFusion_11.ear/cfusion.war/WEB-INF/cfusion/lib
  3. Append the CF_APPS_PATH environment variable to the LD_LIBRARY_PATH entry. The resulting line should be similar to the following:

    LD_LIBRARY_PATH="$WAS_LIBPATH":$LD_LIBRARY_PATH:$CF_APPS_PATH

    On Linux:

    CF_APPS_PATH=cf_webapp_root/WEB-INF/cfusion/lib
  4. Save the file and restart your WebSphere Application Server.

Enable ColdFusion charting and graphing support for UNIX

  1. Open the WebSphere Administrative Console.

  2. In the left navigation bar, select Node_name > Servers > Application Servers.

  3. Select your JEE application server; for example, Server1.

  4. Under Java and Process Management, select Process Definition.

  5. On the Process Definition page, select Java Virtual Machine in the Additional Properties box.

  6. If you are running ColdFusion on a system without a monitor, do the following:

    1. In the Additional Properties box at the bottom of the page, select Custom Properties.
    2. On the Custom Properties page, select New and add a system property, completing the fields as follows:

    Value true
  7. Click OK.

    
    		
    	
    
    
    
    
    
    
  8. Save the master configuration file.

Disable RDS

If you disable RDS, the following ColdFusion features do not work:

  • The Browse Server button in the ColdFusion Administrator (for example, on the ColdFusion Mappings page)
  • The Query Builder and charting in the ColdFusion Report Builder

To disable RDS on UNIX,

  1. Stop ColdFusion.

  2. In the WebSphere Administrative Console, select the Applications > Enterprise Applications panel, select the Adobe ColdFusion application, and then click Stop.

  3. Do the following in both the cf_webapp_root\WEB-INF\web.xml and the websphere_root\AppServer\config\cells\NodeName\applications\cf_application_name.ear\ deployments\cf_application_name\cfusion.war\WEB-INF\web.xml files (or the equivalent paths in UNIX). For example, change the following files:

To disable RDS on Windows,

  1. Back up the ColdFusion web module web.xml file (available in either C:\Program Files\WebSphere\AppServer\installedApps_<MY_NODE>\cfusion.ear\cfusion.war\WEB-INF\web.xml or C:\Program Files\WebSphere\AppServer\config\cells_<MY_NODE>\applications\cfusion.ear\deployments\Adobe ColdFusion <version>\cfusion.war\ WEB-INF\web.xml).

  2. Open the original web.xml file for editing.

  3. Comment out the RDS Servlet definition, as follows:

    <!-- <servlet id="coldfusion_servlet_8789"> <servlet-name>RDSServlet</servlet-name> <display-name>RDS Servlet</display-name><servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class> <init-param id="InitParam_113401311165856789"><param-name>servlet.class</param-name> <param-value>coldfusion.rds.RdsFrontEndServlet</param-value></init-param> </servlet> -->

    The text in the servlet definition might vary.

  4. Comment out the RDS Servlet mapping, as the following example shows:

    <servlet-mapping id="coldfusioon_mapping_9">
    <servlet-name>RDSServlet</servlet-name>
    <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
    </servlet-mapping>
    -->

    The servlet-mapping id value might vary.

  5. Save the file.

  6. Restart the ColdFusion application.

  7. If your ColdFusion application context root is something other than /, disable or undeploythe RDS redirector web module by doing the following:

  8. In the WebSphere Administrative Console, select cell_name > Applications > Enterprise Applications.

  9. Stop the Adobe ColdFusion application if it is running.

  10. Select Adobe ColdFusion Application, select Manage Modules and then select the check box for ColdFusion RDS application, and then click Remove.

Enable web services

To enable web services, copy the tools.jar file from Java home that WebSphere uses to thecfusion/lib directory.

Apply application server configuration

To apply application server configuration, restart the application server.

Configure ColdFusion

Ensure that the following settings and practices are in place before using WebSphere Application Server ND:

  • Event Gateway Ensure that the startup mode of the Socket gateway instances is set to manual. In particular, do not set it to Automatic when using a vertical cluster. Select one of the instances in the vertical cluster and start the Socket gateway on that instance manually.
  • Session ReplicationEither avoid ColdFusion-specific data types or serialize them to WDDX and store them in session scope as strings. 

    ColdFusion Administrator:
    • In a vertical cluster environment, avoid concurrent changes to the same service.
    • In a horizontal cluster environment, each server has its own ColdFusion Administrator. You must make changes once per server.
    • In a vertical cluster environment, the ColdFusion Administrator scheduled tasks are scheduled on all servers.
  • Solr Server Only one Solr Search Server can run on each server computer.
  • Compilation Use precompiled classes and ensure that the Trusted Cache setting is enabled.

Deploying ColdFusion (2016 release) on WebLogic 12.2.1.0.0

The following instructions tell you how to deploy ColdFusion (2016 release) on Oracle WebLogic 12.2.1. You can deploy ColdFusion on WebLogic using either an expanded EAR file or WAR files. 

The following terms refer to ColdFusion directories:

  • cfusion_install_directory The directory that contains the files extracted by the ColdFusion install, for example, C:\cf2016 or /opt/cf2016.
  • wl_root The directory that contains WebLogic, for example, C:\Oracle.
  • wldomain_root The directory that contains the WebLogic domain into which you deployed ColdFusion.
  • cf_webapp_root The directory into which you deployed the ColdFusion web application, for example, C:\Oracle\user_projects\cfdomain\applications\cfusion-war.
  • java_home The root directory of your Java 2 software development kit (J2SDK); for example, C:\jdk1.6.0.
  1. Extract the cfusion.war in a folder, for example, cfusion .

  2. Comment the default permissions granted to all domain and provide full permission to [Oracle_Home]\wlserver\server\lib\weblogic.policy file.

  3. Edit startWeblogic.cmd and replace set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS%   with set SAVE_JAVA_OPTIONS=%JAVA_OPTIONS% -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl

  4. Start WebLogic from command prompt using [Oracle_Home]\user_projects\domains\base_domain\bin\startWeblogic.cmd.

  5. Deploy the cfusion directory either through WLAdminConsole/deployments/install or by placing it in autodeploy folder of domain created. The exploded war gets deployed and is seen in the WLAdminConsole as well.

Install ColdFusion on WebLogic

  1. Run the ColdFusion installation wizard, choosing the JEE configuration. The installation wizard places the WAR files in the install directory.

  2. Determine the WebLogic domain in which to deploy ColdFusion. Optionally, create a domain.

  3. Because ColdFusion must run from an expanded directory structure, expand the  cfusion .war and rds .war files manually, and expand the web applications by doing the following:

    1. Open a console window, navigate to the directory that contains the WAR files, and create a directory for the ColdFusion WAR file (named whatever you want the context root to be) and the RDS WAR file (named CFIDE):

    md cfusion (Windows, mkdir cfusion on UNIX)
    md CFIDE (Windows, mkdir CFIDE on UNIX)

    b. Change to the cfusion directory and expand the cfusion.war file with the jar command:

    java_home/bin/jar -xvf ../cfusion.war

    c. Go up one level to the install directory:

    cd ..

    Go to the CFIDE directory and expand the rds.war file with the jar command:

    java_home/bin/jar -xvf ../rds.war
  4. Open the weblogic.policy file. On WebLogic 11g, the file is located in the WebLogic_HOME/wlserver_11.0/server/lib/ directory. In a text editor, comment out the restrictive permissions, and add permission java.security.AllPermission; to the default permissions section, as the following example shows:

    // default permissions granted to all domains
    grant {
    permission java.security.AllPermission;
    /*
    
    permission java.util.PropertyPermission "java.version", "read";
    permission java.util.PropertyPermission "java.vendor", "read";
    ...
    permission java.util.PropertyPermission "java.vm.name", "read";
    */
    };
    ...
  5. Deploy the cfusion and CFIDE directory structures using your site-specific WebLogic deployment method.

  6. Ensure that the following jars are in the startup script's classpath.

    WEB-INF/cfusion/lib/jintegra.jar
    WEB-INF/flex/jars/cfgatewayadapter.jar
    WEB-INF/flex/jars/concurrent.jar
  7. Review the console messages and server log to ensure that ColdFusion deployed successfully.

  8. Start the ColdFusion Administrator, which runs the Configuration wizard.

  9. To install any other integrated Adobe or third-party technologies, see Installing Integrated Technologies.

  10. Configure and manage your system, as described in Configuring your System.

  11. To learn about ColdFusion, read the documentation, which is accessible through the Documentation link on the Resources page of the ColdFusion Administrator.

    Note:

    You must copy the version of tools.jar that the application server uses to the cfusion/lib directory.

Configure operating system-specific binary support in Windows

  1. Locate the startup script for the WebLogic domain, which is typically the startWebLogic cmd file, which is located in the wldomain_root\bin directory.

  2. Make a backup copy of this file.

  3. Open the startup script.

  4. Establish the following basic variables at the beginning of the script:

    • CF_WEB_INF
    • CF_SHARED_LIB

      For example:

    SET CF_SHARED_LIB=%CF_WEB_INF%\cfusion\lib
  5. Save the startup script and restart the WebLogic Server.

Enable COM support for Windows

  1. Open the startup script for the WebLogic domain, which is typically the startWebLogic cmd file, which is located in the wldomain_root\bin directory.

  2. Establish the following variables:

    • JINTEGRA_PATH
    • PRE_CLASSPATH
    • PRE_PATH

      For example:

    SET PRE_CLASSPATH=%CF_SHARED_LIB%\jintegra.jar
    SET PRE_PATH=%CF_SHARED_LIB%;%JINTEGRA_PATH%

Configure operating system-specific binary support in UNIX

  1. Locate the startup script for the WebLogic domain, which is typically the startWebLogic.sh file, which is located in the wldomain_root\bin directory.

  2. Make a backup copy of this file.

  3. Open the startup script.

  4. Establish the following basic variables at the beginning of the script:

    • CF_WEB_INF
    • CF_SHARED_LIB

      For example:

    CF_WEB_INF=cf_webapp_root/WEB-INF
    CF_SHARED_LIB=${CF_WEB_INF}/cfusion/lib
  5. Save the startup script and restart the WebLogic Server.

Enable ColdFusion security in Windows

  1. Open the startup script for the WebLogic domain, which is typically the startWebLogic cmd file, which is located in the wldomain_root\bin directory.

  2. Establish or append to the following variable:

    • CF_SECURITY_JVM_OPTIONS
    • MEM_ARGS

      If you are not using JRockit, append -Xms32m -Xmx512m -Xss64k -XX:MaxPermSize=128m to the existing MEM_ARGS line of the startup script. 

      If you are using JRockit, append -Xms32m -Xmx512m -Xss64k to the existing MEM_ARGS line of the startup script.

    • JAVA_OPTIONS Append the CF_SECURITY_JVM_OPTIONS variable to the existing JAVA_OPTIONS line of the startup script)

      For example:

     

    SET CF_SECURITY_JVM_OPTIONS="-Djava.security.manager"
    @rem You must append %CF_SECURITY_JVM_OPTIONS% to the existing
    JAVA_OPTIONS value.
    set JAVA_OPTIONS=-Dweblogic.security.SSL.trustedCAKeyStore=C:\WebLogic_HOME\server\lib\
    cacerts %CF_SECURITY_JVM_OPTIONS% %CF_COM_JVM_OPTIONS%
    @rem You must append the following to the existing MEM_ARGS value.
    @rem -Xms32m -Xmx512m -Xss64k -XX:MaxPermSize=128m
  3. Save the startup script and restart the WebLogic Server.

Enable ColdFusion security and graphing support in UNIX

  1. Open the startup script for the WebLogic domain, which is typically the startWebLogic.sh file, which is located in the wldomain_root\bin directory.

  2. Establish or append to the following variables:

    • CF_SECURITY_JVM_OPTIONS
    • CF_GRAPHING_JVM_OPTIONS
    • MEM_ARGS

      If you are not using JRockit, append -Xms32m -Xmx512m -Xss64k -XX:MaxPermSize=128m to the existing MEM_ARGS line of the startup script. 

      If you are using JRockit, append -Xms32m -Xmx512m -Xss64k to the existing MEM_ARGS line of the startup script.
       
    • JAVA_OPTIONS Append the CF_SECURITY_JVM_OPTIONS variable to the existing JAVA_OPTIONS line of the startup script)

      For example:

    CF_SECURITY_JVM_OPTIONS="-Djava.security.manager"
    CF_GRAPHING_JVM_OPTIONS="-Djava.awt.headless=true"
    # You must append ${CF_SECURITY_JVM_OPTIONS} and ${CF_GRAPHING_JVM_OPTIONS}
    # to the existing JAVA_OPTIONS value.
    # JAVA_OPTIONS="default java options ${CF_SECURITY_JVM_OPTIONS} ${CF_GRAPHING_JVM_OPTIONS}"
    # You must append the following to the MEM_ARGS variable coded
    # in the server startup file:
    # "-Xmx512m -XX:MaxPermSize=128m"
  3. Save the startup script and restart the WebLogic Server.

Azure Blob storage on Weblogic

In ColdFusion (2021 release), Azure Blob storage does not work as expected on WebLogic 14.1.1.0.0, which returns a Null Pointer Exception.

As a work-around, perform the steps below, in the file startWeblogic.cmd, and add the following JVM flag:

set JAVA_OPTIONS=-Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -DUseSunHttpHandler=true %JAVA_OPTIONS%

Deploying ColdFusion on Oracle Application Server 11g

The following instructions assume that you installed the JEE configuration of ColdFusion and that the EAR file to deploy is under C:\ColdFusion_Jee\cfusion.ear.
Before you deploy ColdFusion on Oracle 11g, ensure that the following is true:

  • Oracle Application Server 11g is installed and running.
  • You set up an OC4J JEE container for the ColdFusion installation. Adobe recommends that you create an OC4J instance for ColdFusion to avoid potential classpath issues with other applications.
  • (Recommended, but not required) You created an OC4J instance. To do so, connect to the Oracle Application Server using Enterprise Manager and create an OC4J instance. By default the HTTP URL is http://machineName:1811. If 1811 is unavailable, the next available port in sequential order is used.
  • You increased the heap size to at least 256 MB (although 512 MB is preferred). To do so, select the OC4J instance in Enterprise Manager, and select Administration / Server Properties. Under the Command Line Options category, add -Xmx256M to the Java Options, and then restart the OC4J instance.

Deploy ColdFusion on Oracle 11g

  1. Ensure that the application server and the OC4J instance are running.

  2. Open a Windows command prompt and go to the oracle_root/dcm/bin directory.

  3. Deploy the ColdFusion application by using the command-line tool dcmctl.bat , as follows:

    Dcmctl deployapplication -application cf_app -file c:\ColdFusion_Jee\cfusion.ear -component oc4j_instance
  4. Edit the oracle_root/j2ee/oc4j_instance/config/java2.policy file by adding the following to the end of the file:

    grant { permission java.security.AllPermission; };
  5. Start the ColdFusion Administrator, which runs the Configuration and Settings Migration wizard.

    Note:

    To enable Livecycle Data Services ES on Oracle AS, specify the following JVM argument in the ColdFusion Administrator: -Doc4j.jmx.security.proxy.off=true

    You must perform some configuration steps to enable support for CFX tags written in C++, which binary files that are specific to your operating system.

Configure operating system-specific binary support for Windows

  1. Connect to Oracle AS 11g using Enterprise Manager.

  2. Go to oc4j_instance/Administration/Server Properties.

  3. Under the Environment Variables category, select Add Environment Variable.

  4. Enter PATH as the name.

  5. Enter $ORACLE_HOME\j2ee\ oc4j_instance\applications\ cf_app\cfusion\WEB-INF\cfusion\lib; as the value.

  6. Ensure that the Append option is selected.

  7. Select Apply.

  8. When the Enterprise Manager prompts you to restart, select the restart option.

Configure operating system-specific binary support for Solaris and Linux

  1. Connect to Oracle AS 11g using Enterprise Manager.

  2. Go to oc4j_instance/Administration/Server Properties.

  3. Under the Environment Variables category, select Add Environment Variable.

  4. Enter LD_LIBRARY_PATH as the name.

  5. Enter $ORACLE_HOME/j2ee/oc4j_instance /applications/cf_app /cfusion/WEB-INF/cfusion/lib; as the value.

  6. Ensure that the Append option is selected.

  7. Select Apply.

  8. When the Enterprise Manager prompts you to restart, select the restart option.You must enable Component Object Model (COM) support in Windows after installing ColdFusion to use the cfreport tag with Crystal Reports. It is not required for the ColdFusion Report Builder or any reports that you create with the ColdFusion reporting feature.

Enable COM support

  1. In Oracle AS 11g Enterprise Manager, go to oc4j_instance /Administration/Server Properties.

  2. In the Environment Variables category, ensure that the entry PATH exists. If not, follow the instructions to enabling features with operating system-specific binaries.

  3. Add {{$ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app\cfusion\WEB-INF\cfusion\jintegra\bin; $ORACLE_HOME\j2ee\oc4j_instance\applications\cf_app \cfusion\WEB-INF\cfusion\jintegra\bin\international }}as the value.

  4. Ensure that the Append option is enabled.

     

  5. Select Apply.

  6. When the Enterprise Manager prompts you to restart, select the restart option.

  7. In some cases, you might also have to do the following to register the Microsoft Type viewer:

    1. Open a console window and go to cf_webapp_root\WEB-INF\cfusion\lib.
    2. Register TypeViewer.dll by issuing the following command:

    regsvr32 TypeViewer.dll

    The following steps configure your application server to useColdFusion charting and graphing on AIX, Linux, and Solaris systems. This step is not required to enable charting and graphing in Windows.

Enable charting and graphing

  1. In Oracle AS 11g Enterprise Manager, go to oc4j_instance/Administration/Server Properties.

  2. If the following entry does not exist in the Java Option under the Command Line Options category, add it:

    -Djava.awt.headless=true
  3. Select Apply.

  4. When the Enterprise Manager prompts you to restart, select the restart option.

Disable the RDS web module

If you installed ColdFusion at a context root other than /, use the following procedure to disable the RDS redirector web module without  undeploying  it.

If you disable (or  undeploy ) the RDS redirector and do not disable the RDS servlet, RDS services are still available using the ColdFusion application context root, but tools that use RDS and require a context root of /, such as Dreamweaver and earlier versions of HomeSite, do not work.

  1. In the Oracle AS 11g Enterprise Manager, select oc4j_instance /Applications.

  2. Select Adobe ColdFusion application and select Edit.

  3. In the Administration category, select Advanced Properties.

  4. In the Configuration Files category, select orion-application.xml.

  5. Comment out the RDS web module as the following example shows:

    <web-module id="rds" path="rds.war" />
    -->
  6. Apply the changes.

  7. Restart the OC4J instance.You can enable the RDS web module by repeating this procedure and selecting the Enabled option.

Deploying ColdFusion on JBoss Application Server

ColdFusion supports JBoss with the following specifications:

  • JBoss 5.1,6.x,7.0, 7.1
  • JRE 1.5 or 1.6

ColdFusion has not been tested using JBoss under the following conditions:

  1. JBoss using a servlet container other than Tomcat
  2. Deploying ColdFusion to a JBoss cluster

Note:

If you are already using an application with context root of /, use a context root other than / for the cfusion-ear file. If you specified / when you installed ColdFusion, you can change it by opening the cfusion-ear/META-INF/application.xml file in a text editor and modifying the context-root element. After you deploy the cfusion-ear file, you access ColdFusion pages by specifying http://hostname:portnumber/contextroot/pagename.cfm.

If you are updating an existing deployment of ColdFusion, undeploy it for JEE before you deploy ColdFusion 11.

When you deploy ColdFusion on an existing version of JBoss, expand the EAR file or WAR files manually before deployment.

This document uses the following conventions:

  • JBOSS_HOME Directory where JBoss is installed, for example, C:\jboss-as-7.1.1.Final in Windows or /usr/local/jboss-as-7.1.1.Final on UNIX
  • JBOSS_DEPLOY_DIR Application deployment directory in JBoss, for example, C:\jboss-as-7.1.1.Final\standalone\deployments in Windows
  • CF_WEBAPP_ROOT Directory where ColdFusion is deployed, for example: C:\jboss-as-7.1.1.Final\standalone\deployments\cfusion.ear\cfusion.war
  • TEMP_LOCATION Temporary location where you extract the cfusion.ear file.

Deploy ColdFusion on JBoss

  1. Set JAVA_HOME to the appropriate JDK.

  2. Install ColdFusion by using the JEE deployment option and selecting to create an EAR file (the default). The installation program creates the cfusion.ear file in the install directory.

  3. Extract the cfusion.ear file into a TEMP_LOCATION\cfusion.ear folder. This step creates cfusion.war and rds.war files and a META-INF folder in the cfusion.ear folder.

     

  4. In the cfusion.ear folder, extract the cfusion.war and rds.war files into folders named cfusion andrds, respectively.

     

  5. Delete the compressed cfusion.war and rds.war files.

  6. Rename the cfusion and rds folders to cfusion.war and rds.war, respectively.

  7. Stop JBoss if it is running.

  8. Copy or move the {{TEMP_LOCATION\cfusion.ear }}folder into the {{JBOSS_DEPLOY_DIR }}folder. For JBoss 7, place the exploded ear in the {{JBOSS_HOME/standalone/deployments }}directory and create an empty file cfusion.ear.dodeploy (if your EAR directory name is cfusion.ear.) The resulting directory structure will appear as follows:

    server
    default
    deploy
    cfusion.ear
    cfusion.war
    META-INF
    rds.war
    JBoss 7.x
    standalone
    deployments
    cfusion.ear
    cfusion.war
    META-INF
    rds.war
    cfusion.ear.dodeploy
  9. (Windows)Edit the JBOSS_HOME\bin\run.bat file for JBoss 5.1 and 6.x and JBOSS_HOME\standalone.bat for JBoss 7.x by doing the following:

    1. If not present, add the JVM (-Xmx512m) parameter to JAVA_OPTS.
    2. Ensure that the permanent generation heap size is set by adding -XX:MaxPermSize=128m to JAVA_OPTS.Without this parameter, the JVM can generate a java.lang.OutOfMemoryError error.
    3. Ensure that the jars available in WEB-INF/flex/jars are in the classpath.
    4. Save the run.bat file.
    5. Start the server by running the JBOSS_HOME\bin\run.bat file.

    Note:

    If you use Apache Derby database, add the following in run.bat: JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver. This is to ensure that Apache Derby do not start a JMX management server that might conflict with JBoss.

  10. (Linux) Edit the JBOSS_HOME/bin/run.conf file by doing the following:

    1. In JAVA_OPTS, change -Xmx128m. to -Xmx512m.
    2. Add -XX:MaxPermSize=128m to JAVA_OPTS.
    3. Save the run.conf file.
    4. Start the server by running the JBOSS_HOME/bin/run.sh file. To enable features with operating system-specific binaries, configure ColdFusion. This step is required to support the following features that use binaries that are specific to your operating system:

     

    • CFX tags written in C++
    • Microsoft Access driver with Unicode support (Windows only)

      Use the following procedure for your operating system to configure the search paths to find the required binary files. These files are located in the CF_WEBAPP_ROOT\WEB-INF\cfusion\lib directory.

    Note:

    If you use Apache Derby database, add the following in run.bat: JAVA_OPTS="$JAVA_OPTS -Djboss.platform.mbeanserver". This is to ensure that Apache Derby do not start a JMX management server that might conflict with JBoss.

    Note:

    If cfusion.ear is not deployed before JBoss times out for deployment, you can change the deployment timeout of JBoss in JBOSS_HOME\standalone\configuration\standalone.xml file.{{<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.0"> <deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" deployment-timeout="120",/> </subsystem>}}

    Note:

    After CF is deployed in JBoss 7.x, web services will not function. To resolve this, add <path name="javax/annotation/processing"/> in JBOSS_HOME\modules\sun\jdk\main\module.xml file. For more 

    Note:

    If
    you are running ColdFusion on MAC, documents and PDF functionality may
    fail with {{ClassNotFound for com.aqua.LookAndFeel }}error.
    To resolve this, add the following entry to JBOSS_HOME\modules\sun\jdk\main{color}module.xml file:<path name="com/apple/laf"/>

    Note:

    In JBOSS 7.x, if OpenOffice is not functioning, start JBoss with the following flag:

    Djava.ext.dirs=JBOSS_DEPLOY_DIR/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/oosdk/;<java-home>/lib/ext/

    Use ':' for Unix based machines and ';' for ColdFusion running on Windows.

    Also open the module.xml file in JBOSS_HOME\modules\sun\jdk\main\ and add the following line:

    <path name="com/sun/star/lib/loader"/>

Deploying ColdFusion 11 on JBoss Enterprise Application Platform (EAP)

ColdFusion 11 supports EAP 6.4.

Note: ColdFusion (2016 release) does not support EAP 6.4.

If JBoss is running on JDK 1.8, copy the tools.jar manually from {JDK_Home}/lib to {eap_web_root}/WEB-INF//cfusion/lib/.

You can deploy JBoss in two ways:

1.       Standalone

2.       Domain

There are multiple ways to install a ColdFusion war file in JBoss:

·        From the management console

·        From CLI

·        Manually using the deployment scanner

The example below demonstrates two ways of deploying the war file in a standalone mode:

1.       From the Management Console

2.       Manually using the deployment scanner

To deploy the war from the Management Console:

  1. Select the Deployments tab in the console.

    Note: The deployment method for applications differ according to whether you are deploying to a standalone server instance or in a managed domain.

  2.  To add the ColdFusion archive, click Add.

  3. On the Create Deployment dialog box, browse to the file you want to deploy, select it, and upload it.

  4.  Edit or verify the deployment name and choose if you want to enable the archive after deployment.

  5. Open the browser and enter http://localhost:8080/cfusion/CFIDE/administrator/index.cfm. This opens the ColdFusion administrator on EAP. The default context root is cfusion.

To manually deploy the war file:

  1. Copy the cfusion.war file into a temp folder and unzip it.

  2.   Delete the compressed cfusion.war files.

  3. Rename the temp folder to cfusion.war.

  4. The resulting directory structure will appear as follows:

    a.      CFIDE

    b.      META-INF

    c.       WEB-INF

    d.      Config.ini

    e.      Crossdomain.xml

  5.  Place the cfusion.war folder in {EAP_Install_location}/standalone/deployments.

  6.  Copy or move the {{TEMP_LOCATION\cfusion.war }} folder into the {{JBOSS_DEPLOY_DIR }}folder. Place the exploded war in the {{JBOSS_HOME/standalone/deployments}} directory and create an empty file cfusion.war.dodeploy. A marker file is created in the deployment folder to indicate the successful deployment, and the application is flagged as Enabled in the Management Console. You can see that the archive starts to deploy and when the deployment ends, the name of the text file changes to {name_of_war}.war.deployed.

  7. Start JBoss EAP server.

  8. Enter http://localhost:8080/cfusion/CFIDE/administrator/index.cfm in your browser to launch the ColdFusion administrator.  The default context root is cfusion.

  9.   To view the deployment folders, click System Information and navigate to the Java class path section.

Exploded deployment of ColdFusion in a managed JBoss EAP domain

  1. Decompress the cfusion.war file after changing the extension from .war to .zip. Place the contents in a folder called cfusion.war. This cfusion war folder can reside anywhere in the local file system.

  2. To point the Domain Controller server instance to the exploded file, use any of the following three ways:

    1. Log in to the EAP management console of the Domain Controller at : http://<EAP-DC-IP>:9990/console/App.html#domain-deployments
      1. Navigate to the Deployments tab, and click Add.  Switch to the Unmanaged tab in theCreate Deployment window that pops up.
      2. Specify the path to the exploded cfusion.war directory.
      3. Leave the Relative To field blank.
      4. Clear the Is Archive check-box.
      5. Enter cfusion.war in the Name and Runtime Name fields.
    • Run the following command in the Domain Controller Management CLI:
    • /deployment=cfusion.war:add(runtime-name="cfusion.war", content=[{"path"=>"<absolute-path-to-cf-war>\\cfusion.war","archive"=>false}])

    • Add the following configuration element to the <deployments> XML element in the domain.xml file of the Domain Controller:
    • <deployments>

          <deployment name="cfusion.war" runtime-name="cfusion.war">

              <fs-exploded path="<absolute-path-to-exploded-app-war-dir>/cfusion.war"/>

          </deployment>

      </deployments>

    Make the exploded cfusion.war file available to all the managed server instances at the same path specified for the Domain Controller above. Create the same folder structure and copy the cfusion.war dir to the local file system of all the server instances.

    1. Deploy the WAR file by running the following command in the Domain Controller Management CLI:
    2. deploy --name=cfusion.war --all-server-groups

    Once the deployment is completed, you can access the ColdFusion application on the various EAP server instances at port offset mentioned in the “Domain > Topology” section in the EAP management console.

    Access the ColdFusion administrator console at:

    <server-instance-IP>:<8080+offset>/cfusion/CFIDE/administrator

    By default, the application context (“cfusion” here) is the name of the deployed WAR file. A successful deployment does not produce any output to the CLI. You can monitor the Domain Controller / Host Controller console to see the deployment process. A successful deployment should start the ColdFusion application.

    If you are using ColdFusion-based web-services, copy the version of tools.jar  that the application server uses to the cfusion/lib directory at <cfusion-war>\WEB-INF\cfusion\lib.

Configure operating system-specific binary support for Windows

  1. Ensure that JBoss Server is stopped.

  2. Edit JBOSS_HOME\bin\run.bat by adding the following:

    set PATH=%PATH%;%CF_LIB_PATH%
  3. Edit the run.bat file that is located in the JBOSS_DEPLOY_DIR by doing the following:

    1. Locate the following text:

    rem -----------------------------------------------
    rem JBoss Bootstrap Script for Win32
    rem -----------------------------------------------
  4. Below this text, insert three lines and paste.

    set PATH=%PATH%;%CF_LIB_PATH%
    
    
  5. Save the file and start the server.

    Note:

    You must copy the version of tools.jar that the application server uses to the cfusion/lib directory.

Configure operating system-specific binary support for Linux

  1. Ensure that JBoss Server is stopped.

  2. Edit JBOSS_HOME/bin/run.sh by adding the following:

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:CF_WEBAPP_ROOT/WEB-INF/cfusion/lib

Enable COM support (Windows only)

  1. Ensure that JBoss Server is stopped.

  2. Edit JBOSS_HOME\bin\run.bat by adding the following:

    set CF_LIB_PATH=%CF_LIB_PATH%;CF_WEBAPP_ROOT\WEB-INF\cfusion\jintegra\bin;CF_WEBAPP_ROOT\WEB-INF\cfusion\jintegra\bin\international
  3. Save the file and start ColdFusion.

Enable communication with Flex

When ColdFusion is configured to use RMI for LiveCycle Data Services ES, ColdFusion listens on port 1199 by default. However JBoss typically starts listening on this port before ColdFusion does; as a result, an exception is thrown. To configure ColdFusion to use a different RMI port, on the Java and JVM page of the ColdFusion Administrator, specify the following in the JVM arguments text area:

-Dcoldfusion.rmiport=nnnn 

Replace nnn with the value of an unused port. If you try to connect from a LiveCycle Data Services ES server that is running in another JVM server to ColdFusion over RMI, the Flex server must start with the same JVM argument.

Disable RDS

  1. Stop ColdFusion.

  2. Edit JBOSS_DEPLOY_DIR\cfusion.ear\cfusion.war\WEB-INF\web.xml by commenting out the following:

    <servlet-name>RDSServlet</servlet-name>
    <display-name>RDS Servlet</display-name>
    <servlet-class>coldfusion.bootstrap.BootstrapServlet</servlet-class>
    <init-param id="InitParam_113401311165856789">
    <param-name>servlet.class</param-name>
    <param-value>coldfusion.rds.RdsFrontEndServlet</param-value>
    </init-param>
    </servlet> -->
    <!-- <servlet-mapping id="macromedia_mapping_9">
    <servlet-name>RDSServlet</servlet-name>
    <url-pattern>/CFIDE/main/ide.cfm</url-pattern>
    </servlet-mapping> -->

Prevent security-based errors

If you notice security-based errors when JBOSS is starting (errors that mention Java and security), edit the run.bat file as follows:

  1. Go to the line that contains the -Xmx512m parameter.

  2. Change the text: -Dprogram.name=%PROGNAME% to be -Dcoldfusion.disablejsafe=true %JAVA_OPTS%. 

These security errors occur because some versions of JBOSS cannot handle additional encryption software that ColdFusion uses for higher security standards. Some features, such as EJB3, require JDK 1.5.

Deploying ColdFusion on Tomcat server

ColdFusion comes with an  in-built  modified version of Tomcat server. You can also deploy ColdFusion as WAR file on a standard Tomcat server similar to any other JEE server deployment. 

  1. Create a WAR file of ColdFusion application. See deploying section for more information. 

  2. Open the Tomcat admin console (http://hostname:portnumber) 

  3. Click the Manager app at the right side menu options. Alternatively, you canuse: http://hostname:portnumber/manager/html. 

    1. Tomcat Web Application Manager appears. You can see a list of applications already deployed in Tomcat server at the top followed by the WAR file deploy option. 
  4. Click Choose File to browse through your system and choose the WAR file. 

  5. Click Deploy.

After successful  deployment  you would receive a message on top of the page. The deployed ColdFusion application appears in the list of applications. You can start, stop,  undeploy , and reload the application using the GUI options. 

Access the ColdFusion application by using the application name that you provided while creating the WAR file. (http://hostname:portnumber/applicationname)

Undeploying ColdFusion

To undeploy ColdFusion in the JEE configuration, you use application-server specific undeploy tools and methods.

Undeploy ColdFusion in the JEE configuration

  1. Remove all ColdFusion specifications from the java.args and java.library.path JVM arguments used by your application server.

  2. (Windows only) If you installed ODBC support, remove the ODBC Windows services by navigating to the cf_webapp_root\WEB_INF\cfusion\db\SequeLink Setup directory and executing the RemoveSequeLink.bat file.

  3. If necessary, copy and save CFM pages from the ColdFusion web application root.

  4. Undeploy the ColdFusion web application using application-server-specific undeployfunctionality.

    On WebLogic, open the WebLogic Administrator., open the WebLogic Administration Console (http://hostname:portnumber/console) and go to domainname > Deployments > Applications. Click the trash can to the right of the ColdFusion application, and then click Yes. Open the startup script for the WebLogic domain and remove ColdFusion-specific entries, as follows:

    CF_SHARED_LIB_DIR (also remove CF_SHARED_LIB_DIR from PRE_PATH)
    LD_LIBRARY_PATH (UNIX only, remove ${CF_SHARED_LIBS})
    (Windows only) JINTEGRA_PATH (also remove JINTEGRA_PATH from PRE_PATH)
    (Windows only) Remove jintegra.jar from PRE_CLASSPATH
    CF_SECURITY_JVM_OPTIONS
    CF_GRAPHING_JVM_OPTIONS
    Remove ColdFusion arguments from MEM_ARGS
    Remove CF_SECURITY_JVM_OPTIONS and CF_GRAPHING_JVM_OPTIONS from JAVA_OPTIONS
  5. If necessary, restart the application server.

ColdFusion and API Manager

For ColdFusion installation in JEE and API manager in the same machine, if you want to run it in-VM, then add the flag -Dapim.home in the config file of JEE application server.

Adobe logo

Sign in to your account