Re: Linking cfsearch results

2011-02-09 Thread N kips
Thank you Dave, Appreciate it. Below is the code that does the index, and the cfsearch code that reads Verity doesn't store your database columns directly. You have both eid and title in the body, and that gets stored as one thing. If you want to access a specific database column, use one of

Re: Linking cfsearch results

2011-02-09 Thread N kips
Hi, As Dave said it, it is purely for performance. As a purely academic question I'd be interested in knowing your reasons to use verity (or whatever cf uses now) instead of the database directly. ~| Order the Adobe

Re: Linking cfsearch results

2011-02-09 Thread Michael Grant
True. I should have chosen my words more carefully. I guess I've always kind of lumped database full-text searching into the same category as indexes. So to better word my question: I wonder if a well planned db/query/cache structure (ie. indexes, full text searching, making use of evidence

Re: coldfusion errors

2011-02-09 Thread Jochem van Dieten
On Wed, Feb 9, 2011 at 6:35 AM, Dave Watts wrote: That said, you should not need to catch compiler errors. Those should never make it past the first stage of development, much less into production. The easiest (best?) way to catch compile errors is to precompile all your code using the

Re: Multiple applications with a single codebase issues

2011-02-09 Thread Steve 'Cutter' Blades
Thanks Steve! It's still a work in progress. Lot more posts to go on this one... Steve 'Cutter' Blades Adobe Certified Expert Advanced Macromedia ColdFusion MX 7 Developer http://blog.cutterscrossing.com Co-Author Learning Ext JS 3.2 Packt Publishing 2010

Not instantiating object

2011-02-09 Thread daniel kessler
I've inherited a project and am not familiar with the code. When this line appears, I receive an error: cfobject type=java name=encryptObj class=GenerateKey action=create The error using cfcatch is: cfcatch.message: Object Instantiation Exception. cfcatch.detail: Class not found: GenerateKey

Re: Not instantiating object

2011-02-09 Thread Dave Watts
I've inherited a project and am not familiar with the code. When this line appears, I receive an error: cfobject type=java name=encryptObj class=GenerateKey action=create The error using cfcatch is: cfcatch.message: Object Instantiation Exception. cfcatch.detail: Class not found:

RE: Not instantiating object

2011-02-09 Thread Mark A. Kruger
Dan, Look carefully at the jvm.config file on the dev server see what the classpath looks like. It is likely you are missing something there on your new set up - and hopefully its obvious :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com

Re: Not instantiating object

2011-02-09 Thread daniel kessler
okay, I found a directory of java files and GenerateKey.class is one of them. My local host is:C:/localServer/PERM and my java files are on the directory above, just like on the dev server. So I just want to be sure, I reference them like this? C:/localServer/java Then I restart the

RE: Not instantiating object

2011-02-09 Thread Mark A. Kruger
Dan, Post the whole class path of the dev (one that's working) and local... might be easier if we saw it. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: daniel kessler

RE: Looking for CF/Adobe Network group in Chicago

2011-02-09 Thread Eric Roberts
Joshua...check out Linkdin-Chicago (obviously on Linkdin). They have regular networking events downtown. There is also a tech group...I'll have to look it up when I get a chance that does the same. Currently, there isn't anything specifically CF going on at this time as far as I know. Eric

Re: Mobile Editor: What's the best one?

2011-02-09 Thread James Edmunds
I did a preso at my AUG on this last year, here is a link to our AUG web site page about it, which includes the PDF of the preso. http://www.acadiana-aug.org/index.cfm/2010/1/28/How-to-Rescue-Your-Website-from-your-iPhone FYI this shows using FTP on the Go included editor, which I think has

coldfusion 9 cfprint and redhat

2011-02-09 Thread Nick Edens
I am hoping someone here can help me out because I have over 8 hours devoted to finding an answer and I have come up dry. We have just moved our coldfusion server from a windows machine to a redhat enterprise 6 machine. Everything we have ports except for printers. For whatever reason

Re: Looking for CF/Adobe Network group in Chicago

2011-02-09 Thread J.J. Merrick
The Chicago Geek Breakfast is a great place to meet other techies. Might get you started to finding other groups. http://chicago.geekbreakfast.org/ We have a couple around Nashville that we have started and they are a great resource. -J.J. On Wed, Feb 9, 2011 at 9:24 AM, Eric Roberts

Re: Not instantiating object

2011-02-09 Thread daniel kessler
Dan, Post the whole class path of the dev (one that's working) and local... might be easier if we saw it. I'm not sure how to post the path of the dev because it's mounted as a drive. I have it as F:\java and the one on my local server is C:/localServer/java. It's working, so I suppose it's

kerberos authentication.

2011-02-09 Thread Jay Birdsell
I have been trying to implement a keberos based authentication scheme across platforms on our intranet. everyone logson to the network and gets access to the intranet (windows) on the network we have a unix based web server running weblogic server and cf 9. Until last year there were only a

Google Charts - QR Code - cfimage

2011-02-09 Thread JD Yeiter
Quick overview of what I'm trying to do: I want to dynamically create QR Codes and store them as images for later use (so I don't have to constantly hit up the google charts api). When I try: imageNew(http://chart.apis.google.com/chart?cht=qrchs=200x200chl=yourMomInMyQR;) I get this error:

Re: refreshing application variables

2011-02-09 Thread Will Tomlinson
How does one refresh application.cfc application variables without restarting coldfusion services? Thanks in advance. And I would recommend using a hard to guess url variable to fire off the app restart: ?hardToGuessVar=1 Otherwise, hoodlums like Ray Camden will run around restarting your

Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Ben Raccuia
Hello Mark, I was hoping you could help out in this case as well. I have followed this post and made the recommended changes you specified, but still we have periodic CF service restarts. I have attached the VM arguments and evars. Any help in direction would be welcome. Thank you. BEN

Re: Google Charts - QR Code - cfimage

2011-02-09 Thread Dan G. Switzer, II
JD, In my experience, the image functions generally want an extension for the input so the image libraries know how to handle the image. Since the URL doesn't have a .png in the filename, I think that's the problem. You may need to use CFHTTP to save the image as a PNG on a filesystem and then

Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Ben Raccuia
Rest... Environment Variables: PATH=C:\ColdFusion9\runtime\..\lib;C:\ColdFusion9\runtime\..\jintegra\bin;C:\ColdFusion9\runtime\..\jintegra\bin\international;C:\ColdFusion9\runtime\..\lib\oosdk\classes\win;C:\Program

Re: kerberos authentication.

2011-02-09 Thread Dave Watts
I have been trying to implement a keberos based authentication scheme across platforms on our intranet.  everyone logson to the network and gets access to the intranet (windows) on the network we have a unix based web server running weblogic server and cf 9.  Until last year there were

Re: Google Charts - QR Code - cfimage

2011-02-09 Thread Stefan Richter
Yes that's what I found too when using an API that returned images that did not have an 'image' url. Appending a .jpg or similar did not help either. In the end I did something like this (I knew that gifs were returned): cfhttp url=#image.src#

Re: refreshing application variables

2011-02-09 Thread Dave Watts
And I would recommend using a hard to guess url variable to fire off the app restart: ?hardToGuessVar=1 Otherwise, hoodlums like Ray Camden will run around restarting your app 100 times a day.   :) Better yet, use some additional factor to prevent or limit use in production. For

Java Create Object: Unsupported Image Type

2011-02-09 Thread Robert Harrison
Using createObject(java,javax.imageio.ImageIO).read(THISFILE); to read an image file to an object so I can get properties of the image. Always worked; now one image came along that give me Unsupported Image Type. The image appears to be a .jpg and works in everything else, but

RE: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Mark A. Kruger
Ben, We'll need some other clues besides the args. My only comment on the args is that permsize and maxpersize are the same... that's not often done - but probably not an issue. Let's start with this. Are there any files in c:\ColdFusion9\runtime\bin that look like hs_pid.log - or something

RE: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Mark A. Kruger
Wait...let me say one more thing. A permsize of 512megs is pretty hefty. It's not unheard of, but are you sure you need it? Usually 256 is sufficient. -Mark Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com

Re: CF 9.01 S3:// not working

2011-02-09 Thread Stefan Richter
Warming up an old thread as I've had the same issue. It seems to me that the following did not work in my App.cfc: cfcomponent cfset this.s3.accessKeyId = xx cfset this.s3.awsSecretKey = xx; ... However using this syntax worked: cfcomponent

HTML to excel format

2011-02-09 Thread fun and learning
Hi All - I have been using cfcontent to generate excel files in coldfusion. The problem is I need to write two different sets of HTMl code because the cfcontent does not recognize .css files. So for cfcontent part I am using inline style for each row and column. There are lot of reports I

Re: Google Charts - QR Code - cfimage

2011-02-09 Thread JD Yeiter
Nice, thanksexactly what I was looking for. Yes that's what I found too when using an API that returned images that did not have an 'image' url. Appending a .jpg or similar did not help either. In the end I did something like this (I knew that gifs were returned):

Re: Java Create Object: Unsupported Image Type

2011-02-09 Thread Leigh
Any chance your color model is CMYK? http://stackoverflow.com/questions/2408613/problem-reading-jpeg-image-using-imageio-readfile-file -Leigh ~| Order the Adobe Coldfusion Anthology now!

RE: Java Create Object: Unsupported Image Type

2011-02-09 Thread Robert Harrison
Thank you. DEAD ON! Now I can write an appropriate exception handler. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be

Re: CF 9.01 S3:// not working

2011-02-09 Thread Stefan Richter
Digging a bit deeper, I don't seem to be able to list ANY folder contents in my S3 bucket unless I create that folder wit CF. Any of the existing folders (created mainly using Transmit) will throw an error: An error occurred when performing a file operation lastModified on file /temp. The

Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Tim Jeter
Hi all, I've created a page that consumes an Excel spreadsheet, loops over the rows, and dynamically creates a pre-populated form. The idea being that folks inputting data have an intermediate step to clean up the data before inserting it into the DB. That all works just fine. When I POST

Re: HTML to excel format

2011-02-09 Thread Leigh
I doubt cfcontent is the issue. How are you including the css? Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

RE: Multiple applications with a single codebase issues

2011-02-09 Thread Trevor Orr
This is what I did when I had the same issue, I had 10 sites running of the same code base and set the application name based on the CGI.SERVER_NAME variable. If CGI.SERVER_NAME was www.xyz.com then application name = xyz -Original Message- From: Steve Bryant

Re: HTML to excel format

2011-02-09 Thread fun and learning
I doubt cfcontent is the issue. How are you including the css? Get your own web address. Have a HUGE year through Yahoo! Small Business. http://smallbusiness.yahoo.com/domains/?p=BESTDEAL I am using it in

Re: HTML to excel format

2011-02-09 Thread Leigh
I am using it in Application.cfm as a cfinclude. cfinclude template=style.css Are the contents even being included in the output? Save your psuedo-excel file to disk and open it with notepad. No need to

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Leigh
It might help to see some code. -Leigh Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Tim Jeter
Leigh, Thanks - uhhh...yes, overlooked that part didn't I? Here's what I have so far - not all of my validation is place but I need to get this to work first: cfif IsDefined(#FORM.submitted#) cfquery name=newStudentInsert datasource=abc !--- START Looped insert of multiple

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Leigh
Are any of the queries executing? Where does CF report the error happens? ORDER BY course_id DESC LIMIT 1 As an aside, that is not a reliable way to retrieve the last id. Cfquery's result attribute can return the last id created with simple INSERTs.

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Leigh
cfquery name=newStudentInsert datasource=abc cfquery name=dupeCheck datasource=abc Wait a second... You have got a cfquery, nested within another cfquery. That is what is causing the problem.

Re: coldfusion 9 cfprint and redhat

2011-02-09 Thread Dave Watts
We have just moved our coldfusion server from a windows machine to a redhat enterprise 6 machine. Everything we have ports except for printers. For whatever reason printers I have added into cups do not show up under the CFIDE summary Printer Details. Because of this I cannot use cfprint.

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Tim Jeter
cfquery name=newStudentInsert datasource=abc cfquery name=dupeCheck datasource=abc Wait a second... You have got a cfquery, nested within another cfquery. That is what is causing the problem. Thanks, Leigh. I knew I needed a second set of eyes. I was

Re: Trying to loop and INSERT multiple records from Excel (error!)

2011-02-09 Thread Leigh
Add the result attribute to your INSERT queries. CF8+ will return a structure with the new record ID. The key name is determined by your database. (At least in CF8.) Use that ID value in place of your existing LIMIT 1 queries. http://livedocs.adobe.com/coldfusion/8/Tags_p-q_17.html

Re: CF 9.01 S3:// not working

2011-02-09 Thread Raymond Camden
DId you run that code in the constructor area of the CFC? On Wed, Feb 9, 2011 at 1:59 PM, Stefan Richter ste...@flashcomguru.com wrote: Warming up an old thread as I've had the same issue. It seems to me that the following did not work in my App.cfc: cfcomponent        cfset

Re: kerberos authentication.

2011-02-09 Thread Brian Kotek
If you're using Apache, this may help: http://modauthkerb.sourceforge.net/ On Wed, Feb 9, 2011 at 1:27 PM, Jay Birdsell john_birds...@hotmail.comwrote: I have been trying to implement a keberos based authentication scheme across platforms on our intranet. everyone logson to the network and

Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Carl Meyer
I did a talk recently at CFMeetup on CF JVM related matters. You can know what is going on inside CF JVM. Knowing is good it may not be the JVM args that are causing your problems, then you can get on with finding out what really is wrong. Else if the JVM shows it is having GC or memory issues

Re: JVM args, GC issues, performance tuning - CF9, Win2k8

2011-02-09 Thread Carl Meyer
I did a talk recently at CFMeetup on CF JVM related matters. You can know what is going on inside CF JVM. Knowing is good it may not be the JVM args that are causing your problems, then you can get on with finding out what really is wrong. Else if the JVM shows it is having GC or memory issues