Coldfusion 9 CFTransaction/CFQuery Timeouts

I have a script that is pulling in data from an excel document using cfspreedsheet, performing data checks, and inserting the data into the appropriate tables. Each XLS document only has about 1000 records. The scripts are wrapped in a CFTransaction tag to ensure rollback if the script errors.
When I run these scripts they will succeed if I'm only importing around 400 records or less. If I try to import any more than that I receive a 500 server error from IIS. I'm guessing that this is some sort of timeout issue. In order to try and force the success of the script, I upped the requesttimeout setting to 900000. This did not solve the problem.
Can anyone tell me how to troubleshoot and/or fix this problem?
<cfsetting                    requesttimeout="900000"                    showdebugoutput="true"                    enablecfoutputonly="false"          />

Good to hear from you Bob!
Merging my sql statements together is  exactly what I have been doing the last 24 hours, unfortunately without luck.
For inserts, I have used this syntax:
INSERT INTO table (column_1,column2) VALUES
('value 1 for column 1','value 1 for column 2')
,(value 2 for column 1','value 2 for column 2')
,(value 3 for column 1','value 3 for column 2')
..etc
The problem is that the majority of my queries are update queries, so I changed my DSN to be able to handle multiple queries within the same <cfquery> by adding "allowMultipleQuery=true" in the text box "connection string" under advanced settings for my DSN.
Then I merged chunks of 250 update statements together throughout my loop (of about 6000 rows), and then outputted them in a <cfquery>, then starting on a new chunk and so on. This decreased the number of queries vastly off course, but my request ran even slower.
I produce the sql statements as strings (off course), and therefore I can't use any cfqueryparams, but that's ok. I read that they could cause memory leaks in some situations, so in this case, I was only glad to be able to remove them (I ALWAYS use them otherwise, to avoid sql injection off course).
I should also mention that I have a cftransaction around every 250 rows, that commits the insert and update queries, throughout the loop (every 250th row). From the beginning I had the transaction around the entire loop, which worked pretty well up to about 5000 rows.
Now I'm looking into memory leak issues. One guy wrote that he had a similar project like ours, but had problems with the memory usage, so he said he wrote a function that imported a part of the content, then "did a gateway call to the CFC" at the end, to the same function, with an argument that told the function to import the next part and so on. By doing this he said that the memory was flushed during the import, between the different parts of the import, resolving his issue. You can read about it here (one of the replies)
http://stackoverflow.com/questions/2364682/memory-implications-of-returning-a-query-from-a -cfc
I'm not sure though what he means with "gateway call". If it has anything to do with event gateways? If so, I'm really lost. Never tried that.
Anyway, now I will try to run the cf debugger, and see how my queries are doing, hopefully it will bring some clarity. I'm in Sweden, so it's getting late. 10:14 PM.
/Jörgen

Similar Messages

  • Coldfusion Process Won't Timeout

    I can't get some processes to timeout, even though in the
    Coldfusion Admin I have the setting set to 180 seconds. Here's the
    a snippet from TOP:
    24732 apache 25 0 920m 314m 26m R 98.3 31.1 0:23.84 cfmx7
    22646 apache 16 0 920m 314m 26m S 1.0 31.1 28:10.59 cfmx7
    22647 apache 16 0 920m 314m 26m S 0.3 31.1 269:16.04 cfmx7
    How can I make sure processes timeout like they are supposed
    to (per the admin)?
    Thanks,
    Adam

    These tags
    cfstoredproc, cfcontent,cfftp, cfexecute, and cfobject do
    not respond to
    ANY timeout settings (admin or page level). This is a
    complete failure in the CF programming. Also calls to CFX tags will
    not respond to timeouts. For CFX tags you write you should add a
    timeout attribute so your tag can be timed out. That is about all
    you can do to overcome ColdFusions lack of proper timeouts. It may
    be possible to add timeouts to your t-sql innside of stored procs?
    I don't know for sure.
    You can and shoud buy Fusion Reactor or SeeFusion. We use
    Fusion Reactor and it can kill those threads that get hung up.

  • Warning before cfquery timeout

    When your cfquery takes longer than the timeout time set in CFAdmin or CFSetting, you will get a error message saying:
    The request has exceeded the allowable time limit Tag
    Which is what I don't want user to see. So before it comes up, is there here anyway I could warn the user, the query takes too long to process, please refine you filter?
    For instance, if the CFAdmin/CFsetting sets timeout 120 seconds, so right before the message came up, maybe at 115 seconds, trigger a warning and send the user back to the form page.
    Or what should be the best way to handle cf query timeout errors if I don't want to make timeout time any longer?
    Thanks for you help in advance.

    Jush wrote:
     Using CTRY/CFCATCH/CFTHROW/CFRETHROW to capture exceptions can be  useful, however, it also hides errors from the ColdFusion Application  log.
    Well, yes it is SORT OF true.  Because CFtyr/Cfcatch puts the control of exception handling completely into the programmers hands.  And if the programmer does not choose to log the exceptions, no logs will be made.
    But the <CFLOG....> tag sure would make it simple to log exception data if a programmer would choose to do so in a <cfcatch...> block.
    Jush wrote:
    could we do  a seperate time count so before 120 reaches, popup a messages
    Yes, but such a timer would need to exist in the user interface.  It is possible, but you will have to plan your User Interface carefully and think about how the User Interface and back end are each going to do their assigned tasks.
    The difficulty is that with normal CFML development, NOTHING is sent to the client until the server COMPLETELY process a request.
    To do what you want, you would need to send one response to the client with the JavaScript timer and popup message WHILE at the SAME TIME the ColdFusion server (and the database server behind it) continue to process the query.  Then, after they are finished, somehow get the results back to the User Interface.
    This is by no means impossible, or even all that challenging.  But it does require careful planning.  Some possible options.  AJAX, Inline Frames, Flush, <cfthread...>, possibly gateways, etc.

  • Cfquery timeout

    This is starting to get annoying. I've started to use cferror
    on a website, & this particular site I get emails saying:
    ===
    Error occured in template:/about.cfm
    At this time:{ts '2006-04-23 20:04:29'}
    The query string was:
    A detailed diagnostic follows:
    The request has exceeded the allowable time limit Tag:
    CFQUERY <br>The error occurred on line 1.
    ===
    Then 8 min. later another page gets an error & sends me
    an email.
    At least I have a "down site" message instead of the normal
    coldfusion blue box errors that confuses people.
    What could be the deal with this timeout issue?
    I don't host the site myself, & the database is REAL
    small for this site.

    quote:
    Originally posted by:
    Newsgroup User
    I recently experienced a similar error while using cfdocument
    with 450+
    records. My fix was to add <cfsetting
    requesttimeout="500"> to the
    problem template.
    HTH
    Tim Carley
    www.recfusion.com
    [email protected]
    Good point.
    I also have done the requesttimeout before, except for order
    processing pages on some shopping sites, but never thought I'd need
    to "push along" to help the most simpliest of sites.
    I really question the host & server issues, but I will
    try this & see.
    I just wish I knew more of the server side than just
    scripting....it would really help the whole development process.

  • Coldfusion MX 7 connection timeout

    Hi all,
    This might not really related to Coldfusion MX 7 itself,
    however it's worth a try to ask everyone who has encountered the
    similar problem with our web application setup.
    Coldfusion MX 7.0.2
    Apache 2.2
    Using ModelGlue framework
    Using NLB to share load with Class C Affinity
    Windows Server 2003
    Basically we have reports from few clients in Australia who's
    using Peoplenet and Westnet ISP who's recently get an error
    everytime they try to submit specific page on our web application
    mostly the page involves submitting a lot of data through HTTP post
    such as sending email content.
    They are using ADSL with speed around 256 - 512Kbps
    downstream, and both of them using DLINK ADSL router modem. One of
    them encounter the problem earlier when we had our web servers
    still using IIS, and one of them reporting the problem starts to
    appear when he switched his ADSL modem to DLINK or around the time
    we switched to Apache 2.2.
    Everytime they submit a large HTTP post to the server, the
    page stop responding, sometimes it takes long time to get the
    response from the server, sometimes it times out, and around that
    time when we did PING to the server sometimes the request times
    out. The problem only happens with the Client in Australia, There
    is no issue with the people from overseas even they are using
    dial-up modem.
    The strange thing, when these people who are happing problem
    with the timeout using dial-up modem to connect to our website, it
    works perfectly well without any problem. We even tried to do
    socket connection (Coldfusion Event Gateway) using Offline version
    of the application, but still fails if they are using their ADSL
    connection. and negative result as well for some of our auto save
    AJAX script failed as well when they try to contact the server.
    However these clients don't have any problem with other
    websites for example sending a large email or doing something else,
    so the issue with the timeout is a bit hard to track.
    I'm suspecting that it is something to do with the amount of
    data being posted to our server, however I cannot tell yet if it is
    something to do with their DLINK ADSL modem problem, their ISP
    connection (which might use transparent proxy), our firewall, our
    Coldfusion/Apache settings, or something else.
    So if anyone has ever encountered the similar problem and
    probably know to resolve it, I really appreciate your contribution.

    I just find out that it might not be the Coldfusion
    application itself but the network route from our clients' to our
    website. I tried to trace route to our website and received error
    6 71 ms 45 ms mygateway1.ar7 [10.1.1.1] reports: Destination
    protocol
    unreachable.
    even though I could access the website from Internet browser.
    This might be the problem with their ISP / routing
    protocols.

  • CFQUERY Timeout Parameter for SQL2005 Fails

    Here's my test:
    <cfquery name="test" datasource="dsn" timeout="1">
      select top 20000 *
      from table
    </cfquery>
    <cfoutput>#cfquery.ExecutionTime#</cfoutput>
    I'm getting 3000+ for this value.  This shouldn't be, right?  Because I have the timeout parameter set for a second?  The driver I'm using is the one that's
    supplied with CFMX7.02, "Microsoft SQL Server", hooked into a MS SQL Server 2005 Standard.  Why is CF ignoring the timeout parameter?

    Hi,
    Anyone? I saw many articles in Metalink regarding the tx_timeout parameter - also one which a customer is demanding an explanation and enhancement on the tx_timeout parameter. Come to think of it, when will it work? only for Exchange? (found some hints on this in metalink).
    But still, is there no other way to immediately know if the port has opened or not?
    I will try the following: http://www.oraclenerd.com/2008/11/javaplsql-port-scanner-ii.html , but still would prefer a PL/SQL solution though.
    Many Thanks,
    Henry Wu

  • Cfquery timeout not work

    Hello,
    I used the queries timeout attribute to catch exception when
    the timeout is fired. I used Oracle driver on coldfusion 7.0.1.
    I have long quires and they caused the coldfuion hanged
    becuase the timeout not work. please help me in this issue
    ASAP.

    I used the queries timeout attribute to catch exception when the
    timeout
    is fired. I used Oracle driver on coldfusion 7.0.1.
    I have long quires and they caused the coldfuion hanged
    becuase the
    timeout not work. please help me in this issue ASAP.
    I would not use the timeout attribute. I would check for
    mistakes in the Coldfusion code and in the query.

  • Memory leak after upgrading to ColdFusion 10

    We recently upgraded from CF8 to CF10 and we're running into some issues.  We started off getting a lot of OutOfMemory errors with the default heap settings. Chaning them to 768MB/1280MB which has helped, but we're still running into occasional OOM issues.  We took a heapdump as the instance was having problems today with blocked threads and noticed the heap usage was near the max so it was probably going to run out of memory soon too.  Below is what the eclipse memory analyzer tool found as a possible leak suspect.  Does anyone have any suggestions on where to go from here?  Not sure if it's an issue with CF itself or something in the app.  Thanks
    Description
    One instance of "coldfusion.runtime.ClientScopeServiceImpl" loaded by "coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0" occupies 838,847,880 (88.33%) bytes. The memory is accumulated in one instance of "java.util.HashMap$Entry[]" loaded by "<system class loader>".
    Keywords
    coldfusion.runtime.ClientScopeServiceImpl
    java.util.HashMap$Entry[]
    coldfusion.bootstrap.BootstrapClassLoader @ 0x120bbaf0
    Shortest Paths To the Accumulation Point
    Class Name
    Shallow Heap
    Retained Heap
    java.util.HashMap$Entry[524288] @ 0x3b88e058
    2,097,168
    838,843,064
    table java.util.HashMap @ 0x1212d2f8
    48
    838,843,112
    sharedClientScopeMap coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
    88
    838,847,880
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x100f16d8 ajp-bio-51010-exec-20 Thread
    112
    21,624
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x103df100 ajp-bio-51010-exec-36 Thread
    112
    19,552
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1043f0e0 ajp-bio-51010-exec-72 Thread
    112
    19,392
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10a8eec0 ajp-bio-51010-exec-83 Thread
    112
    22,288
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x10befce8 ajp-bio-51010-exec-54 Thread
    112
    18,256
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x11d35e18 ajp-bio-51010-exec-5 Thread
    112
    23,776
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x121b97e0 ajp-bio-51010-exec-68 Thread
    112
    18,160
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c4f88 ajp-bio-51010-exec-74 Thread
    112
    18,816
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x123c5078 ajp-bio-51010-exec-27 Thread
    112
    19,784
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12693f30 ajp-bio-51010-exec-75 Thread
    112
    19,208
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x126e7ff8 ajp-bio-51010-exec-26 Thread
    112
    19,200
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x1297dd60 ajp-bio-51010-exec-78 Thread
    112
    20,592
    <Java Local> org.apache.tomcat.util.threads.TaskThread @ 0x12d3a818 ajp-bio-51010-exec-73 Thread
    112
    21,304
    service class coldfusion.runtime.AppHelper @ 0x12fae868 »
    112
    1,032
    clientScope class coldfusion.server.ServiceFactory @ 0x11047060 »
    96
    55,184
    Total: 15 entries
    Accumulated Objects
    Class Name
    Shallow Heap
    Retained Heap
    Percentage
    coldfusion.runtime.ClientScopeServiceImpl @ 0x1212af08
    88
    838,847,880
    88.33%
    java.util.HashMap @ 0x1212d2f8
    48
    838,843,112
    88.33%
    java.util.HashMap$Entry[524288] @ 0x3b88e058
    2,097,168
    838,843,064
    88.33%
    java.util.HashMap$Entry @ 0x25370040
    24
    51,409,128
    5.41%
    java.util.HashMap$Entry @ 0x1b878cf8
    24
    12,173,192
    1.28%
    java.util.HashMap$Entry @ 0x15d049c8
    24
    10,685,760
    1.13%
    java.util.HashMap$Entry @ 0x41af3d98
    24
    10,587,208
    1.11%
    java.util.HashMap$Entry @ 0x3ff95918
    24
    10,443,664
    1.10%
    java.util.HashMap$Entry @ 0x43c422b0
    24
    9,886,280
    1.04%
    java.util.HashMap$Entry @ 0x3eec68a8
    24
    9,723,216
    1.02%
    java.util.HashMap$Entry @ 0x230c3078
    24
    9,254,288
    0.97%
    java.util.HashMap$Entry @ 0x2e36cab8
    24
    6,494,488
    0.68%
    java.util.HashMap$Entry @ 0x45e499e8
    24
    6,178,320
    0.65%
    java.util.HashMap$Entry @ 0x2a91c258
    24
    4,008,048
    0.42%
    java.util.HashMap$Entry @ 0x4260ee28
    24
    3,542,552
    0.37%
    java.util.HashMap$Entry @ 0x3dfb9e98
    24
    3,503,072
    0.37%
    java.util.HashMap$Entry @ 0x43f354a0
    24
    2,908,120
    0.31%
    java.util.HashMap$Entry @ 0x1adfb600
    24
    2,197,056
    0.23%
    java.util.HashMap$Entry @ 0x4469eee0
    24
    2,050,528
    0.22%
    java.util.HashMap$Entry @ 0x4443dea8
    24
    2,034,224
    0.21%
    java.util.HashMap$Entry @ 0x41b79ff0
    24
    1,846,808
    0.19%
    java.util.HashMap$Entry @ 0x40931b50
    24
    1,846,784
    0.19%
    java.util.HashMap$Entry @ 0x40c62310
    24
    1,846,784
    0.19%
    Total: 20 entries
    480
    162,619,520
    0.171
    Accumulated Objects by Class
    Label
    Number of Objects
    Used Heap Size
    Retained Heap Size
    java.util.HashMap$Entry
    First 10 of 190,465 objects
    190,465
    4,571,160
    836,711,024
    java.lang.String
    First 10 of 253 objects
    253
    6,072
    26,408
    java.lang.reflect.Method
    First 10 of 57 objects
    57
    4,560
    4,560
    coldfusion.runtime.ClientScope
    All 1 objects
    1
    56
    2,632
    java.lang.Class[]
    First 10 of 73 objects
    73
    1,248
    1,248
    coldfusion.runtime.ClientScopeKey
    All 1 objects
    1
    24
    24
    java.lang.Class
    All 2 objects
    2
    0
    0
    Total: 7 entries
    190,852
    4,583,120
    836,745,896

    Hi Sharma,
    Here's the settings summary from the console.  The OOM issue is now happening about 1-2 times weekly after increasing the heap size.  Before that it was almost daily.  It seems we can go about 75-85 hours before we restart due to either OOM or blocked threads.
    Settings Summary
    Server Settings > Settings Summary
    Report generated on Sep 25, 2014 12:08 PM
    This report shows the status of all ColdFusion configuration settings. To display the area of the ColdFusion Administrator where you can edit the group settings, click any of the groups in the report.
    System Information
    Server Details
    Server Product ColdFusion
    Version ColdFusion 10,286680
    Edition Enterprise 
    Operating System Windows 2003 
    OS Version 5.2 
    Update Level /D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar 
    Adobe Driver Version 4.1 (Build 0001) 
    JVM Details
    Java Version 1.7.0_15 
    Java Vendor Oracle Corporation 
    Java Vendor URL http://java.oracle.com/ 
    Java Home D:\ColdFusion10\jre 
    Java File Encoding Cp1252 
    Java Default Locale en_US 
    File Separator \ 
    Path Separator ; 
    Line Separator Chr(13) 
    User Name SYSTEM 
    User Home C:\Documents and Settings\Default User 
    User Dir D:\ColdFusion10\cfusion\bin 
    Java VM Specification Version 1.7 
    Java VM Specification Vendor Oracle Corporation 
    Java VM Specification Name Java Virtual Machine Specification 
    Java VM Version 23.7-b01 
    Java VM Vendor Oracle Corporation 
    Java VM Name Java HotSpot(TM) Server VM 
    Java Specification Version 1.7 
    Java Specification Vendor Oracle Corporation 
    Java Specification Name Java Platform API Specification 
    Java Class Version 51.0 
    CF Server Java Class Path ;D:/ColdFusion10/cfusion/lib/updates/chf10000012.jar;  D:/ColdFusion10/cfusion/lib/ant-launcher.jar;  D:/ColdFusion10/cfusion/lib/ant.jar;  D:/ColdFusion10/cfusion/lib/antlr-2.7.6.jar;  D:/ColdFusion10/cfusion/lib/apache-solr-core.jar;  D:/ColdFusion10/cfusion/lib/apache-solr-solrj.jar;  D:/ColdFusion10/cfusion/lib/asm-all-3.1.jar;  D:/ColdFusion10/cfusion/lib/asn1.jar;  D:/ColdFusion10/cfusion/lib/axis.jar;  D:/ColdFusion10/cfusion/lib/backport-util-concurrent.jar;  D:/ColdFusion10/cfusion/lib/bcel-5.1-jnbridge.jar;  D:/ColdFusion10/cfusion/lib/bcel.jar;  D:/ColdFusion10/cfusion/lib/bcmail-jdk14-139.jar;  D:/ColdFusion10/cfusion/lib/bcprov-jdk14-139.jar;  D:/ColdFusion10/cfusion/lib/cdo.jar;  D:/ColdFusion10/cfusion/lib/cdohost.jar;  D:/ColdFusion10/cfusion/lib/certj.jar;  D:/ColdFusion10/cfusion/lib/cf-acrobat.jar;  D:/ColdFusion10/cfusion/lib/cf-assembler.jar;  D:/ColdFusion10/cfusion/lib/cf-logging.jar;  D:/ColdFusion10/cfusion/lib/cf4was.jar;  D:/ColdFusion10/cfusion/lib/cf4was_ae.jar;  D:/ColdFusion10/cfusion/lib/cfusion-req.jar;  D:/ColdFusion10/cfusion/lib/cfusion.jar;  D:/ColdFusion10/cfusion/lib/chart.jar;  D:/ColdFusion10/cfusion/lib/clibwrapper_jiio.jar;  D:/ColdFusion10/cfusion/lib/commons-beanutils-1.8.0.jar;  D:/ColdFusion10/cfusion/lib/commons-codec-1.3.jar;  D:/ColdFusion10/cfusion/lib/commons-collections-3.2.1.jar;  D:/ColdFusion10/cfusion/lib/commons-compress-1.0.jar;  D:/ColdFusion10/cfusion/lib/commons-digester-2.0.jar;  D:/ColdFusion10/cfusion/lib/commons-discovery-0.4.jar;  D:/ColdFusion10/cfusion/lib/commons-httpclient-3.1.jar;  D:/ColdFusion10/cfusion/lib/commons-lang-2.4.jar;  D:/ColdFusion10/cfusion/lib/commons-logging-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/commons-logging-api-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/commons-net-3.0.1.jar;  D:/ColdFusion10/cfusion/lib/commons-vfs2-2.0.jar;  D:/ColdFusion10/cfusion/lib/crystal.jar;  D:/ColdFusion10/cfusion/lib/derby.jar;  D:/ColdFusion10/cfusion/lib/derbyclient.jar;  D:/ColdFusion10/cfusion/lib/derbynet.jar;  D:/ColdFusion10/cfusion/lib/derbyrun.jar;  D:/ColdFusion10/cfusion/lib/derbytools.jar;  D:/ColdFusion10/cfusion/lib/dom4j-1.6.1.jar;  D:/ColdFusion10/cfusion/lib/dpHibernate.jar;  D:/ColdFusion10/cfusion/lib/ehcache-core-2.5.1.jar;  D:/ColdFusion10/cfusion/lib/ehcache-web-2.0.4.jar;  D:/ColdFusion10/cfusion/lib/esapi-2.0.1.jar;  D:/ColdFusion10/cfusion/lib/EWSAPI-1.1.5.jar;  D:/ColdFusion10/cfusion/lib/FCSj.jar;  D:/ColdFusion10/cfusion/lib/flashgateway.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-common.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-core.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-opt.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-proxy.jar;  D:/ColdFusion10/cfusion/lib/flex-messaging-remoting.jar;  D:/ColdFusion10/cfusion/lib/flex-rds-server.jar;  D:/ColdFusion10/cfusion/lib/geronimo-stax-api_1.0_spec-1.0.1.jar;  D:/ColdFusion10/cfusion/lib/hibernate3.jar;  D:/ColdFusion10/cfusion/lib/httpclient-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/httpclient-cache-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/httpclient.jar;  D:/ColdFusion10/cfusion/lib/httpcore_4.1.2.jar;  D:/ColdFusion10/cfusion/lib/httpmime-4.1.1.jar;  D:/ColdFusion10/cfusion/lib/ib6addonpatch.jar;  D:/ColdFusion10/cfusion/lib/ib6core.jar;  D:/ColdFusion10/cfusion/lib/ib6http.jar;  D:/ColdFusion10/cfusion/lib/ib6swing.jar;  D:/ColdFusion10/cfusion/lib/ib6util.jar;  D:/ColdFusion10/cfusion/lib/im.jar;  D:/ColdFusion10/cfusion/lib/iText.jar;  D:/ColdFusion10/cfusion/lib/iTextAsian.jar;  D:/ColdFusion10/cfusion/lib/izmado.jar;  D:/ColdFusion10/cfusion/lib/jai_codec.jar;  D:/ColdFusion10/cfusion/lib/jai_core.jar;  D:/ColdFusion10/cfusion/lib/jai_imageio.jar;  D:/ColdFusion10/cfusion/lib/jakarta-oro-2.0.6.jar;  D:/ColdFusion10/cfusion/lib/jakarta-slide-webdavlib-2.1.jar;  D:/ColdFusion10/cfusion/lib/java-xmlbuilder-0.4.jar;  D:/ColdFusion10/cfusion/lib/javasysmon-0.3.3.jar;  D:/ColdFusion10/cfusion/lib/jax-qname.jar;  D:/ColdFusion10/cfusion/lib/jaxb-api.jar;  D:/ColdFusion10/cfusion/lib/jaxb-impl.jar;  D:/ColdFusion10/cfusion/lib/jaxb-libs.jar;  D:/ColdFusion10/cfusion/lib/jaxb-xjc.jar;  D:/ColdFusion10/cfusion/lib/jaxrpc.jar;  D:/ColdFusion10/cfusion/lib/jcifs-1.3.15.jar;  D:/ColdFusion10/cfusion/lib/jdom.jar;  D:/ColdFusion10/cfusion/lib/jeb.jar;  D:/ColdFusion10/cfusion/lib/jersey-core.jar;  D:/ColdFusion10/cfusion/lib/jersey-server.jar;  D:/ColdFusion10/cfusion/lib/jersey-servlet.jar;  D:/ColdFusion10/cfusion/lib/jets3t-0.8.1.jar;  D:/ColdFusion10/cfusion/lib/jetty-continuation-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-http-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-io-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-security-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-server-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-servlet-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-servlets-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-util-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jetty-xml-7.0.0.v20091005.jar;  D:/ColdFusion10/cfusion/lib/jintegra.jar;  D:/ColdFusion10/cfusion/lib/jnbcore.jar;  D:/ColdFusion10/cfusion/lib/jpedal.jar;  D:/ColdFusion10/cfusion/lib/js.jar;  D:/ColdFusion10/cfusion/lib/jsch-0.1.44m.jar;  D:/ColdFusion10/cfusion/lib/jsr107cache.jar;  D:/ColdFusion10/cfusion/lib/jsr311-api-1.1.1.jar;  D:/ColdFusion10/cfusion/lib/jta.jar;  D:/ColdFusion10/cfusion/lib/jutf7-0.9.0.jar;  D:/ColdFusion10/cfusion/lib/ldap.jar;  D:/ColdFusion10/cfusion/lib/ldapbp.jar;  D:/ColdFusion10/cfusion/lib/log4j-1.2.15.jar;  D:/ColdFusion10/cfusion/lib/lucene-analyzers-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-core-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-highlighter-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucene-memory-3.4.0.jar;  D:/ColdFusion10/cfusion/lib/lucenedemo.jar;  D:/ColdFusion10/cfusion/lib/macromedia_drivers.jar;  D:/ColdFusion10/cfusion/lib/mail.jar;  D:/ColdFusion10/cfusion/lib/metadata-extractor-2.4.0-beta-1.jar;  D:/ColdFusion10/cfusion/lib/mlibwrapper_jai.jar;  D:/ColdFusion10/cfusion/lib/msapps.jar;  D:/ColdFusion10/cfusion/lib/mysql-connector-java-commercial-5.1.17-bin.jar;  D:/ColdFusion10/cfusion/lib/namespace.jar;  D:/ColdFusion10/cfusion/lib/nekohtml.jar;  D:/ColdFusion10/cfusion/lib/netty-3.2.5.Final.jar;  D:/ColdFusion10/cfusion/lib/ooxml-schemas.jar;  D:/ColdFusion10/cfusion/lib/pdfencryption.jar;  D:/ColdFusion10/cfusion/lib/poi-contrib.jar;  D:/ColdFusion10/cfusion/lib/poi-ooxml-schemas.jar;  D:/ColdFusion10/cfusion/lib/poi-ooxml.jar;  D:/ColdFusion10/cfusion/lib/poi-scratchpad.jar;  D:/ColdFusion10/cfusion/lib/poi.jar;  D:/ColdFusion10/cfusion/lib/portlet_20.jar;  D:/ColdFusion10/cfusion/lib/postgresql-8.3-604.jdbc3.jar;  D:/ColdFusion10/cfusion/lib/quartz.jar;  D:/ColdFusion10/cfusion/lib/relaxngDatatype.jar;  D:/ColdFusion10/cfusion/lib/ri_generic.jar;  D:/ColdFusion10/cfusion/lib/rome-cf.jar;  D:/ColdFusion10/cfusion/lib/saaj.jar;  D:/ColdFusion10/cfusion/lib/saxon9he.jar;  D:/ColdFusion10/cfusion/lib/serializer.jar;  D:/ColdFusion10/cfusion/lib/slf4j-api-1.5.6.jar;  D:/ColdFusion10/cfusion/lib/slf4j-log4j12-1.5.6.jar;  D:/ColdFusion10/cfusion/lib/smack.jar;  D:/ColdFusion10/cfusion/lib/smpp.jar;  D:/ColdFusion10/cfusion/lib/STComm.jar;  D:/ColdFusion10/cfusion/lib/tagsoup-1.2.jar;  D:/ColdFusion10/cfusion/lib/tika-core-0.6.jar;  D:/ColdFusion10/cfusion/lib/tika-parsers-0.6.jar;  D:/ColdFusion10/cfusion/lib/tools.jar;  D:/ColdFusion10/cfusion/lib/tt-bytecode.jar;  D:/ColdFusion10/cfusion/lib/wc50.jar;  D:/ColdFusion10/cfusion/lib/webchartsJava2D.jar;  D:/ColdFusion10/cfusion/lib/wsdl4j-1.6.2.jar;  D:/ColdFusion10/cfusion/lib/wsrp4j-commons-0.5-SNAPSHOT.jar;  D:/ColdFusion10/cfusion/lib/wsrp4j-producer.jar;  D:/ColdFusion10/cfusion/lib/xalan.jar;  D:/ColdFusion10/cfusion/lib/xercesImpl.jar;  D:/ColdFusion10/cfusion/lib/xml-apis.jar;  D:/ColdFusion10/cfusion/lib/xmlbeans-2.3.0.jar;  D:/ColdFusion10/cfusion/lib/xmpcore.jar;  D:/ColdFusion10/cfusion/lib/xsdlib.jar;  D:/ColdFusion10/cfusion/lib/;  D:/ColdFusion10/cfusion/lib/axis2/axiom-api-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axiom-dom-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axiom-impl-1.2.13.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-adb-codegen-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-codegen-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-jaxws-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-kernel-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-http-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/axis2-transport-local-1.7.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/commons-fileupload-1.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/commons-io-1.4.jar;  D:/ColdFusion10/cfusion/lib/axis2/geronimo-ws-metadata_2.0_spec-1.1.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/httpcore-4.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/neethi-3.0.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-api-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-impl-commons-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/woden-impl-dom-1.0.jar;  D:/ColdFusion10/cfusion/lib/axis2/wsdl4j-1.6.2.jar;  D:/ColdFusion10/cfusion/lib/axis2/wstx-asl-3.2.9.jar;  D:/ColdFusion10/cfusion/lib/axis2/XmlSchema-1.4.8.jar;  D:/ColdFusion10/cfusion/lib/axis2/;  D:/ColdFusion10/cfusion/gateway/lib/examples.jar;  D:/ColdFusion10/cfusion/gateway/lib/;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/cfgatewayadapter.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/concurrent.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/flex/jars/;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-awt-util.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-css.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-ext.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-transcoder.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/batik-util.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-discovery.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/commons-logging.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/concurrent.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/flex.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jakarta-oro-2.0.7.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jcert.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jnet.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/jsse.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/oscache.jar;  D:/ColdFusion10/cfusion/wwwroot/WEB-INF/cfform/jars/; 
    Java Class Path D:\\ColdFusion10\\cfusion\lib\oosdk\lib;
    D:\\ColdFusion10\\cfusion\lib\oosdk\classes;
    D:\ColdFusion10\cfusion\bin\..\runtime\bin\tomcat-juli.jar;
    D:\ColdFusion10\cfusion\bin\cf-bootstrap.jar 
    Java Ext Dirs D:\ColdFusion10\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext 
    Printer Details
    Default Printer
    Printers
    Server Information
    General Settings
    Timeout requests Yes 
    Enable Per App Settings Yes 
    Request Time Limit 120 seconds
    Use UUID for CFToken Yes 
    Disable Service Factory No 
    Protect serialized JSON No 
    Protect Serialized JSON Prefix // 
    Missing Template Handler /404b.cfm 
    Site-wide Error Handler /errorCatch.cfm 
    Enable HTTP status codes Yes 
    Enable Global Script Protection Yes 
    ORMSearch Index Directory 
    Default CFForm ScriptSrc Directory /CFIDE/scripts/ 
    Google Map Key 
    Maximum size of post data 100 MB
    Request Throttle Threshold 4 MB
    Request Throttle Memory 200 MB
    Request Tuning
    Simultaneous request limit 20 
    Flash Remoting request limit 5 
    Web Service request limit 20 
    CFC request limit 20 
    CFThread Pool Size 10 
    Maximum number of report threads 8 
    Request Queue Timeout 120 seconds
    Request Queue Timeout Page 
    Caching
    Template cache size 150 templates
    Enable trusted cache No 
    Cached query limit 500
    Save Class Files Yes 
    Client Variable Settings
    Default client variable store ecom 
    Purge Interval 1 hours 7 minutes 
    Client Stores
    Registry 
    Type REGISTRY 
    Description System registry. 
    Purge data after time limit Yes 
    Time limit 90 days
    Disable global updates No 
    ecom 
    Type JDBC 
    Description 
    Purge data after time limit No 
    Time limit 2 days
    Disable global updates Yes 
    Cookie 
    Type COOKIE 
    Description Client based text file. 
    Purge data after time limit Yes 
    Time limit 10 days
    Disable global updates No 
    Memory Variables
    J2EE Sessions No 
    Application Variables
    Enable Application Variables Yes 
    Default Timeout 2,0,0,0 
    Maximum Timeout 2,0,0,0 
    Session Variables
    Enable session variables Yes 
    Default Timeout 0,0,20,0 
    Maximum Timeout 2,0,0,0 
    ColdFusion Mappings
    /gateway   D:\ColdFusion10\cfusion\gateway\cfc 
    /CFIDE   D:\ColdFusion10\cfusion\wwwroot\CFIDE 
    Mail Connection Settings
    Default Server Port 25 
    Connection Timeout 60 seconds
    Spool Interval 30 seconds
    Mail Delivery Threads 10 
    Maintain Connection to Mail Server Yes 
    Spool Messages To disk
    Max Messages Spooled to Memory 50000 
    Default CFMail Charset UTF-8 
    Use SSL Connection No 
    Use TLS No 
    Default Mail Server
    smtp.example.com
    Server smtp.example.com
    Port 25 
    Username 
    Password 
    Backup Mail Servers
    smtp-backup.example.com
    Server smtp-backup.example.com
    Port 25 
    Username 
    Password 
    Mail Logging Settings
    Log Severity warning 
    Log all E-mail messages sent by ColdFusion Yes 
    Charting
    Cache Type disk images
    Maximum number of images in cache 50 images
    Maximum number of charting threads 4 
    Disk cache location D:\ColdFusion10\cfusion\charting\cache 
    Data & Services
    Database Data Sources
    GES 
    CF data source name GES 
    Description 
    Driver MSSQLServer 
    JDBC URL jdbc:macromedia:sqlserver://MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStringPar ametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username sa 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfcodeexplorer 
    CF data source name cfcodeexplorer 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfcodeexplorer;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    ecom 
    CF data source name ecom 
    Description 
    Driver 
    JDBC URL jdbc:macromedia:oracle://10.10.120.13:1521;serviceName=ecom;alternateServers=(10.10.120.1 4:1521);loadBalancing=true
    Username user 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfbookclub 
    CF data source name cfbookclub 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\bookclub;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    ecomd 
    CF data source name ecomd 
    Description 
    Driver Oracle 
    JDBC URL jdbc:macromedia:oracle://ORACLE:1521;SID=ecomd;AuthenticationMethod=userIDPassword;sendSt ringParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username ges 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    GES_New 
    CF data source name GES 
    Description 
    Driver MSSQLServer 
    JDBC URL jdbc:macromedia:sqlserver://MSSQL\MSSQL:1433;databaseName=GES;SelectMethod=direct;sendStr ingParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username user 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    E1_Oracle 
    CF data source name E1 
    Description 
    Driver Oracle 
    JDBC URL jdbc:macromedia:oracle://ORACLE:1516;SID=E1;AuthenticationMethod=userIDPassword;sendStrin gParametersAsUnicode=false;querytimeout=0;MaxPooledStatements=100
    Username user
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    cfdocexamples 
    CF data source name cfdocexamples 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\cfdocexamples;create=false 
    Username 
    Login timeout 30 seconds 
    Long text buffer size 64000 
    Timeout 1200 seconds
    Maintain connections Yes 
    Interval 420 seconds 
    Restricted SQL operations 
    Disable connections No 
    cfartgallery 
    CF data source name cfartgallery 
    Description 
    Driver Apache Derby Embedded 
    JDBC URL jdbc:derby:D:\ColdFusion10\cfusion\db\artgallery;create=false 
    Username 
    Login timeout 30 seconds
    Long text buffer size 64000 
    Timeout 1200 seconds 
    Maintain connections Yes 
    Interval 420 seconds
    Restricted SQL operations 
    Disable connections No 
    Web Services
    Debugging & Logging
    Debugging Settings
    Enable debugging No 
    Enable Robust Exception Information No 
    Display format classic.cfm 
    Execution times Yes 
    Execution time format summary 
    Execution time highlight threshold 250 ms
    Database activity Yes 
    Exception information Yes 
    Tracing information Yes 
    Timer Information No 
    Variables Yes 
    Variables
    Application Yes 
    CGI Yes 
    Client Yes 
    Cookie Yes 
    Form Yes 
    Request Yes 
    Server No 
    Session No 
    URL Yes 
    Debugging IP Addresses
    Debugging IP Address Restrictions 
    Line Debugger Settings
    Allow Line Debugging NO 
    Debugger Port 5005 
    Max Simultaneous Debugging Sessions 5 
    Logging Settings
    Log directory D:\ColdFusion10\cfusion\logs 
    Maximum file size 5000 KB
    Maximum number of archives 10 
    Log slow pages Yes 
    Slow page time limit 60 seconds
    Log CORBA calls No 
    Log scheduled tasks No 
    Schedule Tasks & Probes
    Scheduled Tasks
    Auto Replenish Notify S9 Order Min Levels Reached 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:05:00 AM 
    URL http://server1.example.com/index.cfm?fuseaction=rfid.SendReplenishEmails 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Auto Replenish Notify Customer Badge Replenishment 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:00:00 AM 
    URL http://server1.example.com/uri1/act_notifyUserBadge.cfm 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Auto Replenish 
    Start Date 9/2/2014 
    End Date 
    Interval Daily 
    Start Time 2:10:00 AM 
    URL http://server1.example.com/uri1/uri2/uri3/Replenish2.cfm 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    Contact Updates and Registrations 
    Start Date 9/2/2014 
    End Date 
    Interval 65 
    Start Time 12:05:00 AM 
    URL http://server1.example.com/index.cfm?fuseaction=intCRM.sendCRMObjects 
    Username 
    Timeout 
    Proxy Server 
    Proxy Port 80 
    Save output to file No 
    Publish path 
    Publish filename 
    Resolve URLs No 
    System Probes
    Extensions
    Java Applets
    CFX Tags
    cfx_xml2cfx 
    Tag name cfx_xml2cfx 
    Description
    Type CPP 
    Server library c:\cfusion8\cfx\xml2cfx\cfx_xml2cfx.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    cfx_encrypt_aes 
    Tag name cfx_encrypt_aes 
    Description DB encryption library
    Type CPP 
    Server library C:\cfusion8\cfx\aes\cfx_encrypt_aes.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    cfx_exec 
    Tag name cfx_exec 
    Description
    Type CPP 
    Server library c:\CFusion8\cfx\exec\cfx_exec.dll 
    Keep library loaded true 
    Procedure ProcessTagRequest 
    Custom Tag Paths
    D:\web\app1\app2\app3\activedit3 
    D:\ColdFusion10\cfusion/CustomTags 
    D:\ColdFusion8\CustomTags 
    CORBA
    Selected connector [ none] 
    Connectors
    Event Gateways
    Settings
    Enable Event Gateway Yes 
    Thread Pool Size 10 
    Max Queue Size 25000 
    Gateway Types
    SMS 
    Description Handles SMS text messaging 
    Class coldfusion.eventgateway.sms.SMSGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    XMPP 
    Description Handles XMPP instant messaging 
    Class coldfusion.eventgateway.im.XMPPGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    SAMETIME 
    Description Handles Lotus SAMETIME instant messaging 
    Class coldfusion.eventgateway.im.SAMETIMEGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    DirectoryWatcher 
    Description Watches a directory for file changes 
    Class examples.watcher.DirectoryWatcherGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    Socket 
    Description Listens on a socket 
    Class examples.socket.SocketGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    CFML 
    Description Handles asynchronous events through CFCs 
    Class coldfusion.eventgateway.cfml.CfmlGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    JMS 
    Description Handles Java Messaging Service messages 
    Class examples.JMS.JMSGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    ActiveMQ 
    Description Handles Apache ActiveMQ JMS messages 
    Class examples.ActiveMQ.JMSGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    DataServicesMessaging 
    Description Handles Data Services Messaging messages 
    Class coldfusion.eventgateway.flex.FlexMessagingGateway 
    Timeout 30 seconds 
    Kill On Timeout No 
    FMS 
    Description Handles Flash Media Server shared objects 
    Class coldfusion.eventgateway.fms.FMSGateway 
    Timeout 30 seconds
    Kill On Timeout Yes 
    DataManagement 
    Description Notifies Data Management Services of data changes 
    Class coldfusion.eventgateway.flex.FlexDataManagementGateway 
    Timeout 30 seconds 
    Kill On Timeout Yes 
    Security
    CF Admin Authentication
    Enable authentication for the ColdFusion Administrator Yes 
    Allow access to ColdFusion Administrator with a Single password No 
    RDS Authentication
    Enable authentication for RDS access Yes 
    Allow access through RDS with Single password Yes 
    Security Sandboxes
    Enable ColdFusion Security No 
    jvm.config
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM is used
    # if not then it must be the path to the JRE itself
    java.home=D:\\ColdFusion10\\jre
    application.home=D:\\ColdFusion10\\cfusion
    # If no java.home is specified a VM is located by looking in these places in this
    # order:
    #  1) ../runtime/jre
    #  2) registry (windows only)
    #  3) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
    #  4) java.exe in path
    # Arguments to VM
    java.args=-server  -Xms768m -Xmx1280m -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.home={application.home} -Dcoldfusion.rootDir={application.home} -Dcoldfusion.libPath={application.home}/lib -Dorg.apache.coyote.USE_CUSTOM_STATUS_MSG_IN_HEADER=true -Dcoldfusion.jsafe.defaultalgo=FIPS186Random -Dges.config.serverEnvironment=prod2 -Dges.config.webServerHostName=server1.example.com -Dcom.sun.management.jmxremote.port=8880 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcoldfusion.classPath={application.home}/lib/updates,{application.home}/lib,{application .home}/lib/axis2,{application.home}/gateway/lib/,{application.home}/wwwroot/WEB-INF/flex/j ars,{application.home}/wwwroot/WEB-INF/cfform/jars
    # Comma separated list of shared library path
    java.library.path={application.home}/lib,{application.home}/jintegra/bin,{application.home }/jintegra/bin/international,{application.home}/lib/oosdk/classes/win
    java.class.path={application.home}/lib/oosdk/lib,{application.home}/lib/oosdk/classes

  • Importing a Text File to Database

    Hi There,
    Years ago with limited Coldfusion experience I created a Cold fusion process (below) that deletes the contents of a database table and inserts the contents of a 7mb text file which is passed via FTP down to our web server at regular intervals. Admittingly the code below is probably clunky to the more experienced, however i have found this process to work for the last 4 years without a problem. Recently my web server (shared hosted environment) has been throwing this error when this page runs,
    "Request aborted due to heavy system load.",
    I asked my host if there has been any changes, extra sites recently added to the server that may be causing this congestion which they naturally replied "no". I even tried reducing the text file size to about 3mb but still got the same issue. Is there any other more efficient coldfusion code options I can try that may be quicker and prevent the error from being thrown?
    Im on Coldfusion 7 and using MS SQL server, database and coldfusion are on differnt boxes in a shared environment.The text file can contain null values and is delimeted by a pipe character "|"
    Any help appreciated
    <cfsetting requesttimeout="600">
    <cftransaction>
    <cfquery name="delete" datasource="#client.dsn#" username="#client.username#" passWord="#client.password#">
    delete from xxxxxx
    </cfquery>
    <cfhttp method="get" textqualifier=" " username="xxxxx" password="xxxxxx" firstrowasheaders="no" delimiter="|" name="test" url="http://xxxxxxxxxxxxxx/br_orders.txt">
    Records Read <cfoutput>#test.recordcount#</cfoutput>
    <cfloop query="test">
    <cfquery name="insert" datasource="#client.dsn#" username="#client.username#" passWord="#client.password#">
    INSERT INTO xxxxx
    (OrderNo, Line, AccountNo, AccountNoShip, Shipment, PurchaseOrder, Completed, OrderDate, ShipmentDate, Product, QtyOrdered, QtyShipped, Price, Carrier, Connote, Delivery1, Delivery2, Delivery3, Delivery4, Delivery5, Delivery6, Delivery7, Delivery8, expected)
    VALUES (
    <cfqueryparam value='#test.column_1#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_2#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_3#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_4#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_5#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_6#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_7#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_8#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_9#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_10#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_11#' cfsqltype="cf_sql_float">,
    <cfqueryparam value='#test.column_12#' cfsqltype="cf_sql_float">,
    <cfqueryparam value='#test.column_13#' cfsqltype="cf_sql_float">,
    <cfqueryparam value='#test.column_14#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_15#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_16#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_17#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_18#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_19#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_20#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_21#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_22#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_23#' cfsqltype="cf_sql_varchar">,
    <cfqueryparam value='#test.column_24#' cfsqltype="cf_sql_varchar">
    </cfquery>
    </cfloop>
    <cfparam name="OZ" default=""><cfset OZ=#dateAdd("h",18,now())#>
    <cfset OZ=#CreateODBCDateTime(OZ)#>
    <cfquery datasource="#client.dsn#" username="#client.username#" password="#client.password#">
    UPDATE
    UpdateTimes
    SET
           time=#OZ#
      WHERE
      id=<cfqueryparam value="1" cfsqltype="cf_sql_integer">
    </cfquery>
    </cftransaction>

    Girish Sharma wrote:
    "I would be really grateful."
    But now OP will not really grateful to you; because;
    1.You are not going to perform/import the data at his machine.
    2.You have not given him the required control file.... (even without knowning anything)
    3.You have given only SQL Loader word; so now "oaf... i have to read Doc.."
    Regards
    Girish SharmaHahahaha . Supper.. ROFL! :)

  • Fk error display on Action page

    I have a page that displays the content of a table. If you select one of the items and hit submit, it will navigate to another page that will allow you delete this item. Once the user hits delete the user is directed back to the page that displays the content of the table. If there is a fk error that needs to be displayed, is there a way to show this error on the page that displays the content of the table and not the page that has the delete button after the user hits the delete button?
    Thanks,
    Tim

    First, I would not be using ParameterExists as this function
    has been deprecated since CF 6 I believe and might not work in
    later releases, use IsDefined("Add") instead.
    Now on to your question, you cannot insert any values into
    fields such as autonumber or "auto identity" fields, the database
    inserts these values themselves when a new record is created.
    For this purpose I would not use <cfinsert, instead use
    <cfquery to insert into your database.
    <cflock timeout="30" throwontimeout="yes"
    name="InsertIntoConf2007Registration" type="EXCLUSIVE">
    <cftransaction>
    <cfquery name="Insert" datasource="DSSurvey">
    INSERT INTO Conf2007Registration (Name, Email, County, Title,
    Phone, Address1, Address2, PO, CityStateZip, Guests, Golfyes,
    Company, Allergies, Vegie2, Social, Comments)
    VALUES ('#form.Name#', '#form.Email#', '#form.County#',
    '#form.Title#', '#form.Phone#', '#form.Address1#',
    '#form.Address2#', '#form.PO#', '#form.CityStateZip#',
    '#form.Guests#', '#form.Golfyes#', '#form.Company#',
    '#form.Allergies#', '#form.Vegie2#', '#form.Social#',
    '#form.Comments#')
    </cfquery>
    <!--- @@identity is a built-in variable that holds only
    the most recent autonumber or auto identity value from a table, for
    this reason we wrap the entire section in a cflock so that we do
    not run into "race conditions" where 2 users could get the same
    value or swap values. Once an insert starts everyone else has to
    wait until the lock is finished so you guarantee that the newly
    inserted autonumber is actually correct for that insert --->
    <cfquery name="GetNewID" datasource="DSSurvey">
    SELECT @@identity AS TheNewlyInsertedID
    FROM Conf2007Registration
    </cfquery>
    <cfoutput>
    Your registration number is #GetNewID.TheNewlyInsertedID#
    </cfoutput>
    </cftransaction>
    </cflock>

  • Weird "undefined in form" error message: but is defined--can anyone help?

    Here is the <form> code:
    <!---Dynamically generated list of bowling center names--->
    <cfselect class="selectBox" name="regHomeCntr">
    <option selected="selected">Where is your home bowling center?</option>
    <cfloop query="getBowlCenters">
    <option value="#getBowlCenters.ctrName#">#getBowlCenters.ctrName#</option>
    </cfloop>
    the <cfform> passes the above info to template (below) for insertion into DB. Everything processes successfully (as can be seen by the variable table at the top of the web page). Even the name of the bowling center is passed as a variable to the processing page, but CF keeps telling me the variable is undefined although I can see that it has passed the variable to the next page. I thought it was because I had the <CFSELECT> wrong, but the variable is being passed no matter what is selected. I am stumped.
    Here is the code that is crashing:
    <cfquery name="getTournaments" datasource="#dbs#">
        SELECT *
        FROM tournamentFeatures
        WHERE tName = '#URL.tName#'
    </cfquery>
    <table>
    <tr>
    <td><strong>Variable Name</strong></td>
        <td><strong>Value</strong></td>
    </tr>
    <!--- Loops over the URL structure and outputs variable names and associated values --->
    <cfloop collection="#URL#" item="VarName">
    <cfoutput>
    <tr>
    <td>
        #VarName#</td>
        <td> #URL[VarName]#</td>
    </tr>
    </cfoutput>
    </cfloop>
    </table>
    <p></p>
    <table>
    <tr>
    <td><strong>Variable Name</strong></td>
        <td><strong>Value</strong></td>
    </tr>
    <!--- Loops over the FORM structure and outputs variable names and associated values --->
    <cfloop collection="#form#" item="VarName">
    <cfoutput>
    <tr>
    <td>
        #VarName#</td>
        <td> #form[VarName]#</td>
    </tr>
    </cfoutput>
    </cfloop>
    </table>
    <!---Inserts new tournament registration into the registration table--->
    <cflock name="addRegistrationRecord" type="exclusive" timeout="20">
    <cftransaction>
    <cfquery name="insertRegistration" datasource="RBDS">
    INSERT INTO
         tournamentReg
    SET
        tName = #URL.tName#,
         tDate = '#URL.tDate#'
         regDateTime = '#URL.regDateTime#',
         regNumber = '#URL.regNumber#'
         regFName = '#form.regFName#',
         regLName = '#form.regLName#',
         streetAddr = '#form.streetAddr#',
         cityStateZip = '#form.CityStateZip#',
         regPhone = '#form.regPhone#',
         regEmail = '#form.regEmail#',
         lastBook = '#form.lastBook#',
         usbcCard = '#form.usbcCard#',
            <cfif tName EQ #URL.tname# AND 'doubles' IS 'yes'>
              bowlWith2 = '#form.bowlWith2#',
            <cfelseif tName EQ #URL.tname# AND 'threePerTeam' is 'yes'>
              bowlWith3 = '#form.bowlWith3#',
            <cfelseif tName EQ #URL.tname# AND 'fourPerTeam' IS 'yes'>
              bowlWith4 = '#form.bowlWith4#',
            <cfelseif tName EQ #URL.tname# AND 'fivePerTeam' IS 'yes'>
              bowlWith5 = '#form.bowlWith5#',
            <cfelse>
              singlesTournament = '#form.singlesTournament#'
            </cfif>
              regHomeCntr = '#form.ctrName#'      (CRASHES HERE)
    WHERE
         tName = '#URL.tName#' AND tDate = '#URL.tDate#'
    </cfquery>
    Try the code for yourself on a live site to see what I mean.
    Go here first: http://www.renobowls.com/tournaments.cfm, then click on the button to the right of Test 2. You don't have to fill in any of the text areas but select one of the Bowling Centers from the drop down box. Then click "Register Me." You will see all the variables passed by the form at the top of the page...INCLUDING the Bowling Center you just selected from the drop down box on the previous page. How can it be passing the variable yet the query (insertRegistration) states it is not defined!!! UHGRRRR...

    Well...hmmm. This is a new one on me. Used to be so easy. What happened? I made the necessary changes but I am getting a totally new error message. I have checked the number of query fields against DB...all checks. Did the same in my queries (unless I am missing something). It states that I have a syntax error. Where? What? I cannot for the life of me see it. But then again we know how that works...looking at the same code all day. Here is what I start with:
    <cfquery name="addRegistration" datasource="RBDS">
    INSERT INTO
    tournamentReg
            (tDate, tName, regDateTime, regNumber, regFName, regLName, streetAddr, cityStateZip,
            regPhone, regEmail, lastBook, usbcCard, regNotify, regReturn, regMembership,
            regLeague, ctrName,
            <cfif tName EQ #URL.tName# AND 'doubles' IS 'yes'>
            BowlerTwoName, BowlerTwoBook,
            <cfelseif tName EQ #URL.tname# AND 'threePerTeam' is 'yes'>
            BowlerTwoName, BowlerTwoBook,
            BowlerThreeName, BowlerThreeBook,
            <cfelseif tName EQ #URL.tname# AND 'fourPerTeam' IS 'yes'>
            BowlerTwoName, BowlerTwoBook,
            BowlerThreeName, BowlerThreeBook,       
            BowlerFourName, BowlerFourBook,
            <cfelseif tName EQ #URL.tname# AND 'fivePerTeam' IS 'yes'>
            BowlerTwoName, BowlerTwoBook,
            BowlerThreeName, BowlerThreeBook,       
            BowlerFourName, BowlerFourBook,
            BowlerFiveName, BowlerFiveBook)
            <cfelse>
            singles,  )
      </cfif>
        VALUES
                <cfif tName EQ #URL.tname# AND 'doubles' IS 'yes'>
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoBook#">,
                <cfelseif tName EQ #URL.tname# AND 'threePerTeam' is 'yes'>
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeBook#">,
                <cfelseif tName EQ #URL.tname# AND 'fourPerTeam' IS 'yes'>
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFourName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFourBook#">,
                <cfelseif tName EQ #URL.tname# AND 'fivePerTeam' IS 'yes'>
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerTwoBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerThreeBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFourName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFourBook#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFiveName#">,
                     <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.BowlerFiveBook#">,
                <cfelse>
                  <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.singles#">,
                </cfif>
            <cfqueryparam cfsqltype="CF_SQL_DATE" value="#URL.tdate#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#URL.tname#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#URL.regDateTime#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#URL.regNumber#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regFName#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regLName#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.streetAddr#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.cityStateZip#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regPhone#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regEmail#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.lastBook#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.usbcCard#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regNotify#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regReturn#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regMembership#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regLeague#">,
                <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.ctrName#">
    </cfquery>
    Here is what I get:
    Variable Name
    Value
    TNAME
    Teusday
    REGNUMBER
    5219531
    TDATE
    3/13/10
    REGDATETIME
    02/16/10 - 7:58:00 PM
    Variable Name
    Value
    CTRNAME
    Gold Dust West Bowling Center
    REGPHONE
    813-0850
    REGNOTIFY
    Yes
    REGEMAIL
    [email protected]
    REGRETURN
    Yes
    USBCCARD
    8130-5042
    REGLEAGUE
    No
    LASTBOOK
    191
    REGFNAME
    Rick
    CITYSTATEZIP
    Reno, NV 89523
    REGISTER
    Register Me
    SINGLES
    yes
    REGNUMBER
    9503574
    REGMESSAGE
    test 7:45PM
    FIELDNAMES
    REGNUMBER,REGDATETIME,REGFNAME,REGLNAME,REGPHONE,REGEMAIL,CTRNAME,USBCCARD,LASTBOOK,STREET ADDR,CITYSTATEZIP,SINGLES,REGNOTIFY,REGRETURN,REGMEMBERSHIP,REGLEAGUE,REGMESSAGE,REGISTER
    STREETADDR
    105 N. McCarran Blvd.
    REGLNAME
    Rossiter
    REGMEMBERSHIP
    No
    REGDATETIME
    02/16/10 - 7:44:48 PM
    Error Occurred While Processing Request
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
    The error occurred in C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 323
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 218
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 217
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 1
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 323
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 218
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 217
    Called from C:\Inetpub\wwwroot\renobowls\forms\ProcessRegistration.cfm: line 1
    321 :             <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regMembership#">,
    322 :             <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.regLeague#">,
    323 :             <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#form.ctrName#">
    324 :   )
    325 : 
    SQL
       INSERT INTO tournamentReg (tDate, tName, regDateTime, regNumber, regFName, regLName, streetAddr, cityStateZip, regPhone, regEmail, lastBook, usbcCard, regNotify, regReturn, regMembership, regLeague, ctrName, singles, ) VALUES ( (param 1) , (param 2) , (param 3) , (param 4) , (param 5) , (param 6) , (param 7) , (param 8) , (param 9) , (param 10) , (param 11) , (param 12) , (param 13) , (param 14) , (param 15) , (param 16) , (param 17) , (param 18) )
    DATASOURCE
      RBDS
    VENDORERRORCODE
      -3502
    SQLSTATE
      42000

  • Multiple DB inserts for 1 Submit

    Hello,
    We're running CFMX 6.1 on Win2003 Servers with Oracle 8.0.3
    DB on UNIX.
    We have free projects available on our website in exchange
    for a consumer signing up for our email
    newsletter. Somewhere along the way between almost 2 years
    ago and just recently I made some kind
    of change that is allowing duplicate email names to be
    entered although the CFQUERY is supposed to
    check to see if the email_address is already in the database.
    The weird thing is that I see the
    time of creation is so close together that it seems like the
    consumer couldn't have clicked the
    submit button that many times so quickly, for example:
    EMAIL_NEWS_LIST_ID EMAIL_ADD TO_CHAR(DATE
    150382 [email protected] 15:40:39 PM
    150383 [email protected] 15:40:40 PM
    150384 [email protected] 15:40:42 PM
    150385 [email protected] 15:40:41 PM
    150386 [email protected] 15:40:47 PM
    When I just go to the page on my website and try to access
    the project by giving it my email address
    it does the right thing which is to check that I'm in the DB
    and since I am already there it does
    not add me again but just puts the cookie on my machine so
    that I can view the projects. The code
    checks to see if the email_add is in the DB already and is
    NOT supposed to enter it again but just
    CFLOCATE them to the page they want to view.
    Here is my CF code:
    <cfset date_created = CreateODBCDateTime(now())>
    <!--- first check to see if the emailAdd from the form is
    in the DB --->
    <cfif IsDefined("Form.emailAdd")>
    <cfset email_Add=Lcase(Form.emailAdd)>
    <cfquery datasource="#secondaryDS#" name="checkEmail">
    select email_news_list_id, email_add
    from email_list
    where lower(email_add)=lower('#Form.emailAdd#')
    </cfquery>
    </cfif>
    <!--- if emailAdd is in DB set status to 1 and cflocate to
    page --->
    <cfif Form.emailAdd EQ checkEmail.email_add>
    <cfcookie name="inEmailList" value="Y"
    expires="never">
    <cflocation
    url="index.cfm?page=section/classroom/sewprojects/EraBonnet/eraBonnet.
    cfm">
    <cfelse>
    <!--- otherwise set emailStatus to 2 and add to DB, this
    will trigger proper message below
    --->
    <cfset email_Add = "#Form.emailAdd#">
    <cftransaction>
    <cfquery name="addToEmailList"
    datasource="#secondaryDS#">
    <!--- this selects the email_news_list_id from a next_key
    table --->
    declare nk int;
    begin
    update next_key
    set next_key = next_key + 1
    where table_name = 'email_list';
    select next_key + 1 into nk
    from next_key
    where table_name = 'email_list';
    insert into email_list(
    email_news_list_id,
    email_add,
    first_name,
    last_name,
    spanish_lang,
    date_created,
    promo_code
    values(
    nk,
    '#Lcase(email_add)#',
    '#first_name#',
    '#last_name#',
    '1',
    #date_created#,
    #promo_code#
    end;
    </cfquery>
    </cftransaction>
    <cfcookie name="inEmailList" value="Y"
    expires="never">
    <!-- Run email reply -->
    <cfmail from="[email protected]" to="#email_Add#"
    subject="Anonymous Co." server=
    "#WEBMAIL_EMAIL_SERVER#">
    Hello #email_Add#
    Welcome to our newsletter.
    </cfmail>
    <cflocation
    url="index.cfm?page=section/classroom/sewprojects/EraBonnet/eraBonnet.cfm"
    addtoken=
    "no">
    </cfif>
    The major sticking point is that I don't understand HOW and
    WHY this is happening. I have tens of
    thousands of email addresses where - at least by the naked
    eye - it appears that I don't have any
    doubles. Yet starting around August 21, 2006 these duplicates
    are multiplying. Due to my lack of
    organization - and not always using custom tags - some of the
    code pages as presented above are
    duplicates whereas the newer ones are using the custom tags.
    Regardless, it appears that I am
    getting multiple entries for the same submit.
    I cannot really change the underlying database table because
    it's used to support another
    application (Campaign8) that has it's own requirements which
    are met by the current table.
    Thanks much,
    Jerry

    Sorry about that I forgot to mention one other detail. On the
    topic of "list" what I meant was is that
    there are no Itemdetails that have "selectable values" (ie
    can't have more than one value per
    itemdetail) in a multiselect box. The sql pulls up all the
    itemdetails assigned to that person (for that
    item) and all the values for those item details (one value
    per itemdetail).
    What I need is an insert statement that will perform multiple
    inserts using information retrieved from
    other queries. The information input into the textboxs by
    users will also be used to fill in one of the
    fields (NewItemValue) while the 3 remaining fields (ItemID,
    ItemDetailID, ActionItemID) will be filled in
    from data from other queries. Here's an example query I'm
    working with.
    <cfif isdefined "Submit>
    <cfquery name ="ItemDetailInsert>
    Insert Into ItemDetailUpdates (ItemID, ItemDetailID,
    NewItemValue, ActionItemID)
    Values (#queryA.ItemID#, #queryA.ItemDetailID#,
    #form.NewItemValue#ID##,
    #queryB.ActionItemID#)
    </cfquery>
    My question here is: Will this query work as it is now? I
    want this query to do multiple inserts so should I put this query
    in a cfloop? or will the query automatically know to keep inserting
    data until their is no data left to insert?Any help would be
    appreciated.
    Thanks again for all your help.

  • Performing ORM and non-ORM transactions in one request.

    During the processing of a request, we need to perform an ORM statement and a non-ORM cftransaction on 2 different data sources.
    Example:
    # Note, 'someObject' is a persistent CFC with a datasource attribute of 'DSN1'.
    <cftransaction>
         <cfset myObjects = EntityLoad('someObject') />
    </cftransaction>
    <cftransaction>
         <cfquery name="test" datasource="DSN2">
               INSERT INTO ...
         </cfquery>
    </cftransaction>
    Whenever we hit the 2nd cftranaction block, we get the following error:
    Message=A transaction cannot be started on more than one datasource.
    This works in CF 9.0.1, but fails on CF 9.0.1 HF3, CF 9.0.2, and on CF 10.

    javax.servlet.ServletRequest method isSecure() - "Returns a boolean indicating
    whether this request was made using a secure channel, such as HTTPS."
    Chris Scott wrote:
    >
    What's the best way to separate SSL andnon-SSL transactions in a single web app?Ie when the user logs in, the login formis submitted over an SSL connection, butfrom then on only certain pages/forms useSSL. If there's one JVM with the sessioninfo, how can we be sure what needs to besecured goes thru the SSL server?

  • Query problem with date range

    I have a query that needs to pull data between a date range.
    I've tried several things and nothing seems to work.
    Any help would be greatly appreciated.
    Here's the code:
    <cftransaction>
    <cfquery name="QryFollowUp"
    datasource="NBProdReports">
    SELECT TblContractInfo_SubMenuTable.User_ID,
    TblContractInfo_SubMenuTable.Contract_Number,
    TblContractInfo_SubMenuTable.Transaction_Type,
    TblContractInfo_SubMenuTable.Notes,
    TblContractInfo_SubMenuTable.Num_Checks_Trans,
    TblMasterTrans.Date_Opened
    from TblContractInfo_SubMenuTable ,tblMasterTrans
    WHERE Transaction_Type = 'FollowUp'
    And TblContractInfo_SubMenuTable.Task_Number =
    tblMasterTrans.Task_Number
    And TblMasterTrans.Date_Opened BETWEEN #form.StartDate# AND
    #form.EndDate#
    ORDER BY TblMasterTrans.Date_Opened ASC,
    TblContractInfo_SubMenuTable.User_id ASC
    </cfquery>
    </cftransaction>

    Any help would be greatly appreciated.
    Ok, why are you using a <cftransaction...> around a
    single select query?
    It should be unnecessary.
    This is probably not helpful to your original question. There
    is
    nothing obviously wrong with your query at least to my glance
    through.
    Thus this important question, the one without which you are
    unlikely to
    get any helpful advice, "How does this not work?" Error
    Messages? No
    Data? Wrong Data? Serves you coffee instead of tea?
    It would also probably be helpful to know how your date data
    is
    represented in the database and the form controls, depending
    on what
    your difficulties are.

  • Oracle Alter Session not working in CF9

    Hello,
    I'm trying to understand differences between CF5 and CF9 when I retrieve numbers and dates from an Oracle Database.
    The code I ran on CF5 and CF9 servers :
    <cfoutput>
    <cftransaction>
    <cfquery datasource="intranet">
    alter session SET NLS_TERRITORY =  FRANCE
    </cfquery>
    <cfquery name="qry" datasource="intranet">
    select
         TO_NUMBER(12345/10) as nbr,
         sysdate as dt,
         TO_CHAR(1234.56,'L99G999D99') as cur
    from dual
    </cfquery>
    </cftransaction>
    #qry.nbr#<br>
    #qry.dt#<br>
    #qry.cur#
    </cfoutput>
    I've got those outputs :
    Result in CF5
    Result in CF9
    1234,5
    01/12/09
    ¿1.234,56
    1234.5
    2009-12-01 19:16:04.0
    ¿1.234,56
    The first two rows in CF5 display data in French format. That's not the same for CF9, the data are in American format.
    Then I changed the NLS_TERRITORY parameter
    alter session SET NLS_TERRITORY =  AMERICA
    Result in CF5
    Result in CF9
    1234.5
    01-DEC-09
    $1,234.56
    1234.5
    2009-12-01 19:20:39.0
    $1,234.56
    The two first row haven't changed in CF9, it seems that the "alter session" has no effect on number and date format in query results. Is that a bug or am I misunderstanding something ?
    Regards,
    Maxime

    Thank you for your reply.
    I tried what you've suggested on the CF9 server.
    The results are :
    NLS_TERRITORY =
    1) oracle JDBC database
    2) oracle JDBC thin client
    3) oracle JDBC-ODBC bridge
    AMERICA
    1234.5
    2009-12-02 13:24:30.0
    $1,234.56
    1234.5
    {ts '2009-12-02 00:00:00'}
    $1,234.56
    1234.5
    2009-12-02 13:24:30.0
    $1,234.56
    FRANCE
    1234.5
    2009-12-02 13:29:53.0
    ¿1.234,56
    1234.5
    {ts '2009-12-02 00:00:00'}
    ¿1.234,56
    1234.5
    2009-12-02 13:29:53.0
    ¿1.234,56
    The behavior is pretty much the same in the three differents ways to call the database. The only difference is on the date display using the Oracle JDBC thin client, which is another format from those I've already got.
    Regards,
    Maxime

Maybe you are looking for

  • How do I set the mailhost attribute in Messaging Server 3.5?

    <B>Intent of the hostname aliases feature: </B><BR> In Messaging Server 3.5, the hostname aliases feature is designed to facilitate migrating and co-hosting. For instance, if you set up all of your sales and marketing users on one Messaging Server, b

  • How to apply New ADF Faces Skin into JHeadStart Application

    Hi I have downloaded the new skins such as srdemo,mycompany.. I have only changed skinfamily value in adf-faces-config file but when i generate application with JAG the new skin does not apply it. Can anybody help me what's the problem? thanks

  • HP Deskjet 3545 shows "Incompatible cartridge " on the FIRST itself

     I got a Printer - Hp Deskjet 3545 here in Chennai to be used in my home, nearby Erode. I chose hp since, they have got good reputation and they promised onsite issue identification and solution. But on the first day, after carrying it home, installi

  • Calendar is not syncing

    We are getting an error whenever the calendar is syncing.. it stop at 7 out of xxx record and then an error pops up saying "Unknown Error". I tried to uninstall/reinstall blackbery manager and it still did not fix the issue. I also cleared the folder

  • Do we have to use the touch ID for the iPhone 5?

    I'm trying to decide which iphone i should get, and it's being rumored that the iphone 5 doesnt sell anymore. So i'm wondering if the touch id on the 5s HAS to be used.