This application I inherited, certain variables are not persisting their values
between onRequestStart and onRequest.
I've been writing to a log file to document the changes. Seems to be happening
just after onRequestStart ends and onRequest begins. Values are being reset. So
the variables
All our currently troubles began with the upgrade to CF11.
Under CF9 our application ran perfectly.
All kinds of strange errors GC out memory /
java.sql.SQLNonTransientConnectionException
Random down times. No pattern or common error that I have yet detected.
I have even considered the
How could one determine this limitation on maximum number of connections
exceeded?
[Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to
contact the server (Server returned: Connection reset). Please ensure that the
server parameters passed to the driver are correct and
Dan,
I was just reading this post by CF Gurur Mike B. It has some cf10 specific
tips that might be applicable to you since your problem is OOM.
http://www.cfwhisperer.com/post.cfm/coldfusion-10-enhanced-performance-setti
ngs
-mark
Cheers Mark. We are also looking at the database ( MS SQL
I created another page ( that is not accessing the DB ) under the root
directory and was able to access this fine on the domain whilst the site was
still down..
It wasn't until I ran the application which is accessing the DB that we are
experiencing that site blowing up ( massive lag ).
So
Here is the latest error.
Remember I said this application made heavy use of nested custom tags and the
request scope?
Typejava.lang.OutOfMemoryError
Detail An exception occurred while invoking an event handler method from
Application.cfc. The method name is: onRequestStart.
Message GC
I guess this application ran fine under previous Coldfusion incarnations. It
was only after the upgrade to CF 11 that the problems started.
~|
Order the Adobe Coldfusion Anthology now!
Doesnt seem anyone noticed my reply so I'll post this again...
I noticed a sharp drop in JVM memory during this process ( it all happened in
about one minute )
Say from the average JVM Freememory of : 255 Megs
Dropping to around : 30 Megs
Any thoughts or ideas? It did come back up to normal
This does not necessarily mean anything Don. It could simply mean migration
from eden to persistent memory where GC recovers in due course. It's the
overall pattern of GC recovery that means the most when talking about gross
numbers. You should see a saw tooth pattern over time with steep drops
Russ Michaels wrote:
doing debugging and load testing on a live production server is generally
a
bad idea.
On general principles, sure... although I'd say that a diagnostic reporter
like F-R belongs first and foremost on a production box.
To the OP... it sounds like you are stuck, so how good
A breadcrumb array kept in the session scope has been key. Stores everything
the
does and gets dumped to the error file.
Am curious as to what you did there. Would you mind sharing how you did that? (
I dont need code ) just your idea(s) explained with some more detail.
You can also configure CF to log slow pages and if you have enterprise,
server monitor can log/alert you to slow/hung requests.
On 12/2/14, 10:52 AM, Money Pit wrote:
Another good suggestion. But I'm not recieving much in the way of information
from the host anymore. Seems they might not
Sounds like it's time to move on.
On 12/2/14, 1:11 PM, Don wrote:
I'm not recieving much in the way of information from the host
anymore. Seems they might not like me poking around too much I
dont know.
lol, well that's exactly what the developer of their e-commerce software
Great!
And these sessions structures, do you write the data to the DB onSessionEnd ?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
No I don't. It all sits in memory unused. But if an error occurs this
info gets dumped out via my error handler where it can be used
post-mortem. Generally my error handler loops over a pre-defined list of
scopes and dumps them all out. Depending on the setting I've made, the
dump is either
Hi folks. I have noticed one or two backend processes that seem to bring the
FREE JVM Memory down.
I noticed a sharp drop in JVM memory during this process ( it all happened in
about one minute )
Say from the average JVM Freememory of : 255 Megs
Dropping to around : 30 Megs
For a moment,
This could be a case of another site on the server bringing it down and not
your site.
Byron Mann
Lead Engineer Architect
HostMySite.com
Ah yes. Very logical deduction. Thank you Sir.
~|
Order the Adobe Coldfusion Anthology
There is absolutely no restrictions whatsoever on where FR can be
installed, it would be pretty useless if that was the case, you can install
it on any supported OS, FR does not know or care what you are using that
machine for.
So how does that work then? You point FR to a domain? i thought it
The errors getting back are all The request has exceeded the allowable time
limit Tag
Seems that the whole server eventually crashes/slows to crawl, even though
other websites on that same server are fine.
CF Version 11 / SQL Server Express
Looking at the JVM free memory, it always seems to
I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages
Russ, on our host installing this is not possible right now.
is there anything else
Does anyone know of any supposed issues with CF 11 and cfqueryparam ?
I had a few of them in a query. One by one I removed them to see if I could get
the query working and then, adding them in. All but one work.
Any ideas?
Got this custom e-commerce app that is basically going down daily.
Seems to run fine again upon server restart, but eventually it goes down to a
crawl.
This started happening after some patches to Coldfusion 11 were implemented.
Host says it was rolled back, but problems are persisting.
I'm
I suggest installing fusionReactor and monitoring your local cfserver.
Run some performance/load testing on the app and see what happens, it
should you what pages are having issues
Run cfdebugger on those pages
Cheers Russ. Been out of the game for a while, but now I'm headlong in. Glad to
see
Was wondering if the above was possible.
Seems I can retrieve a list of running processes. Of course since CF runs in
Java, its impossible to determine what exactly is running in Java. Which is the
data I am looking for.
I fear that I'm going to be blocked by Java security at this point.
Managed to figure this one out. So posting this here in case someone else runs
into this issue.
In my Coldfusion10 folder 'wwwroot' was listed as an alias.
My web site and CFIDE files were under another folder called Coldfusion Root.
So I simply deleted the wwwroot alias created a new
I had CF10 beta for a while and was using it no problems. Stopped using it,
played around with osx built in web server. Came back to using cf10 and pages
would load. Just a blank page displayed for the CF administrator.
So I uninstall cf10 beta and install new version of cf10.
Install goes
Hey folks, anyone looking for a side developer? Would be willing to take on any
CF/HTML work large or small.
Thanks
~|
Order the Adobe Coldfusion Anthology now!
Hi,
I'm using CF10 for Windows to extract png images from a PDF doc.
Here's the code:
cfpdf action=extractimage format=png overwrite=true
source=C:\ColdFusion10\cfusion\wwwroot\dev\myPDF.pdf
destination=#ExpandPath('/images')# /
fyi,
C:\ColdFusion10\cfusion\wwwroot\dev\images folder exists.
I have a client who sent me an old site where they no longer have any
remnants of the database and they want to get the site up and running. I
was wondering if I can use the CF ORM with the create option to build it.
Is this possible? Would be using CF 9.01.
Thanks,
Don
,
Don
On Thu, Oct 18, 2012 at 7:53 AM, Russ Michaels r...@michaels.me.uk wrote:
Don,
You can use ORM to create databases sure, but nothing will not just
magically re-create a missing database for you, how would it know the field
names, the data types, triggers, cascades, primary keys, foreign
Hi,
For CF9 or Railo 3.x, the following code generates extra white space like half
a page at both the top and the bottom for a generated PDF doc when dynamic
content exceeds one page, I wonder if we have a way to trim all these necessary
white spaces. It would be extremely desirable to have
what if you enable the whitespace removal in the admin ?
On Fri, Sep 21, 2012 at 6:29 PM, D
Interesting thought, still not to avail. And I should add, in most cases, the
generated PDF is ok, many times it would be just one page, and when we have
more than 5 line items the PDF also looks
what if you enable the whitespace removal in the admin ?
On Fri, Sep 21, 2012 at 6:29 PM, D
Ahe, what if I cheat, if it's 3 or 4 lines items I'll create some extra rows
like 2 then the server would treat it just as 5 or 6 line items. Hmm, let me
check, hang on.
I had to look up 'orthogonal' - And now I'm even more confused!
Thanks guys! =)
Is this what you are asking? are there any architectural considerations
in database design to match what is needed by an MVC architecture?
I see that as a legit question as some specific MVC engines/frameworks
Is this what you are asking? are there any architectural considerations
in database design to match what is needed by an MVC architecture?
I see that as a legit question as some specific MVC engines/frameworks
that are by convention, such as CFWheels, prefer certain conventions
in, for
Speaking from a purist perspective, the database has nothing to do with
MVC. Perhaps you should ask more specific questions so folks can have an
idea of what you're really after?
HTH
It doesn't help at all actually.
Anyone else?
Sounds to me like you didn't understand the question!
Speaking from a purist perspective, the database has nothing to do with
MVC. Perhaps you should ask more specific questions so folks can have an
idea of what you're really after?
HTH
What are some best practices in structuring the
What are some best practices in structuring the website database to accomodate
good integration with an MVC model?
~|
Order the Adobe Coldfusion Anthology now!
But my approach to frameworks has been to 'wait and see'. Because I don't like
wasting my time. I need to do something on a daily basis other wise it wont
stick.
I delayed learning any Framework and then just learned fusebox at a
job/contract.
I was going to ask, which frameworks are the
But focusing on 'which framework is more popular' and 'which framework
may go away' seems a bit silly.
I don't think so. The reason being is that I don't like wasting my time because
if I don't use a thing everyday it doesn't get imprinted. For example - I've
gotten semi proficient in java
My comment still applies. Even if you learn and forget all of those
frameworks in succession, because most of them feature MVC/OO/ORM/etc, that
stuff should stick.
Yes everyone's comment applies,I was not intending to diminish anyone's
perspective. :)
Right...but...learning a new framework or two, depending on which you
choose and how you use 'em, will make you a better MVC'er, OO'er, ORM'er,
Frameworker, etc...
...if you take my meaning. And most/all of those things are likely to help
you land your next job, regardless of which framework(s)
I may just stick with FB for now, I already am comfortable with it. The path of
least resistance... Lol
~|
Order the Adobe Coldfusion Anthology now!
I think much of it overshadows and diminishes what CFML's biggest
advantage has always been, which is simplicity to use and ease to learn,
CFML is itself a RAD Framework for JAVA don;t forget.
If a newbie comes along here they are invariably told to use OOP, use MVC,
use a framework, use
Russ, did I meet you in the UK a few years ago, you offered me some beer on a
job interview? Lol
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
I was going to ask, which frameworks are the most popular in terms of
actual employment statistics but even then, it might all be a waste of time
if my next contract doesn't use ( framework x,y, or z ).
Maybe what you are looking for isn't going to be solved by a framework, but
by a better
Maybe what you are looking for isn't going to be solved by a framework, but
by a better methodology. By far, the most popular way to write web
applications these days, an improvement over the old Fusebox days, and
certainly enabled (and sometimes forced) by all the frameworks, is MVC.
The
some resources which may help you getting back into CF
www.cf411.com
www.cfsearch.com
www.cfmldeveloper.com
from these you can most likely find everything else you need
thanks guys. Wow, some old names I still remember. =)
Hi, its been a while since I did any CF work. I am wondering what framework
seems to be popular right now.
I did a bit of fusebox and liked it. But am wondering about the others out
there. I noticed CF builder 2 didn't have any support for it as did CFEclipse.
I find that odd. Has FB gone
Hi,
I bought a standard version of Adobe Coldfusion 8 for $1,299 about three years
ago. Initially intended to use it for a hosted app but change plan, so, never
use it. If I don't transfer its ownership the money would be wasted. If you
really need cf9, you can still buy this version and
We have a requirement to 'detect mobile devices'.
I've done some priliminary research and see some are using WURFL file.
Is there anyone here using this?
Also was wondering what others have been using for this? and are there any
recommendations.
Thanks
we sort of have this limitation using html/js only. No coldfusion
unfortunately.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Yes: use WURFL.
Does this sound like a resonable solution
download WURFL file, pick out the specific few things we are looking for and
insert that into our database. Then when we get a user-agent that is mobile we
could detect that with a query to our db.
Honestly, that seems silly to me. If you have to use js then why obfuscate
it by adapting cf to js? Why not just approach it with js natively?
http://www.hand-interactive.com/resources/detect-mobile-javascript.htm
Given your description, I'm not sure you have understood the requirement.
Honestly, that seems silly to me. If you have to use js then why
obfuscate
it by adapting cf to js? Why not just approach it with js natively?
http://www.hand-interactive.com/resources/detect-mobile-javascript.
htm
Given your description, I'm not sure you have understood the
Anyone using : MobileRedirect?
http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect
It SEEMS pretty good. They say...
identifies more than 96% of all mobile devices (test was conducted with the
most recent copy of WURFL
Anyone using : MobileRedirect?
http://mobilewebdeveloper.com/index.cfm/page/purchase/item/MobileRedirect
It SEEMS pretty good. They say...
identifies more than 96% of all mobile devices (test was conducted with the
most recent copy of WURFL
check this out... a wurfl web service
http://www.wurflws.com/index.jsp
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
Hi Folks =)
Trying to upload a file ( word doc ) that is concurrently OPEN in the OS.
Upon upload attempt via cffile coldfusion is seemingly returning a mime type
error:
The MIME type of the uploaded file application/octet-stream was not accepted
by the server.
is there a way to prevent
Hi,
I would like to retrieve the original path of the file upload for the purposes
of grabbing the initial file name and then checking to see how many full stops
(.) are in the original file.
I need this to happen before I process it via CFFILE. Right now the form data
posts back in a cfdump
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file: somefile.mack.txt
renamed file on server: somefile.mack
I would like to retrieve the original path of the file upload for
the purposes
, Don wrote:
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file: somefile.mack.txt
renamed file on server: somefile.mack
Well, as Dave indicated, ColdFusion is not actually involved
/help.html?content=Tags_f_10.html
--
William E. Seiter
On Mar 7, 2011, Don danfar...@hotmail.com wrote:
Why do you need to do this before you process it with CFFILE?
Because once its uploaded the server hacks off the last (.)
For example:
original file
Hi guys, just came in this morning. thanks for the responses will try out the
suggested code and get back to you.
I'm on CF9/Fusebox 5.5
~|
Order the Adobe Coldfusion Anthology now!
Thanks Matt your suggestion worked.
cfset session.myvariable = duplicate(form) /
cflocation url=foo.cfm /
Odd this is the first time I've encountered this specific behaviour in
Coldfusion. Thanks a byunch was spinning my wheels on this.
I have some code where I am transferring the contents of a form submission into
a session variable.
According to some cfdumps, the form variables do get set in session.
but after the cflocation redirect, the session variables are there but empty.
Any ideas?
Hi all.
I have a requirement to check any and all mappings within the CFAdmin but do
not have access to the CF Admin.
Would anyone know how to retrieve them from the log files ( as I do have access
to these ) or maybe another method?
I want to try and catch this and only this specific error with CF. Possible?
and if so how exactly would I do that?
coldfusion.tagext.io.FileUtils$InvalidUploadTypeException: The MIME type of the
uploaded file image/pjpeg was not accepted by the server.
What would be the best way to do this?
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive:
Hello
I'm Validating an XML object using code similar to the following:
cfset daOb = xmlParse(ca2.xml)
cfset myResults=XMLValidate(daOb, ca2_generated.xsd)
Regarding the XSD and errors generated, I notice that if I violate a
restriction as per below ( say I specify 'THATShipper' vs.
I am utilising XML parse ( when CF encounters a bum XML file it throws CF error
). But I've found the information returned is very limited. For example - 'The
entity name must immediately follow the '' in the entity reference.' -
Obviously it would be nice to have more specific information
I am utilising XML parse ( when CF encounters a bum XML file it throws CF error
). But I've found the information returned is very limited. For example - 'The
entity name must immediately follow the '' in the entity reference.' -
Obviously it would be nice to have more specific information
I'm trying to break a large chunk of text, so, a user can click on MORE to to
read the rest of it.
Using the following technique has some success, however, it does not seem to
be good enough.
-- cut off point, 500 characters
cfset brkR = MID(myTxt,500,5)
cfset brk = Find( , brkR)
cfoutput
There are a number of UDFs on cflib that will handle this...
http://cflib.org/udf/FormatTeaser
http://cflib.org/udf/FullLeft
... and probably a few others. Browse the string library at
http://cflib.org/library/StrLib
On Mon, Nov 2, 2009 at 11:42 AM, D
Great. Thanks Charlie. One thing, I
Barney, thank you for your input.
I ran CGI.HTTP_USER_AGENT (cf) for it.
Here's what I got.
With Firefox 3.5 I get:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) Gecko/20090824
Firefox/3.5.3 (.NET CLR 3.5.30729)
With IE7 I get:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0;
You are a disgusting and despicable being and your rigidness is beyond words.
The question was to detect a user's OS and its CPU architecture not the
server's. Do you know how my app is run??? Got it now? f off! Told you a
100 times! f off! I'll hunt you down one day, you fker!
Common
Hi,
Preferably do it with javascript.
Did a bit of digging myself, neither navigator.userAgent nor
navigator.appVersion command would suffice for the CPU part. Hmm, is
javascript simply unable to or I simply don't know better?
As always many thanks.
I'm thinking about providing an ability to search all emails for a user (from
his/her pop3 server) while performing a search for some texts from the current
app/ current database.
Yes, understand the cfpop tag would allow one to connect to a pop3 server and
retrieve emails dynamically. But
Yes, understand the cfpop tag would allow one to connect to a pop3
...
is it something like that?
No, an event gateway wouldn't be any more direct. It would, in fact,
be less direct - instead of CF talking to the mail server, something
else would have to talk to the mail server.
I
Gerald Guido, it's totally inappropriate of you to make such speculation.
Please stop messing around, I don't believe in your intention at this point.
If you're using railo, why not ask on the railo list?
Given the three strike rule on the Railo mailing list, I would imagine that
he was
I've REPEATEDLY asked this scumbag, to f off! Were the being born of a human
mother it would know what to do. List manager and everyone else, my apologies
for the fact that this note has to be public. The scumbag's intention is
obviously evil, that is, to try to make me look bad by twisting
btw, his speculation is false.
Gerald Guido, it's totally inappropriate of you to make such
speculation. Please stop messing around, I don't believe in your
intention at this point.
If you're using railo, why not ask on the railo list?
Given the three strike rule on the Railo
A couple of things that I'd like to do with local deployment of my web app
using an open source cfml engine. FYI, I ran some quick search, unsatisfactory.
1) disable url-write across board for Resin web server
Know exactly how, not looking for something/block on a similar web server
The
Typo correction: url-write should have been url-rewrite
A couple of things that I'd like to do with local deployment of my web
app using an open source cfml engine. FYI, I ran some quick search,
unsatisfactory.
1) disable url-write across board for Resin web server
Know exactly how,
I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for
Firefox 3.5 or vice verse. It appears cf cookie set is not browser specific,
however, when I extended a cf cookie for firefox 3.5, IE7 did not recognize it.
Am I missing something here?
You cannot read a cookie set in FireFox with Internet Explorer and
vice versa. Cookies are browser specific.
On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote:
...
ok, thank you.
~|
Want to reach
Just to make your head spin-- there is one annoying little caveat to
this. Cookies sent to a Flash request in IE will be sent by Flash in FF
because the Flash VM shares the same memory space for cookies between
browsers. This doesn't bode very well if you need to have a Flash
object make a
hi all,
I'm wondering if there's a way to automatically launch/redirect to a url at the
end of a youtube video (flash content) play, yeah, crazy.
Thanks.
~|
Want to reach the ColdFusion community with something they want?
There's a full js API to the YouTube player. Ideally, you'd hook into that,
listen for a FinishedPlaying event and then do as you wish.
http://tinyurl.com/noptmw :p
Dominic
Thanks but it seems a mess to have this little thing available, I mean, doing
all the implementation for it. more
It's a kludge, but if you know how long the video is, then remove the
controls and have it start as the page opens. Use a meta redirect to
redirect the page after so many seconds.
sorry not an option, the control has to be there, for one thing, for the
existing users...
I'm wondering if there's a way to automatically launch/redirect to a
...
I would certainly hope not.
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
hey dave
~|
Want to reach the ColdFusion community with
Using the API would clearly be the *clean* option - but the problem is of
course one of time. However, I can't see another way of doing this; i.e.
detecting the end of a youtube video playing. I'd suggest you'd spend more
time figuring out a hack than you would picking up the API.
Dominic
Yes,
I certainly wouldn't worry about redirecting them at the end of the
video.. I have seen the said video and you are better off figuring out
how to capture a browser close during the first 10 seconds if you plan
on getting any of those people.
Yes, you're right, the quality of the video
+1 @Dominic
I gotta believe that working with a published and documented API is,
by definition, the LEAST messy option out there. If YouTube gives you
exactly what you need to get to where you want to be with a few lines
of JS, I would recommend doing that!
The word,mess is loose on
/9/1 Don L do...@yahoo.com
Dominic, have you implemented the API for this purpose? If so I'd like to
steal a few lines to save some time? Thanks.
~|
Want to reach the ColdFusion community with something they want? Let them
If the cfc is being hit, and with the right data, you can absolutely rule
out the cfajaxproxy tag. Can we clarify that the data being returned from
the method is the problem? Try posting a form directly to the cfc method,
e.g.
form method=post action=pathtocfc.cfc?method=fubar!--- I think that's
I've moved on to an open source cfml engine, don't know what caused the
following odd behavior, that is, my cfajaxproxy tag no longer works for an
inline data editing function (meaning, it does not do database update for a set
of data) while the same code works for ms sql server 2005 express
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
I've moved on to an open source cfml engine
Don't ever do that.
But seriously. First step of debugging ajax: install Firebug for Firefox if
you haven't already. Next, enable all the firebug console options for your
page and while viewing the console tab you should see your http post request
Sound like what needs to be done can't be done or very inconvenient to be done
at db end hence you need to run some cfm page from db end.
Not sure if it's efficient, doable though. call sp_shellcmd, (look it up for
sp for shell command), have some utility like wget, then, wget http://yourURL;
1 - 100 of 1494 matches
Mail list logo