Re: ORMExecuteQuery problem
There seems to be some problem with the type conversion. So out of curiosity, can you check what happens when you replace the query with ormExecuteQuery("from User where region_id =? and usergroup_id=?", [1, 1]); If that works fine, would you mind sending a test case to me (rukumar at adobe )? It would be great if you can also add the stacktrace for the null pointer? Rupesh ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:328735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: The Woes of CFThread -- going out of my mind!
Excellent point Dan! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308851 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The Woes of CFThread -- going out of my mind!
Well, Did you check what is the thread doing when you say the Server is hung? Can you take a thread dump and post that here? You can take the thread dump using Server monitor or you can refer to my post http://coldfused.blogspot.com/2005/11/thread-dumps.html however, I see few potential problems in the code - In the loop, when you fire 10th threads, you join with timeout of 2.5 seconds, and if by that time, all the threads are not finished, you kill them all. So it might happen that threads would not have finished by that time - If you see the docs and if you see my presentation, everywhere it is said that you should use 'terminate' only when absolutely necessary. Don't overuse it as it might lead the thread in some inconsistent state. You should code it in such way that you don't need to terminate the threads most of the time - I don't think you should duplicate the catch. get the message from catch and set it to the thread. For test purpose you can remove catch and see what is the error that you get. Always remember that the thread does not write any output or error to the response. It will be available in the thread scope. Hope that helps. Rupesh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308845 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: The Woes of CFThread -- going out of my mind!
Well, Did you check what is the thread doing when you say the Server is hung? Can you take a thread dump and post that here? You can take the thread dump using Server monitor or you can refer to my post http://coldfused.blogspot.com/2005/11/thread-dumps.html however, I see few potential problems in the code - In the loop, when you fire 10th threads, you join with timeout of 2.5 seconds, and if by that time, all the threads are not finished, you kill them all. So it might happen that threads would not have finished by that time - If you see the docs and if you see my presentation, everywhere it is said that you should use 'terminate' only when absolutely necessary. Don't overuse it as it might lead the thread in some inconsistent state. You should code it in such way that you don't need to terminate the threads most of the time - I don't think you should duplicate the catch. get the message from catch and set it to the thread. For test purpose you can remove catch and see what is the error that you get. Always remember that the thread does not write any output or error to the response. It will be available in the thread scope. Hope that helps. Rupesh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308844 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument not working with CF 8.0.1 update
Hi, AbstractMethodError can come only when there is incompatibility between two classes which in this case means, that you have a hotfix applied which is no longer compatible. Since you have upgraded to 801, you can remove the hotfix and you should be good to go. Please let me know if that works for you. Thanks & Regards, Rupesh Adobe ColdFusion Team. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302939 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Follow-up: PDF generation running excrutiatingly slow
I posted a blog entry about this at http://coldfused.blogspot.com/2007/12/images-and-cfdocument-performance.html Let me know if that helps. Thanks & Regards, Rupesh Adobe ColdFusion Team ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:295097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfdocument: How to design a PDF excactly the way I want?
Hi Henry, The problem is that you did not define the margin space for header and footer. By default the top and bottom margin is 0.5 inch and that is where it will try to fit your content. And since you have specified absolute positions, it did not even get scaled. I changed your code a little as shown below just to give an example. Title Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test Test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294507 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle "overflow:auto". If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why "overflow:auto" style does not work. Thanks & Regards, Rupesh Adobe ColdFusion team. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294506 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: PDF creation in CF8 - not working...please help
Andy, It looks like the rendering engine for html/css in CF does not handle "overflow:auto". If you remove that from your style, the pdf will get created fine. Meanwhile we will investigate why "overflow:auto" style does not work. Thanks & Regards, Rupesh Adobe ColdFusion team. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294505 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDocument: 3x2 document but only uses 3/4 of it
Hi, Could you please post the complete code that can replicate this? We have fixed a similar bug recently and a cumulative hotfix will be going out recently. Regards, Rupesh. Adobe ColdFusion Team ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293953 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8 & .NET HELP!!!
Hi Dale, I tried your code and it works fine as expected. I wonder why it does not work for you. Could you please tell us the following.. - Whats the .NET version installed on your machine? - Is ColdFusion .NET service running fine? - Do you see "dotNetCoreProxy.jar" under wwwroot/WEB-INF/cfclasses/dotNetProxy? If yes, whats the size? - What happens when you try to generate the proxy manually? The tool to do that is /jnbridge/jnbproxyGui.exe. You can refer to the documents for help in using it. Thanks & Regards, Rupesh ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289405 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Query Cache, Corrupt Table (Was: ColdFusion 8 & CachedWithin Issue)
Hi Ken, This bug was very recently discovered and it has been fixed. We will release a hotfix for this very soom. Thanks, Rupesh Adobe ColdFusion Team. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDocument Zoomed Images NOT Solved with hotfix
Have you followed all the steps specified with the hotfix? In our testing we no longer see the image zoom or cropping issue. Could you please verify that once more? Can you also let me know if there are any other hotfix installed on your CF? ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286806 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDocument Zoomed Images NOT Solved with hotfix
Have you followed all the steps specified with the hotfix? In our testing we no longer see the image zoom or cropping issue. Could you please verify that once more? Can you also let me know if there are any other hotfix installed on your CF? ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286804 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 8 and CFDOCUMENT
Bryan, Can you post your code so that I can see what you are trying to do and what is broken. Rupesh. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284642 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 8 and CFDOCUMENT
Bryan, Can you send me your code so that I can see what you are trying to do and what is broken. Rupesh. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:284641 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Typeof()
Enter CF8 and we have added IsInstanceOf(object, Type) to do the same. It checks whether the given object is of given type where the type is a component or interface. Regarding MetaData for components, we have also added a new Method GetComponentMetaData(componentOrInterface). As opposed to GetMetaData, this method does not create any object for component and hence it is faster and efficient. Rupesh Adobe ColdFusion Team. ~| 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:281243 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFC Typeof()
Enter CF8 and we have added IsInstanceOf(object, Type) to do the same. It checks whether the given object is of given type where the type is a component or interface. Regarding MetaData for components, we have also added a new Method GetComponentMetaData(componentOrInterface). As opposed to GetMetaData, this method does not create any object for component and hence it is faster and efficient. Rupesh Adobe ColdFusion Team. ~| 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:281242 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFDocument image issue
Hi, I had posted few entries related to this some time back and I think might help. http://coldfused.blogspot.com/search/label/cfdocument Rupesh. ~| 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:273998 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFDocument image issue
Hi, I had posted few entries related to this some time back and I think might help. http://coldfused.blogspot.com/search/label/cfdocument Rupesh. ~| 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:273997 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Any way to limit file upload size?
There is one setting we added in merrimack which is request throttle size and max post size. This is a global setting which you can set from the admin console. This setting is used much before the request processing and if the post size is more than the allowed limit, it will throw an error. Thanks & Regards, Rupesh ~| 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:263253 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Any way to limit file upload size?
There is one setting we added in merrimack which is request throttle size and max post size. This is a global setting which you can set from the admin console. This setting is used much before the request processing and if the post size is more than the allowed limit, it will throw an error. Thanks & Regards, Rupesh ~| 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:263252 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfdocument + iText
Hi Jose, Though the watermark capability is not there in cfdocument, it should be doable using background images of the html. I understand it is easily said than done as you will have to size your images carefully so that they come properly and only once on all the pages. We will try to have it in the scorpio release. Any other itext feature that you think are missing and should be there in cfdocument? Thanks, Rupesh ~| 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/cf_lists/message.cfm/forumid:4/messageid:247227 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Using CFDOCUMENT to generate PDF's from MS Word docs?
Nope ! CFDocument does not support conversion of MS-word doc into pdf. It can create PDF Document only from html content, plain text or images. Thanks. >Is it possible to generate a PDF from an MS Word source file using >CFDOCUMENT? I would think that using the srcfile and mimetype >attributes would allow this, yet I get a "The document has no pages" >error when running the following code (this is all that is in the .CFM >file): > >filename="d:\test.pdf" format="PDF" pagetype="letter" >orientation="portrait" overwrite="Yes"> > >Yes, MS word is installed (trying to get this to work on my laptop). > >Thanks, > >Pete ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237163 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Weird Encrypt/Decrypt problem!
Its actually not a bug. The encrypted string that is generated is "*5)V%5*.Z59RR$ " with a space at the end. When you decrypt the string, if you use the same string it will work as it should. In your case, the string was trimmed and hence this behaviour. You can verify this using this code snippet. foo is '#foo#' bar is #bar# By default encrypt uses UU-encoding to encode the encrypted data. So to ensure that there is no trailing spaces, you should use Base-64 encoding. you can specify that in Encrypt/Decrypt function. Other solution is to base-64 encode the data you get after encrypt and persist. And when you retrieve it frm DB, base-64 decode and then pass it to decrypt. Thanks Rupesh. >Whoa. So weird I also tested here, and the encoded "johnmurray" was >decoded to "johnmurrax"! It's not with all 10 charcs. string, by the way. > >I think this is a CF default algorithm (CFMX_COMPAT, which is compatible >do earlier versions of CF) implementation bug. > >You should use a more secure and standard algorithm, like TripleDES. >Check out the Encrypt() documentation. > >-- >Fabio Terracini > > > > >Andy Mcshane wrote: > >> ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:219276 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CFDOCUMENT image zooming problem not resolved with MX7 hotfix 3?
This hotfix does not have a fix for the image zoom bug but image-crop bug. Fix for image zoom and some others will be available in the updater. Mike, could you please give the details why you are not getting any PDF? You can post your mail id and I would get in touch with you. Thanks & Regards, Rupesh. Coldfusion Server Team, Macromedia. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212577 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54