Cold Fusion Logging

I am having some trouble getting coldfusion 10 to connect to a webservice and the error is not helpful at all I was wondering if coldfusion has any error log files for webservices.
Thanks,

This should help:
http://www.raymondcamden.com/index.cfm/2010/7/20/CF901-Logging-enhancements
You should be able to find the log files at \cfusion.ear\cfusion.war\WEB-INF\cfusion\logs
And they should also be available via your CF Administrator:
/CFIDE/administrator/logging/index.cfm
You probably want webservice.log!

Similar Messages

  • Cold Fusion in a generic thread pool and enabling JAVA don't mix

    I've got Cold Fusion MX installed on a server running Sun One 6.1. I ran into a problem trying to enable JAVA (for servlet support) which I had previous disabled because I didn't use it.
    Well, when I went to enable JAVA on the server last week, the service wouldn't restart and the error logs gave me no indication of the problem.
    Through a tedious trial-and-error process I've found that having Cold Fusion running under a generic thread pool while trying to have JAVA (the j2ee plugin) running under Sun One simply doesn't work (for whatever reason).
    Once I killed the pool, everything runs fine.
    Does anyone happen to know why this is? I keep CFMX under its own thread pool because there are certain elements to CFMX that aren't wholly stable and can result in CFMX crashing. If it crashes, the process keeps accepting requests, but never processes them. I'd like to keep the native thread pool free to keep accepting non-CFMX requests even when CFMX crashes.
    Thus the separate thread pool for CFMX.
    But now I can't run CFMX in a separate thread pool with JAVA enabled.
    Anyone have any insights into why this is?
    Thanks

    Two things. Firstly, it's better to use     private static final Object classLock = new Object();because that saves you worrying about whether any other code synchronises on it. Secondly, if you do decide to go for the delegation route then java.lang.reflect.Proxy may be a good way forward.

  • Cannot browse server following installation of hotfix 4 to Cold Fusion 9.0.1

    Hi
    I've been tasked with updating a ColdFusion 9.0.1 installation to the latest patches.  I've started with Hotfix 4.  The installation appeared to go OK, and the services started after I applied the update.  However, when I went to moved onto the next update (APSB13-10) starting by browsing to the update file I ran into a problem.  When I click on the "browse server" button to locate the .jar file for the next update I encounter an error:  "Unable to authenticate on RDS server using current security information".  I've also found that if I try to put the full path into the Update File line and hit "Submit Changes" it errors.
    This seems to be the same problem as http://forums.adobe.com/message/5256752#5256752, but there's no solution to the problem in that discussion.
    I've checked the RDS settings, and RDS is unchecked.  I notice that this screen is different from the pre-upgrade screen, but this seems to be as a result of, I think, APSB13-03, which is included in HotFix 4.  If I try to make any changes on this screen it errors and logs me out of the Cold Fusion administrator.  I've tried commenting out the RDS section in the web.xml file, but this gives me a different error.
    I'm doing this on an isolated test server which has no access to the network.  If I revert to the snapshot I took before the upgrade attempt ColdFusion runs as expected.
    Any ideas what might be the problem?  Thanks in advance.

    In case it helps anyone I've realised what I was doing wrong here.
    The main “problem” was that one of the updates included in Cumulative Hotfix 4 is APSB13-03 (http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-apsb13-03.html).  I knew this changed the behaviour of RDS but my knowledge prior to this work of ColdFusion and in particular RDS was very limited, and so I didn't understand the implications of this hotfix.  What this update does is disable RDS by default; I wasn't really aware what the RDS status of my server was prior to the update, partly because before this update there is no "disable RDS" tick box to show whether it is enabled or disabled.  With RDS disabled, you can't browse as the update instructions require you to do.  Obviously RDS was enabled on my setup without me realising it.
    My understanding of this wasn't helped by the fact that when I tried to paste a path into the box and hit the "update" button I got a different error, which I described in my original post.  Similarly if I tried to change RDS settings, or do pretty much anything in the administrator, it failed and logged me out in the same way.  It seemed to me that the whole thing was broken by the updates and I didn't know how to fix it.
    So, following the excellent advice of Charlie Arehart in two articles: http://www.carehart.org/blog/client/index.cfm/2010/12/12/cfmyths_cumulative_hotfixes and http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break, I went back to the start and installed the cumulative hotfixes one by one.  Although I don't think I actually needed to do this, as Hotfix 4 seems to contain all the previous hotfixes, it did help me realise that the browsing/RDS issue and the error and logout when I tried to do anything in the administrator were two different problems. After further bit of googling I found people suggesting that you should use https to access the administrator, but the shortcut I had was taking me to http (as far as I know I was using the default shortcut).  I found that by going to https the problem of being logged out when trying to do anything disappeared and I could put a UNC path in to update the .jar file for the next update.  I also was now able to enable RDS for single password and could browse like the hotfix instructions advise.  I've since disabled RDS and accepted the inability to browse as a "feature", happy that it's more secure as a result.
    So my “problems” were largely self-inflicted due to my own ignorance of the product, but it wasn’t helped by Adobe’s apparent inability to grasp that there may be similarly ignorant people attempting these updates.  It would have been nice to see some guidance from them.  Furthermore, the cumulative hotfix 4 page (http://helpx.adobe.com/coldfusion/kb/cumulative-hotfix-4-coldfusion-901.html) doesn’t even mention RDS, let alone that the default behaviour changes.  It’s only when you check the individual hotfix information that you can see the information that helped me to realise where I was going wrong.
    As for using https not http; great, but if I’m right that my shortcut is the default out-of-the-box shortcut, where’s the information to advise to change to using https as a result of one of the hotfixes included in hotfix 4 (originally, I think, hotfix 2)?  It’s certainly not mentioned on the page for cumulative hotfix 4. 

  • Cold Fusion Application Server

    Hello all,
    I'm having the weirdest issue with our CF server. They do not
    run. However when I start Cold Fusion Application Server, I cannot
    login to any of my backend admins. I suspect that it is because it
    tries to set an application variable. Then I check for to see if
    there the app var is set, if not it redirects to the login page.
    I am guessing that the app var is not being set. If I stop
    Cold Fusion Application Server, everything works fine.
    I don't want to have reinstall CF 5 (on Windows 2000 srv).
    Any ideas???
    thanks

    DettCom,
    I had a similar problem to this, but I don't know if you have
    the same configuration (it was on CF 6.1). I don't know a whole lot
    on CF 5.
    I was storing client variables in the cdata/cglobal tables,
    and one variable's string ended up longer than I had planned for
    (although it was, in fact, correct). I had to increase the size of
    the "data" field in CDATA.
    Also, anything in the logs? (I know you probably would have
    mentioned if there were).
    - Mike

  • Cold Fusion Crashing for no reason....

    We migrated our server from Server 2003 to Server 2003 R2
    running Cold Fusion MX 6.1.0.83762. It's crashing constantly with
    nothing really in the logs. We were getting out of memory errors
    and did some changes in the administration tool and have not seen
    those errors again. Today it crashed and there is no mention in the
    logs, just suddenly database connection timeouts. In the
    default-event log there is just entries for today from when I
    rebooted the server.
    I should add the other night there was a java.io.IOException:
    unexpected end of part error but I'm not sure if that was what
    caused the crash. We have all the services set to restart
    indefinitely.
    I'm at my wits end. Can anyone help????

    Did your version of Java change?

  • Cold Fusion Communication

    I want to find out whether coldfusion can talk with SVN ,the reason is I should be able to download the component from SVN to my local system modify and then add it again to back to SVN or directly upload a new component from my local system to SVN. Basically my cold fusion application sholud be able to talk with SVN to perform the above functions.

    This is some dude named Dan's Prior Art, His site is dead but google gave a cached page...  I can imagine all kinds of mods and uses for something like this...
    Cool ColdFusion and Subversion integration
    December 5th, 2007 Dan Skaggs Leave a comment Go to comments
    I recently decided to outsource my souce code management to CVSDude. I had been running SVN on my VPS that I have at Slicehost and that had been running okay.  However, I’m only good enough at SVN administration to get the server up and running and create a few repositories and there were other things that I needed to do with SVN that I frankly didn’t have time to learn how to do.
    One of the things that I’d heard talked about that made life much easier was using Subversion’s various hooks to automate some things around different SVN events.  I emailed tech support asking how we could configure the “post-commit” hook to update the files on my VPS each time I made a commit into the SVN module.  The tech told me that they do this by configuring an HTTP call to a page (or script etc) on your server.  That page then triggers an SVN update of the specific module.
    After hearing this, I began thinking about how to use CFEXECUTE to trigger the SVN update and was actually surprised how simple it was.  My VPS runs on Fedora Core 6, so, like any *nix operating system, you need to make sure permissions on the files are set so that the user which runs ColdFusion can write to the directories.  Once that was accomplished, all it took was a few lines of code and we’re ready to start receiving HTTP callbacks from CVSDude’s servers.
    CVSDude structures their SVN URLs in the format http://username-svn.cvsdude.com/modulename (or https://).  All my modules are named in reverse domain order for the web site that it is for (for example, this one is ws.skaggsfamily.dan).  I had already checked out all my modules into a specific directory.
    The HTTP callback from CFSDude’s server has 4 URL parameters that they send over: root (full path to module), author (user), revision and date.  So all I really had to do was grab the URL.root value and extract the name of the module, pass that to the CFEXECUTE tag and, voila, automatic updating of the module immediately after the commit.
    There were only 2 gotchas that I had to figure out:
    Put the full path to the svn executable
    Add in your username and password to the string in the arguments attribute of CFEXECUTE
    The code that I used is below.  I’m sure there’s more that I could have done with it, but this is a good start I think.
    <cfif structKeyExists(URL, “date”) AND URL.date NEQ “” AND
        structKeyExists(URL,”author”) AND URL.author NEQ “” AND
        structKeyExists(URL, “revision”) AND URL.revision NEQ “” AND
        structKeyExists(URL, “root”) AND URL.root NEQ “”>
        <cfset module = replaceNoCase(URL.root, “http://username-svn.cvsdude.com/”, “”)>
        <cfexecute name=”/usr/bin/svn”
          arguments=”up /var/sites/#module# –username yourUserName –password yourPassword”
          timeout=”300″
          variable=”result”>
        </cfexecute>
        <cflog log=”Application”
          type=”information”
          text=”#URL.author#:#URL.root#:#URL.revision# – #result#”>
    <cfmail to=”[email protected]
        from=”[email protected]
        subject=”Server updated successfully”>
    The server has been successfully updated with your lastest changes. 
    Details of the update are below:
    Date: #URL.date#
    Module: #URL.root#
    Revision: #URL.revision#
    Results:
    #result#
    </cfmail>
    </cfif>

  • Cold Fusion service stops unexpectedly

    With Cold Fusion MX 7.0.2, the service stops unexpectedly. In
    doing this, the WWW service stops, as well. I have not found a
    thing reagrding this problem. This has been happening for a while,
    and on serveral of my servers. We run Windows 2000 with IIS4.0.
    Adobe seems to not have a clue, which really bothers me.

    You need to find out what is going on as your server stops or
    hangs. First, confirm that coldfusion has really stopped. Turn on
    the internal JRun webserver on one of your servers. Next time the
    site 'stops', try to connect to coldfusion administrator using the
    internal webserver -
    http://localhost:8500/cfide/administrator/index.cfm.
    If this connection works, then CFMX is actually still running. So,
    then it would appear your issue is IIS or the connector between IIS
    and CFMX. Confirm you are running the latest connector. Check the
    connector logs.
    If cfmx has truly stopped there are several things to do:
    check the cfusionmx7\logs. Does the
    application or server log show lots of errors just prior to the
    stoppage. Is the application log full of errors - clean them
    up.
    check the cfusionmx7\runtime\logs for
    errors, especially just prior to the stoppage
    Run
    thread dump - is there
    a common template running in each of your traces during your
    hangs
    What is your technical support incident number with Adobe? I
    will be glad to work with that engineer. Email me your incident
    information directly.

  • How not to use Cold Fusion and Java

    Overview
    This write up is intended to give java developers that are
    developing ColdFusion applications some beneficial information:
    things that are not documented.
    Scenario
    The company builds enterprise class web application software
    for fortune 500 companies. It had purchased a CF 7 based product,
    had and existing proprietary J2EE based product, and needed to
    integrate the two while meeting a host of new requirements. These
    requirements were based on delivering a better user experience,
    faster / cheaper integration, increased flexibility /
    configuration, useablily, decreasing maintenance costs, the ability
    to deploy in either install or ASP models. An initiative was
    started to create a new framework that integrated the best of each
    technologies. Tactically, this meant that we were to build a hybrid
    CF and java application: one that used building blocks (decoupled /
    cohesive components) that would allow applications to be rapidly
    assembled, configured and deployed. This made sense on several
    levels, the team was composed of Java and CF developers, the CF
    rapid application development was very productive, there is great
    functionality delivered in the CF platform and initial performance
    tests showed no cause for alarm
    The agreed upon design, based on requirements, and analysis
    by both the CF and Java staff has us using CF in the presentation
    layer, using a CF based MVC, use of CF based web services. The MVC
    was deployed using CFC inheritance for model objects and views made
    use of CF custom tags. The internals of the application, used a
    rules engine, some proprietary java, ORM, and other J2EE
    technology. The initial performance of the system was reasonable.
    We pushed on with product implementation.
    Then it was time to load test the application, and tune it.
    Under load the response times were orders of magnitude slower,
    sometimes the pages even timed out.
    Armed with our profiler, oracle execution plans and we
    charged ahead addressing issue after issue. Note that we took
    meticulous care in tweaking the active thread pool and ensuring
    that our CF setup was tuned for our application. None of the
    observations here are a condemnation of the language; rather they
    are aspects that, when considered together, not conducive for
    building integrated java and CF frameworks that use a structured /
    OO programming practices. Further detail can be provided on
    request.
    CFC inheritance should be avoided - resolution of variable
    scope is expensive even if properly declared.
    Since CF creates a class per method under the covers call
    stacks become very large, especially if used in a loop. This is
    nominally exacerbated by CF calls necessary to set up for the
    method call (String.toUpper()).
    Nesting of loops and if statements should be kept to a
    minimum - the conditional for each lookup of logical operator like
    LT, GT are synchronized. Under load this results in thread waits.
    Jrun has as single thread pool - both http and web service
    requests use the same pool. Under load this leads to thread
    deadlock. There are work arounds, but they are painful.
    Recursion should be avoided - we had a few recursive routines
    and these had to be rewritten.
    Custom Tags - should be used sparingly - each custom tag
    makes a synchronized call to the license server - (This may be
    fixed in CF 8)
    Summary
    In the end we got the performance to reasonable numbers, but
    we ended up moving some code to java (Custom Tags) and getting rid
    of 'good programming' practices (Inheritance, loops, etc), mandated
    proper variable scoping for those things left over. We prototyped a
    sans cold fusion implementation and had an order of magnitude
    improvement in performance and number of requests served per
    second.
    The lesson? Use Coldfusion in its sweet spot: make a query,
    iterate over the results and format for display. Extensive use of
    structure programming techniques or OO CFCs should be avoided: they
    will work but under load - but are better as a prototype. Building
    frameworks in CF? Think twice, no three times, and, if you must, be
    minimalist.
    Text

    interesting aslbert123,
    Not that I doubt you, but could you answer some questions
    about your implementation that was so slow:
    1.) Did you put your CFCs in the application or server scope?
    2.) Were you initializing your CFCs, via CreateObject or
    <cfinvoke>, on every request?
    3.) Are you sure that you were properly Var'ing every
    variable in your methods? (people typically forget about query
    names and loop iterator variables)
    4.) Could you give examples of how your inheritence was set
    up?
    5.) For CustomTags, did you call them the old <cf_tag>
    way or the newer, better-performing <cfimport> way?
    6.) How did you connect CF to Java exactly?
    Thanks,
    Aaron

  • Need to dial a phone number from Cold Fusion

    My boss asked me if there was any way that a phone number
    could be dialed from Cold Fusion. We have a website where at some
    point we want to just click a button and dial that phone number. My
    guess is that the conversation will then be carried through the
    computer's microphone and speakers and using the computer's modem.
    Let me know if there is a way, or what would be the easiest
    way to accomplish this, even if it has to be using VOIP, since
    that's an option for this project.
    Thanks!

    Is this an internal site or an public-facing site? If you are
    talking about using this tool in your intranet and you have a
    modern phone system in place, there may be an API to interfacing
    with your phone system. We use a TAPI interface to create a phone
    dialer so our callcenter agents can dial a phone number on their
    phone just by clicking on a link. I'm pretty sure there are a bunch
    of freeware/shareware TAPI COM objects you can use floating around
    the interwebs (If your phone system supports TAPI).
    If you are talking about a public-facing website, then I'm
    afraid I can't offer much advice other than to check out the Java
    Communications lead that Ted gave you.

  • How do you determine what version of PHP is on the cold fusion server

    I am trying to find out what version of PHP is on my cold
    fusion server, how do I do this? Does coldfusion come with
    PHP?

    In the C:\Windows folder, locate the file called php.ini and
    open it in Notepad.
    <?php phpinfo() ?>
    I answered it myself. Maybe it can help someone else.

  • Modifying cold fusion script not picked up by iis

    We are running coldfusion 7, using iis6 on windows 2003 server. I am not a cold fusion developer and this is the only coldfusion script we have created by a previous developer. I needed to make some simple modifications to the script, including a change in the title. After having restarted IIS the modified script is still not showing the new title. What do I need to do for iis to show the changes in the cfm file?

    It's in the CF Administrator, which is separate from the JRun Admin Console. You can often get to the CF Administrator with a URL like this:
    http://your_server/CFIDE/administrator/
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

  • How to convert/download videos embedded with cold fusion?

    Does anyone know of a free video conversion software that will convert and download online videos embedded with cold fusion ("cfmid=?") format/extension?  I tried a few online sites and they do not support that format yet.   Please help.  Thank you so much!
    Judy

    Actually COLD FUSION was a hoax a few years ago. COLDFUSION is the app.
    If you need content from a web site, talk to the developer.
    fwiw - Since ColdFusion is an Adobe app, you should try asking your question on that forum. This one is here to primarily support Shake.
    Have fun.
    x

  • I'm unable to connect to database thru cold fusion

    I'm unable to connect to database thru cold fusion. it
    sometiems give me an error that your uname is undefined , soemtimes
    it gives ur index page not found so i created index page also but
    still im unable to connect to database n update my records..plz
    help me out..im a fresher in cold fusion

    I am having a similar problem having CFMX 7.02 verify my SQL
    Server 2005 Data Sources.
    I am using the sa account for CF to access the db's. But i
    get the following error:
    Connection verification failed for data source: myDatabase
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Every role in SQL Server has the sa grantor Grant enabled. I
    can also login to SQL Server with the sa account w/o a hitch.
    I don't know what else to do. The server information is set
    to the ServerName port 1433, datasource name and database name are
    the same as the database name in sql server, and the username and
    password are set for the sa account.
    Thanks!

  • Cold Fusion Mac Compat?

    Can you run the latest Cold Fusion version in association
    with CS3 Web Premium for Mac on a Mac without a Windows
    shell?

    Scooter,
    I use a Macbook Pro (OS X 10.4.9) and run CFMX 7.0.2 (on top
    of JRun 4 and NOT as a standalone web server) with no issues. I
    also have CS 2.3 Premium on my machine. I will be getting CS3 in
    about a week or two when it releases but there should be no issues
    whatsoever with this configuration.

  • Xp pro config question with cold fusion(newbie)

    Hello,
    I'm a beginner and I want to learn studio mx 2004.In trying
    to learn Macromedia MX for windows ,I've gone thru the installation
    process in the manual for installing Cold Fusion for the server
    side of things.My question is, I'm not sure if IIS is mnadatory in
    order to use cold fusion.Is it a case of using one or the other or
    is the IIS service required to run Cold Fusion? Also im using cold
    fusion5 is cold fusion mx = to cold fusion 6.1?

    Thanks for answering. Is there any benefits to running both
    servers? I
    don't want to confuse myself with too many
    options.Essentially,I could
    learn Dreamweaver (my ultimate goal) by using either
    installation.
    No, while it is possible to run multiple versions of CF, it
    takes extra
    configurations to do so. I would say this is unnecessary for
    just
    learning. I would strongly suggest upgrading. CF 5 is the
    oldest and
    most limited version of CF still officially supported by
    Adobe. The
    latest version is 7.0.2. There is a huge, major, complete
    rewrite of CF
    and many other bug fixes and enhancements between CF 5.x and
    the current
    version.
    The current version and all versions of CF are free for
    download from
    Adobe for a personal development copy. If you do so now,
    before you
    start writing code, the upgrade install IIRC is quite
    painless and will
    use the configurations you have already chosen.

Maybe you are looking for

  • ITunes 7.5 won't Respond.  please help!!

    hey all. I'm using Mac OS X version 10.3.9 although it says that it's compatible, I shouldn't have updated iTunes to 7.5 or Quicktime to 7.3. Both applications won't respond. won't open at all. I've been trying to fix this for hours now, and i'm out

  • Eclipse plug-in

    Hi there, I am wondering where I can download the eclipse plug-in for EJB and servlet development? Thanks in advance

  • How to talk to Apple about a disabled phone.

    My phone is disabled, How do I chat with apple? The only option I get is to chat later or email. I have emailed, and I tried chat later but it wont let me chat. I called apple and they told me to contact apple through the computer. Im tired of the ca

  • Can't open, download or view PDFs - Tried all fixes recommended on this site!

    I updated Firefox yesterday and now I am suddenly unable to open, download or view PDF documents on my mac. I just get a blank page in Firefox when I click on a PDF link.<br /> I tried every fix I could find on this forum and others:<br /> Disabling

  • I will to show picture

    provides an array of bits with the picture at JPanel show where download example thank