strange character entities in CF... on form submission...
Anyone have any ideas... essentially we are getting ( just ahead of the pound character ) an A with a hat. Ã ( capital a, circumflex accent,Acirc;,#194;) Any ideas how to prevent this one from happening? It seems to be doing this on form submissions. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283370 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
access ( change, update ) any particular session variable outside of a session.
Hi. Was wondering if this was possible, to access ( change, update ) any particular session variable outside of a session. That is one possible solution to the issue which is that we have no control over session control when we change servers to the credit card authorization transfer pages. As you can imagine these pages are on a totally seperate server ( not ours )... So after an order is confirmed ( as in successful credit card payment ) we need to clear the session basket. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282883 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
do we still need to do locking ( session, server, application etc )?
I've heard some conflicting advice from some in the industry. Is this still needed for CF 7 + ? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282885 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Javascript COM and CF
Hi there. I'm currently working on converting a JS script into CF. Uses a lot of COM. Anywhoo, I'm having some problems with the following line of code. JS Version. HKLM = 0x8002; oInParam.hDefKey = HKLM; CF Version. cfset HKLM = '0x8002' cfset local.oInParam.hDefKey = HKLM I think that the problem is that it doesn't like the fact that HKLM is a string in the CF version. And CF wont allow me ( for obvious reasons ) to store this as number... nor will it allow me to cast it as an int. any ideas? ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282449 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Javascript COM and CF
I figured it was a registry key as well I guess I'm not sure how one would store this data without it being considered a string by CF. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282451 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Fastest...
Put em in a database and do an exception join =) That's something I did think of as a possibility. Is this solution better as in offering potentially better performace to using structures/structFind? Put em in a database and do an exception join =) Chris Peterson Gainey IT Adobe Certified Advanced Coldfusion Developer -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 1:44 PM To: CF-Talk Subject: Re: Fastest... For a compare? Wouldn't a list or an array be quicker? This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Jim Davis To: CF-Talk Sent: Mon Jun 25 18:30:32 2007 Subject: Re: Fastest... Trying to the fastest way to do the following. comparing items that are stored in session ( as a list, or array ). This is storing IDS or items. If you've not settled on a storage mechanism you might consider a structure. You could then easily do your search using the structFind functions. Of course it depends on what else you'd need to do with the data (if the order is important you'll lose it with a struct) but it probably is the quickest way. Jim Davis ~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Fastest...
Trying to the fastest way to do the following. comparing items that are stored in session ( as a list, or array ). This is storing IDS or items. Now, for product listings, searches etc... we need to compare if item is already in the users session. Which would be fastest as far as Coldfusion processing time: - Array of ids. - List of ids ( use listFind ). - ReFind - Other option? ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282071 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Config jvm.config
I assume this is fine if only one instance is used. We ran some tests a while ago and it seemed that for our specific application, from what I recall the best settings were min: 256 and max: 512/768 ( again this was a while ago so its a little fuzzy ). It enough ram is available, I suggest playing with the min and max settings and see how you get on. If 512 MB is specified as the starting stack size for each instance the server is going to tank immediately. ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281592 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Config jvm.config
I'm pretty sure this file... # Arguments to VM java.args=-server -Xmx1024m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=512m Should have an -Xms512m setting as well. Should it not? ( that being the minimum JVM memory setting ). Also I think that memory output code that was sent earlier only describes the overall use of JVM memory allocation and not specific instances of each CF installation. I'm not sure how one would get that. ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281500 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
var keyword in cfcs ... needed for query names?
When using the var keyword at the beginning of a cfc function, does one need to specify using var the variable names of any queries which are to be defined within that cfc function? ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280789 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: var keyword in cfcs ... needed for query names?
so a simple ... cfset var qryMyQuery = would do, or is there a better way? Absolutely. Queries are usually the first thing overlooked and need to be var scoped because in the end it is just a variable holding complex data. Always var your query names to keep the data local to the function. Dan Vega http://www.danvega.org/blog/ On 6/12/07, D F [EMAIL PROTECTED] wrote: When using the var keyword at the beginning of a cfc function, does one need to specify using var the variable names of any queries which are to be defined within that cfc function? ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280796 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: var keyword in cfcs ... needed for query names?
What was the reason for doing this again... to prevent race conditions? ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280803 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: var keyword in cfcs ... needed for query names?
And what of variables that aren't prefixed with var in a cfc? Does that mean that their memory allocation persists? if so, for how long? BTW That was a good idea to create a local structure and store all your local var variables there... good one. Also, aren't they deleted after the function runs? Meaning that they no longer take up that memory allocation? -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 11:50 AM To: CF-Talk Subject: RE: var keyword in cfcs ... needed for query names? What was the reason for doing this again... to prevent race conditions? You declare local variables in a function so that they don't clobber any variables with the same names in the script that calls the function. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280816 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
embedded cfml in system messaging...
Hmmm so I'm thinking that it would be nice to store all generated email content in the DB so that the admins could update it. However, what of messages that could contain embedded CFM? ( I suppose I could filter out all CFM constructs so that it would be hidden from the admins, but this seems like it could be problematic. Any anyone have any general ideas on how this kind of system could be set up while being able to preserve the CFM content of the messages? ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280646 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: embedded cfml in system messaging...
Just had a look. Interesting. What would the advantage be with transmorphing CF tags to another language ( ie % ). Certainly I couldn't it just populate a textarea and use JS to limit the editability of the embedded CFML code? or is this barking up the wrong tree? though have you seen CF Template on RIAForge ? -- Tom Chiverton Helping to paradigmatically orchestrate customized schemas on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280660 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldfusion, com and WbemScripting...
Trying to obtain system Ram, using the following code below: I'm basing it on Javascript code that does retrieve this... trying to make a coldfusion version of it. The way I assumed it worked was that calling the memorys.Instances_ method would return a collection. At least it does with JScript in the form of an enumerator object. And maybe it does if ( and only if ) there is an enumerator object present, and CF has structures etc not an enumerator object. In CF when I call memorys.instances_() I donât seem to get much other than a single object⦠Any ideas guys? COLDFUSION CODE: = cfobject action=create type=com class=WbemScripting.SWbemLocator name=AX cfdump var=#AX# cfset Memory = AX.ConnectServer() cfdump var=#Memory# cfset Memorys = Memory.Get(Win32_OperatingSystem) cfdump var=#Memorys# cfset imemory = Memorys.Instances_(1) cfdump var=#imemory# JSCRIPT CODE: ( the code I'm trying to duplicate ion CF ) = var Locator = new ActiveXObject (WbemScripting.SWbemLocator); var Memory = Locator.connectserver(); var memoryerr = 0, TotalMessage = , cr = \r\n; try { var memorys = Memory.Get (Win32_OperatingSystem); var imemory = new Enumerator (memorys.Instances_()); } catch (error) { return (Could not get memory info because: + error.description); } for (;!imemory.atEnd();imemory.moveNext()) { var memoryInstance = imemory.item(); var TVM = Math.round( (memoryInstance.TotalVisibleMemorySize/1024) ); var FPM = Math.round( (memoryInstance.FreePhysicalMemory/1024) ); var TVMS = Math.round( (memoryInstance.TotalVirtualMemorySize/1024) ); var FVM = Math.round( (memoryInstance.FreeVirtualMemory/1024) ); ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264453 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion, com and WbemScripting...
Hi Brad, thanks for that... I've done that as well and that only pertains to the Java Virtual Machine, rather than system ram. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264463 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Sandbox Security Contexts Activeated Via the Factory
I am enabling Sandbox Security from the factory, trying to get CF to setup the default contexts. C:\CFusionMX7\wwwroot\WEB-INF\ C:\Inetpub\wwwroot\CFIDE\ The problem I am having is that it seems that if I physically go into the CF admin and enable Sandbox Security it sets up the above contexts, if I set it up via the factory.SecurityService settings ( calling the setSandboxSecurityEnabled() method ) it seems to turn it on, but does not create the above contexts. ideas? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262430 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfexecute calling *.js wsh
has anyone got this working? I have a JS file that runs under WSH, but it does not seem to be running as it should. I'm not getting any errors, so its a good sign that something is happening... I'm calling it like this... cfexecute name=C:\WINDOWS\System32\CScript.exe arguments=C:\Inetpub\wwwroot\mysite\NEAT.js outputfile=runtest.txt / ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:261614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
factory / webservice
Any ideas of where I can get data on the webservice settings in the factory. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260357 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: factory / webservice
I Dan, I tried the following... factory.XmlRpcService.getWebService() But its telling me the method does not exsist. I think Axis comes with a config file. or goto the xml rpc factory inside CF. On 11/14/06, D F [EMAIL PROTECTED] wrote: Any ideas of where I can get data on the webservice settings in the factory. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260374 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
factory / SecurityService problems
the following throws an unknown error. CF doesn't give me anything substantial to go on. I'm looking to get a listing of disabled tags in the security settings. cfobject type=JAVA action=Create name=factory class=coldfusion.server.ServiceFactory cfset SecSettings = factory.SecurityService.getSettings() cfdump var=#SecSettings# ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260412 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF admin api security..
Hi there, I'm trying to access the getDisabledCFTags method of the CF admin api secutity cfc. The method requires a directory to be specified to get the permissions. But as this is the standard version of CFMX 7 there does not appear to be anything available to add these. The thing that confuses me is that there is still options to disable / enable tags in the CF admin, so there must be a directory name I can pass into this to get the disabled tags. cfcObj = createObject(component,cfide.adminapi.security); str_server_settings.Security_Disabled_Tags = cfcObj.getDisabledCFTags(directory:'???'); I've tried 'wwwroot', 'inetpub'... 'any' ... any ideas? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260419 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFID CFTOKEN ...MSN and search engine listings..
Hi there, Our SEO guy gave me the following message, wanted to see what the concensus was in the CF community in regards the CFID and CFTOKEN variables passed in urls could be causing a problem to the search engines ( MSN in particular ). Is there a way to disable this feature in CF? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255011 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFID CFTOKEN ...MSN and search engine listings..
but to also do a browser check (cgi.http_user_agent) and exclude any that have a common search engine string in them. That seems to do the trick 95% of the time I've heard that this may cause penalties as far as ranking is concerned. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255089 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFID CFTOKEN ...MSN and search engine listings..
I've heard that this may cause penalties as far as ranking is concerned. Huh? Not including the CFID/CFTOKEN?? Why? If anything, it would *help* ranking. --- Mary Jo No, providing different data to Google spiders. If being checked by another spider from Google ( to check consistency ) and if different. Could be taken as trying to scam the system. Just what I heard. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Structures in Java?
Is there anything in Java similar to Coldfusions Structures? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Structures in Java?
Thanks Dave, so presumably this HashMap object can be passed around through various methods etc? On 10/1/06, D F [EMAIL PROTECTED] wrote: Is there anything in Java similar to Coldfusions Structures? Remember that ColdFusion is compiled to Java, so there's always going to be a related data type between the two languages. In this case, you want a HashMap, which is what a CF structure is under the hood: http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html Regards, Dave. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254930 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF Ajax and CFLogin...
I have ajax script that sends a url hit to a remote cfc method. This cfc is of course secured in that the roles attributes have been set. What I've done is to login the user ( via CFLOGIN ) on the page where the JS/Ajax calls are made, and of course assign the appropriate permissions to that users to be able to properly access the cfc. In FIREFOX this works grand, but in IE it does not seem to like the way I've set the permission as I get back error code: 500 from the ajax/js script. I'm assuming that the CFLOGIN tag did not set the permissions and or IE did not 'understand' that the user has been authorised... another possibility would seem to indicate that the ajax/js calls are made BEFORE the cflogin has had time to propogate into the cookie/registry etc...but that doesn't really make sense as the user should have been 'logged in' when the CFLOGIN tag ran. The ajax/js calls are made AFTER page load so this probably is not the case. has anyone else encountered this problem? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253694 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF Ajax and CFLogin...
Good idea, but that didn't seem to work. 500 again. Perhaps I'll test this in Safari / Firefox Mac. as well and report back. Try and change your Ajax call to a POST instead of a GET. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: D F To: CF-Talk Sent: Thu Sep 21 09:08:53 2006 Subject: CF Ajax and CFLogin... I have ajax script that sends a url hit to a remote cfc method. This cfc is of course secured in that the roles attributes have been set. What I've done is to login the user ( via CFLOGIN ) on the page where the JS/Ajax calls are made, and of course assign the appropriate permissions to that users to be able to properly access the cfc. In FIREFOX this works grand, but in IE it does not seem to like the way I've set the permission as I get back error code: 500 from the ajax/js script. I'm assuming that the CFLOGIN tag did not set the permissions and or IE did not 'understand' that the user has been authorised... another possibility would seem to indicate that the ajax/js calls are made BEFORE the cflogin has had time to propogate into the cookie/registry etc...but that doesn't really make sense as the user should have been 'logged in' when the CFLOGIN tag ran. The ajax/js calls are made AFTER page load so this probably is not the case. has anyone else encountered this problem? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253696 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Ajax and CFLogin...
interesting, on the Mac here are the results. Firefox returns request error: 411. Safari : 200 ( works ok ). Any ideas? Good idea, but that didn't seem to work. 500 again. Perhaps I'll test this in Safari / Firefox Mac. as well and report back. Try and change your Ajax call to a POST instead of a GET. This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant, Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: D F To: CF-Talk Sent: Thu Sep 21 09:08:53 2006 Subject: CF Ajax and CFLogin... I have ajax script that sends a url hit to a remote cfc method. This cfc is of course secured in that the roles attributes have been set. What I've done is to login the user ( via CFLOGIN ) on the page where the JS/Ajax calls are made, and of course assign the appropriate permissions to that users to be able to properly access the cfc. In FIREFOX this works grand, but in IE it does not seem to like the way I've set the permission as I get back error code: 500 from the ajax/js script. I'm assuming that the CFLOGIN tag did not set the permissions and or IE did not 'understand' that the user has been authorised... another possibility would seem to indicate that the ajax/js calls are made BEFORE the cflogin has had time to propogate into the cookie/registry etc...but that doesn't really make sense as the user should have been 'logged in' when the CFLOGIN tag ran. The ajax/js calls are made AFTER page load so this probably is not the case. has anyone else encountered this problem? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253697 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Javascript vs. cfscript
cfscript is just a way to use the coldfusion language in script form. Javascript as stated before runs on the users browser generally speaking. And so you use that primarily for user only functions ( if we dont count asyncronous calls with the request object etc ). ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253706 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
compacting mssql tables.
Hi there, rather than recreate a table I would like to compact it, so the increment seed counter refreshes starting at 1. Is there a way to do this? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252841 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: compacting mssql tables.
that's too easy, is there a more complicated way? =) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252854 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: passing arguments into a instantiated java object
thanks for that Dan, now watch me attempt to absorb your Java knowledge. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252178 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
restarting CF via the factory
Was wondering if it was possible to restart Coldfusion ( and related services ) programmatically.. perhaps through the factory? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: restarting CF via the factory
unfortunatley cannot do this ( already thought of that ) with present server configuration. Either through Bat. or .wsh/vbs/js etc... permissions issue with managed server. Create a batch file to stop then start the services, and call it via cfexecute. You will need to add a wait command between the stop and start as cf can take a few minutes to stop sometimes. Russ -Original Message- From: D F [mailto:[EMAIL PROTECTED] Sent: 06 September 2006 12:56 To: CF-Talk Subject: restarting CF via the factory Was wondering if it was possible to restart Coldfusion ( and related services ) programmatically.. perhaps through the factory? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: restarting CF via the factory
Well the problem is not file creation, the problem is not having admin access to the services to restart them. Hence why I was looking for a backdoor to restarting the CF server. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252241 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: restarting CF via the factory
I found this. serverinstance.cfc, but it says Start, stop, and restart JRun servers. This CFC only works when running the multiserver configuration. What is 'the multiserver configuration' ? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: passing arguments into a instantiated java object
Interesting idea... object viewer. But how would that differ from a straight cfdump of the object? Even better is a Object Viewer. I asked for this for CF 7 as the standard way coldfusion produces dumping output for java objects but it's another no go. So now coldfusion users are left with a harder to use coldfusion. Go figure! At least some of stuff hit the CF Docs and some new features where added. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252103 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
passing arguments into a instantiated java object
So I've instantiated my object like this... CFOBJECT TYPE=JAVA ACTION=Create NAME=image2 CLASS=TestClass and call the method like this... cfset daMsg = image2.readDaFile() How can I call a method on that Java object with named arguments? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mass emailing from CF
You don't need to split up the emails in batches that way. I think it really depends what else is going on programmatically and what is being used as far as software / hardware configuration and bandwidth issues. Some systems may require the batch setup others may not. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251955 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: passing arguments into a instantiated java object
Use CFINVOKE Hi Kris, I thought CFINVOKE was only used for CFC's. Can you show me a quick example using that tag of how to use CFINVOKE to call a java method with named arguments? Cheers ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251973 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Java objects not regenerating?
So I'm creating java class files and instantiating them with the cfobject tag. So far everythings good. But what I'm noticing is that sometimes when I make changes to my class file ( and recompile ) I go to refresh the coldfusion page that calls it, and the new methods do not appear. Does CF hold a version of that object in memory? how can I refresh it? On another note... I've also noticed that my created methods show up when I do a dump of the java object. But when I call them I get an error method saying that the method does not exist. Any ideas? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251884 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java objects not regenerating?
Post some code :-) ok here's my cfdump of the java object. As you can see I have created the showMessage method and it shows, but the readDaFile() method does not show. Its almost as if its looking at an older version of the class. I dont get it. cfdump of java object object of TestClass Methods processRequest (returns void) showMessage (returns void) hashCode (returns int) getClass (returns java.lang.Class) wait (returns void) wait (returns void) wait (returns void) equals (returns boolean) notify (returns void) notifyAll (returns void) toString (returns java.lang.String) here's the java code. import com.allaire.cfx.* ; public class TestClass implements CustomTag { public void processRequest( Request request, Response response ) throws Exception { String strName = request.getAttribute( NAME ) ; response.write( Hello, + strName ) ; } public String showMessage() { String strName2 = Mack; return strName2; } public String readDaFile() { String strName3 = Mack; return strName3; } } ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251893 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: mass emailing from CF
Hi Bobby: We current send out around over 40-50k using CF and it runs like a champ. However we are using CF on Linux ( which since we switched from Windows based CF mailer runs much much much better ). I would say you need to set up batches of 1000 or similar number and make sure not to run the batches on top of each other as far as timing goes. It you need any more advice be glad to help. Dan I've recently been handed a huge mess of a project to clean up. Apparently there have been major issues with a newsletter tool timing out due to the increased number of registrants. I'm just curious how most people are handling sending out massive amounts of in short periods of time. Right now it is basically... 1) Set the timeout to a ridiculously high number 2) Select all the 3) Loop over all users and cfmail the newsletter 4) when people complain about timeouts, increase ridiculously high timeout number I'm sure this worked fine when there were 100-200 people in the database but that number is now very near 10,000. I'm probably not thinking hard enough just yet but there has GOT to be a better/easier way. I'd appreciate any comments or suggestions. ... This does need to be fully automated and I can't expect the user to open a meta refreshed page and let it run. (that would be too easy lol) Thanks .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.7/436 - Release Date: 9/1/2006 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251895 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java objects not regenerating?
What happens if you start/stop ColdFusion? I did think of that one, but still it seems to be showing the old object. ( I'm guessing its calling it from memory ). I've also deleted the class file and re-created..no dice there as well. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251897 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Java objects not regenerating?
What code you using to instantiate? I'd you start/stop ColdFusion I would expect it to clear memory? CFOBJECT TYPE=JAVA ACTION=Create NAME=image2 CLASS=TestClass cfdump var=#image2# ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251900 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mass emailing from CF
Thanks Dan. By batch do you mean just set up a cfschedules to send X number at a time? Yep. The logic seems fine to me. Depending on the size of your emails you might want to consider leaving more time in between batches. For example if your newsletter is only 20k then you less time is needed between batches if it was 100k. Only way to know is to test... Watch out for IIS's mail server though, we found it was unreliable for this kind of setup using CF. But if you are only sending 10k and the emails are small you may be able to get away with that for a while. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251902 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mass emailing from CF
Hi Bobby, Another thing we've done is to set server variables to limit the amount of batches that are concurrently running. So if there are more than say 3, it prevents the next batch from executing and reschedules the remaining batches. As well after monitoring performance we observed that batches took longer during peak hours ( as to be expected ) so we coded our system to adapt to the time of day etc. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251904 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Java objects not regenerating?
Hey guys, I found this in the CF admin.. need to untick and restart. Bingo! Server Settings Caching. [x] Save class files When you select this option, the class files generated by ColdFusion are saved to disk for reuse after the server restarts. Macromedia recommends this for production systems. During development, Macromedia recommends that you do not select this option ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251905 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: mass emailing from CF
That would be a nifty trick to keep batches from overlapping... got any more details on that? I created two templates to get things started. cfmailer_setup.cfm mailer.cfm cfmailer.cfm - basically sets the batches up. To keep the batches from overlapping...what I did was set a server variable which consisted of an array with blank strings. Something like cfset server.arr_jbe_taskrun = arraynew(1)... then it would set the batches up as scheduled tasks... These tasks would then call the mailer.cfm page, passing in appropriate url variables. mailer.cfm - would check to see if any array spaces were open / blank and if so would write its scheduled task id into that free space and then continue on to process the batch. Obviously then if there are no free spaces then a call needs to be made to cfmailer_setup.cfm to reschedule the remaining batches. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251917 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldfusion 7 service will not start...
I was making changes to the classpath in the Java section and when I went to restart the CF services they refuse to start now, even after reboot. Is there a way to modify an existing XML file that houses these java settings? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251847 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion 7 service will not start...
I checked the coldfusion-out.txt file and here's what it said... any ideas? # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x0815ae2c, pid=1892, tid=2024 # # Java VM: Java HotSpot(TM) Server VM (1.4.2_09-b05 mixed mode) # Problematic frame: # V [jvm.dll+0x15ae2c] # # An error report file with more information is saved as hs_err_pid1892.log space 3008K, 0% used space 1024K, 95% used space 64K, 0% used space 8384K, 61% used space 19456K, 99% used# # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # Starting Macromedia JRun 4.0 (Build 92909), coldfusion server 19/07 15:03:05 warning Unable to open C:\CFusionMX7\runtime/lib/license.properties 19/07 15:03:05 info JRun Naming Service listening on *:2920 19/07 15:03:06 warning No sessionSecret has been specified in jrun.xml. Installing a self generated sessionSecret. 19/07 15:03:06 info No JDBC data sources have been configured for this server (see jrun-resources.xml) 19/07 15:03:06 info JRun Proxy Server listening on *:51011 19/07 15:03:06 info Deploying enterprise application Macromedia ColdFusion MX from: file:/C:/CFusionMX7/ 19/07 15:03:07 info Deploying web application Macromedia Coldfusion MX from: file:/C:/CFusionMX7/ 19/07 15:03:10 INFO License Service: Flex 1.5 CF Edition enabled 19/07 15:03:10 INFO Starting Flex 1.5 CF Edition 19/07 15:03:10 user JSPServlet: init 19/07 15:03:11 user MessageBrokerServlet: init 19/07 15:03:11 user CFMxmlServlet: init ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251848 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion 7 service will not start...
thanks James, that did it. And this is probably relevant: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=a604060d On 9/2/06, James Holmes [EMAIL PROTECTED] wrote: -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251851 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Flex 2 - painfully slow...
So I'm investigating Flex 2 and its painfully slow. Didn't seem to bad at first but gradually got worse and worse. Has anyone else been experiencing this? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251729 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex 2 - painfully slow...
I do only have 512 ram on this dual core laptop plus running other applications so that may explain it. But none of my other apps grind to almost a complete halt like Flex 2 does. Its not like I'm into a heavy app either, I'm just going through the basic lessons. Sometimes I'm waiting for 10-20 seconds just to make what would be insignificant changes. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251736 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Flex 2 - painfully slow...
The slowest things for me were: 1. Rebuilding the application space... 2. Setting a document to be the default application page... 3. Adding a new mxml page. On Friday 01 September 2006 13:05, D F wrote: I do only have 512 ram on this dual core laptop plus running other applications so that may explain it. But none of my other apps grind to almost a complete halt like Flex 2 does. What bit is slow ? Editing in Flex Builder, compile, refresh in browser ... ? -- Tom Chiverton Helping to quickly customize industry-wide clusters This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251757 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex 2 - painfully slow...
I defrag monthly. You can speed up Flex Builder by regularily defragmenting the drive that the application runs on. Teddy On 9/1/06, Tom Chiverton [EMAIL PROTECTED] wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251779 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF Mail - What info available...
Hi Raymond, thanks for this. Where can I find this 'Admin API provided in CF7' ? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251635 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: When to use Java...
Hi Dave, would you be willing to share any information as to exactly how you've divided the functionality between the items described below. Another way to identify what goes where is to follow the natural MVC boundaries: Model = Java, View = CF, Controller = either, but probably CF. IMHO, that allows each language to play to its strengths. I followed this division of labor in a Mach-II app and it worked great. But as Denny pointed out, it might not be so great for the client. The next developer that picks up the app will need to know both CF and Java. Dave Jones NetEffect ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251464 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
MVC using Coldfusion and Java
In my last post I asked about when to use Java. Someone mention the MVC with the following designations... Model - Java View - CF Controller - Either I am curious to understand how this is can accomplished. Any comments or links to such descriptions would be most appreciated. The simpler the better as I am quite new to Java and so would probably benefit most from and overview of what people have done in their projects. Thanks ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251494 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MVC using Coldfusion and Java
Hi Mark, thanks for responding, yes that makes sense. I am doing a project like this, and we are connecitng the front end of our application to a commerce engine we have written in Java. So, to get products, I have a CFC that will go and call a Java Class that returns an array of products, my view then displays those products. Make sense? MD On 8/30/06, D F [EMAIL PROTECTED] wrote: ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251522 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
When to use Java...
I've been recently exploring the use of Java within CF using the cfobject tag...very handy indeed to expose all those built in classes. Are there any guidelines as to when one should be porting parts of a Coldfusion application directly to Java? Since CFMX is compiled into Java anyway, would there be any specific advantage to say creating recoding/porting parts of a CFMX app into classes/methods? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251078 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: When to use Java...
Hi Ian, thanks for your input. Here's another question. what if CF can do (A), Java can do (A) Is there any advantage to Java doing (A) over CF? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251081 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
creating a list from copy and pasted text from notepad...
Hi there, I'm trying to create a list ( with the delimiter set for space )... but it seems that when the text I'm working with ( cut and pasted from notepad ) it seems Coldfusion is not recognizing the spaces as legitimate spaces... probably some kind of control characters or line brakes etc... How could I set the delimiters to look for these things? For example I'm trying to import a cut and pasted list from notepad that looks like this...this is being posted into a textarea field set to wrap=off [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] On the form action page it's not apparent what CF is doing with the spaces inbetween the email addresses. I'm tried searching and replacing /n, /r, also 180;... not much seems to be working... ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250705 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: creating a list from copy and pasted text from notepad...
Yah you're right it should be \n etc.. I tried both, no luck. I also tried search for the spaces, but no luck there either. Check they are actually spaces. Forget about /n or /r, and I think these should be \n but not in CF... Ade ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250724 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4