Re: I do not understand SeeStack at all

2008-12-03 Thread Brad Wood
Barney has a good point that Eclipse's debugger can be used to inspect your server's threads even if CF isn't responding. Here are some basic steps to connect Eclipse debugger to CF that I wrote up for a blog post once: I added the following lines to my JVM startup args: -Xdebug

Re: I do not understand SeeStack at all

2008-12-03 Thread Barney Boisvert
Check out the web tools platform from Eclipse.org. It has a whole server management infrastructure component, so you can create/launch/debug/kill all your development containers right from Eclipse. Not of huge benefit to CF developers since it's at the JVM layer, not the CF layer, but for

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Jayesh Viradiya
Hi Philip, If you have so many pageviews/day, I would recommend you to finetune the JVM settings as one of the user already have suggested here. You would need to increase your JVM heapspace. CF's default settings is 512MB for this. Also, it would be a good idea to upgrade your 1Gb Ram to 2 Gb

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Dominic Watson
Any reason not to be using the XHTML parsers out there on the produced output? Dominic 2008/12/3 Will Tomlinson [EMAIL PROTECTED]: I guess it'd be cool if I were to use (meta|input|img) in there, to flag single tags without the trailing [space]/ Will

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Dominic Watson
NVM, of course there is eh, you can auto fix them with CF right... Dominic 2008/12/3 Dominic Watson [EMAIL PROTECTED]: Any reason not to be using the XHTML parsers out there on the produced output? Dominic 2008/12/3 Will Tomlinson [EMAIL PROTECTED]: I guess it'd be cool if I were to use

Generating multiple pdf in a loop design problem

2008-12-03 Thread marc --
Hi, I have a client that wants to be able to print certificates (pdf's) for their clients. What I do is retrieving a query resultset. Then i use cfdocument: cfdocument format=PDF pageType=A4 margintop=0 marginbottom=0 marginright=0 marginleft=0

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Dan O'Keefe
Does anyone have any ideas? At this point I'm willing to pay someone to help. Ahh! Might want to ping Charlie Aerhart as this is an area of his expertise. Dan ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: IntelliJ CFML Plugin

2008-12-03 Thread Tom Chiverton
On Wednesday 03 Dec 2008, Barney Boisvert wrote: A much larger stumbling block for Bolt will be the Eclipse integration, I think. Eclipse users don't want to have their Eclipse environment hosed by some plugin (cough...FlexBuilder...cough). What do you mean there ? Builder works perfectly

Re: Date Range Without Year

2008-12-03 Thread Tom Chiverton
On Tuesday 02 Dec 2008, Jim McAtee wrote: I have a table where I want to store begin and end dates _without_ a year. For example, 'Dec 4' through 'Jun 15'. How can I best represent this in the database? Use day of year i.e 1-366 -- Tom Chiverton Helping to continuously maximize models

Re: I do not understand SeeStack at all

2008-12-03 Thread Tom Chiverton
On Wednesday 03 Dec 2008, Philip Kaplan wrote: There are a lot of threads running. When I dump the entire stack trace into SeeStack http://www.seefusion.com/seestack/seestack.cfm , this is all it tells me. Clicking next stack does nothing. Am I missing something? Sorry for all my questions

Re: IntelliJ CFML Plugin

2008-12-03 Thread Adam Haskell
Quick note Mark, I know you cleared it up about being confused with which product was being talked about but (as someone else mentioned) IntelliJ does give free licenses to open source projects, so you would probably be able to get it (IntelliJ) for free. That being said I hope Adobe considers the

What happened to my CF Admin?

2008-12-03 Thread Steve Keator
Here's a little bit of a pickle... We're in the process of server upgrades, and we've made a few attempts at installing CF8 on a Windows Server 2008 with IIS 7. The first attempt didn't go over so well at all, and we ended up wiping the server and starting from scratch again. We did some

Re: Excel Workbook Creators

2008-12-03 Thread Craigsell
Can you give me some insight into what to look for with string handling and optimal POI code arrangement? We haven't done that much in this area. I am leaning heavily towards the XML solution. I use stored procedures in Oracle to make queries. I'm pretty sure I can create the XML and zip it

Re: Excel Workbook Creators

2008-12-03 Thread Craigsell
Your POI code could be optimized for memory usage. POI has problems with memory leaks, but these problems are fixable with experimentation. String handling is a place to look for optimization. In my experience, a suboptimal arrangement of the POI code could be the difference between creating

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
hmm... a $250 IDE (personal licence)... Yikes and if you're in the UK, that'd be £187 - £17 above today's exchange rate; though if the pound continues to plummet then I guess it'd be a good deal... In any case, that's a quite a wadge to fork out for an IDE, even though as a developer it may be

RE: Regex help - matching invalid xhtml

2008-12-03 Thread Andy Matthews
Actually, both of your examples are invalid according to the W3C which states that all attributes must be quoted: http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.4 The space before the trailing / is irrelevant, it can appear or not without penalty:

Re: IntelliJ CFML Plugin

2008-12-03 Thread John M Bliss
http://www.urbandictionary.com/define.php?term=wadge 2. wadge - a great mass Had to look it up. :-) On Wed, Dec 3, 2008 at 8:01 AM, Dominic Watson [EMAIL PROTECTED] wrote: hmm... a $250 IDE (personal licence)... Yikes and if you're in the UK, that'd be £187 - £17 above today's exchange

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
http://www.urbandictionary.com/define.php?term=wadge 2. wadge - a great mass Had to look it up. :-) Pronounced wodj ;) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free

RE: What happened to my CF Admin?

2008-12-03 Thread Paul Kukiel
It's probably missing the IIS mapping to CFIDE. I recently setup CF8 on Windows Server 2k8. I started with a fresh install of 2k8 then followed this guide ( which is exactly the same for Vista with SP1 btw ): http://dale.fraser.id.au/2008/05/coldfusion-8-vista-sp1-solution.html At first I

Re: Regex help - matching invalid xhtml

2008-12-03 Thread Will Tomlinson
Actually, both of your examples are invalid according to the W3C which states that all attributes must be quoted: http://www.w3.org/TR/2002/REC-xhtml1-20020801/#h-4.4 The value of that variable output DOES contain quotes. I just need my regex to do what is required by my company. Well, I need

RE: What happened to my CF Admin?

2008-12-03 Thread Steve Keator
We were able to work it out. Apparently, there was a .ini file missing as well that had something to do with jRun. As soon as I copied it from our current dev box it worked like a charm. Weird though that it would run other .cfm pages... ?? -S.

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Dana Kowalski
Fine tuning the JVM really does fix a lot of issues. We used to get crashes a lot back in the day when I didn't know much about JVM tweaking, especially the heap size stuff. Ever since I updated the JVM and tuned it we rarely ever have a crash anymore. We used to run into the same exact thing

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
Philip, Based on the load you mentioned earlier and the other data you've given me here is what I'd do. 1. upgrade the JVM to 1.6_10 2. backup my jvm.config and then edit the java.args line to this. java.args= -server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS - Xmx512m -Xms512m

RE: Regex help - matching invalid xhtml

2008-12-03 Thread Andy Matthews
Gotcha. :) -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 9:04 AM To: cf-talk Subject: Re: Regex help - matching invalid xhtml Actually, both of your examples are invalid according to the W3C which states that all attributes must

Writing binary data to file

2008-12-03 Thread Dominic Watson
We need to create a binary file and hope to do it in CF. Our source for the data is plain numbers and strings - ie. we have queried int and varchar columns from our db; we have no binary string to simply write out to file. Has anyone done this before? I assume this would be reasonably straight

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
I finally found it. http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18339sliceId=1 This KB explains thread dumps completely. Once you do your set of 3 or more thread dumps then run all the out put from those through Seestack to help you identify the problems. Wil Genovese

Re: IntelliJ CFML Plugin

2008-12-03 Thread Barney Boisvert
The actual plugin works fine, but it breaks the Eclipse-i-ness of your install because of the way it's packaged. Specifically, since it installs itself as a separate program, and then links itself into your existing Eclipse installation, you lose the ability to have a shared Eclipse installation

RE: Why is my CF8 server constantly hanging?

2008-12-03 Thread Josh Nathanson
At my previous job, after switching to CF8, we had a couple of totally inexplicable crashes when we were using the CF8 server monitor in production. No hung threads, no pegged cpu, just kablooey and no evidence before the crash that anything was amiss. Once we switched it off, the crashes

Re: Excel Workbook Creators

2008-12-03 Thread Mike Chabot
If you are interested in the XML version, and you don't mind the warning message, and you don't need to support the really old versions of Excel, then go for it. You can do pretty much everything you would want to do, such as controlling cell size, frozen headers, setting page margins, etc. All

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - timmay.brown -Transcript of session follows - while talking to postoffice.local.: RCPT To:timmay.brown 550 5.1.1

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - timmay.brown -Transcript of session follows - while talking to postoffice.local.: RCPT To:timmay.brown 550 5.1.1

Returned mail: User unknown

2008-12-03 Thread timmay . brown
The original message was received at 2008-12-03 10:25:22 -0700 from postoffice.local [10.0.0.1] - The following addresses had permanent fatal errors - timmay.brown -Transcript of session follows - while talking to postoffice.local.: RCPT To:timmay.brown 550 5.1.1

cfdocument with small images has large filesize

2008-12-03 Thread Bradley Peck
I am having an issue with large file sizes on pdf documents created with cfdocument. I have narrowed the issue down to images as the file size culprit (or at least the only difference I can tell). The content being fed to cfdocument is otherwise unremarkable html. The images (jpeg's, all) are

cfdocument with small images has large filesize

2008-12-03 Thread Brad Peck
I am having an issue with large file sizes on pdf documents created with cfdocument. I have narrowed the issue down to images as the file size culprit (or at least the only difference I can tell). The content being fed to cfdocument is otherwise unremarkable html. The images (jpeg's, all)

Re: IntelliJ CFML Plugin

2008-12-03 Thread Kenton Gray
In response to the issue of cost, I understand the sentiment but if you are doing any extensive Java or Javascript editing professionally I think the issue is moot. I've used CFEclipse since the first week it was released and I appreciate Spike's and Mark's work on making the first real CF

Re: charts in pdf's

2008-12-03 Thread Tony
thanks jim. part of me refuses to back down from this, as it should just work as its supps to darnit. -- tony Better than a thousand hollow words, is one word that brings peace. -- siddhartha gautama On Tue, Dec 2, 2008 at 7:38 PM, Jim Thomson [EMAIL PROTECTED] wrote: Hi Tony I ran

Re: cfdocument with small images has large filesize

2008-12-03 Thread Brad Peck
Windows server. MX7. I forgot to mention. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive:

Re: IntelliJ CFML Plugin

2008-12-03 Thread Aaron Rouse
Very good point, I personally do not see what the big hangup on some of these price tags are. If the tools truly make people more efficient then they pay for themselves rather quickly. I personally just in the past couple of weeks have spent somewhere around $2k on various tools and most

Dynamically prepopulate 18 drop downs based on the cfgrid changed selection

2008-12-03 Thread erik tom
I have i grid where after changing the row the 18 drop downs should get populated. I ahve writen a piece of code but it populate the value to all the drop down. for example i have 2 classes each of them has day assigned to it. so when i click on the grid item i only want to see 1 of the drop

Dynamically prepopulate 18 drop downs based on the cfgrid

2008-12-03 Thread erik tom
I have i grid where after changing the row the 18 drop downs should get populated. I ahve writen a piece of code but it populate the value to all the drop down. for example i have 2 classes each of them has day assigned to it. so when i click on the grid item i only want to see 1 of the drop

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
I've not done extensive Java work in Eclipse but when I have done I have found the IDE a dream to use (with quick, efficient and enlightening code hinting and refactoring) - I'd be highly impressed if there was an editor that gave £187 worth of improvement on that. However, I'd love that same

Re: IntelliJ CFML Plugin

2008-12-03 Thread Adam Haskell
I've said before ColdFusion developers do not know what they are missing until they use Eclipse for Java. The same can be said for Java developers that have not tried IntelliJ. Adam On Wed, Dec 3, 2008 at 4:02 PM, Dominic Watson [EMAIL PROTECTED] wrote: I've not done extensive Java work in

Re: Writing binary data to file

2008-12-03 Thread Dominic Watson
As suspected it was straight-forward using java. I've wrapped the java stuff in a binaryFileWriter component but here is the jist of what it does: cfscript variables.path = ExpandPath(myFile.dat); variables.fileOut = CreateObject(java, java.io.FileOutputStream).init( path );

Re: IntelliJ CFML Plugin

2008-12-03 Thread Dominic Watson
Ah, just checked out the flash demos - I see what you mean. Sadly, at work we are on managed desktops and are stuck with DW8! Oh the pain. Dom 2008/12/3 Adam Haskell [EMAIL PROTECTED]: I've said before ColdFusion developers do not know what they are missing until they use Eclipse for Java. The

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Jochem van Dieten
On Wed, Dec 3, 2008 at 7:33 AM, Philip Kaplan wrote: At risk of sounding like an idiot, is there a way to just figure out WHAT Jrun is working on when it's spiked to 100%? Assume CF Monitor and FusionReactor are unavailable, but I can usually get into the Windows box and mess around. Try

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Philip Kaplan
You are all awesome. Took many of your suggestions, haven't had a crash yet today. I'm crossing my fingers. On Wed, Dec 3, 2008 at 2:05 PM, Jochem van Dieten [EMAIL PROTECTED] wrote: On Wed, Dec 3, 2008 at 7:33 AM, Philip Kaplan wrote: At risk of sounding like an idiot, is there a way to

Adobe cutting 600 jobs

2008-12-03 Thread Philip Kaplan
I wonder what effect this has on ColdFusion. Anyone know how CF's revenue stacks up compared with Adobe's other products? I'm guessing folks on the CF team are nervous. :-/ http://www.bizjournals.com/sanjose/stories/2008/12/01/daily50.html Adobe to cut 600 jobs, reduces fourth quarter revenue

RE: Adobe cutting 600 jobs

2008-12-03 Thread Dawson, Michael
Dang. Not another FUD thread. May I suggest that this thread be moved to the off-topic CF list before it ever builds up steam? Mike -Original Message- From: Philip Kaplan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2008 4:35 PM To: cf-talk Subject: Adobe cutting 600 jobs

Re: IntelliJ CFML Plugin

2008-12-03 Thread Gerald Guido
I've said before ColdFusion developers do not know what they are missing until they use Eclipse for Java. Or NetBeans for that matter. When I started using NetBeans I was floored. Take a look at some of the tutes: http://www.netbeans.org/kb/ G! On Wed, Dec 3, 2008 at 4:21 PM, Adam Haskell

Where cf would be tomorrow?

2008-12-03 Thread Don L
I resisted the attemptation of voicing my opinion on the current CF but I feel probably it's sensible to get it out of my chest. Came cross a thread either on digg or reddit about a week ago asking Adobe to Lose Weight on CF and the like. Today I ran into the following URL,

Re: Where cf would be tomorrow?

2008-12-03 Thread Will Tomlinson
I resisted the attemptation of voicing my opinion on the current CF but I feel probably it's sensible to get it out of my chest. you should have resisted the attemptation harder Will L ~| Adobe® ColdFusion® 8 software 8

Re: Where cf would be tomorrow?

2008-12-03 Thread Phillip M. Vector
Why? Even if you don't agree with it, he still has a right to express his opinion on the list. Will Tomlinson wrote: I resisted the attemptation of voicing my opinion on the current CF but I feel probably it's sensible to get it out of my chest. you should have resisted the attemptation

Re: Where cf would be tomorrow?

2008-12-03 Thread Wil Genovese
CF will rule the world! Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On Dec 3, 2008, at 7:03 PM, Will Tomlinson wrote: I resisted the attemptation of voicing my opinion on the current CF but I feel

Re: Where cf would be tomorrow?

2008-12-03 Thread Charlie Griefer
This is a technical list. It's really not on topic. CF-OT or cf-community would have been more appropriate. On Wed, Dec 3, 2008 at 5:09 PM, Phillip M. Vector [EMAIL PROTECTED] wrote: Why? Even if you don't agree with it, he still has a right to express his opinion on the list. Will

Re: Where cf would be tomorrow?

2008-12-03 Thread Dave l
I'm the first to admit that sometimes(ok most times) I just ain't right.. But dude, I swear that crack you are smoking is laced with draino!! What's the point? Or what are you going to do with a light version? If Adobe makes a light version then people will bitch because it doesn't have all

Re: Where cf would be tomorrow?

2008-12-03 Thread Dave l
I guess mike moved this already... sorry we all know whom it's for. I'm the first to admit that sometimes(ok most times) I just ain't right.. But dude, I swear that crack you are smoking is laced with draino!! What's the point? Or what are you going to do with a light version? If

Advertisment Content Management - problem with random image

2008-12-03 Thread Sin Tec
I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ It works great but was created for ACCESS and uses an autonumber datatype. Its great when you just keep adding advertisments but when you delete one there is now a gap in the +one ADID (int - identity specification). When

Create PDF from hyperlink

2008-12-03 Thread Steve Sequenzia
I am looking for some help getting on creating a pdf from a hyperlink. I need to it to use content on the same page for the pdf. I do not want the entire page created as a pdf just a section of the page. Can someone please point me in the right direction for this. Thanks in advance.

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Will Tomlinson
I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ It works great but was created for ACCESS and uses an autonumber datatype. Its great when you just keep adding advertisments but when you delete one there is now a gap in the +one ADID (int - identity specification).

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
Why not select out of the database using a random selection of the indexes that are there? Then you never have to worry about gaps. They dont matter. CFQUERY DATASOURCE=#Green# NAME=GetADs maxrows=1 SELECT top 1 * FROM dbo.banner_left ORDER BY newID() /CFQUERY That will select a random

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
I am using a varent from sparty2809 on http://tutorial323.easycfm.com/ It works great but was created for ACCESS and uses an autonumber datatype. Its great when you just keep adding advertisments but when you delete one there is now a gap in the +one ADID (int - identity

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
Here's my suggested modification !--- Gets Maximum number of ads--- CFQUERY DATASOURCE=#Green# NAME=getCachedAds cachedwithin=#CreateTimeSpan(1,0,0,0)# SELECT * dbo.banner_left /CFQUERY !--- RandRange is Random integer between first number and second(1st,2nd) --- CFSET ADID =

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
slight correction - i had a redundancy - you dont need maxrows=1 as well as SELECT top 1 so the query would be better written as CFQUERY DATASOURCE=#Green# NAME=GetADs SELECT top 1 * FROM dbo.banner_left ! if you want to add some restrictions like for example only select from the ones

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread Mike Kear
Ike, your query will still attempt to select records that have been deleted The original problem was that the keys werent sequential if some records have been deleted. That's going to happen as ads are removed. Using the technique I use, it selects a random record from the records that

RE: cfdocument with small images has large filesize

2008-12-03 Thread Jayesh Viradiya
Hi Brad, This is a known issue to us. We already have a bug logged for the same. Thanks Jayesh Viradiya Adobe CF Team -Original Message- From: Bradley Peck [mailto:[EMAIL PROTECTED] Sent: Thursday, December 04, 2008 12:20 AM To: cf-talk Subject: cfdocument with small images has large

Re: Why is my CF8 server constantly hanging?

2008-12-03 Thread Wil Genovese
Philip, Glad to hear things are getting better. Please do tell us what changes you made that worked. And if something didn't work let us know that also. Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. On

Re: Advertisment Content Management - problem with random image

2008-12-03 Thread s. isaac dealey
Mike Kear said: Ike, your query will still attempt to select records that have been deleted The original problem was that the keys werent sequential if some records have been deleted. That's going to happen as ads are removed. Using the technique I use, it selects a random record