Re: ongoing problem with newsletter-eMail-actions: CF is hanging
Do you mean that FusionReactor or another monitoring tool shows 2GB free in your JVM or that the box has 2GB free? These are very different things. On Thu, Mar 6, 2008 at 4:17 PM, <[EMAIL PROTECTED]> wrote: > Hi Jochem, thank you. CPU and memory is just fine. > CPU ist under 10-15% and memory is plenty: about 2GB on > each machine. I guess the newletter coding (and a coding fault inside) > + the increased access are bringing CF to a halt. > Uwe -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:300620 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ongoing problem with newsletter-eMail-actions: CF is hanging
Hi Jochem, thank you. CPU and memory is just fine. CPU ist under 10-15% and memory is plenty: about 2GB on each machine. I guess the newletter coding (and a coding fault inside) + the increased access are bringing CF to a halt. Uwe > [EMAIL PROTECTED] wrote: >> Hi list, we have an ongoing >> problem with newsletter-eMail-actions. >> We use CFMX 7.02 Entperprise on Win 2003 Server. >> (between 100.000 and 200.000 receivers). >> In the highest hours we have between 80 and 200 current users/connections >> per second. We are running two HP 380, 3 GB, CF-Servers in a static >> loadsharing. >> From time to time CF gets unresponsive and I don't know why. > How much CPU does it use? Memory? > Are there any w32time entries in your eventlog at the same time the > stalls occur? > Jochem > ~| 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:300619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfhttp, pulling from secure site
Thanks, what's also killing me in trying to estimate is transaction failures. Data is submitted to a 3rd party site, one screen is filled, then another, then another (it looks as if there at least 3 screens if not more). All is fine when things work. If there is a transaction failure on the remote server ... How would that be known? -- We've inputted the data into the form and are not waiting for a response. -- CF_HTTPing to the next screen and inputting data there. We can access that screen whether or not the data was successfully captured earlier. How will the client know that there was a transaction failure? More important how can the process be made so that the client never knows that there was a transaction failure? Gil -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:37 AM To: CF-Talk Subject: RE: cfhttp, pulling from secure site The time can be anywhere from intense to simple. I would tell them that it all depends on the depth of the system on how long getting into it will take. If this is for a contract, bid an hourly rate, as this could take PLENTY of hours. Verizon took well over 40. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:30 PM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Yes, we'll have permission. :-) I'm trying to get a handle of this project in order to give a time estimate. We need to push and pull data from 3rd Party sites. Gil -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:24 AM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Assuming you 'have their permission' to do this... Take a look at the cf_httpx custom tag. It has a lot of features that mirror cfhttp, but added features like sessions and cookie keeping. What I have found in the past is, you may have to use a session sniffer to show you what is sent to each page in their system and what is returned. You might be surprised how many pages are 'loaded' before you are actually logged into their service. For one solution that I had to create I ended up using both cfhttp and cf_httpx to make it work. It was just plain difficult. Good luck, William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:20 PM To: CF-Talk Subject: cfhttp, pulling from secure site I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| 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:300618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfhttp, pulling from secure site
The time can be anywhere from intense to simple. I would tell them that it all depends on the depth of the system on how long getting into it will take. If this is for a contract, bid an hourly rate, as this could take PLENTY of hours. Verizon took well over 40. William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:30 PM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Yes, we'll have permission. :-) I'm trying to get a handle of this project in order to give a time estimate. We need to push and pull data from 3rd Party sites. Gil -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:24 AM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Assuming you 'have their permission' to do this... Take a look at the cf_httpx custom tag. It has a lot of features that mirror cfhttp, but added features like sessions and cookie keeping. What I have found in the past is, you may have to use a session sniffer to show you what is sent to each page in their system and what is returned. You might be surprised how many pages are 'loaded' before you are actually logged into their service. For one solution that I had to create I ended up using both cfhttp and cf_httpx to make it work. It was just plain difficult. Good luck, William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:20 PM To: CF-Talk Subject: cfhttp, pulling from secure site I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| 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:300617 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfhttp, pulling from secure site
Ben Nadel recently took his session maintainer stuff and put it into a CFC: http://www.bennadel.com/blog/1171-CFHTTPSession-cfc-For-Multi-CFHttp-Requests-With-Maintained-Session.htm This should make things simpler. On Thu, Mar 6, 2008 at 2:30 PM, Gilbert Midonnet <[EMAIL PROTECTED]> wrote: > Yes, we'll have permission. :-) > > I'm trying to get a handle of this project in order to give a time estimate. > We need to push and pull data from 3rd Party sites. > > Gil > > > > > -Original Message- > From: William Seiter [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2008 12:24 AM > To: CF-Talk > Subject: RE: cfhttp, pulling from secure site > > Assuming you 'have their permission' to do this... > > Take a look at the cf_httpx custom tag. It has a lot of features that > mirror cfhttp, but added features like sessions and cookie keeping. > > What I have found in the past is, you may have to use a session sniffer to > show you what is sent to each page in their system and what is returned. > You might be surprised how many pages are 'loaded' before you are actually > logged into their service. > > For one solution that I had to create I ended up using both cfhttp and > cf_httpx to make it work. It was just plain difficult. > > Good luck, > William > > -- > William E. Seiter > > Have you ever read a book that changed your life? > Go to: www.winninginthemargins.com > Enter passkey: goldengrove > > Web Developer / ColdFusion Programmer > http://William.Seiter.com > > -Original Message- > From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 9:20 PM > To: CF-Talk > Subject: cfhttp, pulling from secure site > > I've been doing some reading regarding pulling and pushing data to 3rd party > sites. While the broad concepts seem simple implementing them are more > complicated. (What else is new?) > > > > I'm trying to pull data from several password protected sites and am unable > (for instance American Express). > > > > Any ideas? > > > > thx > > > > > > > > > > > > ~| 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:300616 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfhttp, pulling from secure site
Yes, we'll have permission. :-) I'm trying to get a handle of this project in order to give a time estimate. We need to push and pull data from 3rd Party sites. Gil -Original Message- From: William Seiter [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:24 AM To: CF-Talk Subject: RE: cfhttp, pulling from secure site Assuming you 'have their permission' to do this... Take a look at the cf_httpx custom tag. It has a lot of features that mirror cfhttp, but added features like sessions and cookie keeping. What I have found in the past is, you may have to use a session sniffer to show you what is sent to each page in their system and what is returned. You might be surprised how many pages are 'loaded' before you are actually logged into their service. For one solution that I had to create I ended up using both cfhttp and cf_httpx to make it work. It was just plain difficult. Good luck, William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:20 PM To: CF-Talk Subject: cfhttp, pulling from secure site I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| 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:300615 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfhttp, pulling from secure site
Assuming you 'have their permission' to do this... Take a look at the cf_httpx custom tag. It has a lot of features that mirror cfhttp, but added features like sessions and cookie keeping. What I have found in the past is, you may have to use a session sniffer to show you what is sent to each page in their system and what is returned. You might be surprised how many pages are 'loaded' before you are actually logged into their service. For one solution that I had to create I ended up using both cfhttp and cf_httpx to make it work. It was just plain difficult. Good luck, William -- William E. Seiter Have you ever read a book that changed your life? Go to: www.winninginthemargins.com Enter passkey: goldengrove Web Developer / ColdFusion Programmer http://William.Seiter.com -Original Message- From: Gilbert Midonnet [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:20 PM To: CF-Talk Subject: cfhttp, pulling from secure site I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| 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:300614 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
cfhttp, pulling from secure site
I've been doing some reading regarding pulling and pushing data to 3rd party sites. While the broad concepts seem simple implementing them are more complicated. (What else is new?) I'm trying to pull data from several password protected sites and am unable (for instance American Express). Any ideas? thx ~| 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:300613 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: subquery help
When you store the date, are you also storing the time? I would think if you put the time in there that you could not have the problem because even if doing the test back to back there would be a seconds difference. On Wed, Mar 5, 2008 at 10:21 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > hi, i have the following query that retrieves the latest quiz date and > quiz percent > > SELECT MAX(QuizDate) as QuizDate, QuizID, >QuizPercent = (SELECT QuizPercent FROM Test_Board_Acupuncture as t1 > WHERE t1.Customer_ID = #COOKIE.TCMTests# > AND t1.QuizID = Test_Board_Acupuncture.QuizID > AND t1.QuizDate = > MAX(Test_Board_Acupuncture.QuizDate)) > FROM Test_Board_Acupuncture > WHERE Customer_ID = #COOKIE.TCMTests# > GROUP BY QuizID > > the problem is that if the student takes the same test back to back right > away somteimes it can throw an error from the sub query > > Diagnostics: Error Executing Database Query. [Macromedia][SQLServer JDBC > Driver][SQLServer]Subquery returned more than 1 value. This is not > permitted when the subquery follows =, !=, <, <= , >, >= or when the > subquery is used as an expression. > > is there a way of restructuring the query so that i can select the info > without it triggering the error? > > thank you. > > > > > > ~| 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:300610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
flash form issues
Hello, I am a Coldfusion system admin, it seems as though our flash forms are not staying up. I have to restart the Coldfusion mx 7 service and iis to get them working again, but then they only work for a few hours and requires another service restart to get them working again. Any thoughts on this? Thank you, Dean ~| 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:300612 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: subquery help
>When you store the date, are you also storing the time? I would think if >you put the time in there that you could not have the problem because even >if doing the test back to back there would be a seconds difference. > >On Wed, Mar 5, 2008 at 10:21 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] <[EMAIL >PROTECTED]> wrote: > >> yes i am storing the time in the quiz date. i think it tends to throw the error if the quiz percent is the same. i checked the table and each entry has a unique id. would using that in the query solve it? ~| 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:300611 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
subquery help
hi, i have the following query that retrieves the latest quiz date and quiz percent SELECT MAX(QuizDate) as QuizDate, QuizID, QuizPercent = (SELECT QuizPercent FROM Test_Board_Acupuncture as t1 WHERE t1.Customer_ID = #COOKIE.TCMTests# AND t1.QuizID = Test_Board_Acupuncture.QuizID AND t1.QuizDate = MAX(Test_Board_Acupuncture.QuizDate)) FROM Test_Board_Acupuncture WHERE Customer_ID = #COOKIE.TCMTests# GROUP BY QuizID the problem is that if the student takes the same test back to back right away somteimes it can throw an error from the sub query Diagnostics: Error Executing Database Query. [Macromedia][SQLServer JDBC Driver][SQLServer]Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression. is there a way of restructuring the query so that i can select the info without it triggering the error? thank you. ~| 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:300609 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 ajax checkbox example?
I just used a text input and keyup. When ya can't figure it out, do somethin' else. Thanks, Will ~| 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:300608 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Lean server, jrun server etc... (cf8 standard edition)
Hi all, A bunch of questions on performance techniques (save cf coding, sql db design and query construction part, time of access is actually also a factor -- the info highway could be clogged at times... due to the popularity of videos etc...), pls help me to chew on them... a) Precompile source code. For one app, FF2 show significent difference, each loads less than 2 seconds, (benchmarked by YSLOW) while oddly IE7 looks like taking about 4~5 seconds (still acceptable). b) On jrun, it's a "beast" I need to wrestle with, my firewall indicates multiple copies running listening at a bunch of different ports while Task Manager indicates jrun and its service manager running. The lowdown is like this, 1 listening on a UDP port; 6 listening on various TCP ports; I compared them with the livedoc, which indicates 8 port listening going on. But I don't have jrun ssl running, neither do I have jrun internal web server running, ok, so, it looks the one listening on UDP port is the jrun service manager, yes? More importantly, how does jrun works, I mean, does it work like a heavy-duty truck, and let's consider all the various cf goodies as goods/packages... when it first load/starts, does it sort of work like the elegant cfajaximport (load whatever on demand/on need basis vs. it's a mother of all?) Just curious. The control file, jrun.xml has to come into play with this... What components tend to take up large trunk of memory, I know CFGRID is one albeit its niceness... Any specific write-up/breakdown on this? c) where to go from here Many thanks. Don ~| 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:300607 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 ajax checkbox example?
iirc, something like this: onclick event on the checkbox calls a function which uses ColdFusion.navigate to change the source of cfdiv to a cfm page, passing in required params in the query string to the cfm page to be passed on to the cfc, the cfc result is then displayed in the cfdiv... hth Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ Will Tomlinson wrote: > I wanna try out CF8's ajax. Does anyone know of a simple example for this? > I've been reading docs for an hour and don't see what I'm lookin for. > > I have a checkbox. I have some SESSION variables sittin there ready to be > used. > > I have my cfc setup with a function set to remote. It runs a query and > outputs the results in a table. > > The user should be able to check the checkbox, which calls the cfc via ajax, > sending in the arguments, and displays the results in a (I guess). > > Thanks, > Will > ~| 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:300606 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Non-beta. Whatever was available several months ago. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300604 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Wow. I've never had reason to use the site wide replace before. I've used the search before, but never replace. How utterly cool this thing is. You can preview all of the changes and compare what each file will look like at the end. Sweet. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300605 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFFILE/CFFTP errors - JVM issues?
I had problems w/cfftp before. A shot in the dark... but IIRC it was a combination of the stop on error and passive mode settings that fixed it for me. G On Wed, Mar 5, 2008 at 9:45 PM, J W <[EMAIL PROTECTED]> wrote: > Man has this little bugger been a thorn in my side lately... All of a > sudden > (yeah I know what your thinking) our 2 coldfusion 8/windows 2003 servers > have been getting really strange errors, and I hope someone else has > encountered these before and might steer me in the right direction. This > has > previously not been an issue. > > We write alot of text files with CFFILE and do some moving, deleting and > appending as well. We do some FTPing as well with CFFTP. > > Alot of times now we are getting these type errors: > > "Error","jrpp-65","03/05/08","15:30:01","Scheduled Scripts","An error > occurred when performing a file operation APPEND on file > I:\Logfiles\something.txt.The cause of this exception was: > java.io.FileNotFoundException: I:\Logfiles\something.txt (The > process cannot access the file because it is being used by another > process). > The specific sequence of files included or processed is: > I:\somedirectory\someprocess.cfm, line: 53 " > coldfusion.tagext.io.FileTag$SingleFileOperationException: An error > occurred > when performing a file operation APPEND on file > I:\Logfiles\something.txt. at > coldfusion.tagext.io.FileTag.append(FileTag.java:322) at > coldfusion.tagext.io.FileTag.doStartTag(FileTag.java:276) > etc > > I erased the real file names and directory structures to protect the > innocent. :) > > I am getting these all over the place and randomly. Various flavors, > appending, ftping, saving, etc and its wreaking havoc on my systems > causing odd/unfinished files to be created, files not deleted/moved > correctly. I am not sure where to go. ANY help or direction would be > appreciated. > > Jeff > > > ~| 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:300603 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf8 ajax checkbox example?
I wanna try out CF8's ajax. Does anyone know of a simple example for this? I've been reading docs for an hour and don't see what I'm lookin for. I have a checkbox. I have some SESSION variables sittin there ready to be used. I have my cfc setup with a function set to remote. It runs a query and outputs the results in a table. The user should be able to check the checkbox, which calls the cfc via ajax, sending in the arguments, and displays the results in a (I guess). Thanks, Will ~| 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:300602 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFFILE/CFFTP errors - JVM issues?
Man has this little bugger been a thorn in my side lately... All of a sudden (yeah I know what your thinking) our 2 coldfusion 8/windows 2003 servers have been getting really strange errors, and I hope someone else has encountered these before and might steer me in the right direction. This has previously not been an issue. We write alot of text files with CFFILE and do some moving, deleting and appending as well. We do some FTPing as well with CFFTP. Alot of times now we are getting these type errors: "Error","jrpp-65","03/05/08","15:30:01","Scheduled Scripts","An error occurred when performing a file operation APPEND on file I:\Logfiles\something.txt.The cause of this exception was: java.io.FileNotFoundException: I:\Logfiles\something.txt (The process cannot access the file because it is being used by another process). The specific sequence of files included or processed is: I:\somedirectory\someprocess.cfm, line: 53 " coldfusion.tagext.io.FileTag$SingleFileOperationException: An error occurred when performing a file operation APPEND on file I:\Logfiles\something.txt. at coldfusion.tagext.io.FileTag.append(FileTag.java:322) at coldfusion.tagext.io.FileTag.doStartTag(FileTag.java:276) etc I erased the real file names and directory structures to protect the innocent. :) I am getting these all over the place and randomly. Various flavors, appending, ftping, saving, etc and its wreaking havoc on my systems causing odd/unfinished files to be created, files not deleted/moved correctly. I am not sure where to go. ANY help or direction would be appreciated. Jeff ~| 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:300601 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Tonight they're going to swap the blade to see if it's the hardware. If it isn't then I'll plow through the suggestions and see what I can see. Thanks again, Mik At 06:00 PM 3/5/2008, Cutter (CFRelated) wrote: >Hey, hope it helps out. Keep us updated on how things turn out. > >Steve "Cutter" Blades >Adobe Certified Professional >Advanced Macromedia ColdFusion MX 7 Developer >_ >http://blog.cutterscrossing.com > Michael Muller Admin, MontagueMA.net Website work (413) 863-0030 cell (413) 320-5336 skype: michaelBmuller http://www.MontagueMA.net Eschew Obfuscation ~| 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:300600 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ongoing problem with newsletter-eMail-actions: CF is hanging
[EMAIL PROTECTED] wrote: > Hi list, we have an ongoing > problem with newsletter-eMail-actions. > We use CFMX 7.02 Entperprise on Win 2003 Server. > (between 100.000 and 200.000 receivers). > In the highest hours we have between 80 and 200 current users/connections > per second. We are running two HP 380, 3 GB, CF-Servers in a static > loadsharing. > From time to time CF gets unresponsive and I don't know why. How much CPU does it use? Memory? Are there any w32time entries in your eventlog at the same time the stalls occur? Jochem ~| 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:300599 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 Best practices question
Lmao, my gf would pretend to listen for a 10 minutes or more as I explained things to her. At the end of the lecture she'd say "that's nice dear, what's for tea?" or some such. On 05/03/2008, Gerald Guido <[EMAIL PROTECTED]> wrote: > > >> Lol best bit of being a codee geek init ;) > > yep... nothing quite like the high from intellectual discovery. It is hard > to explain to non-geeks/science nerds. > > GF: "Oh, what are you all excited about?" > Me: "I just figured out dependency injection". > GF: "Huh?" > Me: "Nothing." > > > -- > "As an adolescent I aspired to lasting fame, I craved factual certainty, > and > I thirsted for a meaningful vision of human life - so I became a > scientist. > This is like becoming an archbishop so you can meet girls." > - M. Cartmill > > > ~| 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:300598 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 Best practices question
>> Lol best bit of being a codee geek init ;) yep... nothing quite like the high from intellectual discovery. It is hard to explain to non-geeks/science nerds. GF: "Oh, what are you all excited about?" Me: "I just figured out dependency injection". GF: "Huh?" Me: "Nothing." -- "As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls." - M. Cartmill ~| 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:300597 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Hey, hope it helps out. Keep us updated on how things turn out. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Mik Muller wrote: > Cutter, > > Thanks for the heads up. This is quite a bit to read, but I'll make sure to > peruse it all. > > And I'll see what kind of support I have inside before contracting people. I > agree -- this is not something to take lightly. > > Thanks again, > > Michael > > > At 01:13 PM 3/5/2008, Cutter (CFRelated) wrote: >> Michael, you are not alone. Many of us have dealt with JRun suddenly >> hitting the ceiling, typically from increased traffic or changes to our >> systems or application architecture. Have you, as yet, spent any time >> tuning your JVM? Heavily searched through your application for possible >> memory leaks? > > > > > > Michael Muller > Admin, MontagueMA.net Website > work (413) 863-0030 > cell (413) 320-5336 > skype: michaelBmuller > http://www.MontagueMA.net > > Eschew Obfuscation > > > > ~| 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:300596 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC Best practices question
> > Thanx for the insight gentlemen. I am getting all wound up with the light > bulbs going off at once. Lol best bit of being a codee geek init ;) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300595 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC Best practices question
Thanx for the insight gentlemen. I am getting all wound up with the light bulbs going off at once. Prolly wont get much sleep tonight. :) On Wed, Mar 5, 2008 at 5:42 PM, Dominic Watson < [EMAIL PROTECTED]> wrote: > > > > I think you're starting to see where ColdSpring (or Lightwire) might > > come in handy :) > > > I second that - spend 30 mins getting a very basic ColdSpring setup > running; > you won't look back, it is a beautiful answer to this question. > > ColdSpring uses an XML file as a configuration for all your 'beans', > here's > a very rough example, reusing a component by passing it as an argument to > another: > > > singleton="true"> > MyDS > > > > > > > > Then, with coldspring up and running you might do in your app: > > > > Hope that makes you curious. If you are looking for best design practice, > the answer to your OP is to NEVER reference variables outside the scope of > your component, pass it in as a variable as your instinct tells you ;) > > Dominic > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~| 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:300594 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
I think, mind I'm not 100% sure, that if you're running on 3.x+ that you can just overwrite your existing directory (which is what I did). I was running 3.3. I made sure to make a zipped backup of my current directory though. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300593 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
XML Expert help with namespaces.. (Isaac???)
I am having trouble searching this xml string returned from the google maps geocoding service. The reason is to do with the xmlns for the AddressDetails XML. Here is the xml (I wish I could tab it!): http://earth.google.com/kml/2.0";> godalming, surrey, GB 200 geocode Godalming, Surrey, UK GB England Surrey Godalming -0.617529,51.184425,0 Ok, so doing like this gets a result: How should I be referencing the AddressDetails nodes? (I have double checked case sensitivity, not the problem) Thanks in advance, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300592 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Subclipse> http://www.geodesicgrafx.com/subclipse.JPG CFEclipse with search> http://www.geodesicgrafx.com/cfeclipse.JPG Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300591 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
How would you recommend upgrading an existing install? Or is that even recommend? I have been working on the same install for months and have a ton of local history and plugins I would like to keep/not have to reinstall. And no, I have not been able to sell the dept. head on subversion... Yet. The joke is... On Wed, Mar 5, 2008 at 3:04 PM, Sonny Savage <[EMAIL PROTECTED]> wrote: > http://download.eclipse.org/eclipse/downloads/ > > On Wed, Mar 5, 2008 at 3:04 PM, Sonny Savage <[EMAIL PROTECTED]> > wrote: > > > Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so > > the answer is no, 3.4 won't be production until July. > > > > > > On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido <[EMAIL PROTECTED]> > > wrote: > > > > > >>I'm currently using eclipse 3.4 and it does exactly what you are > > > requesting. > > > > > > Excellent. Is 3.4 a production release? > > > > > > I know this is OT but what is best way to upgrade to 3.4? > > > Update manager? > > > > > > I have my install tweaked to the gills and the prospect of a reinstall > > > makes > > > me hesitant... given how finicky eclipse can be when it comes to > > > plugins. My > > > Aptana plugin committed suicide today. > > > > > > > > > On Wed, Mar 5, 2008 at 1:52 PM, Rich <[EMAIL PROTECTED]> wrote: > > > > > > > > can use next/prev to cycle through them. As I have stated more > than > > > > once, > > > > > what I want is something like what DW has where the pane shows me > a > > > > > preview > > > > > of the 6 instances and I can then click on which one I want to go > > > to. > > > > > > > > I'm currently using eclipse 3.4 and it does exactly what you are > > > > requesting. > > > > For example, if it found 5 matches within fileA.cfm, I have the > > > ability to > > > > expand the matches and jump directly to the 3rd match. > > > > > > > > HTH, > > > > Rich Kroll > > > > > > > > > > > > > > > > > > > > > > > > ~| 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:300590 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 Best practices question
> > I think you're starting to see where ColdSpring (or Lightwire) might > come in handy :) I second that - spend 30 mins getting a very basic ColdSpring setup running; you won't look back, it is a beautiful answer to this question. ColdSpring uses an XML file as a configuration for all your 'beans', here's a very rough example, reusing a component by passing it as an argument to another: MyDS Then, with coldspring up and running you might do in your app: Hope that makes you curious. If you are looking for best design practice, the answer to your OP is to NEVER reference variables outside the scope of your component, pass it in as a variable as your instinct tells you ;) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300589 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 Best practices question
I'll second this. When you use ColdSpring, you end up having it passed in as an init() parameter and then put it in the VARIABLES scope, so it's available to all methods inside your object. On Thu, Mar 6, 2008 at 7:29 AM, Charlie Griefer <[EMAIL PROTECTED]> wrote: > I think you're starting to see where ColdSpring (or Lightwire) might > come in handy :) > > > > On Wed, Mar 5, 2008 at 2:24 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > > I have seen it set in the init and set to the variables scope. and then > > called from individual functions. > > > > So if the passed object is local to *only one* function should I pass it > to > > just that one function? > > > > Or if it used multiple times in the object I should store it as part of > the > > object (in the init function) in the variables scope so it can be avalible > > to multiple functions. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| 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:300588 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 Best practices question
Yep... that light bulb just went off. thanx. On Wed, Mar 5, 2008 at 5:29 PM, Charlie Griefer <[EMAIL PROTECTED]> wrote: > I think you're starting to see where ColdSpring (or Lightwire) might > come in handy :) > > On Wed, Mar 5, 2008 at 2:24 PM, Gerald Guido <[EMAIL PROTECTED]> > wrote: > > I have seen it set in the init and set to the variables scope. and then > > called from individual functions. > > > > So if the passed object is local to *only one* function should I pass > it to > > just that one function? > > > > Or if it used multiple times in the object I should store it as part of > the > > object (in the init function) in the variables scope so it can be > avalible > > to multiple functions. > > > > Does that sound right... make sense? > > > > Thanx > > G > > > > > > > > On Wed, Mar 5, 2008 at 5:07 PM, Matt Williams <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido <[EMAIL PROTECTED]> > > > wrote: > > > > If I have an object loaded in the Application scope and want to use > it > > > in > > > > another object/component ,should I pass it in as a variable or > should I > > > call > > > > it directly from the Application scope. Assume that the object > will > > > always > > > > be loaded in memory. > > > > > > I vote for passing it in. It makes the component that will use it > less > > > couple to application scope and therefore more reusable. > > > > > > If several methods within the component are going to need access to > > > various methods in the application.myCFC object, then it would make > > > more sense to do what Rich says in step 2. Basically when the > > > component that is dependent on app.myCFC is instantiated, it should > > > get that instance in variables scope > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > createObject('component','myDependentCFC').init() > > > /> > > > > > > > > > -- > > > Matt Williams > > > "It's the question that drives us." > > > > > > > > > > > > ~| 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:300587 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC Best practices question
I think you're starting to see where ColdSpring (or Lightwire) might come in handy :) On Wed, Mar 5, 2008 at 2:24 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > I have seen it set in the init and set to the variables scope. and then > called from individual functions. > > So if the passed object is local to *only one* function should I pass it to > just that one function? > > Or if it used multiple times in the object I should store it as part of the > object (in the init function) in the variables scope so it can be avalible > to multiple functions. > > Does that sound right... make sense? > > Thanx > G > > > > On Wed, Mar 5, 2008 at 5:07 PM, Matt Williams <[EMAIL PROTECTED]> wrote: > > > On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido <[EMAIL PROTECTED]> > > wrote: > > > If I have an object loaded in the Application scope and want to use it > > in > > > another object/component ,should I pass it in as a variable or should I > > call > > > it directly from the Application scope. Assume that the object will > > always > > > be loaded in memory. > > > > I vote for passing it in. It makes the component that will use it less > > couple to application scope and therefore more reusable. > > > > If several methods within the component are going to need access to > > various methods in the application.myCFC object, then it would make > > more sense to do what Rich says in step 2. Basically when the > > component that is dependent on app.myCFC is instantiated, it should > > get that instance in variables scope > > > > > > > > > > > > > > > > > > > > > > > > > /> > > > > > > -- > > Matt Williams > > "It's the question that drives us." > > > > > > ~| 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:300586 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFC Best practices question
I have seen it set in the init and set to the variables scope. and then called from individual functions. So if the passed object is local to *only one* function should I pass it to just that one function? Or if it used multiple times in the object I should store it as part of the object (in the init function) in the variables scope so it can be avalible to multiple functions. Does that sound right... make sense? Thanx G On Wed, Mar 5, 2008 at 5:07 PM, Matt Williams <[EMAIL PROTECTED]> wrote: > On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido <[EMAIL PROTECTED]> > wrote: > > If I have an object loaded in the Application scope and want to use it > in > > another object/component ,should I pass it in as a variable or should I > call > > it directly from the Application scope. Assume that the object will > always > > be loaded in memory. > > I vote for passing it in. It makes the component that will use it less > couple to application scope and therefore more reusable. > > If several methods within the component are going to need access to > various methods in the application.myCFC object, then it would make > more sense to do what Rich says in step 2. Basically when the > component that is dependent on app.myCFC is instantiated, it should > get that instance in variables scope > > > > > > > > > > > > /> > > > -- > Matt Williams > "It's the question that drives us." > > ~| 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:300585 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Having problems with simple cfgrid test
I'm trying out some of the new CF8 ajax functionality (finally) and running into problems with a simple example. This worked fine pulling in the query directly but I want to do paging asyncronously and such so I'm hitting a CFC remotely. The grid loads with no records and the top entry in the ajax debugging window says "error:http: Error invoking CFC /dataManager.cfc : Not Found" Here is the code I thought it was a CFC problem so I ran a cfinvoke test page in the same folder and it ran with no problem with the parameters that the ajax debugger logged as being requested. I then thought it was a problem accessing the CFC through the web. However one of the entries in the ajax debugger shows the URL for the JSON request and it works fine if point my browser to it directly. This leads me to believe it isn't a problem with or about the CFC but rather something in my cfgrid code or in the javascript files. I'm at a dead end. Anyone have a clue what might be going on? ~| 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:300584 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 Best practices question
>> Also don't forget to var your variables. Why is it that when you ask a CFC question people assume that you aren't scoping your variables? On Wed, Mar 5, 2008 at 5:01 PM, Russ <[EMAIL PROTECTED]> wrote: > Also don't forget to var your variables. Bad things happen when you don't > var variables that are meant to stay private to the function and you cache > your component. > > RUss > > > -Original Message- > > From: Rich [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 05, 2008 4:53 PM > > To: CF-Talk > > Subject: RE: CFC Best practices question > > > > > If I have an object loaded in the Application scope and want to use it > > in > > > another object/component ,should I pass it in as a variable or should > I > > > call > > > it directly from the Application scope. Assume that the object will > > always > > > be loaded in memory. > > > > > > TIA > > > G > > > > I would advise against accessing the component directly. As a general > > rule, > > you should not have any CFC access a scope outside of itself. I would > > suggest one of the following two approaches: > > > > 1. Use a façade to the application scope > > By using a façade, only one component is tied directly to the > application > > scope. > > > > 2. Injection > > Using either constructor or setter injection, pass the object in as a > > variable. > > > > HTH, > > Rich Kroll > > > > > > > > ~| 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:300583 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 Best practices question
On Wed, Mar 5, 2008 at 3:43 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > If I have an object loaded in the Application scope and want to use it in > another object/component ,should I pass it in as a variable or should I call > it directly from the Application scope. Assume that the object will always > be loaded in memory. I vote for passing it in. It makes the component that will use it less couple to application scope and therefore more reusable. If several methods within the component are going to need access to various methods in the application.myCFC object, then it would make more sense to do what Rich says in step 2. Basically when the component that is dependent on app.myCFC is instantiated, it should get that instance in variables scope -- Matt Williams "It's the question that drives us." ~| 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:300582 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Are you using the beta Subclipse or the latest production version? I'm wondering if the beta subclipse works with it (it has a new working copy format that seems to be much faster on our codebase). Russ > -Original Message- > From: Matthew Williams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 4:07 PM > To: CF-Talk > Subject: Re: Find/Replace for Eclipse > > And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. > I'll get to play with it more tonight. However, the expandable code > things is a nice addition... and I'm going to rate it better than DW at > this point. I like the fact that it shows in tree view. > > > Matthew Williams > Geodesic GraFX > www.geodesicgrafx.com/blog > > ~| 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:300581 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 Best practices question
Also dont forget to var your variables. Bad things happen when you don't var variables that are meant to stay private to the function and you cache your component. RUss > -Original Message- > From: Rich [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 4:53 PM > To: CF-Talk > Subject: RE: CFC Best practices question > > > If I have an object loaded in the Application scope and want to use it > in > > another object/component ,should I pass it in as a variable or should I > > call > > it directly from the Application scope. Assume that the object will > always > > be loaded in memory. > > > > TIA > > G > > I would advise against accessing the component directly. As a general > rule, > you should not have any CFC access a scope outside of itself. I would > suggest one of the following two approaches: > > 1. Use a façade to the application scope > By using a façade, only one component is tied directly to the application > scope. > > 2. Injection > Using either constructor or setter injection, pass the object in as a > variable. > > HTH, > Rich Kroll > > > ~| 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:300580 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFC Best practices question
> If I have an object loaded in the Application scope and want to use it in > another object/component ,should I pass it in as a variable or should I > call > it directly from the Application scope. Assume that the object will always > be loaded in memory. > > TIA > G I would advise against accessing the component directly. As a general rule, you should not have any CFC access a scope outside of itself. I would suggest one of the following two approaches: 1. Use a façade to the application scope By using a façade, only one component is tied directly to the application scope. 2. Injection Using either constructor or setter injection, pass the object in as a variable. HTH, Rich Kroll ~| 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:300579 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFC Best practices question
If I have an object loaded in the Application scope and want to use it in another object/component ,should I pass it in as a variable or should I call it directly from the Application scope. Assume that the object will always be loaded in memory. TIA G -- "As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls." - M. Cartmill ~| 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:300578 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
Or from the menu... Search->file On 3/5/08, Jaime Metcher <[EMAIL PROTECTED]> wrote: > Folder: Click on the folder you want in the Navigator view, then choose > "Selected Resources" in the search dialog. > Site: Ditto, but start at the site root > > Jaime > > > -Original Message- > > From: j s [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, 5 March 2008 1:11 PM > > To: CF-Talk > > Subject: Find/Replace for Eclipse > > > > > > Does a plugin exist for Find/Replace that is as good as the one > > for Dreamweaver? I like the option of searching the entire site > > or folder. > > > > > > ~| 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:300577 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
setClientCookies and clientmanagement
Can I setClientcookies to yes and make clientmanagement to no in cfapplication tag and still use cookie variables? Where can I find some info on this? ~| 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:300576 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ongoing problem with newsletter-eMail-actions: CF is hanging
Hi list, we have an ongoing problem with newsletter-eMail-actions. We use CFMX 7.02 Entperprise on Win 2003 Server. (between 100.000 and 200.000 receivers). The deep links into the shops are of the following structure: http://www.xyz.com/shop.cfm?ml=171,92560,21,24,1,nhs1381639,03081,nsletter,03081-138163966958-nl-3eb938532a4be8b9e94cb5002154789e In the highest hours we have between 80 and 200 current users/connections per second. We are running two HP 380, 3 GB, CF-Servers in a static loadsharing. >From time to time CF gets unresponsive and I don't know why. We use fusion reactor and there are now long running requests from what I have seen, when CF is hanging. There is nothing in the logfiles which is obvious to what it could be related what is casing it. Does anybody have any idea what else to look into ? Uwe ~| 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:300575 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
feel like posting some screenshots? curious if it's worth making the upgrade for (i'm a wuss about upgrading and worrying about plugin compatibility) :) On Wed, Mar 5, 2008 at 1:06 PM, Matthew Williams <[EMAIL PROTECTED]> wrote: > And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. I'll > get to play with it more tonight. However, the expandable code things is a > nice addition... and I'm going to rate it better than DW at this point. I > like the fact that it shows in tree view. > > > Matthew Williams > Geodesic GraFX > www.geodesicgrafx.com/blog > > > ~| 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:300574 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
And Aptana, Subclipse, and CFeclipse all seem to be fine at this point. I'll get to play with it more tonight. However, the expandable code things is a nice addition... and I'm going to rate it better than DW at this point. I like the fact that it shows in tree view. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300573 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: qForms Question
Tom, >> It's not a perfect solution--since you need to attach the validation to >> one >> of the fields, but that custom method will do the trick for those >validate >> "either" a or b type of situations. > > >Seems pretty good to me. So -- the method you specified will validate that >EITHER one of the checkboxes is checked OR there is content in the >textarea? Correct. In a nutshell it's "Make sure at least one of these fields has a value." >That's the sort of thing where I always added a custom validator or at >least >used an Expression. Are there other examples on your site, or elsewhere, >that go into this sort of validation of related fields? I must have missed >them. Someone paid me to write that extension, but I had the stipulation that I be allowed to post it on my website. It's the only "extension" that's not in the download. -Dan ~| 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:300572 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
> That's sweet. Thanks. I just grabbed the 3.4M5 build from the > eclipse site. Unzipped the folder, and away we go. Shows the line > number, and code snippet with the highlighted text. Ah, that's a good step in the right direction. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| 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:300571 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
> Ok, I should type things out more often, I see just right click and use > Next/Prev matches, but still something I wish I could get some sort of > drilled down navigation to/from matches with. It's still a big peeve with Eclipse for me... In Dreamweaver I can glance across the results pane and see immediately whether the search produced the kind of results I expected or I need to refine the search criteria and try again. Eclipse forces me to do more work by manually coming through the results one by one to determine if the search produced what I was hoping for. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| 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:300570 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
IIRC, you can setup CFS to create a backup version of the original file(s) before it applies an automated "replace". This helped back when most of us didn't use source control. FWIW, I touched on Aptana's multiline S&R here: http://www.iknowkungfoo.com/blog/index.cfm/2008/2/24/Multiline-Search-and-Replace-in-Eclipse -- Adrian >> Nothing. I just don't like it. I prefer CFS's search. Mostly for the *.bak >> feature. > >What exactly is the *.bak feature? ~| 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:300569 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
That is excellent news! -Original Message- From: Matthew Williams [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 3:34 PM To: CF-Talk Subject: Re: Find/Replace for Eclipse That's sweet. Thanks. I just grabbed the 3.4M5 build from the eclipse site. Unzipped the folder, and away we go. Shows the line number, and code snippet with the highlighted text. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: qForms Question
BTW - Thanks for the quick answers! Hatton On Wed, Mar 5, 2008 at 3:21 PM, Tom McNeer <[EMAIL PROTECTED]> wrote: > Dan, > > > > > It's not a perfect solution--since you need to attach the validation to > > one > > of the fields, but that custom method will do the trick for those validate > > "either" a or b type of situations. > > > Seems pretty good to me. So -- the method you specified will validate that > EITHER one of the checkboxes is checked OR there is content in the > textarea? > > That's the sort of thing where I always added a custom validator or at least > used an Expression. Are there other examples on your site, or elsewhere, > that go into this sort of validation of related fields? I must have missed > them. > > > > > > -- > Thanks, > > Tom > > Tom McNeer > MediumCool > http://www.mediumcool.com > 1735 Johnson Road NE > Atlanta, GA 30306 > 404.589.0560 > > > ~| 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:300567 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
That's sweet. Thanks. I just grabbed the 3.4M5 build from the eclipse site. Unzipped the folder, and away we go. Shows the line number, and code snippet with the highlighted text. Matthew Williams Geodesic GraFX www.geodesicgrafx.com/blog ~| 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:300566 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: problem with cfdocument and font size
On 3/5/08, Ben Doom <[EMAIL PROTECTED]> wrote: > Try styling the instead of the containing . I did, same issue. I figured it out though finally. I set the bottom margin of the page to 1.5" so CF was scaling the header to fit underneath that 1.5" margin. Set the margin to 2.0" and everything got bigger =) Rick -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| 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:300565 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: qForms Question
Dan, > It's not a perfect solution--since you need to attach the validation to > one > of the fields, but that custom method will do the trick for those validate > "either" a or b type of situations. Seems pretty good to me. So -- the method you specified will validate that EITHER one of the checkboxes is checked OR there is content in the textarea? That's the sort of thing where I always added a custom validator or at least used an Expression. Are there other examples on your site, or elsewhere, that go into this sort of validation of related fields? I must have missed them. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| 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:300564 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: problem with cfdocument and font size
Try styling the instead of the containing . --Ben Doom Rick Root wrote: > Okay I'm having this very strange issue with cfdocument. > > My document has a couple of pages, and there is a header and footer. > > I can't seem to get the font size in my footer to do what I want. > > footer code: > > -- > > > > >"CONFIDENTIAL">#ThisFOOTNOTE# > > > > > > > #dateFormat(Now(),', d, ')# > #TimeFormat(Now(),"h:mm tt")# > CONFIDENTIAL - OFFICIAL DUKE UNIVERSITY USE > ONLY > Page #cfdocument.currentpagenumber# of > #cfdocument.totalpagecount# > > > > > > > -- > > So I'm trying to change the font size of my ordered list up there, so > I change the style definition on the div to 14 px.. 18px.. 24px... > each time, the visible font actually gets SMALLER. > > so I tried settign it to something small, and it also got smaller (5px) > > Tried putting in font tags and that didn't seem to help either. > > What the hell is going on? > > CF8/Windows > ~| 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:300563 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Ok, that would explain why I do not have it, was wondering on that but had no way to check things since not near that computer. On Wed, Mar 5, 2008 at 2:04 PM, Sonny Savage <[EMAIL PROTECTED]> wrote: > Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so > the > answer is no, 3.4 won't be production until July. > > On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido <[EMAIL PROTECTED]> > wrote: > > > >>I'm currently using eclipse 3.4 and it does exactly what you are > > requesting. > > > > Excellent. Is 3.4 a production release? > > > > I know this is OT but what is best way to upgrade to 3.4? > > Update manager? > > > > I have my install tweaked to the gills and the prospect of a reinstall > > makes > > me hesitant... given how finicky eclipse can be when it comes to > plugins. > > My > > Aptana plugin committed suicide today. > > > > > > On Wed, Mar 5, 2008 at 1:52 PM, Rich <[EMAIL PROTECTED]> wrote: > > > > > > can use next/prev to cycle through them. As I have stated more than > > > once, > > > > what I want is something like what DW has where the pane shows me a > > > > preview > > > > of the 6 instances and I can then click on which one I want to go > to. > > > > > > I'm currently using eclipse 3.4 and it does exactly what you are > > > requesting. > > > For example, if it found 5 matches within fileA.cfm, I have the > ability > > to > > > expand the matches and jump directly to the 3rd match. > > > > > > HTH, > > > Rich Kroll > > > > > > > > > > > > > > > > > > ~| 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:300562 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_classes
Randy, we've run into similar in the past, especially with 6.1. You probably should test the following at dev first (and back everything up), but you should be able to delete all of your .class files from that cf_classes directory, and the server will rebuild them on initial page load after restarting the server. You should stop the CF instance prior to deleting the files. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Randy Messer wrote: > We have Dev and Prod CF servers on IIS - both CFMX Version: 6,1,0,83762 > While trying to resolve why Prod version will not allow cffile to read/write > charset =Shift_JIS, we came across file differences between Prod and Dev in > the WEB-INF/cf_classes directory. Prod missing several .class that referenced > Shift_JIS. We copied these files from dev to prod and restarted CF. Still > unable to read/write charset=shift_js. > > Is there another action required to initiate the .class files? > > Grasping at straws. > > Note previous post regarding Charsert Shift_JIS > > ~| 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:300561 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
http://download.eclipse.org/eclipse/downloads/ On Wed, Mar 5, 2008 at 3:04 PM, Sonny Savage <[EMAIL PROTECTED]> wrote: > Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so > the answer is no, 3.4 won't be production until July. > > > On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido <[EMAIL PROTECTED]> > wrote: > > > >>I'm currently using eclipse 3.4 and it does exactly what you are > > requesting. > > > > Excellent. Is 3.4 a production release? > > > > I know this is OT but what is best way to upgrade to 3.4? > > Update manager? > > > > I have my install tweaked to the gills and the prospect of a reinstall > > makes > > me hesitant... given how finicky eclipse can be when it comes to > > plugins. My > > Aptana plugin committed suicide today. > > > > > > On Wed, Mar 5, 2008 at 1:52 PM, Rich <[EMAIL PROTECTED]> wrote: > > > > > > can use next/prev to cycle through them. As I have stated more than > > > once, > > > > what I want is something like what DW has where the pane shows me a > > > > preview > > > > of the 6 instances and I can then click on which one I want to go > > to. > > > > > > I'm currently using eclipse 3.4 and it does exactly what you are > > > requesting. > > > For example, if it found 5 matches within fileA.cfm, I have the > > ability to > > > expand the matches and jump directly to the 3rd match. > > > > > > HTH, > > > Rich Kroll > > > > > > > > > > > > > > > > ~| 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:300560 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
Eclipse 3.4 is at Milestone 5. Eclipse has yearly releases in July, so the answer is no, 3.4 won't be production until July. On Wed, Mar 5, 2008 at 2:48 PM, Gerald Guido <[EMAIL PROTECTED]> wrote: > >>I'm currently using eclipse 3.4 and it does exactly what you are > requesting. > > Excellent. Is 3.4 a production release? > > I know this is OT but what is best way to upgrade to 3.4? > Update manager? > > I have my install tweaked to the gills and the prospect of a reinstall > makes > me hesitant... given how finicky eclipse can be when it comes to plugins. > My > Aptana plugin committed suicide today. > > > On Wed, Mar 5, 2008 at 1:52 PM, Rich <[EMAIL PROTECTED]> wrote: > > > > can use next/prev to cycle through them. As I have stated more than > > once, > > > what I want is something like what DW has where the pane shows me a > > > preview > > > of the 6 instances and I can then click on which one I want to go to. > > > > I'm currently using eclipse 3.4 and it does exactly what you are > > requesting. > > For example, if it found 5 matches within fileA.cfm, I have the ability > to > > expand the matches and jump directly to the 3rd match. > > > > HTH, > > Rich Kroll > > > > > > > > > > ~| 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:300559 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf_classes
We have Dev and Prod CF servers on IIS - both CFMX Version: 6,1,0,83762 While trying to resolve why Prod version will not allow cffile to read/write charset =Shift_JIS, we came across file differences between Prod and Dev in the WEB-INF/cf_classes directory. Prod missing several .class that referenced Shift_JIS. We copied these files from dev to prod and restarted CF. Still unable to read/write charset=shift_js. Is there another action required to initiate the .class files? Grasping at straws. Note previous post regarding Charsert Shift_JIS ~| 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:300558 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Slow machine - JRun?
Thanks I'll stop pouting :) -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 1:20 PM To: CF-Talk Subject: Re: Slow machine - JRun? Ah ha! Sorry Mark, I had forgotten that one (which eventually led me to most of the others mentioned). There were some really interesting finds in that first post I listed from Jason Sheedy, especially in the comments. If you haven't read them you really should, especially if you use CFCs in development. Great post though, Mark, thanks for reminding me! Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Mark Kruger wrote: > I have a recent one one to add to this list: > > http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm > > Good luck.. > > -Mark ~| 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:300557 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
problem with cfdocument and font size
Okay I'm having this very strange issue with cfdocument. My document has a couple of pages, and there is a header and footer. I can't seem to get the font size in my footer to do what I want. footer code: -- #ThisFOOTNOTE# #dateFormat(Now(),', d, ')# #TimeFormat(Now(),"h:mm tt")# CONFIDENTIAL - OFFICIAL DUKE UNIVERSITY USE ONLY Page #cfdocument.currentpagenumber# of #cfdocument.totalpagecount# -- So I'm trying to change the font size of my ordered list up there, so I change the style definition on the div to 14 px.. 18px.. 24px... each time, the visible font actually gets SMALLER. so I tried settign it to something small, and it also got smaller (5px) Tried putting in font tags and that didn't seem to help either. What the hell is going on? CF8/Windows -- Rick Root New Brian Vander Ark Album, songs in the music player and cool behind the scenes video at www.myspace.com/brianvanderark ~| 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:300556 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Find/Replace for Eclipse
>>I'm currently using eclipse 3.4 and it does exactly what you are requesting. Excellent. Is 3.4 a production release? I know this is OT but what is best way to upgrade to 3.4? Update manager? I have my install tweaked to the gills and the prospect of a reinstall makes me hesitant... given how finicky eclipse can be when it comes to plugins. My Aptana plugin committed suicide today. On Wed, Mar 5, 2008 at 1:52 PM, Rich <[EMAIL PROTECTED]> wrote: > > can use next/prev to cycle through them. As I have stated more than > once, > > what I want is something like what DW has where the pane shows me a > > preview > > of the 6 instances and I can then click on which one I want to go to. > > I'm currently using eclipse 3.4 and it does exactly what you are > requesting. > For example, if it found 5 matches within fileA.cfm, I have the ability to > expand the matches and jump directly to the 3rd match. > > HTH, > Rich Kroll > > > > ~| 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:300555 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
> Cool, I didn't even know 3.4 was out. Is that europa-winter? > > Are all the plugins working ok with it? CFEclipse/Subclipse, etc? > > Russ It's europa, not sure if it was a part of the winter maintenance though. I've been using Java / J2EE / CFE / Subclipse all without problem. HTH, Rich Kroll ~| 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:300554 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
Cool, I didn't even know 3.4 was out. Is that europa-winter? Are all the plugins working ok with it? CFEclipse/Subclipse, etc? Russ > -Original Message- > From: Rich [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 1:52 PM > To: CF-Talk > Subject: RE: Find/Replace for Eclipse > > > can use next/prev to cycle through them. As I have stated more than > once, > > what I want is something like what DW has where the pane shows me a > > preview > > of the 6 instances and I can then click on which one I want to go to. > > I'm currently using eclipse 3.4 and it does exactly what you are > requesting. > For example, if it found 5 matches within fileA.cfm, I have the ability to > expand the matches and jump directly to the 3rd match. > > HTH, > Rich Kroll > > > > ~| 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:300553 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: qForms Question
Tom, >oForm.textareaName.validateAtLeastOne("checkboxName"); >> > >That is extremely cool. I've been using qForms for a long time, but I >didn't >realize you could relate validations across elements that way. Thanks for >the tip. It's not a perfect solution--since you need to attach the validation to one of the fields, but that custom method will do the trick for those validate "either" a or b type of situations. -Dan ~| 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:300552 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Ah ha! Sorry Mark, I had forgotten that one (which eventually led me to most of the others mentioned). There were some really interesting finds in that first post I listed from Jason Sheedy, especially in the comments. If you haven't read them you really should, especially if you use CFCs in development. Great post though, Mark, thanks for reminding me! Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com Mark Kruger wrote: > I have a recent one one to add to this list: > > http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm > > Good luck.. > > -Mark ~| 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:300551 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: qForms Question
Dan, oForm.textareaName.validateAtLeastOne("checkboxName"); > That is extremely cool. I've been using qForms for a long time, but I didn't realize you could relate validations across elements that way. Thanks for the tip. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560 ~| 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:300550 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Slow machine - JRun?
Michael, If and when you are looking for some outside help, Mike Brunt is one of THE people out there in terms server and JVM tuning. He was on board with the ColdFusion team at Allaire and Macromedia, before leaving to help start Webapper. He is now with Alagad and is leading our performance tuning work. You can reach him at mbrunt at alagad do com if you need some help. Good luck! -- Jeff -Original Message- From: Michael Muller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 9:32 AM To: CF-Talk Subject: Slow machine - JRun? I posted about this a few weeks ago (JRun pegging for ten to twenty seconds then dropping back down, etc), and the issue seemed to have gone away when we moved everything to another machine. However, in the past week our new machine has become unbelievably slow again, but with the performance meters doing normal work, jumping around from 0 to 20 to 0 to 30 to 0 to 5 to 0 to 40, etc. Every once in a while it pops up above 60 but for the most part it's pretty low. However, there is a lot of I/O going on, and the box itself is sluggish when I log in via RDS, to the point where typing in the login name is an excerise in moon lander control response sluggishness. I just took snapshots of the Task Manager and uploaded them here: http://support.mullertech.com/images.cfm?gpt=3&g=88&vcid=9 This site is hosted on the box so let me know if it takes a while to load the images. Any advice would be appreciated. BTW, are there any tools that anyone knows about that can diagnose what all the I/O work *is*? Like, is this all http loads (image and video files being directly accessed via http) or some internal virtual memory swap fest? Thanks, Michael Michael Muller Muller Technologies 24 3rd Street Turners Falls, MA 01376 work: (413) 863-0030 cell: (413) 320-5336 skype: michaelBmuller http://support.MullerTech.com Information is not knowlege Knowlege is not wisdom Eschew Obfuscation ~| 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:300549 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 value returned from function init() is not of type ..."
> > there's nothing wrong with it.. but from what I've seen Beans are just > named what they are. > Yes absolutely, I'd prefer not to call something 'querybean' but better than 'queryb' was my point ;) Anyways the Query bean holds queries, their Id, name, and description.. > (building something simple as I learn to help the concepts stick). > Ah yes, it kind of makes sense to call it 'query' in that case, 'almost' in that I think CF has blurred the definition of 'query'. Please someone correct me if I am wrong here, but I think it is clearer to define a query as the SQL code you use to QUERY the database. The data you get back is better defined as a recordset, or resultset and not a query. I think the term has become abused through CF language (cfloop query=""). I'm open to correction on that though. Regardless, ambiguity exists in the term so I would say that if the bean contains the results of queries then it should be called something along the lines of recordset, if it contains SQL strings that will be query a database, 'Query' is an apt name. Anyone disagree? Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300548 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: qForms Question
Hatton, >I've "inherited" a form that is using qForms for validation. The >form includes a series of three checkboxes, all with the same name but >different values, further down there is a textarea. The client has >asked for a validation rule that requires either one of the checkboxes >to be checked, the textarea to contain a value or both. If the user >does not check a box or enter something in the texarea, a validation >message needs to appear. > >I know I can do this in Javascript but I'm hesitant to "roll my own" >when qForms is already validating the rest of the form (some 15 other >required fields). Is there a way to do this in qForms? This should do what you want: http://www.pengoworks.com/qforms/ext/atLeastOne.htm You can use it like: oForm.textareaName.validateAtLeastOne("checkboxName"); That should enforce that at least the textarea is filled in or one of the checkboxes is checked. ~| 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:300547 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
> can use next/prev to cycle through them. As I have stated more than once, > what I want is something like what DW has where the pane shows me a > preview > of the 6 instances and I can then click on which one I want to go to. I'm currently using eclipse 3.4 and it does exactly what you are requesting. For example, if it found 5 matches within fileA.cfm, I have the ability to expand the matches and jump directly to the 3rd match. HTH, Rich Kroll ~| 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:300546 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Slow machine - JRun?
I have a recent one one to add to this list: http://www.coldfusionmuse.com/index.cfm/2008/2/12/leaky.heap.jvm Good luck.. -Mark -Original Message- From: Cutter (CFRelated) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:14 PM To: CF-Talk Subject: Re: Slow machine - JRun? Michael, you are not alone. Many of us have dealt with JRun suddenly hitting the ceiling, typically from increased traffic or changes to our systems or application architecture. Have you, as yet, spent any time tuning your JVM? Heavily searched through your application for possible memory leaks? In our continued efforts to optimize our application's performance, I've started collecting some bookmarks of interesting posts across the blogosphere. Especially interesting was this posting from Jason Sheedy, and the comments that follow: http://www.jmpj.net/jason/index.cfm/2007/4/14/Cold-Fusion-Memory-Leak There was a follow up that he put out in the middle of those comments: http://www.jmpj.net/jason/index.cfm/2007/5/11/Cold-Fusion-Memory-Leak-Contin ued And some additional reads after that might be: http://www.petefreitag.com/articles/gctuning/ http://www.webapper.net/index.cfm/2006/6/8/20060606021131 http://www.robisen.com/index.cfm/2006/5/26/More-on-ColdFusion-tuning-and-cla rifying-JRUNXML-settings http://www.talkingtree.com/blog/index.cfm?mode=alias&alias=ContextSwitchingB ad Some of this is dated, but almost all of it still applies. Another item to consider is what version of the JVM you are using. If you are running CF8, which ships with 1.6, there are several reports of improved performance when dropping back to using the 1.5 JVM. Details on how to change which JVM CF utilizes can be found here: http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BAA93-3048-80A9-EF73 06C155FD29F4 None of the things talked about in the above posts are for the uninitiated or the faint of heart. Back up everything. There are also several organizations/contractors who might assist you with your issues. Charlie Arehart can provide phone, and higher level, support. Webapper has been doing that sort of work for quite some time. The guys at Alagad have an extremely talented staff. If you happen to ask one of these folks for help then please let them know I sent ya;) ~| 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:300545 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Slow machine - JRun?
Cutter, Thanks for the heads up. This is quite a bit to read, but I'll make sure to peruse it all. And I'll see what kind of support I have inside before contracting people. I agree -- this is not something to take lightly. Thanks again, Michael At 01:13 PM 3/5/2008, Cutter (CFRelated) wrote: >Michael, you are not alone. Many of us have dealt with JRun suddenly >hitting the ceiling, typically from increased traffic or changes to our >systems or application architecture. Have you, as yet, spent any time >tuning your JVM? Heavily searched through your application for possible >memory leaks? Michael Muller Admin, MontagueMA.net Website work (413) 863-0030 cell (413) 320-5336 skype: michaelBmuller http://www.MontagueMA.net Eschew Obfuscation ~| 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:300544 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
I know about the ctrl-h and at least in my version of Eclipse when I get FileName.cfm (6) or whatever it shows when it found the thing 6 times in a file, if I double click it just takes me to the first found instance and I can use next/prev to cycle through them. As I have stated more than once, what I want is something like what DW has where the pane shows me a preview of the 6 instances and I can then click on which one I want to go to. An example of 6 instances is a poor one but when searching for something across an entire project and knowing that you want to only edit say the third occurrence on each file, I just personally find it not user friendly in Eclipse. On Wed, Mar 5, 2008 at 12:21 PM, Rich <[EMAIL PROTECTED]> wrote: > > > > > > Actually is more to the Find/Replace differences that I have not > > explained > > > and like. For example in DW you hit ctrl-f and then window that comes > > up > > > will let you define a few things like search in just that document or > > all > > > documents across that site/project and so on. > > Eclipse works in much the same way, when you use (the default) ctrl-f > shortcut, you get a very simple search / replace dialog for only the > current > document. Using the (again, default) ctrl-h shortcut, you get a more > advanced search dialog. This interface will allow you to search (and/or > replace) by workspace, project, or even just selected files. > > The search results pane allows you to drill into the found results and by > double clicking an entry, you are taken directly to the line where the > search term was found. > > HTH, > Rich Kroll > > > ~| 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:300543 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
> > > > Actually is more to the Find/Replace differences that I have not > explained > > and like. For example in DW you hit ctrl-f and then window that comes > up > > will let you define a few things like search in just that document or > all > > documents across that site/project and so on. Eclipse works in much the same way, when you use (the default) ctrl-f shortcut, you get a very simple search / replace dialog for only the current document. Using the (again, default) ctrl-h shortcut, you get a more advanced search dialog. This interface will allow you to search (and/or replace) by workspace, project, or even just selected files. The search results pane allows you to drill into the found results and by double clicking an entry, you are taken directly to the line where the search term was found. HTH, Rich Kroll ~| 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:300542 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Slow machine - JRun?
Michael, you are not alone. Many of us have dealt with JRun suddenly hitting the ceiling, typically from increased traffic or changes to our systems or application architecture. Have you, as yet, spent any time tuning your JVM? Heavily searched through your application for possible memory leaks? In our continued efforts to optimize our application's performance, I've started collecting some bookmarks of interesting posts across the blogosphere. Especially interesting was this posting from Jason Sheedy, and the comments that follow: http://www.jmpj.net/jason/index.cfm/2007/4/14/Cold-Fusion-Memory-Leak There was a follow up that he put out in the middle of those comments: http://www.jmpj.net/jason/index.cfm/2007/5/11/Cold-Fusion-Memory-Leak-Continued And some additional reads after that might be: http://www.petefreitag.com/articles/gctuning/ http://www.webapper.net/index.cfm/2006/6/8/20060606021131 http://www.robisen.com/index.cfm/2006/5/26/More-on-ColdFusion-tuning-and-clarifying-JRUNXML-settings http://www.talkingtree.com/blog/index.cfm?mode=alias&alias=ContextSwitchingBad Some of this is dated, but almost all of it still applies. Another item to consider is what version of the JVM you are using. If you are running CF8, which ships with 1.6, there are several reports of improved performance when dropping back to using the 1.5 JVM. Details on how to change which JVM CF utilizes can be found here: http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BAA93-3048-80A9-EF7306C155FD29F4 None of the things talked about in the above posts are for the uninitiated or the faint of heart. Back up everything. There are also several organizations/contractors who might assist you with your issues. Charlie Arehart can provide phone, and higher level, support. Webapper has been doing that sort of work for quite some time. The guys at Alagad have an extremely talented staff. If you happen to ask one of these folks for help then please let them know I sent ya;) Hope some of this helps. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _ http://blog.cutterscrossing.com ~| 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:300541 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Well you've guessed wrong. I am not seeing anything on their trac site relating to this... http://trac.cfeclipse.org/cfeclipse/report/6 Russ > -Original Message- > From: Aaron Rouse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 1:04 PM > To: CF-Talk > Subject: Re: Find/Replace for Eclipse > > Actually is more to the Find/Replace differences that I have not explained > and like. For example in DW you hit ctrl-f and then window that comes up > will let you define a few things like search in just that document or all > documents across that site/project and so on. Just things you work with > for > awhile and get so used to that it is hard to make a switch to something > that > works very differently. I am just going to guess but I would think the > request for this has already been made. Just guessing because this is not > the first time people have brought it up on just this mailing list. > > On Wed, Mar 5, 2008 at 11:56 AM, Russ <[EMAIL PROTECTED]> wrote: > > > I find that clicking next/previous is fairly fast for going through all > > the > > entries. I guess having something similar to DW would be cool. > > > > The cool thing about Eclipse is that you can extend it. If someone > hasn't > > already written a search function the way you like it, you can do it > > yourself, or ask someone else to do it for you. This could make a nice > > suggestion to the CFEClipse project. > > > > Russ > > > > > -Original Message- > > > From: Aaron Rouse [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, March 05, 2008 12:35 PM > > > To: CF-Talk > > > Subject: Re: Find/Replace for Eclipse > > > > > > In DW you get something like: > > > > > > File Column |Matched Text > > > MyFileOne.cfm | > > > MyFileTwo.cfm | > > > MyFileOne.cfm | > > > > > > In Eclipse done you get something like: > > > > > > MyFileOne.cfm (2) > > > MyFileTwo.cfm (1) > > > > > > I do not have Eclipse handy to fire up so just doing that from memory. > > I > > > personally have times, such as right now where I searched on text that > > > shows > > > up 37 times. I can see in the Matched Text column a brief bit of code > > for > > > the line it was found. I can scroll through that pane and figure out > > > where > > > to double click and do the change I want to do. My experience thus > far > > > with > > > Eclipse is I have to Next/Prev through things to see if I wanted to > > change > > > something or not since I get no preview of the instances but just of > the > > > files containing. > > > > > > On Wed, Mar 5, 2008 at 11:19 AM, Russ <[EMAIL PROTECTED]> wrote: > > > > > > > What do you mean it doesn't expand the instances? There's a little > > > arrow > > > > in > > > > the search pane that takes you through each of the instances and > > > > highlights > > > > it for you... > > > > > > > > I have not used dreamweaver excessively, as in my opinion, that hog > is > > > > unusable. > > > > > > > > Russ > > > > > > > > > -Original Message- > > > > > From: Eric Roberts [mailto:[EMAIL PROTECTED] > > > > > Sent: Wednesday, March 05, 2008 12:05 PM > > > > > To: CF-Talk > > > > > Subject: RE: Find/Replace for Eclipse > > > > > > > > > > That only list the pages the search criteria is found and doesn't > > > expand > > > > > to > > > > > the instances in each page like Dreamweaver does...that is what he > > is > > > > > referring to. I think the problem is that most of us are used to > a > > > > richer > > > > > editor. To me, this is akin to going from Word to Wordpad. While > > it > > > > has > > > > > a > > > > > lot of the same functions, it is significantly pared down. In > some > > > ways > > > > > that is good as it make it more efficient to run, we also loose a > > lot > > > of > > > > > good features that are widely used in the process. > > > > > > > > > > /*-Original Message- > > > > > /*From: Matthew Williams [mailto:[EMAIL PROTECTED] > > > > > /*Sent: Wednesday, March 05, 2008 6:23 AM > > > > > /*To: CF-Talk > > > > > /*Subject: Re: Find/Replace for Eclipse > > > > > /* > > > > > /*You may have closed the view, but there should be a search pane > > > > > available. > > > > > /*It very closely matches the one in Dreameweaver. It shows items > > in > > > a > > > > > tree > > > > > /*view and how many times your search term appears in a file. It > > also > > > > has > > > > > /*up and down arrows to traverse the search list to move to the > next > > > > > /*instance of the search term. The view is under Window->Show > View- > > > > > >Other- > > > > > /*>General->Search. To use it, you usually click on the folder > you > > > wish > > > > > to > > > > > /*search in the file navigation pane and click ctrl-h. If you > don't > > > > > select > > > > > /*anything in this pane, it defaults to searching the entire > > > workspace. > > > > > /* > > > > > /* > > > > > /*Matthew Williams > > > > > /*Geodesic GraFX > > > > > /*www.g
Re: Find/Replace for Eclipse
Actually is more to the Find/Replace differences that I have not explained and like. For example in DW you hit ctrl-f and then window that comes up will let you define a few things like search in just that document or all documents across that site/project and so on. Just things you work with for awhile and get so used to that it is hard to make a switch to something that works very differently. I am just going to guess but I would think the request for this has already been made. Just guessing because this is not the first time people have brought it up on just this mailing list. On Wed, Mar 5, 2008 at 11:56 AM, Russ <[EMAIL PROTECTED]> wrote: > I find that clicking next/previous is fairly fast for going through all > the > entries. I guess having something similar to DW would be cool. > > The cool thing about Eclipse is that you can extend it. If someone hasn't > already written a search function the way you like it, you can do it > yourself, or ask someone else to do it for you. This could make a nice > suggestion to the CFEClipse project. > > Russ > > > -Original Message- > > From: Aaron Rouse [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 05, 2008 12:35 PM > > To: CF-Talk > > Subject: Re: Find/Replace for Eclipse > > > > In DW you get something like: > > > > File Column |Matched Text > > MyFileOne.cfm | > > MyFileTwo.cfm | > > MyFileOne.cfm | > > > > In Eclipse done you get something like: > > > > MyFileOne.cfm (2) > > MyFileTwo.cfm (1) > > > > I do not have Eclipse handy to fire up so just doing that from memory. > I > > personally have times, such as right now where I searched on text that > > shows > > up 37 times. I can see in the Matched Text column a brief bit of code > for > > the line it was found. I can scroll through that pane and figure out > > where > > to double click and do the change I want to do. My experience thus far > > with > > Eclipse is I have to Next/Prev through things to see if I wanted to > change > > something or not since I get no preview of the instances but just of the > > files containing. > > > > On Wed, Mar 5, 2008 at 11:19 AM, Russ <[EMAIL PROTECTED]> wrote: > > > > > What do you mean it doesn't expand the instances? There's a little > > arrow > > > in > > > the search pane that takes you through each of the instances and > > > highlights > > > it for you... > > > > > > I have not used dreamweaver excessively, as in my opinion, that hog is > > > unusable. > > > > > > Russ > > > > > > > -Original Message- > > > > From: Eric Roberts [mailto:[EMAIL PROTECTED] > > > > Sent: Wednesday, March 05, 2008 12:05 PM > > > > To: CF-Talk > > > > Subject: RE: Find/Replace for Eclipse > > > > > > > > That only list the pages the search criteria is found and doesn't > > expand > > > > to > > > > the instances in each page like Dreamweaver does...that is what he > is > > > > referring to. I think the problem is that most of us are used to a > > > richer > > > > editor. To me, this is akin to going from Word to Wordpad. While > it > > > has > > > > a > > > > lot of the same functions, it is significantly pared down. In some > > ways > > > > that is good as it make it more efficient to run, we also loose a > lot > > of > > > > good features that are widely used in the process. > > > > > > > > /*-Original Message- > > > > /*From: Matthew Williams [mailto:[EMAIL PROTECTED] > > > > /*Sent: Wednesday, March 05, 2008 6:23 AM > > > > /*To: CF-Talk > > > > /*Subject: Re: Find/Replace for Eclipse > > > > /* > > > > /*You may have closed the view, but there should be a search pane > > > > available. > > > > /*It very closely matches the one in Dreameweaver. It shows items > in > > a > > > > tree > > > > /*view and how many times your search term appears in a file. It > also > > > has > > > > /*up and down arrows to traverse the search list to move to the next > > > > /*instance of the search term. The view is under Window->Show View- > > > > >Other- > > > > /*>General->Search. To use it, you usually click on the folder you > > wish > > > > to > > > > /*search in the file navigation pane and click ctrl-h. If you don't > > > > select > > > > /*anything in this pane, it defaults to searching the entire > > workspace. > > > > /* > > > > /* > > > > /*Matthew Williams > > > > /*Geodesic GraFX > > > > /*www.geodesicgrafx.com/blog > > > > /* > > > > /* > > > > > > > > > > > > > > > > > > > > ~| 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:300539 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Find/Replace for Eclipse
I find that clicking next/previous is fairly fast for going through all the entries. I guess having something similar to DW would be cool. The cool thing about Eclipse is that you can extend it. If someone hasn't already written a search function the way you like it, you can do it yourself, or ask someone else to do it for you. This could make a nice suggestion to the CFEClipse project. Russ > -Original Message- > From: Aaron Rouse [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 12:35 PM > To: CF-Talk > Subject: Re: Find/Replace for Eclipse > > In DW you get something like: > > File Column |Matched Text > MyFileOne.cfm | > MyFileTwo.cfm | > MyFileOne.cfm | > > In Eclipse done you get something like: > > MyFileOne.cfm (2) > MyFileTwo.cfm (1) > > I do not have Eclipse handy to fire up so just doing that from memory. I > personally have times, such as right now where I searched on text that > shows > up 37 times. I can see in the Matched Text column a brief bit of code for > the line it was found. I can scroll through that pane and figure out > where > to double click and do the change I want to do. My experience thus far > with > Eclipse is I have to Next/Prev through things to see if I wanted to change > something or not since I get no preview of the instances but just of the > files containing. > > On Wed, Mar 5, 2008 at 11:19 AM, Russ <[EMAIL PROTECTED]> wrote: > > > What do you mean it doesn't expand the instances? There's a little > arrow > > in > > the search pane that takes you through each of the instances and > > highlights > > it for you... > > > > I have not used dreamweaver excessively, as in my opinion, that hog is > > unusable. > > > > Russ > > > > > -Original Message- > > > From: Eric Roberts [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, March 05, 2008 12:05 PM > > > To: CF-Talk > > > Subject: RE: Find/Replace for Eclipse > > > > > > That only list the pages the search criteria is found and doesn't > expand > > > to > > > the instances in each page like Dreamweaver does...that is what he is > > > referring to. I think the problem is that most of us are used to a > > richer > > > editor. To me, this is akin to going from Word to Wordpad. While it > > has > > > a > > > lot of the same functions, it is significantly pared down. In some > ways > > > that is good as it make it more efficient to run, we also loose a lot > of > > > good features that are widely used in the process. > > > > > > /*-Original Message- > > > /*From: Matthew Williams [mailto:[EMAIL PROTECTED] > > > /*Sent: Wednesday, March 05, 2008 6:23 AM > > > /*To: CF-Talk > > > /*Subject: Re: Find/Replace for Eclipse > > > /* > > > /*You may have closed the view, but there should be a search pane > > > available. > > > /*It very closely matches the one in Dreameweaver. It shows items in > a > > > tree > > > /*view and how many times your search term appears in a file. It also > > has > > > /*up and down arrows to traverse the search list to move to the next > > > /*instance of the search term. The view is under Window->Show View- > > > >Other- > > > /*>General->Search. To use it, you usually click on the folder you > wish > > > to > > > /*search in the file navigation pane and click ctrl-h. If you don't > > > select > > > /*anything in this pane, it defaults to searching the entire > workspace. > > > /* > > > /* > > > /*Matthew Williams > > > /*Geodesic GraFX > > > /*www.geodesicgrafx.com/blog > > > /* > > > /* > > > > > > > > > > > > ~| 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:300538 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 value returned from function init() is not of type ..."
there's nothing wrong with it.. but from what I've seen Beans are just named what they are.. User bean is User.cfc Group bean is Group.cfc etc.. I'm still learning the whole OO concept so I'm following a couple online tutorials.. Anyways the Query bean holds queries, their Id, name, and description.. (building something simple as I learn to help the concepts stick). On Wed, Mar 5, 2008 at 12:29 PM, Dominic Watson <[EMAIL PROTECTED]> wrote: > > > > QueryB for QueryBean was what I was thinking.. > > > > ;) What's wrong with 'QueryBean'? What does the component do/represent? > Personally, I like the name of the component to tell you that (without being > unusably long either). The word 'Query' has very broad implications I think, > there could be a better name. > > > Dominic > > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~| 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:300537 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
In DW you get something like: File Column |Matched Text MyFileOne.cfm | MyFileTwo.cfm | MyFileOne.cfm | In Eclipse done you get something like: MyFileOne.cfm (2) MyFileTwo.cfm (1) I do not have Eclipse handy to fire up so just doing that from memory. I personally have times, such as right now where I searched on text that shows up 37 times. I can see in the Matched Text column a brief bit of code for the line it was found. I can scroll through that pane and figure out where to double click and do the change I want to do. My experience thus far with Eclipse is I have to Next/Prev through things to see if I wanted to change something or not since I get no preview of the instances but just of the files containing. On Wed, Mar 5, 2008 at 11:19 AM, Russ <[EMAIL PROTECTED]> wrote: > What do you mean it doesn't expand the instances? There's a little arrow > in > the search pane that takes you through each of the instances and > highlights > it for you... > > I have not used dreamweaver excessively, as in my opinion, that hog is > unusable. > > Russ > > > -Original Message- > > From: Eric Roberts [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 05, 2008 12:05 PM > > To: CF-Talk > > Subject: RE: Find/Replace for Eclipse > > > > That only list the pages the search criteria is found and doesn't expand > > to > > the instances in each page like Dreamweaver does...that is what he is > > referring to. I think the problem is that most of us are used to a > richer > > editor. To me, this is akin to going from Word to Wordpad. While it > has > > a > > lot of the same functions, it is significantly pared down. In some ways > > that is good as it make it more efficient to run, we also loose a lot of > > good features that are widely used in the process. > > > > /*-Original Message- > > /*From: Matthew Williams [mailto:[EMAIL PROTECTED] > > /*Sent: Wednesday, March 05, 2008 6:23 AM > > /*To: CF-Talk > > /*Subject: Re: Find/Replace for Eclipse > > /* > > /*You may have closed the view, but there should be a search pane > > available. > > /*It very closely matches the one in Dreameweaver. It shows items in a > > tree > > /*view and how many times your search term appears in a file. It also > has > > /*up and down arrows to traverse the search list to move to the next > > /*instance of the search term. The view is under Window->Show View- > > >Other- > > /*>General->Search. To use it, you usually click on the folder you wish > > to > > /*search in the file navigation pane and click ctrl-h. If you don't > > select > > /*anything in this pane, it defaults to searching the entire workspace. > > /* > > /* > > /*Matthew Williams > > /*Geodesic GraFX > > /*www.geodesicgrafx.com/blog > > /* > > /* > > > > > > ~| 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:300536 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Find/Replace for Eclipse
> > What do you mean it doesn't expand the instances? There's a little arrow > in > the search pane that takes you through each of the instances and > highlights > it for you... > I have missed that till now aswell. I wouldn't say eclipse was a pared down DW at all. But, as this example proves, the features are often obfuscated. This discussion has proved very useful in exposing it :) Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300535 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 value returned from function init() is not of type ..."
> > QueryB for QueryBean was what I was thinking.. > ;) What's wrong with 'QueryBean'? What does the component do/represent? Personally, I like the name of the component to tell you that (without being unusably long either). The word 'Query' has very broad implications I think, there could be a better name. Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300534 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 value returned from function init() is not of type ..."
QueryB for QueryBean was what I was thinking.. On Wed, Mar 5, 2008 at 12:14 PM, Dominic Watson <[EMAIL PROTECTED]> wrote: > > > > But will I run into the name issue later? If so, I can change it now > > and be done with it.. > > > Possibly though probably not. Regardless, I would change the name to > something more descriptive; perhaps 'recordset' if it is a bean for wrapping > a cfquery object or 'QueryBuilder' if it is a generic query builder kind of > thing. > > I'd say QueryB was a little obscure and 'Query' perhaps too broad. > > My tuppence, > > Dominic > > -- > Blog it up: http://fusion.dominicwatson.co.uk > > > ~| 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:300533 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
What do you mean it doesn't expand the instances? There's a little arrow in the search pane that takes you through each of the instances and highlights it for you... I have not used dreamweaver excessively, as in my opinion, that hog is unusable. Russ > -Original Message- > From: Eric Roberts [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 12:05 PM > To: CF-Talk > Subject: RE: Find/Replace for Eclipse > > That only list the pages the search criteria is found and doesn't expand > to > the instances in each page like Dreamweaver does...that is what he is > referring to. I think the problem is that most of us are used to a richer > editor. To me, this is akin to going from Word to Wordpad. While it has > a > lot of the same functions, it is significantly pared down. In some ways > that is good as it make it more efficient to run, we also loose a lot of > good features that are widely used in the process. > > /*-Original Message- > /*From: Matthew Williams [mailto:[EMAIL PROTECTED] > /*Sent: Wednesday, March 05, 2008 6:23 AM > /*To: CF-Talk > /*Subject: Re: Find/Replace for Eclipse > /* > /*You may have closed the view, but there should be a search pane > available. > /*It very closely matches the one in Dreameweaver. It shows items in a > tree > /*view and how many times your search term appears in a file. It also has > /*up and down arrows to traverse the search list to move to the next > /*instance of the search term. The view is under Window->Show View- > >Other- > /*>General->Search. To use it, you usually click on the folder you wish > to > /*search in the file navigation pane and click ctrl-h. If you don't > select > /*anything in this pane, it defaults to searching the entire workspace. > /* > /* > /*Matthew Williams > /*Geodesic GraFX > /*www.geodesicgrafx.com/blog > /* > /* > > ~| 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:300532 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 value returned from function init() is not of type ..."
> > But will I run into the name issue later? If so, I can change it now > and be done with it.. Possibly though probably not. Regardless, I would change the name to something more descriptive; perhaps 'recordset' if it is a bean for wrapping a cfquery object or 'QueryBuilder' if it is a generic query builder kind of thing. I'd say QueryB was a little obscure and 'Query' perhaps too broad. My tuppence, Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~| 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:300531 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 value returned from function init() is not of type ..."
But will I run into the name issue later? If so, I can change it now and be done with it.. On Wed, Mar 5, 2008 at 11:58 AM, Barney Boisvert <[EMAIL PROTECTED]> wrote: > It's not a reserved word, just a well-known type name. If you set the > return type to "com.queries.Query", it should work. > > cheers, > barneyb > > > On Wed, Mar 5, 2008 at 8:56 AM, Jochem van Dieten > <[EMAIL PROTECTED]> wrote: > > Greg Morphis wrote: > > > I have a bean Query.cfc, named of course Query.. > > > > > > When I init the bean I get the following error message... > > > The value returned from function init() is not of type Query. > > > > > > > > > > > > > Query is a reserved word. You shouldn't name you component query. > > > > Jochem > > > > > > > > ~| 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:300530 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 value returned from function init() is not of type ..."
A Query being a reserved work.. I knew it was going to bite me eventually.. Better caught now then later. Thanks!!.. I changed it to QueryB and viola.. it worked! On Wed, Mar 5, 2008 at 11:56 AM, Ian Skinner <[EMAIL PROTECTED]> wrote: > Greg Morphis wrote: > > What usually causes this error? > > > > > > access="public" output="false" *returntype="Query"*> > > > > ** > > You are declaring that you will return a query and then trying to return > a component. These should agree or do not delcare what you will return. > > > > ~| 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:300529 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
That only list the pages the search criteria is found and doesn't expand to the instances in each page like Dreamweaver does...that is what he is referring to. I think the problem is that most of us are used to a richer editor. To me, this is akin to going from Word to Wordpad. While it has a lot of the same functions, it is significantly pared down. In some ways that is good as it make it more efficient to run, we also loose a lot of good features that are widely used in the process. /*-Original Message- /*From: Matthew Williams [mailto:[EMAIL PROTECTED] /*Sent: Wednesday, March 05, 2008 6:23 AM /*To: CF-Talk /*Subject: Re: Find/Replace for Eclipse /* /*You may have closed the view, but there should be a search pane available. /*It very closely matches the one in Dreameweaver. It shows items in a tree /*view and how many times your search term appears in a file. It also has /*up and down arrows to traverse the search list to move to the next /*instance of the search term. The view is under Window->Show View->Other- /*>General->Search. To use it, you usually click on the folder you wish to /*search in the file navigation pane and click ctrl-h. If you don't select /*anything in this pane, it defaults to searching the entire workspace. /* /* /*Matthew Williams /*Geodesic GraFX /*www.geodesicgrafx.com/blog /* /* ~| 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:300528 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 value returned from function init() is not of type ..."
It's not a reserved word, just a well-known type name. If you set the return type to "com.queries.Query", it should work. cheers, barneyb On Wed, Mar 5, 2008 at 8:56 AM, Jochem van Dieten <[EMAIL PROTECTED]> wrote: > Greg Morphis wrote: > > I have a bean Query.cfc, named of course Query.. > > > > When I init the bean I get the following error message... > > The value returned from function init() is not of type Query. > > > > > > > Query is a reserved word. You shouldn't name you component query. > > Jochem > > > ~| 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:300527 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 value returned from function init() is not of type ..."
Greg Morphis wrote: > What usually causes this error? > > access="public" output="false" *returntype="Query"*> > > ** You are declaring that you will return a query and then trying to return a component. These should agree or do not delcare what you will return. ~| 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:300526 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coping a directory
>I do not understand what you are asking. > >You can copy dir's using this. > >http://cflib.org/udf.cfm?ID=1251 > > >On Wed, Mar 5, 2008 at 10:45 AM, sarah smith <[EMAIL PROTECTED]> wrote: > >>I'll give it a try. Thanks! ~| 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:300525 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 value returned from function init() is not of type ..."
Greg Morphis wrote: > I have a bean Query.cfc, named of course Query.. > > When I init the bean I get the following error message... > The value returned from function init() is not of type Query. > Query is a reserved word. You shouldn't name you component query. Jochem ~| 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:300524 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
"The value returned from function init() is not of type ..."
What usually causes this error? I have a bean Query.cfc, named of course Query.. When I init the bean I get the following error message... The value returned from function init() is not of type Query. If the component name is specified as a return type, the reason for this error might be that a definition file for such component cannot be found or is not accessible. The error occurred on line 2. I've compared it to another bean and they're almost identical (aside from name, variables, etc).. The init() function looks like and I'm testing it like Query_id = #query.getQuery_id# I expect no pizazz but Query_id = 1 but that's not even working.. ~| 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:300523 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Find/Replace for Eclipse
Eclipse lets you easily navigate through each match. The only gripe I have with it is that once you make a change, if there are multiple matches in the same file, the next match would be a bit off (depending on how big a change you've made). Russ > -Original Message- > From: Matthew Williams [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 05, 2008 11:21 AM > To: CF-Talk > Subject: Re: Find/Replace for Eclipse > > Ah, yes, I see what you're saying now. I've had to ditch DW since it > doesn't play nice with my dual core AMD in my laptop. You'd like to see > the line of code that the search term is in displayed in the search > windwo? I guess I just don't miss it enough to care about it ;). Sorry > for misunderstanding the question. > > Matthew Williams > Geodesic GraFX > www.geodesicgrafx.com/blog > > ~| 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:300522 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coping a directory
I do not understand what you are asking. You can copy dir's using this. http://cflib.org/udf.cfm?ID=1251 On Wed, Mar 5, 2008 at 10:45 AM, sarah smith <[EMAIL PROTECTED]> wrote: > I'm attempting to copy a microsoft publisher directory which will > automatically create the webpage. Within the tag, I'm choosing the > webpage thats already been created. I'm also trying to copy the directory > from one server to another server. > > Does anyone have any suggestions on how to code this? > > Thanks > > > ~| 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:300521 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4