CF8 web service invocation error - possibly when under high load or after 2-3 days uptime

2009-11-04 Thread Simon Hooker
Hi, I currently have a web service MYSERVICE. This service is on 3 physically seperate web servers, DEV, TEST, LIVE. DEV is accessed by developers only TEST is accessed by developers and clients only LIVE is public Coldfusion version for all servers is 8.0.1. Axis version is the same on

Re: CF8 web service invocation error - possibly when under high load or after 2-3 days uptime

2009-11-04 Thread Simon Hooker
As an additional note to the above, the LIVE server restarts every day at approx 0700, and this problem only ever seems to occur at some point past 1900-2100 and then seems to continue sporadically until server restart at 0700.

Re: Consuming a webservice fails in CF but not in Eclipse WPT

2009-11-04 Thread Simon Hooker
Hi Paul My guess is a namespace issue on the type EmployeeBean In one message it is referenced from namespace imp1, in another message it's referenced from xsd, so I'm guessing that if you correct whichever is incorrect it will work fine (probably the xsd:EmployeeBean needs changing to

RE: Consuming a webservice fails in CF but not in Eclipse WPT

2009-11-04 Thread Paul Vernon
Hi Paul My guess is a namespace issue on the type EmployeeBean In one message it is referenced from namespace imp1, in another message it's referenced from xsd, so I'm guessing that if you correct whichever is incorrect it will work fine (probably the xsd:EmployeeBean needs changing to

RE: Consuming a webservice fails in CF but not in Eclipse WPT

2009-11-04 Thread Paul Vernon
I just figured out that Eclipse WPT does not validate wsdl documents when it consumes them whereas CF does. You can force Eclipse WPT to validate a local copy of a wsdl file and when I do that on the Taleo API wsdl file it fails with multiple errors. So my problem with consuming the Taleo API

Re: Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-04 Thread Dave Watts
I tried going to localhost:8000, but nothing is listening there.  Do I need to start a separate JRun server/service?  I thought it would already be running along with ColdFusion??  The only port listening in the 8000 range is 8300 (CF web trial server). You'll need to run the JRun Admin

RE: tinymce with cfwindow

2009-11-04 Thread Brook Davies
You could try an IFRAME inside the CFWINDOW, with the TinyMCE inside the iFRAME. The Ext.Window that CFWINDOW is based on doesn't play very nice with tiny or fck in my experience.. Brook -Original Message- From: Azadi Saryev [mailto:az...@sabai-dee.com] Sent: November-03-09 9:48 PM To:

Clear Fields In Firefox

2009-11-04 Thread Robert Harrison
be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: Consuming a webservice fails in CF but not in Eclipse WPT

2009-11-04 Thread Simon Hooker
Hi Paul After much head scratching, that is what I figured, unfortunately, I have no control over the wsdl as it is generated by Taleo on their servers so unless they fix their wsdl generation it would appear that I'm screwed if I want use CF to consume the web service :-( To verify this,

RESEND: Clear Fields In Firefox

2009-11-04 Thread Robert Harrison
: 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message

Re: CF8 web service invocation error - possibly when under high load or after 2-3 days uptime

2009-11-04 Thread Simon Hooker
As an additional note to the above, the LIVE server restarts every day at approx 0700, and this problem only ever seems to occur at some point past 1900-2100 and then seems to continue sporadically until server restart at 0700. Further information. I have kept an eye on this issue, and

RE: Clear Fields In Firefox

2009-11-04 Thread LRS Scout
be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: Clear Fields In Firefox

2009-11-04 Thread Ian Skinner
Robert Harrison wrote: How do I override Firefox and clear the form fields? Turn off the remember password features in your Firefox options! ~| Want to reach the ColdFusion community with something they want? Let them know

Re: Clear Fields In Firefox

2009-11-04 Thread Charlie Griefer
signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

Format word text pasted

2009-11-04 Thread Keith McGee
How would you go about formatting text pasted from a word document into a coldfusion web form? Also should you format the data before it is inputed into the database or would you format the data when it is displayed? Any thoughts would be appreciated. Keith

Format word text pasted

2009-11-04 Thread Keith McGee
How would you go about formatting text pasted from a word document into a coldfusion web form? Also should you format the data before it is inputed into the database or would you format the data when it is displayed? Any thoughts would be appreciated. Keith

Re: Deploying a WAR (or EAR) file to JRun under CF9?

2009-11-04 Thread Seth Stone
Unfortunately on Linux (at least RHEL) it doesn't install a service init script for the admin instance. There is a simple start script in /opt/jrun4/bin/adminstart.sh that does basically what Marie is doing. ./jrun -config admin_jvm.config -start admin Note: you have to be cd'd into the

LIST SPEED

2009-11-04 Thread Robert Harrison
advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com

Formatting text pasted from word into a text field

2009-11-04 Thread Keith McGee
How would you go about formatting text pasted from a word document into a coldfusion web form? Also should you format the data before it is inputed into the database or would you format the data when it is displayed? Any thoughts would be appreciated. Keith

Re: Format word text pasted

2009-11-04 Thread Charlie Griefer
there's a function on cflib called demoronize() that's supposed to clean text pasted from Word. but i've heard it's not quite bullet-proof. As far as formatting the data... when it goes into the database. Then you only do it once, as opposed to doing it every time you display. On Wed, Nov 4,

RE: Clear Fields In Firefox

2009-11-04 Thread Robert Harrison
Turn off the remember password features in your Firefox options! Oh, I mean... As the programmer of the site, how do I keep the fields clear for users who are on Firefox? Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P :

Re: Clear Fields In Firefox

2009-11-04 Thread Ian Skinner
Robert Harrison wrote: Turn off the remember password features in your Firefox options! Oh, I mean... As the programmer of the site, how do I keep the fields clear for users who are on Firefox? I guess you then use one of the techniques mentioned elsewhere but why do you, as the

RE: Format word text pasted

2009-11-04 Thread Paul Vernon
How would you go about formatting text pasted from a word document into a coldfusion web form? This is what I do. But it requires some jar files to work to the best of its capabilities. 1. Install the jTidy jars. And register cfx_markdown as a java CFX tag. 2. Check to see if the posted data

RE: Clear Fields In Firefox

2009-11-04 Thread DURETTE, STEVEN J (ATTASIAIT)
One reason could be Corporate policy. I know one company for sure that will not be named that has a policy that states that user id and password fields will be blank. Even though they lock down the browser not to auto populate, some people could still get past it. Then for some reason, the

RE: Clear Fields In Firefox

2009-11-04 Thread Robert Harrison
of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion

RE: Format word text pasted

2009-11-04 Thread Robert Harrison
(20091104) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http

Form Insanity

2009-11-04 Thread Timothy Laureska
Hello: Can somebody tell me why this from select box form and processing template produce the message that Element UNIT_ID_OTHER is undefined in form form select name=unit_id_other multiple=yes option value=Select Unit (if applicable) option value=-- cfoutput

Re: Clear Fields In Firefox

2009-11-04 Thread Ian Skinner
DURETTE, STEVEN J (ATTASIAIT) wrote: One reason could be Corporate policy. I know one company for sure that will not be named that has a policy that states that user id and password fields will be blank. Even though they lock down the browser not to auto populate, some people could still

Re: Clear Fields In Firefox

2009-11-04 Thread Ian Skinner
Robert Harrison wrote: It's a security issue. Fine, just realize that it is only an *illusion* of security. /Anything/ you do on the server can be overridden by the client. And the sort of users who you really want to protect from, are the sort of users who are going to know how to

Re: Clear Fields In Firefox

2009-11-04 Thread Ramon Ecung
I've always had an idea of randomizing a form element's name and passing that random name to the following page to force the browser to not autocomplete the information (it can't pre-populate if it's never seen the form name before). I've never actually worked out how to do this mainly because

Re: Form Insanity

2009-11-04 Thread Ian Skinner
As there is no default option, IIRC if no option is selected, then the browser will not send that form field with the request. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of

RE: Form Insanity

2009-11-04 Thread Andy Matthews
With radio buttons, checkboxes, and multiple select dropdowns it doesn't matter if the form is there on the view page. If no one selects one of the options in those input fields, the key doesn't exist in the form. Use cfparam, or StructKeyExists(FORM,'key') to make sure it's there before using

Re: Clear Fields In Firefox

2009-11-04 Thread Ramon Ecung
Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security

cfmail custom tag

2009-11-04 Thread Michael Muller
Hey all I'm trying to make a custom tag for cfmail so I can create a standard From, Subject, and HTML layout inside the email that is sent. I have created the tag and am using the open / close method, but the content of the email winds up being displayed on the page, as well as being emailed.

Re: Form Insanity

2009-11-04 Thread Azadi Saryev
see if adding closing /option tags helps. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 05/11/2009 01:59, Timothy Laureska wrote: Hello: Can somebody tell me why this from select box form and processing template produce the message that Element UNIT_ID_OTHER is undefined in

Re: Form Insanity

2009-11-04 Thread Azadi Saryev
if there's no selected option, the first one is considered selected by pretty much all current browsers. Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 05/11/2009 02:14, Ian Skinner wrote: As there is no default option, IIRC if no option is selected, then the browser will not send

Re: Form Insanity

2009-11-04 Thread Azadi Saryev
i stand corrected - missed that it was a multiple select... :( Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 05/11/2009 02:36, Azadi Saryev wrote: if there's no selected option, the first one is considered selected by pretty much all current browsers. Azadi Saryev Sabai-dee.com

Re: Form Insanity

2009-11-04 Thread Azadi Saryev
the question that is buggin me now is: why have a option value=Select Unit (if applicable) option in a mutli-select??? Azadi Saryev Sabai-dee.com http://www.sabai-dee.com/ On 05/11/2009 02:37, Azadi Saryev wrote: i stand corrected - missed that it was a multiple select... :( Azadi Saryev

RE: Form Insanity

2009-11-04 Thread DURETTE, STEVEN J (ATTASIAIT)
Quick and dirty fix... In the processing page, add this to the top: cfparam name=form.unit_id_other default= Steve -Original Message- From: Andy Matthews [mailto:li...@commadelimited.com] Sent: Wednesday, November 04, 2009 1:16 PM To: cf-talk Subject: RE: Form Insanity With radio

Re: Clear Fields In Firefox

2009-11-04 Thread Casey Dougall
On Wed, Nov 4, 2009 at 12:39 PM, Ian Skinner h...@ilsweb.com wrote: Robert Harrison wrote: Turn off the remember password features in your Firefox options! Oh, I mean... As the programmer of the site, how do I keep the fields clear for users who are on Firefox? I guess you then

Session is invalid error is driving me nuts!

2009-11-04 Thread DURETTE, STEVEN J (ATTASIAIT)
All, Ok, this is a little pet peeve of mine. We have session timeout set and we tell users that they have to do something within so much time. Problem is the users ignore that. They open a page with a form, leave it open for an hour, then when they submit the form Session is invalid

Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Jeff Gladnick
We have a VERY high traffic website, and we're trying to speed up the pageload times a bit. One of the things we're considering is going through some of the cfm files that are loaded on every request and trying to strip them down: So for example, on the page that builds the html tag @ the

RE: Form Insanity

2009-11-04 Thread Mik Muller
You should probably also add a CHECKED to one of the options, as a default. It can be unselected, but it gives you a better chance of getting real user input. Mik At 01:16 PM 11/4/2009, Andy Matthews wrote: With radio buttons, checkboxes, and multiple select dropdowns it doesn't matter if

RE: Form Insanity

2009-11-04 Thread Mik Muller
You should probably also add a CHECKED to one of the options, as a default. It can be unselected, but it gives you a better chance of getting real user input. Mik At 01:16 PM 11/4/2009, Andy Matthews wrote: With radio buttons, checkboxes, and multiple select dropdowns it doesn't matter if

RE: Form Insanity

2009-11-04 Thread Mik Muller
Oops! Or rather, SELECTED (not checked... I was thinking of checkboxes and radio buttons, which have the same problem as multiple selects... they don't exist in the form post unless something is checked/selected). Mik At 02:27 PM 11/4/2009, Mik Muller wrote: You should probably also add a

RE: Form Insanity

2009-11-04 Thread Mik Muller
Oops! Or rather, SELECTED (not checked... I was thinking of checkboxes and radio buttons, which have the same problem as multiple selects... they don't exist in the form post unless something is checked/selected). Mik At 02:27 PM 11/4/2009, Mik Muller wrote: You should probably also add a

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Ian Skinner
A couple tags that are realy useful for stripping whitespace are the cfsilent/cfsilent block and the cfsetting enableCFoutputOnly = true. You can also make use of the cfprocessingdirective supressWhiteSpace=yes and the setting in the ColdFusion administrator that has a similar affect.

RE: Session is invalid error is driving me nuts!

2009-11-04 Thread Dave Phillips
Steve, There are a number of ways (probably more than I'm listing here): 1. If you're using Application.cfm, sdd code to it so that if of your session (say, session.logged_in) is undefined, then it will redirect the user to a login page. This way, the 'processing' page for your form never even

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Azadi Saryev
before you go into minimizing whitespace, you should really remove all those cfoutput tags from around code that does not have any cf variables in it. that will speed up the page somewhat since cf will not have to parse your html looking for non-existent cfml in it... wrapping all your code in

RE: Session is invalid error is driving me nuts!

2009-11-04 Thread Dave Phillips
Oh, I meant to add that if you are using application.cfc instead of .cfm, then you would put your code to redirect in the OnSessionEnd function. Dave -Original Message- From: DURETTE, STEVEN J (ATTASIAIT) [mailto:sd1...@att.com] Sent: Wednesday, November 04, 2009 1:02 PM To: cf-talk

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Dominic Watson
Yes, that makes plenty of sense. However, all that regex processing *could* be a bit of a fruitless drain so, if you can, cache the page content (using CF and compressed using the method you describe). Caching the output could really speed things up but, of course, can be a problem if there's

Re: custom tag content displaying twice

2009-11-04 Thread Mik Muller
Hmm having never made a custom tag with an open and close pair, I didn't realize that the contained content will display twice. http://www.mail-archive.com/cf-talk@houseoffusion.com/msg29687.html No way around this? It seems pretty stupid that CF wouldn't suppress the initial output,

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Dominic Watson
Oh, and if you haven't already, install the YSlow and Pagespeed addons for Firefox to analyze your pages. Their feedback can get you to the heart of any client side problems very quickly. Server side, I wouldn't be so concerned by the whitespace and more concerned by slow running queries and

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Bryan Stevenson
On Thu, 2009-11-05 at 04:11 +0800, Azadi Saryev wrote: before you go into minimizing whitespace, you should really remove all those cfoutput tags from around code that does not have any cf variables in it. that will speed up the page somewhat since cf will not have to parse your html looking

Re: custom tag content displaying twice

2009-11-04 Thread Barney Boisvert
just do cfset thisTag.generatedContent = / in the end tag? CF has to do one or the other (render the output or suppress the output), and then provide a means to accomplish the other. At least from the perspective of the principle of least surprise, rendering the output seems like the correct

Re: custom tag content displaying twice

2009-11-04 Thread Bryan Stevenson
There is a way to suppress that and I can't recall how (been a long time). I see in my head something to do with... cfif THIS.tagStart and cfif THIS.tagEnd HTH...at least you know it is possiblenow go forth and Google ;-) Cheers - Bryan Stevenson B.Comm. VP Director of E-Commerce

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Casey Dougall
On Wed, Nov 4, 2009 at 1:26 PM, Jeff Gladnick jeff.gladn...@gmail.comwrote: We have a VERY high traffic website, and we're trying to speed up the pageload times a bit. One of the things we're considering is going through some of the cfm files that are loaded on every request and trying to

Re: Session is invalid error is driving me nuts!

2009-11-04 Thread Charles Sheehan-Miles
You can't do a redirect .. or any client output... in onsessionend() ... because that runs when the session is over. Maybe something like this: cffunction name=onrequeststart blah blah cfif not IsDefined(session.whatever) cflocation url=/login... /cfif What I do in that instance is

ColdFusion on Solaris Automatic Startup Scripts

2009-11-04 Thread Ian Skinner
According to this technote: Workaround for ColdFusion Startup with System Startup on Solaris (ColdFusion 8 and 8.0.1) http://kb2.adobe.com/cps/403/kb403351.html, we should be able to run these scripts and it will create the start up and kill scripts that will automatically start ColdFusion

Re: Stripping tabs/linebreaks/spacing on a high traffic production server

2009-11-04 Thread Jeff Gladnick
Thanks for all the feedback guys. We're already doing the easy stuff (cfsilent, etc) to suppress whitespace. I'm leaning towards the caching and converting to 1 line for standard html stuff. we'll be careful with the js thanks!

cfinvoke vs creatobject

2009-11-04 Thread Alex
I'm having a heck of a time trying to figure this out. The code below works great when I use createObject, but it doesn't when I use cfinvoke. The reason I want to use cfinvoke is that it takes a while for it to return the data, and I can set a timeout on the cfinvoke (and I can't when I use

Re: LIST SPEED

2009-11-04 Thread Mike Kear
advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http

Re: custom tag content displaying twice

2009-11-04 Thread Mik Muller
Barney, Well, as I said, in this case the prinicple of least surprise would have effused a behavior wherein the page calling the custom tag would not have rendered the content, leaving that responsibility to the tag itself. In _my_ mind, anyway. I mean, if the tag is supposed to receive the

Re: cfmail custom tag

2009-11-04 Thread Brad Roberts
I didn't test it, but try something like: cfsilent !--- No need for an end tag --- cfif NOT compareNoCase(thisTag.executionMode, end) cfexit method=exitTag /cfif !--- Required attributes --- cfparam name=attributes.to !--- Default attributes --- cfparam

Re: ColdFusion on Solaris Automatic Startup Scripts

2009-11-04 Thread Maureen Barger
Who are you when you run this? On Wed, Nov 4, 2009 at 16:46, Ian Skinner h...@ilsweb.com wrote: According to this technote: Workaround for ColdFusion Startup with System Startup on Solaris (ColdFusion 8 and 8.0.1) http://kb2.adobe.com/cps/403/kb403351.html, we should be able to run these

Re: ColdFusion on Solaris Automatic Startup Scripts

2009-11-04 Thread Ian Skinner
Maureen Barger wrote: Who are you when you run this? The system admin that gets to do this runs it as root. ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing

Re: custom tag content displaying twice

2009-11-04 Thread Barney Boisvert
The custom tag isn't rendering the content again, YOU are rendering the content again. If you create an empty custom tag and invoke it, you'll get a single copy of the output. If you then add emitting of the generated content in the custom tag, you'll get two copies. So building up from the

Re: LIST SPEED

2009-11-04 Thread Michael Dinowitz
://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: LIST SPEED

2009-11-04 Thread Michael Dinowitz
Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or.  It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged __ Information from ESET Smart Security, version of virus signature database 4573 (20091104

Re: LIST SPEED

2009-11-04 Thread Dave Watts
Is your account on the list set to send the mail directly to gmail or to another location before going to gmail? I ask because I've never heard of a delay with gmail users. I'd be very concerned if there was a reoccurring delay for mail sent to gmail users. I love Gmail in an almost

CF LMS solutions

2009-11-04 Thread Eric Roberts
I was perusing a thread from 2008 about this, but we are looking for an open source LMS solution that is written in CF. Anyone have any ideas? Thanks! Eric ~| Want to reach the ColdFusion community with something they want?

Re: cfinvoke vs creatobject

2009-11-04 Thread James Holmes
What does the target webservice accept as arguments for the runXS method? mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/11/5 Alex listnu...@gmail.com: I'm having a heck of a time trying to figure this out. The code below works great when I use

Strange Behavior Between ColdFusion Database

2009-11-04 Thread Asaf Peleg
Hi Everyone, I am running ColdFusion 8 with SQL Server 2005. I recently decided to take a direct query against the database and simply move it into a stored procedure instead. So before I was doing a cfquery I am now doing a cfstoredproc instead. After I made the change, I logged onto my

Re: LIST SPEED

2009-11-04 Thread James Holmes
I concur. I often get the same delays, but it does seem to be a gmail thing. mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/11/5 Dave Watts: Is your account on the list set to send the mail directly to gmail or to another location before going to