Re: cfimage error
Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353917 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
many, many times. I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353918 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353919 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353920 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353921 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
Actually I do recal michael or judith posting something recently about problems with the unsubscribe, so you may need to wait for him to reply. Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 8:34 AM, Dan Baughman dan.baugh...@gmail.com wrote: many, many times. I've tried several permutations of accounts and unsubscribe options after being logged in. The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. I've emailed him and the website contact us form several times. When i started this endeavor the forgot password link didn't even work, and i was excited when that was fixed, but alas, I continue to receive emails even after selecting unsubscribe. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. On Wed, Jan 16, 2013 at 1:17 AM, Russ Michaels r...@michaels.me.uk wrote: Did you try clicking the unsubscribe link that is in plain sight on the footer of every single message.? Regards Russ Michaels www.michaels.me.uk www.cfmldeveloper.com - Free CFML hosting for developers www.cfsearch.com - CF search engine On Jan 16, 2013 4:48 AM, Dan Baughman dan.baugh...@gmail.com wrote: honestly people how do you get off this list? On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Tim Do [mailto:t...@wng.com] Sent: Tuesday, January 15, 2013 2:34 PM To: cf-talk Subject: cfimage error I have this bit of code that used to work in the past... but now I'm getting: An exception occurred while trying to read the image. javax.imageio.IIOException: Can't get input stream from URL! I verified that the image is still there and permissions are still the same. I'm able to display the image fine. We're on cf9. cfimage source=#getImage.imgName# action=info structName=FlrPlnInfo I'm just trying to get the width of the image. So I tried to use code below but just getting -1 for width and height. cfobject type=JAVA action=Create name=tk class=java.awt.Toolkit /cfobject cfobject type=JAVA action=Create name=img class=java.awt.Image /cfobject cfscript img = tk.getDefaultToolkit().getImage(#getImage.imgName#); width = img.getWidth(); height = img.getHeight(); /cfscript cfoutput#width#br /#height#/cfoutput Thanks! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353922 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CFFILE and spaces in file name (Not Upload)
What about renaming all the filenames with spaces to remove the spaces, then move them. Use cfdirectory to get a list of the filenames, then loop over the results and rename the files without spaces: cfset newFileName = replace(originalFileName, , , all) / Then use cfdirectory to get the new file list, loop over that list and use cffile action=move Or it might work just as well to rename and delete in the first loop over the directory filelist. Rick -Original Message- From: Adrian Cesana [mailto:t...@ascc.com] Sent: Wednesday, January 16, 2013 1:18 AM To: cf-talk Subject: CFFILE and spaces in file name (Not Upload) I am cleaning up an older site that has grown a bit out of control with all images being dumped into a single directory. Almost all the filenames have a space in them. I am trying to use CFFILE action=move to clean things up but apparently CFFILE does not like the spaces in the file names. Any clever ways around this? As I type this I am thinking I could use CF to write a CMD script and then just run it in good old DOS prompt since its a one time thing. I would rather not do this as I plan to update a DB field as the script process's so I know where I am when it times out.. ManCF has come so far since the Bob Denny days, but then the simplest things choke it. ~Adrian ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353923 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. No he is not. He is currently recovering from surgery. And is it too difficult to use the delete key until Mike can get out of his hospital bed and instantly accommodate your wishes. pardon me I forgot the sarcasm tags ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353924 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. start being a smart ass? from this behavior that was started long ago. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353925 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error
Actually Larry...he is right...it does give us an lesson...he is making an example of himself...of how to be a complete ass. This sarcasm free statement brought to you by the makers of get a fraken soul already... Eric -Original Message- From: Larry Lyons [mailto:larrycly...@gmail.com] Sent: Wednesday, January 16, 2013 8:56 AM To: cf-talk Subject: Re: cfimage error Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. No he is not. He is currently recovering from surgery. And is it too difficult to use the delete key until Mike can get out of his hospital bed and instantly accommodate your wishes. pardon me I forgot the sarcasm tags ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353926 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfimage error / TRY THIS!
This should solve your problem. It's a function from one of my CF Components it will return various image properties including the width and height (unless it's CYMK, but then it will let you know that too). Put the function below in a CFC. cffunction name=get_image_properties returntype=any access=public output=false cfargument name=image_file type=string required=true / cftry cfscript jFileIn = createObject(java,java.io.File).init(arguments.image_file); ImageInfo = StructNew(); ImageObject = createObject(java,javax.imageio.ImageIO).read(jFileIn); imageFile = CreateObject(java, java.io.File); imageFile.init(arguments.image_file); sizeb = imageFile.length(); sizekb = numberformat(sizeb / 1024, 9.99); sizemb = numberformat(sizekb / 1024, .99); get_imginfo = StructNew(); get_imginfo.ImgWidth = ImageObject.getWidth(); get_imginfo.ImgHeight = ImageObject.getHeight(); get_imginfo.ImageType = ImageObject.getColorModel().getColorSpace().getType(); if (get_imginfo.ImageType eq 9) { get_imginfo.ImageType=CYMK;} else if (get_imginfo.ImageType eq 5) { get_imginfo.ImageType=RGB;} else {get_imginfo.ImageType=UNKNOWN;}; get_imginfo.SizeKB = sizekb; get_imginfo.SizeMB = sizemb; return get_imginfo; /cfscript cfcatch type = any cfscript get_imginfo = StructNew(); get_imginfo.ImgWidth = 0; get_imginfo.ImgHeight = 0; get_imginfo.SizeKB = 0; get_imginfo.SizeMB = 0; get_imginfo.ImageType = UNKNOWN; return get_imginfo; /cfscript /cfcatch /cftry /cffunction Call the function with this: cfinvoke component=PATHTOCOMPONENT.CFCFILENAME method=get_image_properties returnVariable=image_properties cfinvokeargument name=image_file valueTHE-FULL-PATH-TO-THE-IMAGE-FILE /cfinvoke To see what values are returned so you can determine what you have to use do: cfdump var=# image_properties # Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_williams -Original Message- From: Dan Baughman [mailto:dan.baugh...@gmail.com] Sent: Tuesday, January 15, 2013 11:50 PM To: cf-talk Subject: Re: cfimage error cfimage is really quite buggy... it has file locking issues. you have to fiddle with the tag and function version until something works reliably in a high demand environment. It is truthfully only marginally better than the native java stuff. On Tue, Jan 15, 2013 at 3:59 PM, Tim Do t...@wng.com wrote: The images are all named correctly since I'm able to pull the images up and display them. The coldfusion server that the cfimage code resides on is calling the image from another server. I verified all permissions and even added everyone full access to test and it still didn't work. I created a virtual directory to the image server and the cfimage tag started working again. I'm not sure what security differences are between the methods but the virtual directory fixed my issue. -Original Message- From: Bill Moniz [mailto:hydro.b...@gmail.com] Sent: Tuesday, January 15, 2013 2:13 PM To: cf-talk Subject: Re: cfimage error Just because I ran into this CFimage problem yesterday... Are the images by any change named with the wrong extension? For example, a PNG inmage mistakenly named with a JPG extension? If you examine the first bit of the file in a hex editor, you can see the difference. Cheers. On 16 January 2013 08:57, Tim Do t...@wng.com wrote: All images are RGB/BW no CMYK. -Original Message- From: Robert Harrison [mailto:rob...@austin-williams.com] Sent: Tuesday, January 15, 2013 1:48 PM To: cf-talk Subject: RE: cfimage error Is the image CYMK? That could cause a problem. Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct
RE: cfimage error / TRY THIS!
Correction to one line: cfinvokeargument name=image_file value=THE-FULL-PATH-TO-THE-IMAGE-FILE Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_wi ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353928 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
JRun errors after security patch install
Hello -- I installed the security patch last night on cf 9.1 linux, and woke up this morning to find that some of our templates no longer work: [Wed Jan 16 09:28:27 2013] [notice] jrApache[1978: 53193] returning error page for JRun too busy or out of memory They return a 500 error to the user. The commonality in the templates that are doing this is that they have lots of FORM variables. So, they're dealing with a lot of form input. They have worked perfectly for years, up til this patch. Has anyone else experienced this? We are running on linux/apache. Regards ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353929 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Zero Day Error: Impact on CF?
I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353930 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
This vulnerability relates only to the Java app you install on your desktop, not the JVM you run on a server, So has no effect on CF at all, other than the Java applets used for things like CFGRID et al will no longer work on systems that have removed java, but no-one really uses those any more anyway. On Wed, Jan 16, 2013 at 3:43 PM, Robert Harrison rob...@austin-williams.com wrote: I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353931 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
Robert, in a word, No. Refer to this quote here: An important distinction that needs to be made between in-the-browser Java and the far more common Java runtime environment, says Jo DeMesy, senior analyst for Stach Liu. This vulnerability does not affect Web applications with utilize the Java server-side, which is by far the most common use of the Java programming language. The vulnerability lies within the Java runtime exposed to Web clients which load a malicious Java applet. This type of implementation is much less common [in enterprise applications]. As the article states towards the end, organizations need to begin replacing these applets/plugins (and ActiveX controls, Flash, etc.) with browser-based solutions using HTML5, et.al. I know my company launched into a panic over our servers, both CF and other Java-based ones but as we told them, it's in the browser plug-in, not in our server runtime. However, the concern of Oracle, and to a lesser extent all the JVM implementations out there, is the fact that tech leadership will see Java Exploit Can't be Closed and start moving people onto other platforms when the risk is on the client side, not server, Phil On Wed, Jan 16, 2013 at 10:43 AM, Robert Harrison rob...@austin-williams.com wrote: I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353932 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
From the article An important distinction that needs to be made between in-the-browser Java and the far more common Java runtime environment, says Jo DeMesy, senior analyst for Stach Liu. This vulnerability does not affect Web applications with utilize the Java server-side, which is by far the most common use of the Java programming language. The vulnerability lies within the Java runtime exposed to Web clients which load a malicious Java applet. This type of implementation is much less common [in enterprise applications]. On Wed, Jan 16, 2013 at 10:59 AM, Russ Michaels r...@michaels.me.uk wrote: This vulnerability relates only to the Java app you install on your desktop, not the JVM you run on a server, So has no effect on CF at all, other than the Java applets used for things like CFGRID et al will no longer work on systems that have removed java, but no-one really uses those any more anyway. On Wed, Jan 16, 2013 at 3:43 PM, Robert Harrison rob...@austin-williams.com wrote: I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353933 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
I think that Java is far too entrenched within the enterprise for anyone to consider abandoning it, including Oracle. I do not see this as the death knell of Java, or for CF, but rather an excuse for resources to be dedicated more heavily towards improving Java as a whole. The issue addressed here is in relation to client side Java controls, which present little to no threat to CF based applications, or the CF server itself. (CERT suggested disabling Java *in web browsers*, not killing off JEE servers) Homeland Security uses ColdFusion servers, as do large segments of the US and foreign governments. (I won't even mention the thousands of Tomcat and JBoss JEE server installations within the government and corporate environments to boot.) Hold your cries til true cause says to. Steve 'Cutter' Blades Adobe Community Professional Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010 https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book The best way to predict the future is to help create it On 1/16/2013 10:43 AM, Robert Harrison wrote: I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353934 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
that's what I said Gerald. On Wed, Jan 16, 2013 at 4:00 PM, Gerald Guido gerald.gu...@gmail.comwrote: From the article An important distinction that needs to be made between in-the-browser Java and the far more common Java runtime environment, says Jo DeMesy, senior analyst for Stach Liu. This vulnerability does not affect Web applications with utilize the Java server-side, which is by far the most common use of the Java programming language. The vulnerability lies within the Java runtime exposed to Web clients which load a malicious Java applet. This type of implementation is much less common [in enterprise applications]. On Wed, Jan 16, 2013 at 10:59 AM, Russ Michaels r...@michaels.me.uk wrote: This vulnerability relates only to the Java app you install on your desktop, not the JVM you run on a server, So has no effect on CF at all, other than the Java applets used for things like CFGRID et al will no longer work on systems that have removed java, but no-one really uses those any more anyway. On Wed, Jan 16, 2013 at 3:43 PM, Robert Harrison rob...@austin-williams.com wrote: I'd assume you've all been seeing the recent reports on Java. It's been officially announced by HomeLand Security that the zero day error and other problems are too deeply embedded in Java to fix with a patch. Their official recommendation is to remove Java from all machines. I know Oracle put out a patch for this, but reports are the patch is considered insufficient and the problems too close to the core to fix. Information Week has an article on recommending users scale back on use of Java, remove it wherever possible, and do no further Java development. For example, see: http://www.darkreading.com/database-security/167901020/security/news/240146361/the-death-of-java-in-the-enterprise.html?cid=nl_DR_daily_2013-01-16_htmlelq=4d908631d1b04069869fc003faf4e182 Question is: Could this be the death of CF? CF has been tenuous for several years now, and given that the core system on which CF is built (Java) is now getting bad press, what do you think this means for the future of CF? Robert Harrison Director of Interactive Services Austin Williams Advertising I Branding I Digital I Direct 125 Kennedy Drive, Suite 100 I Hauppauge, NY 11788 T 631.231.6600 X 119 F 631.434.7022 http://www.austin-williams.com Blog: http://www.austin-williams.com/blog Twitter: http://www.twitter.com/austin_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353935 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Zero Day Error: Impact on CF?
Doubtful, reading about the exploit, this has an impact on client side Java, similar to the old client side Java applets that were in earlier versions of Coldfusion. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353936 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JRun errors after security patch install
Terry, I assume you are referring to the latest patch released earlier this week. Since it was a cumulative patch, it included some previously released security improvements as well as the new ones. One of the older security improvements was to add a Post Parameter Limit setting to prevent denial of service (DOS) attacks using hash algorithm collisions. You can find details of the issue here http://www.adobe.com/support/security/bulletins/apsb12-06.html. The default value for this new setting is 100, but you can increase it if you need to. Instructions to do this can be found here http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix.html. HTH, -Carl V. On 1/16/2013 7:36 AM, Terry Ford wrote: Hello -- I installed the security patch last night on cf 9.1 linux, and woke up this morning to find that some of our templates no longer work: [Wed Jan 16 09:28:27 2013] [notice] jrApache[1978: 53193] returning error page for JRun too busy or out of memory They return a 500 error to the user. The commonality in the templates that are doing this is that they have lots of FORM variables. So, they're dealing with a lot of form input. They have worked perfectly for years, up til this patch. Has anyone else experienced this? We are running on linux/apache. Regards ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353937 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JRun errors after security patch install
That's the problem -- thanks for the response! JRun too busy or out of memory as an error message for form variable limit reached could probably be improved upon ;) Regards, Terry From: Carl Von Stetten vonner.li...@vonner.net To: cf-talk cf-talk@houseoffusion.com Sent: Wednesday, January 16, 2013 8:49 AM Subject: Re: JRun errors after security patch install Terry, I assume you are referring to the latest patch released earlier this week. Since it was a cumulative patch, it included some previously released security improvements as well as the new ones. One of the older security improvements was to add a Post Parameter Limit setting to prevent denial of service (DOS) attacks using hash algorithm collisions. You can find details of the issue here http://www.adobe.com/support/security/bulletins/apsb12-06.html. The default value for this new setting is 100, but you can increase it if you need to. Instructions to do this can be found here http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix.html. HTH, -Carl V. On 1/16/2013 7:36 AM, Terry Ford wrote: Hello -- I installed the security patch last night on cf 9.1 linux, and woke up this morning to find that some of our templates no longer work: [Wed Jan 16 09:28:27 2013] [notice] jrApache[1978: 53193] returning error page for JRun too busy or out of memory They return a 500 error to the user. The commonality in the templates that are doing this is that they have lots of FORM variables. So, they're dealing with a lot of form input. They have worked perfectly for years, up til this patch. Has anyone else experienced this? We are running on linux/apache. Regards ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353938 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
The best guess is my email address is somehow double entered into the database and its too complex for Michael D. to solve. My guess is that you have registered a different email address, and that this address forwards to your Gmail address. Truly, the manager of this list is a lesson in the bad CF programmers you hear about who give us all a bad name. I think that's an unfair statement to make, to say the least. I've run high-volume mailing lists, and seen many cases just like yours where someone couldn't unsubscribe. The problem - in all of those cases - had to do with the user subscribing with a different email address, setting up forwarding, and forgetting all about it. This is one reason why I'm happy not to run any high-volume mailing lists any more. Many times, I dearly wished for a TCP protocol that would allow me to punch someone through Ethernet, but alas this has not yet been perfected. The manager of this list is providing a free service. He does not make any money from it. It costs him time and money to administer. so im just going to start being a smart ass until i'm unsubscribed after months of effort to get off this list. You could spend five minutes setting up a Gmail filter and not being a dick. Your choice I guess. 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. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353939 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: form-post to SQL-insert creates double-entry
If you add a name attribute to your submit button: input type=submit name=submit value=Enter New Donor then when the form is submitted, there will be a corresponding submit key added to the form scope. Then, as others have suggested, wrap your query in: cfif StructKeyExists(form, submit) //Your query here /cfif Again, as the others have stated, this will cause the query to only be executed if the form is actually submitted, rather than on every page load. HTH, -Carl V ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353940 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfimage error
*Many times, I dearly wished for a TCP protocol that would allow me to punch someone through Ethernet, but alas this has not yet been perfected.* ** ** +1 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353941 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 REST has completely tanked
Figured it out! Fortunately, a programming error - I'd mistakenly defined an argument in a REST-enabled CFC with an HTTPMethod of GET as an array instead of a string. As such, even if it wasn't being called, it still caused the REST response of an unrelated CFC to fail (or, at least, return null). I'm glad it's working, but this is easily the worst error situation I've come across, and it seems like it's an issue with remote-access CFCs in general. I've had strange errors before with a remote-invoked JSON-returning CFC (through CFAJAXPROXY) that had an error, but the server, instead of passing along an exception, said it was unable to find the CFC. It's more than a little annoying that there wasn't a single understandable error message or even a meaningful stack trace in any of the error logs at the very least. Ok, rant over, Thanks for your help/sanity check, Ray - it helped me narrow things down quite a bit. I'm going to go for a walk now :) - Jim On Tue, Jan 15, 2013 at 10:51 PM, Dan Baughman dan.baugh...@gmail.comwrote: I'm an old school coder and always serialize stuff manually without using the built-in garbage and it works great that way. The other serialization I use often is cfwddx On Tue, Jan 15, 2013 at 2:55 PM, Jim Campbell j...@inomi.com wrote: No worries - the way it's built, it's not *too* much of a stretch to switch gears and go to the old http://domain/foo.cfc?kicking=itold=school; method - the REST interface itself is a minor aspect of the functional nature of the application. I'll keep an eye on this thread, though - maybe there's a solution, and I'll check in with Adobe support and file a bug report if necessary. Thanks! - Jim On Tue, Jan 15, 2013 at 3:46 PM, Raymond Camden raymondcam...@gmail.com wrote: You got me man. Sorry. The virtual server thing is something I ran into and was never able to get around. Unless someone else can help, best I'd recommend is Adobe support. Actually - let me ping someone. On Tue, Jan 15, 2013 at 3:42 PM, Jim Campbell j...@inomi.com wrote: The REST CFCs themselves are not in virtual directories. I have two local servers created in IIS - dev.remote (which handles the REST requests) and dev.local (everything else). Both of these environments have virtual directories for CFIDE and jakarta, but, for dev.local, the REST CFCs are physically there. I've tried CF mapping the folder containing the REST CFCs (/API), but it doesn't make a difference. Just now, I tried using restDeleteApplication() and restInitApplication() in onApplicationStart(), but no dice. At this point, there doesn't seem to be any way to re-register the app. Is there possibly a neo-something.xml file that could contain some fouled up registration code? - Jim On Tue, Jan 15, 2013 at 3:13 PM, Raymond Camden raymondcam...@gmail.com wrote: By any chance are these CFCs under a virtual folder? (Not CF mapping,a virtual IIS folder). On Tue, Jan 15, 2013 at 2:46 PM, Jim Campbell j...@inomi.com wrote: Yep - that did nothing notable (no errors on the page or in the logs) and no difference in response. For the record, all of my REST responses are coming back empty, regardless of the return type. On Jan 15, 2013 2:30 PM, Raymond Camden raymondcam...@gmail.com wrote: Have you tried reloading it in the REST page in the CF Admin? -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353942 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF9 Enterprise. Max heap recommendation?
I am running a slew of VPS instances at Viviotech. Each VPS runs CF9 Enterprise. The VPS has 6GB of RAM available, and I have the JVM max heap set to 2GB. Did some research on this some time ago and (right or wrong) the consensus I found was that 2Gb was about the max that you wanted to go. On one of the high traffic instances, I ran out of heap space today. Hosting tech's solution was to increase heap size to 2.5G. Any thoughts on whether this new value is in fact over a line/out of comfort zone? Anyone have a good link to jvm tuning settings? I'm presently using -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Xbatch -- --m@Robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353943 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 Enterprise. Max heap recommendation?
I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS. -Original Message- From: Money Pit [mailto:websitema...@gmail.com] Sent: Wednesday, January 16, 2013 2:54 PM To: cf-talk Subject: CF9 Enterprise. Max heap recommendation? I am running a slew of VPS instances at Viviotech. Each VPS runs CF9 Enterprise. The VPS has 6GB of RAM available, and I have the JVM max heap set to 2GB. Did some research on this some time ago and (right or wrong) the consensus I found was that 2Gb was about the max that you wanted to go. On one of the high traffic instances, I ran out of heap space today. Hosting tech's solution was to increase heap size to 2.5G. Any thoughts on whether this new value is in fact over a line/out of comfort zone? Anyone have a good link to jvm tuning settings? I'm presently using -server -Dsun.io.useCanonCaches=false -XX:MaxPermSize=256m -XX:+UseParallelGC -Xbatch -- --m@Robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353944 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9 Enterprise. Max heap recommendation?
On Wed, Jan 16, 2013 at 11:56 AM, DURETTE, STEVEN J wrote: I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS. Ah I failed to mention it but I am running on Win 2k8/64 -- --m@Robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353945 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: CF9 Enterprise. Max heap recommendation?
So you should be good to go. Increase to what you need/have available. I leave 2 Gig for OS, the rest I split equally between ColdFusion Instances (well two instances are running with small amounts of memory, but that is all they need). Steve -Original Message- From: Money Pit [mailto:websitema...@gmail.com] Sent: Wednesday, January 16, 2013 3:12 PM To: cf-talk Subject: Re: CF9 Enterprise. Max heap recommendation? On Wed, Jan 16, 2013 at 11:56 AM, DURETTE, STEVEN J wrote: I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS. Ah I failed to mention it but I am running on Win 2k8/64 -- --m@Robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353946 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 REST has completely tanked
Jim, I hear your pain. I've had issues here as well. I strongly urge you to file a bug report so our engineers can know about this. To be clear, the bug is that the error wasn't done in a way to help you, when clearly it should have been. On Wed, Jan 16, 2013 at 1:36 PM, Jim Campbell j...@inomi.com wrote: Figured it out! Fortunately, a programming error - I'd mistakenly defined an argument in a REST-enabled CFC with an HTTPMethod of GET as an array instead of a string. As such, even if it wasn't being called, it still caused the REST response of an unrelated CFC to fail (or, at least, return null). I'm glad it's working, but this is easily the worst error situation I've come across, and it seems like it's an issue with remote-access CFCs in general. I've had strange errors before with a remote-invoked JSON-returning CFC (through CFAJAXPROXY) that had an error, but the server, instead of passing along an exception, said it was unable to find the CFC. It's more than a little annoying that there wasn't a single understandable error message or even a meaningful stack trace in any of the error logs at the very least. Ok, rant over, Thanks for your help/sanity check, Ray - it helped me narrow things down quite a bit. I'm going to go for a walk now :) - Jim On Tue, Jan 15, 2013 at 10:51 PM, Dan Baughman dan.baugh...@gmail.com wrote: I'm an old school coder and always serialize stuff manually without using the built-in garbage and it works great that way. The other serialization I use often is cfwddx On Tue, Jan 15, 2013 at 2:55 PM, Jim Campbell j...@inomi.com wrote: No worries - the way it's built, it's not *too* much of a stretch to switch gears and go to the old http://domain/foo.cfc?kicking=itold=school; method - the REST interface itself is a minor aspect of the functional nature of the application. I'll keep an eye on this thread, though - maybe there's a solution, and I'll check in with Adobe support and file a bug report if necessary. Thanks! - Jim On Tue, Jan 15, 2013 at 3:46 PM, Raymond Camden raymondcam...@gmail.com wrote: You got me man. Sorry. The virtual server thing is something I ran into and was never able to get around. Unless someone else can help, best I'd recommend is Adobe support. Actually - let me ping someone. On Tue, Jan 15, 2013 at 3:42 PM, Jim Campbell j...@inomi.com wrote: The REST CFCs themselves are not in virtual directories. I have two local servers created in IIS - dev.remote (which handles the REST requests) and dev.local (everything else). Both of these environments have virtual directories for CFIDE and jakarta, but, for dev.local, the REST CFCs are physically there. I've tried CF mapping the folder containing the REST CFCs (/API), but it doesn't make a difference. Just now, I tried using restDeleteApplication() and restInitApplication() in onApplicationStart(), but no dice. At this point, there doesn't seem to be any way to re-register the app. Is there possibly a neo-something.xml file that could contain some fouled up registration code? - Jim On Tue, Jan 15, 2013 at 3:13 PM, Raymond Camden raymondcam...@gmail.com wrote: By any chance are these CFCs under a virtual folder? (Not CF mapping,a virtual IIS folder). On Tue, Jan 15, 2013 at 2:46 PM, Jim Campbell j...@inomi.com wrote: Yep - that did nothing notable (no errors on the page or in the logs) and no difference in response. For the record, all of my REST responses are coming back empty, regardless of the return type. On Jan 15, 2013 2:30 PM, Raymond Camden raymondcam...@gmail.com wrote: Have you tried reloading it in the REST page in the CF Admin? -- === Raymond Camden, Adobe Developer Evangelist Email : raymondcam...@gmail.com Blog : www.raymondcamden.com Twitter: cfjedimaster ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353947 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF10 REST has completely tanked
Yep, I'm writing one up now. Thanks! - Jim On Wed, Jan 16, 2013 at 2:41 PM, Raymond Camden raymondcam...@gmail.comwrote: the error wasn't done in a way to help you, when clearly it should have been ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353948 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CF9 Enterprise. Max heap recommendation?
as said, the limit is for 32bit, and is more like 1gb as your on 64bit the skys the limit. You should also consider increasing XX:MaxPermSize as well as this can more often cause problems on servers using lots of memory especially with sites that have lots of CFC's such as MURA On Wed, Jan 16, 2013 at 8:13 PM, DURETTE, STEVEN J sd1...@att.com wrote: So you should be good to go. Increase to what you need/have available. I leave 2 Gig for OS, the rest I split equally between ColdFusion Instances (well two instances are running with small amounts of memory, but that is all they need). Steve -Original Message- From: Money Pit [mailto:websitema...@gmail.com] Sent: Wednesday, January 16, 2013 3:12 PM To: cf-talk Subject: Re: CF9 Enterprise. Max heap recommendation? On Wed, Jan 16, 2013 at 11:56 AM, DURETTE, STEVEN J wrote: I believe that 2 gig limit was 32 bit OS. I run at much higher on 64 bit OS. Ah I failed to mention it but I am running on Win 2k8/64 -- --m@Robertson-- Janitor, The Robertson Team mysecretbase.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:353949 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm