Ben Nadel's POI Utility ColdFusion Component

I am hoping someone out there has used Ben's Component.  It seems like it will do exactly what I need it to in CF8.  Thanks in advance
I am trying to use Ben's POI utility to create a multi-tab spreadsheet.  I have it set up fine and I was able to create a multi-tab spreadsheet as long as the queries were created using the <cf_makequery> custom tag. When I use my own query via cfinvoke I get the following message:
Element  TYPENAME is undefined in a CFML structure referenced as part of an  expression.
The error occurred in C:\ColdFusion8\wwwroot\ExcelTest\POIUtility.cfc: line 1540
Called from C:\ColdFusion8\wwwroot\ExcelTest\POIUtility.cfc: line 1387
Called from C:\ColdFusion8\wwwroot\ExcelTest\write_new.cfm: line 77
1538 :                
1539 :                 // Map the column name to the data type.
1540 :                 LOCAL.DataMap[ LOCAL.MetaData[ LOCAL.MetaIndex ].Name ] = LOCAL.MetaData[ LOCAL.MetaIndex ].TypeName;
1541 :             }
1542 :
If I change the line <cfset objSheet[1].Query = qAll /> to refer to a query I have made that is when I get the error. Below Is the code from Ben's write.cfm page. Nothing is altered except the value of objSheet[1].Query.
Ben's code
<cfset subQuery = #queryNew("fydate,sHours")#>      
    <cfloop from="1" to="3" index="idx">
        <cfset temp = #queryAddRow(subQuery)#>
        <cfset temp = #querySetCell(subQuery,"fydate",200903)#>
        <cfset temp = #querySetCell(subQuery,"sHours",5)#>                        
    </cfloop>
<cfdump var="#subquery#">
<!---Ben's code begins here--->
<cfoutput>
    <!--- Create an instance of the POIUtility.cfc. --->
    <cfset objPOI = CreateObject(
        "component",
        "POIUtility"
        ).Init()
        />
    <!--- Simulate a query object. --->       
    <cf_makequery name="qGirl">
        name|hair|best_feature
        Julie|Blonde|Forearms
        Lydia|Brunette|Eyes
        Cynthia|Blonde|Eyes
    </cf_makequery>   
    <!---
        Create a sheet object for this query. This will
        return a structure with the following keys:
        - Query
        - ColumnList
        - ColumnNames
        - SheetName
    --->
    <cfset objSheet = ArrayNew(1)>
    <cfset objSheet[1] = objPOI.GetNewSheetStruct() />
    <cfset objSheet[2] = objPOI.GetNewSheetStruct() />
    <!--- Set the query into the sheet. --->
    <cfset objSheet[1].Query = subQuery />
    <cfset objSheet[2].Query = qGirl />
    <!---
        Define the order of the columns (and which
        columns to include).
    --->
   <cfset objSheet[1].ColumnList = "fydate,sHours" />
   <cfset objSheet[2].ColumnList = "name,hair,best_feature" />
    <!---
        We want to include a header Row in our outputted excel
        workbook. Therefore, provide header values in the SAME
        order as the column list above.
    --->
    <!--- <cfset objSheet[1].ColumnNames = "fydate,sHours" />
    <cfset objSheet[2].ColumnNames = "Name,Hair,Best Feature" /> --->   
    <!--- Set the sheet name. --->
    <cfset objSheet[1].SheetName = "Data" />
    <cfset objSheet[2].SheetName = "More Girls" />
    <!---
        Now, let's write the sheet to a workbook on the file
        sysetm (this will create a NEW file). When doing so, we
        have the option to pass either a single sheet object (as
        we are donig in this example, or an array of sheet
        objects). We can also define header and row CSS.
    --->
    <cfset objPOI.WriteExcel(
        FilePath = ExpandPath( "./allData.xls" ),
        Sheets = objSheet,
        HeaderCSS = "border-bottom: 2px solid dark_green ;",
        RowCSS = "border-bottom: 1px dotted gray ;"
        ) />
</cfoutput>

This can give you some clue I guess..
//////creating the workbook
<cfset workBook = createObject("java","org.apache.poi.hssf.usermodel.HSSFWorkbook").init()/>
/////setting up the styles
<cfset cellstyle = workbook.createCellStyle()>
<cfset fontface = workbook.createFont()>
<cfset fontface.setBoldweight(fontface.BOLDWEIGHT_BOLD)>
<cfset cellstyle.setFont(fontface)>
/////creating new sheet
<cfset newSheetLegend = workBook.createSheet()/>
////creating new row           
<cfset rowLegend = newSheetLegend.createRow(0)/>
///assigning the sheet name
<cfset workBook.setSheetName(0, "text as the sheet name")/>
////creating a cell
<cfset cellLegend = rowLegend.createCell(0)/>
////Applying style for the cell
<cfset cellLegend.setCellStyle(cellstyle)/>
////writing the content in the cell
<cfset cellLegend.setCellValue("text in the cell")/>
////getting sheet at an index -- example is 1
cfset currentsheet = workBook.getSheetAt(1)>
You can put this in appropriate order and in a loop to get different sheets, name the sheet, assign values to cells and also apply styles to cells.

Similar Messages

  • Ben Nadel's POI Utility & CFINCLUDE

    I am hoping someone can help me with Ben's POI utility to create a multi-tab spreadsheet.  Don't get me wrong I have the code working completely - using CF9!
    Here's the problem...my cfm template is almost 800 lines long - and to make matteres worse I was asked to create an addition worksheet - which means this one template will be the longest code file - in terms of amount of code written in ONE file - within my application... ...I generally do not like to write more than 250 - 300 lines of code in one CF template...
    So one would think that the simplest solution would be to use CFINCLUDE - but it doesn't work...to be precise, nothing happens at all - no error, no output, nothing! - it's as if ColdFusion ignored the cfinclude call completely...
    This is the code in the main template...
    <!--- .: Import the POI tag library :. --->
    <cfimport taglib="../assets/cf/tags/poi/" prefix="poi" />
    <!--- .: *** ***** ******* MAIN.CFM ******* ***** *** :. --->
    <!--- .: Create an excel document and store binary data into REQUEST variable :. --->
    <poi:document name="REQUEST.ExcelData" file="#ExpandPath('./elements/reports/dynamic/DeliveryServicesRpt.xls')#"
         style="font-family:verdana; font-size:10pt; color:black; white-space:nowrap;">
         <!--- .: Define style classes :. --->
    <poi:classes>
         <poi:class name="class1" style="font-family:verdana; background-color:GREY_25_PERCENT; color:black; font-size:10pt;
              text-align:center;" />
         <poi:class name="class2" style="font-family:verdana; background-color:RED; color:white; font-size:10pt; text-align:center" />
         <poi:class name="class3" style="font-family:verdana; background-color:DARK_RED; color:white; font-size:10pt; text-align:center" />
    </poi:classes>
    <!--- .: Define Sheets :. --->
    <poi:sheets>
         <!--- .: [1] Exec Summary by Dollars :. --->
         <cfinclude template="execSum.cfm"> <!--- .: THIS CODE DOES NOT  :. --->
    </poi:sheets>
    This is the code in the included template...
    <!--- .: *** ***** ******* EXECSUM.CFM ******* ***** *** :. --->
    <poi:sheet name="Exec Summary by Dollars" freezerow="1" orientation="landscape">
         <poi:columns>
              <!--- .: this is for the default column: Company :. --->
              <poi:column style="width:250px;" />
         </poi:columns>
         <!--- .: GRAND TOTAL :. --->
         <poi:row>
              <poi:cell class="grandTot" value="Grand Total" style="text-align:right;" />
         </poi:row>
    </poi:sheet>
    Does anyone know what's causing this...or better yet is there a solution / work around...

    @Adam Cameron: WOW!!! I am extremely embrasses that I missed that...I am actually at a lost for words... Thanks Adam!

  • How do I do a runtime debug of a Coldfusion component file?

    My application has a Coldfusion component(cfc), CFM file and a lot of Flex source files.
    I tried using  <cftry>,  <cfcatch>, <cfdump> to find the errors in the cfc, but still cannot trace the issue.
    The code in CFC file is somewhat like
    <cfcomponent>
        <cffunction name="edit" access="remote" returntype="any">
            <cfargument name="form_data" type="struct">
            <cftry>
                <cftransaction>
                    <!--- Update Record --->
                    <cfquery datasource="#Application.ds#">
                        some SQL here
                    </cfquery>
                     <!--- Remove all previous outcomes --->
                    <cfquery datasource="#Application.ds#">
                        some SQL here
                    </cfquery>
                    <!--- Log Update --->
                    <cfquery datasource="#Application.ds#">
                        some SQL here
                    </cfquery>
                    <!--- Get Last Logged Record --->
                    <cfquery datasource="#Application.ds#" name="getLogLastRecord">
                        some SQL here
                    </cfquery>
                    <cfloop index="arr_index" from="1" to="#ArrayLen(form_data.num)#">
                        <!--- Update Record --->
                        <cfquery datasource="#Application.ds#" >
                            some SQL here
                        </cfquery>
                        <!--- Log Update --->
                        <cfquery datasource="#Application.ds#" >
                            some SQL here
                        </cfquery>
                    </cfloop>
        </cftransaction>
                <cfset result['statMsg']= "The record was saved successfully!">
                <cfset result['status']= true>
                <cfcatch><!--- Catch error --->
                    <cfsavecontent variable="contentSaver">
                         <cfdump var="#form_data#">
                         <cfdump var="#cfcatch#">
                    </cfsavecontent>
                    <cffile action="write" file="#ExpandPath('.')#\debug.html" output="#contentSaver#">
                    <cfset result['statMsg'] = cfcatch.Message>
                    <cfset result['status']= false>
                </cfcatch>
            </cftry>
            <cfreturn result>
        </cffunction>
    </cfcomponent>
    Issue: 1 My understanding is if the transaction is successful I should get the message "The record was saved successfully!" which I don't get, though the transaction is successful as the data is saved in the MySQL backend.
    Even if the transaction failed, I should get a message due to the catch block.
    What could be the reason I am not getting the message? The users of the application need to get this so that they know that the changes they did are saved.
    Issue 2: For another transaction, I get the below message at run time.
    "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@domain.com' at line 3"
    The transaction goes through fine and changes are saved to the back end database which means nothing is wrong in my SQL syntax.
    I don't see anything wrong on line 3 of the cfc file, nor the third line of the SQL statement has anything missing. Why am I getting that message?
    Why am I not getting a message when I should for Issue 1 when the transaction is successful and why am I getting a strange error message for Issue 2 though the transaction is successful?
    Can I do a run time debugging of the CFC using Coldfusion Builder as I can for Flex source files using Flexbuilder?
    Any advice would be welcome.

    hemant_k wrote:
    Yes, you can use debugger in ColdFusion Builder. Check http://help.adobe.com/en_US/ColdFusionBuilder/Using/WS0ef8c004658c1089 -31c11ef1121cdfd6aa0-7fff.html for some details.
    There are some interesting link around builder available on CF builder team blog - blogs.adobe.com/cfbuilder. [image links are not working becuase of admin issues]
    Thanks, that link is helpful.

  • How do I install Utility Mpeg2 Component for Lion?

    I know people have asked similar questions, but I don't understand the answers that have been given.  I want to use MPEG Streamclip and just bought my first Mac (with Lion).  I installed MPEG Streamclip 1.93b7 beta, which I understand is required for Lion.  When I open the file, I see the icon for "Utility MPEG2 Component Lion."  I understand that I am supposed to open this, but I am not able to.  I get a message telling me to double click the file "QuickTimeMPEG2.dmg" in order to open the QuickTime MPEG2 disk image.  However, I am unable to find the file "QuickTimeMPEG2.dmg."  Where do I find this?
    I looked in the Quicktime folder and found a number of files, including QuickTimeMPEG.component and QuickTimeMPEG4.component, but no QuickTimeMPEG2.dmg."
    Thank you so much for any help!  I am new to Macs and am not really familiar with the terminology.

    I know people have asked similar questions, but I don't understand the answers that have been given.  I want to use MPEG Streamclip and just bought my first Mac (with Lion).  I installed MPEG Streamclip 1.93b7 beta, which I understand is required for Lion.  When I open the file, I see the icon for "Utility MPEG2 Component Lion."  I understand that I am supposed to open this, but I am not able to.  I get a message telling me to double click the file "QuickTimeMPEG2.dmg" in order to open the QuickTime MPEG2 disk image.  However, I am unable to find the file "QuickTimeMPEG2.dmg."  Where do I find this?
    I looked in the Quicktime folder and found a number of files, including QuickTimeMPEG.component and QuickTimeMPEG4.component, but no QuickTimeMPEG2.dmg."
    Thank you so much for any help!  I am new to Macs and am not really familiar with the terminology.

  • MDT 2012 - Will not continue after Windows 8 x86 LTI Deployment First Logon - FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

    I've looked at all the other threads I could find in Technet that look close to this issue.
    In my BDD.log, the last entry is "FAILURE (Err): 429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object" right after "RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Microsoft.BDD.Utility.dll""
    I have the following:
    C:\_SMSTaskSequence folder
    C:\MININT folder    
    LiteTouch.wsf link under the Startup Folder
    Deployment share is mapped properly
    System logs in automatically as local administrator
    Even with this, it does not automatically resume the imaging job. I do not understand why it is not continuing.
    If I launch the LiteTouch.wsf from an Admin elevated cmd window, the Task Sequence resumes like nothing was wrong.
    Any guidance is appreciated!
    EDIT1: I changed my customsetting.ini file to join a workgroup instead of the domain and it appears to be continuing without issue now. Is there something I am missing as to why it does not automatically run when it joins to a domain?

    Just wanted to provide an update.
    So, i took the suggestion of a few other blog posts and moved the object into the Computers Container in AD so it did not have any policies impacting it. After doing this, it properly cycles through the application installs and reboots in the Task Sequence
    while joined to the domain.
    Is there an sort of comprehensive list of GPO settings that break MDT? The ones I have found (legal prompt, etc.) we do not do so it has to be something else.

  • FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object

    working with MDT 2013 & ADK 8.1,
    Windows 8.1 x64 deployment fails in section "State Restore" (Deployment Type: NEWCOMPUTER).
    RUN: regsvr32.exe /s "C:\Users\ADMINI~1\AppData\Local\Temp\Tools\x64\Micrsoft.BDD.Utility.dll"
    "FAILURE (Err):429: CreateObject(Microsoft.BDD.Utility) - ActiveX component can't create object"
    go to "%programdata%\microsoft\windows\start menu\programs\startup" and perform the "Litetouch.lnk" with elevated rights (right click run as administrator), the ts will continue and apply the OS without any error message.
    join to workgroup instead to domain and the installation will perform without any error...
    any help is appreciated.
    thx a lot.
    The error was AD policy related.
    I moved the device to an AD Folder (no policy), deployed the windoows 8 again and moved the box back to the correct ou in TS section PostInstall - Custom Tasks using a ps script.
    I did not figure out which policy.
    Update: moved from W8.1 EVALUATION to offical release solved my problem!

    Which policies are causing this? Do you have anything that limits/modifies the local administrator account? Or restricts the loading of ActiveX?
    Keith Garner - keithga.wordpress.com

  • FDS Could not find the Coldfusion Component

    I am currently running CFMX 7.0.2 (w/ a multiserver
    configuration using IIS) and FDS 2.0 w/ JRun4, using Flex Builder
    2.0.1 Standalone as my Flex IDE.
    I am able to do remoting without a problem, and I am also
    able to run the FDS CRM sample, which uses Java. But when I try to
    use FDS + CF, it tells me "Could not find the Coldfusion Component
    samples.contact.ContactAssembler".
    I have been following the Contact Manager example, originally
    posted by Tom Jordahl and later corrected by Steven Erat.
    http://www.talkingtree.com/blog/index.cfm/2006/12/20/FDS-CFMX702-ContactManagerApp
    I am pretty sure that I have done everything correclty:
    - I have all the mxml files placed in the
    E:\jrun4\servers\default\samples\dataservice drectory, and have
    modified the DataService destination to point to "cfcontact", not
    "cfcontact-default".
    - I have added the destination element from
    E:\resources\config\data-management-config.xml to
    E:\fds2\jrun4\servers\default\samples\WEB-INF\flex\data-management-config.xml
    - I have added
    <adapter-definition id="coldfusion-dao"
    class="coldfusion.flex.CFDataServicesAdapter"/>
    to
    E:\fds2\jrun4\servers\default\samples\WEB-INF\services-config.xml
    - I have unzipped the CF files into my CF root
    (<CFroot>/samples/contact/) and the access file into
    <CFroot>/samples/contact/db/. I also tested the CFC's to
    makes sure they worked properly on their own
    - I have made a datasource called FlexDataServices pointing
    to the access file, and made sure it works correctly
    - I have started the FDS server with no errors
    But when I run the app from
    http://localhost:8700/samples/dataservice/contact/contactmgr.mxml,
    it gives me that error: "Could not find the Coldfusion Component
    samples.contact.ContactAssembler".
    So i know FDS works with Java, its CF that is giving me the
    problem. Could it have something to do with the fact that I am
    using IIS for CF and JRun4 for FDS (even though I dont think so
    since the calls to the cfc's are not http, or so think)
    Any help would be greatly appreciated...i have been trying to
    get this to work for a couple of days and would love to move on.
    Thank you.

    In the services-config.xml, make sure your endpoint uri for
    the cf-polling-amf destination points to your ColdFusion server.
    You may need to replace the {server.port} and/or {context.root}
    with the actual values.
    For example, if you ColdFusion Server is running on port 8500
    your setting might look like this:
    <endpoint uri="
    http://{server.name}:8500/{context.root}/messagebroker/cfamfpolling"
    class="flex.messaging.endpoints.AMFEndpoint"/>

  • Flex Data Services does not see remote methods in extended ColdFusion component.

    I have created a remote service base component as a AModelService.cfc file. I extend that file to make my ModelService.cfc. When I configure the ColdFusion data service and point to ModelService.cfc and click next, I don't see any remote methods (there are none explicitly defined in the component) in the Service Operations window.
    If I go back and point to AModelServide.cfc, the parent component, and hit next, I see all the remote methods that are defined in the parent component. So, either I am doing something wrong, or Data Services does not look at methods up the cfc prototype chain, which from an OOP standpoint means that instead of say creating one restful base class and being nice and DRY you can't. I.e. not OOP for data services. Is this a bug, or what?
    Anybody get data services to work with extended service components?
    Mark

    Thanks for the reply. Yes, I did compile all the Java and it
    works OK with a simple Java program. It just will not work in a
    Flex application.
    The java classes are:
    RRA:
    package blah.myPackage;
    import java.util.List;
    import java.util.Collection;
    import flex.data.DataSyncException;
    import flex.data.assemblers.AbstractAssembler;
    class RRA extends AbstractAssembler
    public Collection fill( List fillParameters )
    RRS service = new RRS();
    return service.getSome();
    RRS:
    package blah.myPackage;
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import flex.EORS.*;
    class RRS
    public List getSome()
    ArrayList list = new ArrayList();
    String str = "bob";
    RR rr = new RR(str);
    list.add(rr);
    return list;
    RR:
    package blah.myPackage;
    class RR
    private String name;
    public RR() { }
    public RR(String name)
    this.name = name;
    public String getName()
    return this.name;
    public void setName(String name)
    this.name = name;
    I started with something that retrieved data from a database
    but watered it down just to try and get some kind of communication
    between Flex and Java.

  • Could not find the ColdFusion component or interface

    I don't know what else to try.  I have created a fully functional ORM CRUD application that is working perfectly when I have the mapping cfc located in the root folder with the index.cfm file that is using it.  However, as soon as I move the mapping cfc into the "ORM" folder that is in the root folder and add the cfclocation attribute all I ever get is that it can't find the component or interface.  To make sure that it works and I don't have any strange errors I have (in the index.cfm file) instanciated it using createObject with a path of "orm.HistoricalEvents" and then dump it to the screen and that works just fine as well.  Below is my setup and directory structure.  If anyone has any suggestions i would love to hear them.  I love the ORM capabilities and want to use them but I don't want to have a pile of mapping cfcs just sitting in the root folder.
    Setup:
    Windows 7 Enterprise, 64 bit
    IIS 7.5
    File Directory/IIS Physical Path: C:\WebDev\DevGamma
    Virtual Directory under IIS Default Web Site: /DevGamma
    ColdFusion Developer Edition > Standard Installation > All IIS Websites
    ColdFusion Directory Location: C:\ColdFusion9
    CFIDE Directory Location: C:\inetpub\wwwroot\CFIDE
    Folder Structure:
    [root]
         /orm
              HistoricalEvents.cfc
         Application.cfc
         index.cfm
    Application.cfc
    component
            this.name = "CF/1 Application Generator16";
            this.version = 1.0;
            this.datasource = "fw1testdsn";
            this.sessionmanagement = true;
            this.ormenabled = true;
            this.ormsettings = {
                autorebuild="true",
                dialect="MicrosoftSQLServer",
                dbcreate="update",
                cfclocation="orm"
    HistoricalEvents.cfc
    component persistent="true" table="HistoricalEvents"
        property name="EventID" fieldtype="id" ormtype="int" generator="identity";
        property name="EventDate" ormtype="date";
        property name="EventTitle" ormtype="string" length=250;
        property name="EventLocation" ormtype="string" length=50;
        property name="EventType" ormtype="string" length=30;
        property name="EventRating" ormtype="short";
        property name="IsPositiveEvent" ormtype="boolean";
    index.cfm
    <cfset data = EntityToQuery(entityLoad("HistoricalEvents"))>
    <cfdump var="#data#">
    If anyone needs more information please let me know.  If you have any suggestions please send them my way.  I want to use ORM but this is killing me and is a deal breaker if I can't get the cfclocation thing to "see" my components.  Thanks!
    Jason

    I wholeheartedly agree it seems hacky.  I had a very similar issue and added the path to the model (mapping cfc) on to my application.cfc's this.customTagPaths list and it suddenly started working.
    It seems to me.... that if you specify a cfclocation.... it should..... Just Work.  One man's opinion.
    See this post where I detail my problem for why I think it can locate the file itself even, but just doesn't know how to handle it: https://groups.google.com/forum/?fromgroups#!topic/coldbox/dFMG5PB6wn4

  • FlexPMD Coldfusion component for creating PDF report

    http://www.flexinabox.com/index.cfm/2009/11/29/FlexPMDPDF--A-ColdFusion-PDF-report-generat or-for-Flex-PMD
    Enjoy !
    Xavier

    Don't want to use third-party libraries? Then you'll have to write your own code that outputs data according to the PDF specifications. You can download them from Adobe:
    http://partners.adobe.com/public/developer/pdf/index_reference.html
    Personally I would recommend the third-party libraries as this is a very large wheel to reinvent.

  • CfSpreadsheet Read: Formulas being literally read as opposed to cell value

    I am having a problem with cfspreadsheet.
    I am reading an excel spreadsheet and converting it into a CSV file. I noticed that my cfspreadsheet returns formula values and not the calculated value of the cell. Is there a way to work around that? I researched this forum and other forums and similar posts had no entries/responses from the CF community. Please help.
    Thank you!

    I had the same issue and I used Ben Nadel's POI utility to read the excel file. It reads the cell values instead of the formula properly.
    http://www.bennadel.com/projects/poi-utility.htm

  • Problem with POI Powerpoint extraction

    Hello I am trying to extract text from a ppt file. I am using Coldfusion.
    Here is my code:
    <cfscript>
         function func_PPTToQueryStruct_POI() {
              var Files = "C:\CFusionMX7\wwwroot\google\Library\References\Army_UAV_brief.ppt";
              var fileIn             = CreateObject("java","java.io.FileInputStream").init(Files);
              var Extraction             = CreateObject("java","org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor").init(fileIn);
              var Extraction1               = Extraction.getTextAsVector();
              return Extraction;
    </cfscript>The problem lies with this statement "var Extraction1 = Extraction.getTextAsVector();"
    I have successfully used this method with other jar previously yet I keep getting this error:
    "500 org.apache.poi.util.StringUtil.getFromUnicodeLE([B)Ljava/lang/String;"
    Is anyone familiar with using jar to extract text from ppt files?
    I appreciate it.

    Hi,
      Did u enter the right datasource name that you created in RSA3?
      So, pls check the correctness for the datasource name.
      Also, revisit the steps that you followed to create the Datasource.
    Thanks,
    Raj
    Message was edited by: Raj
    Message was edited by: Raj

  • Coldfusion 9 Standard w/Multiple Websites and Rackspace

    Can I host multiple websites (i.e., with unique IP addresses) on 1 install of CF9 Standard?
    I plan to purchase CF9 standard and install it on a Rackspace Cloud Server.
    I have about 5 websites I want to port over from a shared hosting environment.
    Thanks In Advance,
    BlueSpoon

    Josh, Carl, and Adam,
    Thanks for trying to answer my question.
    My question boils down to this: Can I host multiple websites (i.e., each with their own unique IP addresses) on 1 install of CF9 Standard on a single Cloud Site?
    According to Carl, this can be configured in IIS so I believe the technical issue is resolved.  So my next issue is if this would be ok with Adobe? Would I be breaking their licensing terms by having 5 (or even 20) sites using 1 install of CF9 Standard on a single cloud site?
    My question arrose b/c reading this: http://www.adobe.com/products/coldfusion/pdfs/cf9_feature_comparison_matrix_ue.pdf . I interpreted this as multiple sites can only be done wiith CF 9 Enterprise edition.
    Thanks in advance for the advice.
    Bluespoon
    Slighty Off Topic But Relevant:
    @Josh.. Not sure if you're an Adobe employee, but my questions are valid and legitimate pre-sales questions. I'm just an individual not a large corporation. So before I plunk down $2,000 for CF9,  I need to know if I can legally (and technically) host multiple websites on 1 CF9 Standard license. I'm sure Adobe can afford to hire at least 2 guys to answer questions from budding entrepreneurs and small busineses. At the very least it's good customer service. Even Cisco has a dedicated support team for small business. It's ridiculous that I can't even speak (or even email) someone at Adobe to get at least "yes" or "no" answer.
    Individual developers are the lifeblood of coldfusion. If it weren't for guys like Charlie Arehart, Dan Vega, Ray Camden, Ben Nadel, etc I assure you that the CF developer community would be much smaller. Last I checked, Univeristy of Wisconsin has not posted any CF tutorials or trips and tricks.
    I've been a Coldfusion fan since 2005. And I've been familiar with it since 1998 while doing contract work with the Fed. So it's like a smack in the face that I am ignored once I'm ready to take the financial risk and pay $2,000 for my own copy of their server software. Developers have other options. Ignoring the devloper base is not the way to go. And that plain sucks. Adobe has really disppointed me. They've let me down.

  • Calendar solution in coldfusion

    I want to add a calendar to my application that allows logged
    in users to view and add to a calander. Being lazy it seems like a
    lot of work to do from scratch. Does anything already written, that
    is open source exist for coldfusion?
    Thanks.

    check out the wonderful Ben Nadels' Kinky Solutions site
    http://bennadel.com) and his Kinky
    Calendar - free cf calendar solution
    http://www.bennadel.com/projects/kinky-calendar.htm)
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Calander solution in coldfusion

    I want to add a calander to my application that allows logged
    in users to view and add to a calander. Being lazy it seems like a
    lot of work to do from scratch. Does anything already written, that
    is open source exist for coldfusion?
    Thanks.

    check out the wonderful Ben Nadels' Kinky Solutions site
    http://bennadel.com) and his Kinky
    Calendar - free cf calendar solution
    http://www.bennadel.com/projects/kinky-calendar.htm)
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

Maybe you are looking for

  • Sample XSLT code to Display the Current date and time

    Hi all, Please Let me know code to display the system date in my target in xslt mapping. I am trying fn:current-datetime() function for the same.but could not get how to use it .Is it  function right  function.If so please send me the examples on the

  • How can i get current time of a given timezone

    how can i get current time of a given timezone for example: Asia/Hong_Kong my code is like this, but the result is not correct. what's wrong? import java.util.*; public class test { public static void main(String[] args){           String s = "Asia/H

  • Analyze command in pl/sql

    Hey guys: I am on 10.2.0.3 How come I can do that: create or replace procedure drop_stats is begin dbms_stats.delete_table_stats('SYS','CDEF$'); end; But can not do that: create or replace procedure drop_stats is begin analyze table sys.cdef$ delete

  • Using "route-target import" only connected routes?

    When using the route-target import, the only routes imported are ones directly connected on one of the other PE routers. How does one get the advertised routes and the connected routes imported? PE1 -- PE2 | | PE3 Customer's remote site attaches to P

  • Re:Preferred Crystal report method

    Hi, What is preferred/recommended method to migrate the Crystal reports from BO XI 3.1 enviorment. It is better with BIAR or RPT method. Thanks, Crystalfan Edited by: Crystalfan on Apr 4, 2011 6:58 PM