RE: [cfaussie] Looking for ColdFusion 10 Installer

2018-06-08 Thread charlie arehart
I saw your next email, saying that you’d found the CF installers at 
cfmlrepo.com. To be clear, that is indeed what my bit.ly/cfdownloads below 
points to. I’d created the latter before Gavin came up with that nice, short 
domain name of his own. (It used to be a long one, a page in a folder on a 
site, that was hard to remember.)

BTW, folks may be interested to know he calls it “cfml repo” rather than “cf 
repo” because he and we who have contributed have installers there not only for 
CF (and way back to 1.5!) but also Lucee and Railo, and more.

/charlie

 

From: cfaussie@googlegroups.com  On Behalf Of 
ebre...@whgroup.us
Sent: Thursday, June 7, 2018 10:12 AM
To: cfaussie 
Subject: Re: [cfaussie] Looking for ColdFusion 10 Installer

 

Do you by chance know where these files can still be found? none of the links 
in this thread appear to be active anymore.

On Wednesday, February 3, 2016 at 8:32:07 PM UTC-8, charlie arehart wrote:

Great to hear, and glad to help. I’ll see about getting it posted on the CF 
Repo (bit.ly/cfdownloads <http://bit.ly/cfdownloads> ). 

Once it’s there, I’ll delete it from dropnbox (in case anyone tries to access 
it later there and it’s gone).

/charlie

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2017-12-10 Thread charlie arehart
Did you see the message from the OP, Xiaofeng Liu, of how he solved it (for his 
specific situation)?

https://groups.google.com/d/msg/cfaussie/Ug1tjCcUXCk/RLsTij8XBAAJ


He solved it by changing the URL (in the sched task) to be the IP address of 
the machine (not localhost or 127.0.0.1). 

If that’s not your solution/issue, did you assess the first few other answers, 
which addressed more typical explanations for problems of a sched task URL not 
working though a browser one does?



/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Allan Cliff
Sent: Friday, December 8, 2017 09:11 AM
To: cfaussie 
Subject: Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 
Unauthorized

 

Did anyone ever get to the bottom of this?

 

Having exactly the same problem here.

 

Local IP address url calls to another server (Windows 2012 R2) from the browser 
work as expected.

Also urls in my desktop browser (via VPN).

 

When I put the url into a scheduled tasks, I just get 401 every time.

 

Any solution would be appreciated.

 

Regards,

Allan

 



On Thursday, November 19, 2015 at 4:53:35 AM UTC+1, charlie arehart wrote:

Sure, that is curious. If you may ever get to the bottom of things, it would be 
interesting to hear. Thanks for the update.

/charlie

From: cfau...@googlegroups.com   [mailto:cfau...@googlegroups.com 
 ] On Behalf Of Xiaofeng Liu
Sent: Wednesday, November 18, 2015 5:07 PM
To: cfau...@googlegroups.com  
Subject: Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 
Unauthorized

 

Hi Charlie, 

 

I originally was using a URL like "http://localhost:1981/cron/schedTask.cfm"; to 
run the scheduled task. So that was the URL I specified in CF Admin. That threw 
401 to me.

 

Also I tested from the browser by accessing the same URL which is 
"http://localhost:1981/cron/schedTask.cfm"; (normal and icognito mode) and it is 
working fine.

 

So now I have to update the URL to use the server's public IP address in CF 
Admin and it works. I don't understand why CF running locally on the same 
server has to use the external IP, I mean not the localhost to run the sched 
task that is also on the same server? Given that localhost is also in the host 
file.

 

Cheers,

Xiaofeng

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com 
<mailto:cfaussie+unsubscr...@googlegroups.com> .
To post to this group, send email to cfaussie@googlegroups.com 
<mailto:cfaussie@googlegroups.com> .
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

2017-10-23 Thread charlie arehart
Thanks for the kind regards, Paul, and of course for your offering to help 
Scott directly by looking at his code. 

That said, I will say again that with situations like Scott describes, my 
experience is that the best approach is to use diagnostics to help spot the 
problem, as the issue may be about configuration rather than coding. But either 
way, hope his problem gets solved soon.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Paul Swan
Sent: Monday, October 23, 2017 12:21 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

 

Hi Scott,

I actually work for HNE in the AppDev team so I might be able to help you out 
by looking at your code.  You can call me on ext. 14193

 

If I can't help you it would certainly be worth taking Charlie up on his offer 
as I've worked with him in the past and he's one of the best in the business.

 

Cheers

Paul

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

2017-10-22 Thread charlie arehart
Fair enough (that you feel the problem was there before you enabled the CFSM 
memory tracking). I’ll just say that there may be more to the problem than 
meets the eye based on the simple task mgr tracking you are doing.

And as for FusionReactor, you don’t need to buy it to try it. There is the free 
14-day trial (or demo version, as you called it), assuming you had not already 
run that trial on the box.

And I’ll add that if you really want to resolve the problem, perhaps in less 
than an hour, I could help you, including installing and using FR (or again, 
perhaps the CFSM and its other features, along with the CF logs) to find out 
what’s going on with your server and that request (which may still be a 
configuration problem). No need for you to give me remote access. We’d use 
screensharing. For more, see the consulting page at carehart.org

No, it’s not a free or inexpensive solution, but if the problem is important 
enough, it may be a small price to pay compared to the time you have spent and 
would spend. And I have a satisfaction guarantee, so you won’t pay for time you 
don’t find valuable.  Of course, one challenge is the timezone difference. It’s 
just after midnight as I write this, and I will be going to bed literally after 
hitting send.

But I’ll understand if you may prefer to go it your own first. And certainly if 
you ask questions here I hope to be able to help. But these sort of challenges 
often prove difficult to spot from the outside with only what you share via 
email. Sometimes there’s no substitute for having experienced troubleshooting 
eyes on the variety of diagnostics which may pinpoint the problem. It’s what I 
do with customers every day, but I try to help in online resources like this 
where I can.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Scott Thornton
Sent: Sunday, October 22, 2017 11:52 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

 

Hi, 

 

Simon:

There are a few places where CFFILE ( with an append) is used to log some 
things, but nothing that I could call a file stream or file handler.

 

Charlie:

I believe I turned on the memory tracking after the first half-dozen or so 
server crashes. I’ve turned it off subsequently. ( I have also read of it 
causing problems).

When the server stops responding to requests, they all have in common a large 
amount of Memory usage. CPU usage is quite low. I believe that the monitor is 
not running presently, memory usage is at 3,382MB.

I have used fusion-reactor.com previously on my old servers, and I had hoped I 
could avoid the cost of current fusion-reactor versions. I have obtained a 
quote for the new version and will get it installed soon ( hopefully ). I might 
be able to see if the demo version will work for me.

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

2017-10-22 Thread charlie arehart
Scott, my response may surprise you, but hear me out.

The error indicates that you have the CF Enterprise Server Monitor’s “start 
memory tracking” enabled (see the references to 
coldfusion.monitor.memory.MemoryTracker). That memory tracking feature has been 
known to cause problems—and tragically so, because people turn the feature on 
to understand problems, not realizing that it often causes more (and worse) 
problems. 

And to be clear, this was not something you could have had enabled on CF6, 
because it came out in CF8. And it may not be that YOU turned this feature on, 
but perhaps someone else had. And they may even have done it before you moved 
your code to the server, and perhaps your code is more prone to causing 
problems with the Memory tracking feature. (Generally the issue is that the 
more and deeper the objects in memory, the more impact the memory tracking in 
the CFSM has.)

If you turn this off, and things work find, great (I’ve seen it happen before). 
But if the process in question still causes issue, we can keep oing.

First, you say that it “consumes all resources”. What mechanism are you using 
to confirm that? Do you mean that the memory and CPU for CF, as reported in 
Task Mgr, goes very high? If so, then you want to find out WHY that app does 
that. And that sounds like where you are, but let’s have you first make sure 
the CFSM is not the issue. 

If the issue is not resolved by turning off the memory tracker, then you will 
want to use SOME mechanism to understand what is going on (either about the 
request or about CF, as configured). There are other aspects of that CFSM which 
could help (some needing the “start monitoring” feature enabled, but some even 
with no “start” features enabled) to find why the request is running slow and 
using resources. Better still may be if you had  either of the 3rd party CF 
monitors, FusionReactor or SeeFusion.

But let’s start with hearing what you find about the above.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Scott Thornton
Sent: Sunday, October 22, 2017 10:39 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] CF9 Enterprise, Memory Leak\Resource Issue

 

Hi,

 

( In case anyone is still subscribed to cfaussie )

 

I have recently moved some code from cf6 to cf9 enterprise and a particular 
process consumes all of the resources and hangs the CF server. The exact same 
code on CF9 standard works okay ( although different windows server version ).

 

The code is processing HL7 messages ( health messaging, admission, discharge 
messages etc ) and basically it works in a continuous cfloop, selecting the top 
1 message from the database, and calls a bunch of extra pages to process the 
messages.

 

 

My errors look like the following, from the log file:

 

10/12 14:58:20 error ROOT CAUSE: 

java.lang.OutOfMemoryError: GC overhead limit exceeded

at java.util.IdentityHashMap.init(IdentityHashMap.java:244)

at java.util.IdentityHashMap.(IdentityHashMap.java:190)

at 
coldfusion.monitor.memory.MemoryTrackerProxy.registerMemoryTracker(MemoryTrackerProxy.java:182)

at 
coldfusion.monitor.memory.MemoryTracker.registerWithObject(MemoryTracker.java:222)

at 
coldfusion.monitor.memory.MemoryTracker.onAddObject(MemoryTracker.java:174)

at 
coldfusion.monitor.memory.MemoryTrackerProxy.onReplaceValue(MemoryTrackerProxy.java:598)

at 
coldfusion.monitor.memory.MemoryTrackerProxy.onReplace(MemoryTrackerProxy.java:551)

at coldfusion.runtime.Variable.setInternal(Variable.java:143)

at coldfusion.runtime.Variable.set(Variable.java:71)

at 
coldfusion.runtime.LocalScope.bindInternal(LocalScope.java:362)

at 
cfsbbp03_pims_hl72ecfm1750835129$funcHL7LISTGETAT.runFunction(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:86)

at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:472)

at 
coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:368)

at 
coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:55)

at 
coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:321)

at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:220)

at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2582)

at 
cfsbbp03_pims_hl72ecfm1750835129._factor7(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:403)

at 
cfsbbp03_pims_hl72ecfm1750835129._factor16(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:319)

at 
cfsbbp03_pims_hl72ecfm1750835129._factor17(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:317)

at 
cfsbbp03_pims_hl72ecfm1750835129._factor24(D:\WWWRoot\HNEPlatypus2\Batch\sbbp03_pims_hl7.cfm:180)

at 
cfsbbp0

RE: [cfaussie] Re: Is it even possible to get CF9.0.2 with JDK 1.7 to support TLS1.2?

2017-02-27 Thread charlie arehart
Understood on the move. Thanks most of all for the confirmation on Java 8 
indeed working to solve that CF9 problem.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Sunday, February 26, 2017 10:03 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Re: Is it even possible to get CF9.0.2 with JDK 1.7 to 
support TLS1.2?

 

Hi Charlie,

 

Actually I've tried just switch to use Java 8 with CF9 and it is at least 
working for me to do with TLS 1.2. I was able to send the request through the 
secured connection and get response back. And I can verify in JRun logs that it 
is using TLS1.2 so everything looks great in that area.

 

The reason we are looking at migrating to Lucee is indeed CF9 is just too old. 
There is a need to upgrade it anyway. Was thinking about upgrade to CF11 as 
I've done that a couple of times at my previous job. But Lucee as you said is 
free and I've heard good things about it so that is probably the main reason 
for us to consider it - potentially saving cost in the long run.

 

Cheers,

 

On Sat, Feb 25, 2017 at 1:51 AM, charlie arehart mailto:charlie_li...@carehart.org> > wrote:

Just curious, Xiaofeng, are you making that move because you found that 
(despite our discussions

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Re: Is it even possible to get CF9.0.2 with JDK 1.7 to support TLS1.2?

2017-02-24 Thread charlie arehart
Just curious, Xiaofeng, are you making that move because you found that 
(despite our discussions in this thread) you found you could NOT get CF 9.0.2 
to work with TLS 1.2, even upon updating to Java 8 (as was your original 
question)? I get that you may say that you’re moving to Lucee for other reasons 
(like to get an updated CFML engine for free vs updating to CF 10/11/2016 that 
DO support Java 8).

Just want to know for the sake of closing out the discussion here, if others 
may be in the same boat (on CF9). Thanks. (And Peter’s comment there about 
CFDocument is interesting. I’d not heard of that being an issue, if one changed 
CF9 to use Java 8. I’ll be curious to hear if anyone else tries and/or confirms 
it.)

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Thursday, February 23, 2017 11:13 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Re: Is it even possible to get CF9.0.2 with JDK 1.7 to 
support TLS1.2?

 

Hi Peter, thanks for the heads up. 

 

Mostly we r planning to migrate to Lucee.

 

On 24 Feb 2017 7:46 am, "Peter Pham" mailto:vdung.pe...@gmail.com> > wrote:

We were getting similar error as well and tried to upgrade JRE.

For most parts it was ok. However, I recalled that there was some gotchas 
during PDF generation (Can't remember the exact problem)

And eventually we had to roll it back. 

If you do try, mind checking if any code running  is still smoothly.

 

P

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Is it even possible to get CF9.0.2 with JDK 1.7 to support TLS1.2?

2017-02-14 Thread charlie arehart
Well, that’s why I said “test things, watch things”. It is indeed “at your own 
risk”, but yep, you can take some comfort in the fact that others have “been 
there, done that” and were happy with the result. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Tuesday, February 14, 2017 07:01 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Is it even possible to get CF9.0.2 with JDK 1.7 to 
support TLS1.2?

 

Charlie, 

 

Thanks for the quick response. Ok I'll put that as an option. The only thing is 
I saw lots of people saying do this at your own risk. But it does make me feel 
a bit more comfortable when you suggested that. 

 

On Wed, Feb 15, 2017 at 11:50 AM, charlie arehart mailto:charlie_li...@carehart.org> > wrote:

Just go ahead and run CF9 with Java 8. No, it’s not “supported”, but CF9 hasn’t 
been “supported” since 2012, so just go for it. Test things, watchin things. 
It’s worked find for many. 

/charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Is it even possible to get CF9.0.2 with JDK 1.7 to support TLS1.2?

2017-02-14 Thread charlie arehart
Just go ahead and run CF9 with Java 8. No, it’s not “supported”, but CF9 hasn’t 
been “supported” since 2012, so just go for it. Test things, watchin things. 
It’s worked find for many.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Tuesday, February 14, 2017 06:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Is it even possible to get CF9.0.2 with JDK 1.7 to support 
TLS1.2?

 

Hi folks,

 

I know this sounds crazy. A web service API we securely connect to is going to 
disable TLS 1.0 and 1.1 due to the new SSL security standards.

 

I got a CF9.0.2 box with update level /updates/chf9020001.jar applied. It also 
got java home switched to JRE under JDK 1.7. So it used to work without any 
issue until recently some changes made to the API testing environment and I got 
javax.net.ssl.SSLHandshakeException error during hand-shake.

 

Tried following this article below to set 
-Dhttps.protocols=TLSv1.2,TLSv1.1,TLSv1:

 

https://www.trunkful.com/index.cfm/2014/12/8/Preventing-SSLv3-Fallback-in-ColdFusion

 

What I have also done is to import the whole chain of the API certificates into 
the keystore under the java in use.

 

However, just like the author of the above article mentioned, it can never go 
beyond TLSv1 when I make connection to the API.

 

jrpp-1, WRITE: TLSv1 Handshake, length = 186



jrpp-1, received EOFException: error

jrpp-1, handling exception: javax.net.ssl.SSLHandshakeException: Remote host 
closed connection during handshake

jrpp-1, SEND TLSv1 ALERT:  fatal, description = handshake_failure

jrpp-1, WRITE: TLSv1 Alert, length = 2



jrpp-1, IOException in getSession():  javax.net.ssl.SSLHandshakeException: 
Remote host closed connection during handshake

 

My understanding is CF9 has reached EOL and it does not officially support JDK 
1.8 so that does not seem to be an option either.

 

So I would like to reach out to see if anybody ever got this working on CF9 or 
the only option is to upgrade CF to 11?

 

I appreciate any thoughts on this.

 

-- 

Thanks,

Xiaofeng,

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com 
 .
To post to this group, send email to cfaussie@googlegroups.com 
 .
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CFMail and outlook365

2016-06-21 Thread Charlie Arehart
Well, if that’s your real username and password, the first thing you’ll want to 
do is change that, as anyone else who wants to can try to get int. Doh! :-(

Second, it’s curious that cfimap would have no problem connecting but cfmail 
would. You’re saying it’s the same server? And were you connecting via CFIMAP 
using tls and/or ssl also? If not, then perhaps it’s that you need to import an 
SSL cert (into the JVM that you have CF using) so that CF can act as an ssl/tls 
client to the office365.com server. If you ARE using ssl/tls in the cfimap, 
with the same connection info, perhaps there’s a difference in the underlying 
way that cfimap vs cfmail do the ssl/tls communication.

Along those  lines, what version of CF is this (9? 10? 11? 2016?), and what 
update level? And what JVM version. All these can be seen in the CF Admin 
“system info” page (the “i” icon in the top right). Later versions of CF and 
the JVM each address various issues related to SSL (and also include more 
modern certs, that often avoid the need to have to import one).

Let us know if this starts getting you down the road. There are more details on 
all the above, but I’ll hold off on the details in case you don’t need them, or 
this is not taking you toward a good solution.



/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Tuesday, June 21, 2016 7:01 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] CFMail and outlook365

 

Hi Guys.

 

Our business is moving all mail account to the cloud.  outlook.office365.com

 

I have been able to get CF, using CFIMAP, to check mail boxes and download 
attachments.

 

What I can not do is send mail using the CFMail tag.  Example code is below.

 

My understanding is that the connection need to use SSL and port 587.  I have 
set these and tried various setting, SSL on/off TLS on/off etc.  Each time I 
get the error below.  Credential make no difference, it does not even check if 
the user name and password are correct 

 

Anyone had experience in this area?

 

ERROR

 

javax.mail.MessagingException: Could not connect to SMTP host: 
smtp.office365.com, port: 587; nested exception is: javax.net.ssl.SSLException: 
Unrecognized SSL message, plaintext connection?

 

CODE

 










The Contractor data load has failed at #timeformat(now(),'hh:mm 
tt')# on #dateformat(now(),'ddd  ')#

Error Details







 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Update to CF 9.0.2

2016-03-15 Thread Charlie Arehart
Glad to help. If you don’t apply the CF9 hotfixes often, do be very careful. 
It’s so easy to make a mistake (with so many folders to unzip, and in so many 
locations). Do consider that post I offered on “why chfs may break”, for some 
tips on things to beware and resolve.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Scott Thornton
Sent: Tuesday, March 15, 2016 6:28 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Update to CF 9.0.2

 

Hi Charlie,

 

Thanks for the dropbox link. I was able to grab the 64bit installer for 9.0.2 
from dropbox. Oddly the 9.0.2 files in the copy.com website seemed to be 
absent, or not accessible ( everything else was present it seemed, when 
accessed from home internet access ). No problem though, dropbox worked just 
fine.

 

I have seen information regarding the requirement to do a full new install, 
after removing 9.0.1. As it’s a multi-server install, I was going to request 
some assistance from another colleague here to assist with it ( he did the 
original setup ). BUT, since you mention it, since 9.0.2 is 9.0.1 with Verity 
removed, I think I may just go with Cumulative hot fix 4 for this particular 
server ( and use 9.0.2 elsewhere ). I was really just after a fix for the 
scheduled task date format problem ( fixed in update 1 ).

 

Thank you again for you very informative,  complete assistance.

 

( And thanks to Mike K for offering to supply the 9.0.2 update ).

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Update to CF 9.0.2

2016-03-15 Thread Charlie Arehart
Hi, Scott. Three things (the first and third are most important for you).

First, sadly, that copy.com site does often break, and Gavin (the guy behind 
the repo) is aware and is moving to dropbox. For some reason, he has not 
updated the site to point to that new repo. It’s:

https://www.dropbox.com/sh/8guq4gssov58ufy/AABm5NTljeQ-9XK2TdylM8hoa?dl=0 

And it does have the 902 installers there.

Second, as for not finding them on the Adobe site, well, you may know that 
can’t even find CF11 installers on the site anymore, since they released CF2016 
last month. Many of us lament that (loudly), but it seems a corporate decision 
out of the hands of the CF team.

Third and finally, sine you propose you “Have Enterprise 9.0.1, and would like 
to go to 9.0.2”, do beware that 902 is NOT an updater to 9 or 901. It’s a 
separate installer. You would need to REMOVE your current 901 to get to 902. 
And there’s little reason to do that. All 902 is, is 901 with Verity removed, 
and some of the updates available at that time applied. You could (and should) 
just apply the latest Cumulative Hotfix for 901, and you’d almost be done. That 
last CHF included the latest security updates at the time, but there were a 
couple more since then.)

I do realize, also, that it’s tempting to want to go to 902 to “have it with 
the latest updates installed”. Then again, it too had a CHF and some security 
fixes after it came out.

And I realize also that applying updates in 9 was a pain. As you may know, 
there’s Dave Epler’s “unofficial updater” tool to help with that.

I have several posts that could help with all this:

http://www.carehart.org/blog/client/index.cfm/2013/8/19/understanding_ColdFusion_9.0.2_a_FAQ

http://www.carehart.org/blog/client/index.cfm/2014/3/14/cf9_and_earlier_hotfix_guide
http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break

Hope all that’s helpful. And of course, if you get stuck and/or want direct 
assistance, I can do that with you, remotely. More at the consulting page of 
carehart.org.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Scott Thornton
Sent: Monday, March 14, 2016 7:51 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Update to CF 9.0.2

 

HI Mike,

 

I have checked the Windows server and it is indeed 64bit. The coldfusion admin 
also shows the  Java VM Name as Java HotSpot(TM) 64-Bit Server VM, so I 
guess I need the 64 bit version.

 

Dmitry, 

 

I checked the link again, and it still doesn’t work for me. I work in health, 
and our firewall is pretty locked down, so the website might be being blocked 
on our end.

 

All,

I think what I will need to do is attempt to grab the file when I am at home 
tonight and bring it back into work tomorrow. I will send an update tomorrow.

 

Thanks for assistance.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for ColdFusion 10 Installer

2016-02-03 Thread Charlie Arehart
Great to hear, and glad to help. I’ll see about getting it posted on the CF 
Repo (bit.ly/cfdownloads). 

Once it’s there, I’ll delete it from dropnbox (in case anyone tries to access 
it later there and it’s gone).

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Lucas
Sent: Wednesday, February 03, 2016 10:10 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Looking for ColdFusion 10 Installer

 

Hi Charlie,

yep, that is the ticket! it installs ColdFusion 10,283922 and will run on 
server 2012 R2!

 

thanks again!

Lucas.

 

On Thu, Feb 4, 2016 at 1:36 PM, Charlie Arehart  
wrote:

That is a bummer (that they don’t have on the cf repo that updated installer). 
It was released in March 2014, so should have been posted there.

Fortunately I think I do have it (at least Windows 64-bit installer, which is 
what you need. While the filename did not change, if one looks at the 
properties, the “file version” changed from 12.0.0 to 14.0.0 and the copyright 
date of the installer shown changed from 2009-2011 to 2012.

Here’s a dropbox link:

https://www.dropbox.com/s/705wwq0bac155dm/ColdFusion_10_WWEJ_win64.exe?dl=0

If you confirm that’s the one, I would get it posted on the cf repo.

/charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for ColdFusion 10 Installer

2016-02-03 Thread Charlie Arehart
That is a bummer (that they don’t have on the cf repo that updated installer). 
It was released in March 2014, so should have been posted there.

Fortunately I think I do have it (at least Windows 64-bit installer, which is 
what you need. While the filename did not change, if one looks at the 
properties, the “file version” changed from 12.0.0 to 14.0.0 and the copyright 
date of the installer shown changed from 2009-2011 to 2012.

Here’s a dropbox link:

https://www.dropbox.com/s/705wwq0bac155dm/ColdFusion_10_WWEJ_win64.exe?dl=0


If you confirm that’s the one, I would get it posted on the cf repo.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Lucas
Sent: Wednesday, February 03, 2016 6:37 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Looking for ColdFusion 10 Installer

 

Hi Charlie,

thanks, I thought there would be something like this out there. Unfortunately 
the CF10 installer that is there is the original, 10.0.0 installer not the 
updated one with Server 2012 R2 support (Install anywhere is broken for R2 and 
needed an updated).

 

In answer to the 'why is it boned' one word: cryptolocker.

 

So, hunt is still on for a Server 2012 R2 version of the CF10 installer.

cheers,

Lucas.

 

On Thu, Feb 4, 2016 at 11:19 AM, Charlie Arehart  
wrote:

They are offered at bit.ly/cfdownloads. That’s a repo of CF installer (and 
related files) setup initially by CF community member Gavin Pickin, and 
supported by myself and several others who also contribute to the project.

Bottom line, no, you can’t get the files from Adobe any more. And yes, you 
should feel safe getting them there (he doesn’t let “just anyone” post files to 
the server).

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Lucas
Sent: Wednesday, February 03, 2016 6:11 PM
To: cfaussie
Subject: [cfaussie] Looking for ColdFusion 10 Installer

 

Folks,

We have a client that has boned their production server so a reinstall is 
needed however Adobe seem to have hidden the CF10 installer.

Would anyone have a CF10 installer (windows 64 bit) from post March 2013 (we 
need Windows 2012 R2 Support) that they could point me to?

 

cheers,

Lucas.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.





 

-- 

Lucas

http://www.thebitbucket.net/

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for ColdFusion 10 Installer

2016-02-03 Thread Charlie Arehart
One other thing: what’s “boned” about the server, leaving them feeling they 
have to reinstall?  It’s a sincere question.

Is it perhaps just that they ran the updater, and it seems CF “can’t start” 
and/or they “can’t access the Admin”? That would leave most feeling like they 
have no choice but to reinstall, but it’s not necessary. You can run the update 
installer manually, as discussed in many available resources, from Adobe and 
others. 

Or did they perhaps try to update the JVM, and now that’s got them “dead in the 
water”? That too can be overcome (even though you “can’t access the Admin”. I 
have a blog post that could help:

http://www.carehart.org/blog/client/index.cfm/2014/12/11/help_I_updated_CFs_JVM_and_it_wont_start/

And of course folks like myself can also guide folks to resolving such 
problems, often in as little as 15 mins (though it may seem it must take 
longer, given how desperate people feel when it happens to them). Not free, no, 
but often far better than reinstalling CF.

Hope that info is helpful, to them or others reading this.

 

/charlie

 

From: Charlie Arehart [mailto:charlie_li...@carehart.org] 
Sent: Wednesday, February 03, 2016 6:19 PM
To: 'cfaussie@googlegroups.com'
Subject: RE: [cfaussie] Looking for ColdFusion 10 Installer

 

They are offered at bit.ly/cfdownloads. That’s a repo of CF installer (and 
related files) setup initially by CF community member Gavin Pickin, and 
supported by myself and several others who also contribute to the project.

Bottom line, no, you can’t get the files from Adobe any more. And yes, you 
should feel safe getting them there (he doesn’t let “just anyone” post files to 
the server).

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Lucas
Sent: Wednesday, February 03, 2016 6:11 PM
To: cfaussie
Subject: [cfaussie] Looking for ColdFusion 10 Installer

 

Folks,

We have a client that has boned their production server so a reinstall is 
needed however Adobe seem to have hidden the CF10 installer.

Would anyone have a CF10 installer (windows 64 bit) from post March 2013 (we 
need Windows 2012 R2 Support) that they could point me to?

 

cheers,

Lucas.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for ColdFusion 10 Installer

2016-02-03 Thread Charlie Arehart
They are offered at bit.ly/cfdownloads. That’s a repo of CF installer (and 
related files) setup initially by CF community member Gavin Pickin, and 
supported by myself and several others who also contribute to the project.

Bottom line, no, you can’t get the files from Adobe any more. And yes, you 
should feel safe getting them there (he doesn’t let “just anyone” post files to 
the server).

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Lucas
Sent: Wednesday, February 03, 2016 6:11 PM
To: cfaussie
Subject: [cfaussie] Looking for ColdFusion 10 Installer

 

Folks,

We have a client that has boned their production server so a reinstall is 
needed however Adobe seem to have hidden the CF10 installer.

Would anyone have a CF10 installer (windows 64 bit) from post March 2013 (we 
need Windows 2012 R2 Support) that they could point me to?

 

cheers,

Lucas.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] SQL identity issue

2016-01-26 Thread Charlie Arehart
Two issues there, really, it seems, Brian.

1) When you need more truly random numbers, you should call the Randomize 
function first, and in it you can provide both a seed and an alternative 
randomization algorithm. See the CF docs, such as (for cf9, which sadly comes 
up first in google search results):

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6d3e.html


You could also consider using the createuuid function, which creates a 
different form of random number (with numbers and letters), which may have 
value. 

2) But you refer to getting the identity as a second step and using that. Are 
you saying THAT ends up being the same? If so, that would not be due to 
randomization issues, but rather a race condition.

You don’t say how you’re selecting the identity from the insert, but there are 
multiple ways, some better than others at reducing the likelihood of getting 
one from another insert. I’ll hold off on details until you clarify what you’re 
doing and whether this would be helpful. (Or perhaps someone else will chime in 
anyway.)

/charlie

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Tuesday, January 26, 2016 5:31 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] SQL identity issue

 

Hi everyone.

 

I have an issue with inserting orders into a database.  What I currently do is 
create a random number and insert that number into the database when an order 
is inserted.  I then query the database to get the order number (unique ID 
generated by SQL Server).  Using this order number I then insert the items into 
an item table. 

 

The issue is that its possible for 2 orders to end up with the same unique 
number, this is because the random function is not actually that random.  If 
two people are submitting orders at the same time, they get the same random 
number.  This means that all of the items ordered go to one customer, and the 
other customer gets no items. 

 

Current code for the random number is

 



 

Is there a more reliable way of doing this? 

 

Brian

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] How to learn about IIS 10?

2016-01-22 Thread Charlie Arehart
And it’s thanks like that (and Peter’s) which make it all worthwhile. :-) Glad 
to have helped. (And it is quite an interesting providence that I found that 
just last week, days before you would ask for it!)

Hope others will check them out, too. Some really very useful topics in there. 
I’m inspired and hoping to do the same sort of thing at some point on certain 
CF topics.

/charlie

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Thursday, January 21, 2016 10:39 PM
To: cfaussie
Subject: Re: [cfaussie] How to learn about IIS 10?

 

You are right, Charlie,  I AM in luck!!   That's EXACTLY what i was hunting 
for.   

Once again you have proved to be the goldmine of help and resource you have 
been for years.  

 

Thank you.   Thank you.   Thank you. 

 

-- 

Cheers
Mike Kear

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] How to learn about IIS 10?

2016-01-21 Thread Charlie Arehart
Mike, you’re in luck (finding resources for learning more about IIS). I have 
something to share which is I hope just what you may have been looking for.

1) First, let me clarify that as far as your not finding much on IIS 10, I’d 
not worry about that myself. I find that there’s virtually no change in it form 
8, and there was really hardly any change in that from 7.

2) So when you are expressing the desire to become more versed in it, as a 
newcomer to it, or even for those reading along who are experienced, I can’t 
recommend enough a wonderful set of 50 brief, practical IIS videos that were 
put together by IIS guru Scott Forsyth. They are about 10-20 mins each, but all 
really, really relevant and useful (not a boring repetition of the docs, as 
some resources can be). 

And while they are from the IIS 7 timeframe, they are still relevant for the 
reason I state above. I blogged about them just last week, and I offer the 
topic titles and links to them:

Great set of substantial, practical, but brief videos on IIS
http://www.carehart.org/blog/client/index.cfm/2016/1/16/50_video_iis_series


Let me know if they look or prove helpful for you.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Wednesday, January 20, 2016 4:41 PM
To: cfaussie
Subject: [cfaussie] How to learn about IIS 10?

 

Clearly I dont know anywhere near enough about IIs.  Can anyone recommend a 
good way to learn about it? 

 

I've looked at the usual places I learn things - Lynda.com,  TutsPlus.com,   
google for tutorials and learn,  and there isnt much available.  

 

Even Microsoft's own sites dont have much.   Almost everything that's there is 
about IIs7 or IIs8,  but the one with Windows 10 is IIs10, as far as I can tell 
 (but it's hard to tell because I dont think anything actually says in the 
'about' tab. 

 

And after the  frustration of the last week, it's pretty clear that Microsoft 
themselves haven't got a clue about it or arent telling.I wasted 8 days 
trying to talk to someone from there about how to make my IIS work.   And didnt 
succeed. 

 

Anyone have any good ideas where I can learn enough about IIs10 to be 
self-sufficient on most routine things?

 

-- 

Cheers
Mike Kear

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at https://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-18 Thread Charlie Arehart
Sure, that is curious. If you may ever get to the bottom of things, it would be 
interesting to hear. Thanks for the update.

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Wednesday, November 18, 2015 5:07 PM
To: cfaussie@googlegroups.com
Subject: Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 
Unauthorized

 

Hi Charlie, 

 

I originally was using a URL like "http://localhost:1981/cron/schedTask.cfm"; to 
run the scheduled task. So that was the URL I specified in CF Admin. That threw 
401 to me.

 

Also I tested from the browser by accessing the same URL which is 
"http://localhost:1981/cron/schedTask.cfm"; (normal and icognito mode) and it is 
working fine.

 

So now I have to update the URL to use the server's public IP address in CF 
Admin and it works. I don't understand why CF running locally on the same 
server has to use the external IP, I mean not the localhost to run the sched 
task that is also on the same server? Given that localhost is also in the host 
file.

 

Cheers,

Xiaofeng

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-18 Thread Charlie Arehart
But tell me, Xiaofeng , when I proposed earlier much of the same that people 
have said today, you said in reply the other day that you HAD used the EXACT 
same URL in your browser (run from the server) as in the sched task. 

So when you refer now to changing the sched task URL to use“not localhost, not 
127.0.0.1 but the public IP address”, are you saying that IS or IS NOT what you 
tested before when you ran the test in your browser on the server? Perhaps you 
thought this was not significant, but it would be.

It’s the IP address (or domain or machine name) in the URL which influences 
what IIS site handles the request. You may have windows auth on in one site, 
and not the other. And you may have been going to different ones all along.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Tuesday, November 17, 2015 11:48 PM
To: cfaussie@googlegroups.com
Subject: Re: Re[2]: [cfaussie] CF11 Scheduled Task Not Running - 401 
Unauthorized

 

I figured this out, sort of. Now I changed sched task URL to use the public IP 
address of the server, I got status 200. 

 

So not localhost, not 127.0.0.1 but the public IP address. I guess this is due 
to the server got multiple NICs so that localhost cannot be resolved somehow?

 

On Wed, Nov 18, 2015 at 3:39 PM,  wrote:

Hi Xiaofeng,

This is not CF, it is all about IIS config.

Put a simple .txt file and try to fetch it using CFHTTP, 100% you will end up 
with the same HTTP error 401.

Why? Browser (no matter if it running in generic or private browsing mode) is 
using your credentials (domain or local account) to negotiate access with IIS, 
while CF server is run without these permissions.

Google "http error 401 IIS" and you can find following link with 5 reasons IIS 
refuses to authorize CF:
http://blogs.msdn.com/b/david.wang/archive/2005/07/14/howto-diagnose-iis-401-access-denied.aspx

So, check your IIS logs for sub-401-code to determine cause of your problem.

Cheers,
Dmitry.

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-17 Thread Charlie Arehart
Dale, yep. He’s confirmed that in response to some other messages in the thread 
here.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Dale Fraser
Sent: Tuesday, November 17, 2015 2:14 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Can u browse to the url from the server

 

Ie can the server resolve DNS and the url

Regards

Dale Fraser

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Do beware that (as I hinted at in my last note, though written after this one), 
it’s NOT only the web.config that could have request filtering settings for a 
site. They may also be in the central applicationhost.config file, either at 
the site level there, or up at the server level (therefore inherited by all 
sites unless they override it).

But the simplest thing is to look in IIS, at the site level, at the request 
filtering feature, and look at the various tabs there.

But as I said in my earlier note today, if that was blocking things, it would 
be producing a 404 typically, not a 401.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, November 16, 2015 10:54 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Hi Mark,

 

Thanks for the thoughts. I checked web.config and it does not have the 
requestFiltering section.

 

Cheers,

Xiaofeng

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Sure, and thanks for the confirmation on C. And yes, on D. 

Though do beware that with IIS 7 and above, when a site points to a webroot, it 
reads and uses any web.config there for the setup of various IIS settings. So 
if you create a new site and point to the same webroot, and there is a 
web.config which may have settings that are influencing this, then the “new” 
site could suffer the same problem. 

But if either there is no web.config, or you look at it and see nothing that 
seems to be impacting this, yes there’s a chance that a new site (and its app 
pool) may allow things to work when the old one did not. Sometimes there’s just 
no explaining why this works, but I’ve seen it so. (And for those familiar with 
such things, this is even when the entries in the central 
applicationhost.config for each site, the old failing and new working one, seem 
otherwise identical.) I get the sense there may still be other IIS settings 
stored somewhere beyond those two files which can impact things, and perhaps 
that’s why a “new” site can work when an old one cannot.

Let us know how it goes.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, November 16, 2015 10:33 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Thanks again for all these thoughts.

 

For C), I'm running exactly the same URL from a browser (Chrome) on the server 
running CF 11 - Production Secure Profile and also tried the Icognito window 
without any issue. 



 

For D), it looks like I have to try this option. When you said create a new 
site, do you mean create an exactly same site pointing to the same web root as 
the existing one but just specify a different port on that server and use it to 
run the scheduled tasks? 

 



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
That’s good outside-the-box thinking, there, Mark. :-)  That said, I’d note 
that if Request Filtering were blocking it, it would provide a 404 instead 
(typically), so I doubt it will be that (he had said he was seeing a 401 in the 
CF http log), but he should certainly check that and think of any other such 
possibilities. 

Still, I’m looking forward to his thoughts on the other few things I’d 
proposed. It’s like a mystery to be solved.:-) Not so fun when you’re suffering 
it, of course.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mark King
Sent: Monday, November 16, 2015 8:33 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Is it possible IIS is blocking requests from unknown user agents?

 

See 
http://www.dantor.com/support/misc/web-config-requestFiltering-user-agent.aspx

 

I doubt that is it but it is worth a look maybe.

 

Also what happens if you give the app pool identity full control in IIS 
(temporarily to check if it works)?

 

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Tuesday, 17 November 2015 12:12 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Well, I have four thoughts for you to consider:



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Well, I have four thoughts for you to consider:

A) Focusing on it first as a scheduled task in CF, if the request works from a 
browser (including one like an incognito window) and yet it does not work in 
the scheduled task mechanism—for the exact same URL—then I would think there 
should be no problem with IIS. If there were, the request from the browser 
wouldn’t work.

And CF would not itself cause the request to act differently in requesting the 
URL than the browser would—other than not being able to do Windows auth, which 
you’ve proven with the incognito window is not the problem.

As such, I don’t know what is making that fail. 

B) As for the rest of your note, well, you can add authentication info in the 
app pool (in its advanced settings page), as well as at the site level (in its 
advanced settings page). Again, though, if the request works from a browser, 
then I’d not think you have a problem in IIS. 

I’ll just say that one can get lost in the weeds of permissions in IIS, at the 
app pool, site, and folder levels. If you’re needing to do all that sort of 
tweaking just in order for things to work, it could be sticky finding a 
solution. (But gain, if it works in a browser, then I’d not see how any such 
permissions issues would change how the EXACT SAME URL works from CF.)

C) Actually, I just had a thought: when you say you are running the URL in a 
browser, are you running that browser on the same machine where CF is running? 
If not, beware that you may have a DNS or other issue, where the domain in the 
URL may resolve differently from your workstation to the destination server, 
than it may from the CF server to itself. (I’m assuming that the scheduled task 
URL is a CFM page running on your own server, since you’re looking at IIS with 
regard to it.)

If you try the URL from a browser on the server running CF, is it the same 
issue? And in an incognito or private window?

D) If that’s not it, one more thought (which I’ve seen work before) would be to 
try creating a new site (and a new app pool) and seeing if you (in a browser) 
and then CF (as a sched task) could access the URL. You may need to come up 
with a new IP, domain name, or port to use for the bindings to distinguish it 
from the existing site. If it then worked, then you could consider how this new 
site and app pool may differ from the failing one, if perhaps you or someone 
else has been doing some tinkering with settings.

If that’s not helpful, I’m afraid I’m out of ideas for now.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, November 16, 2015 5:45 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Hi Charlie,

 

Thanks for offering the tips of testing from "incognito and private window". I 
tried both and both of them did not prompt me for authentication. So I am able 
to run the scheduled task even from there without problem.

 

Back to IIS, from the Basic Settings I can see the site is using "Pass-through 
authentication" - ApplicationPoolIdentity. Basically I got "Anonymous 
Authentication" turned on already. I also noticed that there is an warning 
(exclamation mark) for Authorization which says "Cannot verify access to path - 
[webroot of the site]".



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

2015-11-16 Thread Charlie Arehart
Xiaofeng, when a sched task won’t work but the URL works in a browser, it’s 
nearly always an issue of the URL being behind a form of authentication that CF 
can’t support (as a scheduled task or CFHTTP call) but the browser can. 

As for why it could “no problem” from the browser, it’s usually that your 
browser has cached the credentials, so you’re not seeing that they are required 
and requested, and passed in by the browser.

Here’s a simple test you can do: if using Chrome, open a “new incognito window” 
(via the “hamburger” menu in the top right). If in FF, use the same to open a 
“new private window”. In either case, visit the URL, and if there is a need of 
authentication, you will be prompted for it. If you are not, let us know. If 
you ARE prompted, then you need to find out if IIS is configured (whether at 
the folder or site level) to require authentication (see the “authentication” 
feature in the IIS control panel), and if so, and it’s only supporting “windows 
authentication”, then that’ why you can’t access the URL as a sched task. CF 
does not support that.

Let us know what you find.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Sunday, November 15, 2015 11:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] CF11 Scheduled Task Not Running - 401 Unauthorized

 

Hi folks,

 

I'm running out of options. Basically I have a CF site running on Windows 2012 
R2 & IIS 8.5.

 

I have two scheduled tasks sit under a sub directory of the web root directory.

 

In IIS 8.5 even from the webroot folder I set the IIS authentication to 
'Anonymous Authentication' Enabled and it is using the option 'Application pool 
identity'.

 

Now when I run the scheduled task from the CF Admin, I got status code 401 - 
Unauthorized in the CF http.log.

 

But, if I directly run the URL of the scheduled task in a browser, it works 
without any problem.

 

When I googled, I realized that other people got the same issue but pretty much 
is because of Windows Authentication is turned on and anonymous authentication 
is turned off. But in my case, I got anonymous authentication even from the 
root.

 

Also I tried to set 'IUSR' for the anonymous authentication but still got the 
same issue.

 

Could anyone kindly shed some light if you had similar experience before?

 

-- 

Best regards,

Xiaofeng,

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF on Windows 10 yet?

2015-09-22 Thread Charlie Arehart
Happy to help, but FWIW, if you mean you’ll put off upgrading to Windows 10, 
I’d point out that I’ve upgraded multiple machines to Windows 10 that already 
had CF 10 and 11 on it and it’s no problem.

Where you get into trouble is if you try to install CF10 or 11 (or earlier, of 
course) on a machine that is running Windows 10, or if you had any reason to 
try to run the web server config tool on Windows 10.

So if you have other benefits of running Windows 10, this doesn’t have to be a 
show-stopper. 

Anyone else have other experience (upgrading to Windows 10 on a machine already 
running CF)?

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Tuesday, September 22, 2015 9:10 PM
To: cfaussie
Subject: Re: [cfaussie] CF on Windows 10 yet?

 

Thank you once again Charlie.   I've put my own upgrade process on hold waiting 
for it.  I dont need the hassles of upgrading just so I can be at the leading 
edge.I can wait to update my PCs for it.  

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF on Windows 10 yet?

2015-09-22 Thread Charlie Arehart
Nope. :-( 

I would expect it to be in the next update. The reason it was not in the last, 
was that that update was solely for an urgent vulnerability (in BlazeDS).

I’m not defending the fact that they haven’t had the update out a LOT sooner. 
Not only was Windows 10 released in July, but it was known to be coming then 
for months. But it is what it is.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Tuesday, September 22, 2015 7:17 PM
To: cfaussie
Subject: [cfaussie] CF on Windows 10 yet?

 

Have Adobe released updates to CF to run on Windows 10 yet?


 

-- 

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

2015-08-18 Thread Charlie Arehart
Thanks for the confirmations. And yep, I just checked and the cfdocument fix in 
8 was for 8.0. Since you are on 8.0.1, you’re covered for that (And yes, CHF4 
for 801 was the highest available CHF). 

As for whether and why the code may not work on CF8, I just can’t say. Again, I 
don’t have it available readily to test myself. 

Here’s hoping someone else may still be able to confirm it for you, with the 
code you shared earlier.

Finally, about the other issue, I’d pointed out last week the option of using 
vaasnet.com to test the setup you were interested in. It’s dirt cheap (us $1 
per hour) to try, with Windows already installed. You just need to download and 
install CF to do your testing. Hope that’s helpful.

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Tuesday, August 18, 2015 9:09 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

Hi Charlie,

 

I checked the updates folder on the CF8 box and it looks like both 
hf801-2.jar and chf8010004.jar had been applied.

I would expect the CHF 4 has already been the "latest" fix for CF 8.0.1?

 

Also for /CFIDE/scripts folder, it doesn't seem to be an issue for me to access 
a file inside.

For example, I tried browsing http://MY_CF8_DINOSAUR/CFIDE/scripts/wddx.js and 
it did show up.

 

Today I tried running the some code on yet another server we got which is also 
CF10 and it worked as good as the first CF10 server.

 

For some reason, this code has to be run on the server which is now the CF8 one 
:(

I'm considering upgrading it to CF11 (if by luck I get approval to do that) . 
The challenge part of that is the server itself is Windows 2003R2 64 bit + IIS 
6. And this relates to my another post here about upgrading from CF8 to CF11 on 
a server in DMZ.

 

Cheers,

Xiaofeng

 

 

On Wed, Aug 19, 2015 at 12:18 AM, Charlie Arehart  
wrote:

Also, Xiaofeng, did you get to confirm the exact update of CF8 you have? Using 
the means I mentioned in my note yesterday? A lack of a needed update could 
also explain why it fails for you on 8.

/charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for Cold Fusion and MAK2 Framework Developer

2015-08-18 Thread Charlie Arehart
Ok, thanks for clarifying for folks. To be clear, I am not at all interested in 
this work (I don’t do development any more, only server troubleshooting, as an 
independent consultant). 

I was asking these questions to help you and others here better determine the 
right fit for someone who might help.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Omer Yafai
Sent: Tuesday, August 18, 2015 7:37 PM
To: cfaussie
Subject: Re: [cfaussie] Looking for Cold Fusion and MAK2 Framework Developer

 

Hi Charlie, yes you are right. I mentioned the as I heard which was MAK2 but I 
think it is Mach ii.

 

We would like to stay with Mach ii framework and make changes to existing code, 
as we were told this will involve less work. Apparently, moving away from Mach 
ii framework is going to involve a lot of work and will be complicated. Again, 
this is after my discussion with one of the CF developers who looked at this. 

 

Thanks

Omer

On Tuesday, August 18, 2015 at 11:42:49 PM UTC+10, charlie arehart wrote:

Omer, some thoughts which may help you…



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

2015-08-18 Thread Charlie Arehart
Also, Xiaofeng, did you get to confirm the exact update of CF8 you have? Using 
the means I mentioned in my note yesterday? A lack of a needed update could 
also explain why it fails for you on 8.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Tuesday, August 18, 2015 8:45 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

Thanks for sharing it. Hope it may help someone to run it for you on CF8.

In the meantime, did you have any thoughts on my observation about the 
CFIDE/cfscripts folder? What you could do, at a minimum, is confirm if you can 
browse a file (any file) deep within that directory. If you cannot, then if CF 
creates HTML code that calls back to that, then such code would fail also and 
may affect CFDOCUMENT. Again, I don’t know for sure. Just something to consider 
while you await anyone testing that code on 8, if they may.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, August 17, 2015 11:42 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

Thanks for the thoughts Charlie.

 

Below is the code I used to produce the PDF. Basically what I'm doing is using 
CSS absolute positioning to define A4 page with 4x2 labels on it. Then use 
cfdocument to convert the HTML into PDF.

 

The PDFs produced are quite different in CF10 and CF8.

The margins of the borders are a bit different and also the font size rendered 
in CF8 is much bigger.

 

Can anyone who still got CF8 try the code below and if you can share some 
findings/thoughts that will be great?

 



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

2015-08-18 Thread Charlie Arehart
Hi, Andrew. Just to clarify, he is saying that his code runs fine on CF10 for 
him, and it doesn’t work for him on 8. He’s wanting to understand why, and if 
there may be anything he can do that would allow it to work.

Are you saying you already know that something about that specific code won’t 
work on 8 but would on 10? He gets that 10 is better. He just doesn’t as 
readily see why it would not work on 8. Seems a fair question.

Still, I totally get why you would (and really anyone should) want to encourage 
people to move off older versions, and not struggle to get thins working on 
them, if an upgrade would fix it. Still, sometimes people’s hands are tied. 
That said, I saw your later note just now responding to Omer, who was running 
on 6. At least he is indeed upgrading. It just takes some people time to get 
their ducks in a row. 

And I realize there’s a fine line between helping such folks and only 
prolonging their mistaken situation. :-) You’re using “tough love”. Fair enough.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Andrew Scott
Sent: Tuesday, August 18, 2015 1:06 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

ColdFusion 8 is no longer supported.

 

The differences you're experiencing would be due to the major changes, fixes 
and enhancements that ColdFusion has had since ColdFusion 8.

 

I suggest upgrading to ColdFusion 11.




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:    
http://plus.google.com/113032480415921517411

 

 

On Tue, Aug 18, 2015 at 2:41 PM, Xiaofeng Liu  wrote:

Thanks for the thoughts Charlie.

 

Below is the code I used to produce the PDF. Basically what I'm doing is using 
CSS absolute positioning to define A4 page with 4x2 labels on it. Then use 
cfdocument to convert the HTML into PDF.

 

The PDFs produced are quite different in CF10 and CF8.

The margins of the borders are a bit different and also the font size rendered 
in CF8 is much bigger.

 

Can anyone who still got CF8 try the code below and if you can share some 
findings/thoughts that will be great?

 



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

2015-08-18 Thread Charlie Arehart
Thanks for sharing it. Hope it may help someone to run it for you on CF8.

In the meantime, did you have any thoughts on my observation about the 
CFIDE/cfscripts folder? What you could do, at a minimum, is confirm if you can 
browse a file (any file) deep within that directory. If you cannot, then if CF 
creates HTML code that calls back to that, then such code would fail also and 
may affect CFDOCUMENT. Again, I don’t know for sure. Just something to consider 
while you await anyone testing that code on 8, if they may.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, August 17, 2015 11:42 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

Thanks for the thoughts Charlie.

 

Below is the code I used to produce the PDF. Basically what I'm doing is using 
CSS absolute positioning to define A4 page with 4x2 labels on it. Then use 
cfdocument to convert the HTML into PDF.

 

The PDFs produced are quite different in CF10 and CF8.

The margins of the borders are a bit different and also the font size rendered 
in CF8 is much bigger.

 

Can anyone who still got CF8 try the code below and if you can share some 
findings/thoughts that will be great?

 



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Looking for Cold Fusion and MAK2 Framework Developer

2015-08-18 Thread Charlie Arehart
Omer, some thoughts which may help you…

Do you mean perhaps, “Mach ii”? That was a popular CFML framework for several 
years. I can appreciate that if you only heard its name spoken, you could think 
it was spelled “MAK2”. Just offering that if it may help you find more info (or 
people) to help with it.

 

Also, you say you want to “upgrade Cold Fusion and redevelop existing MAK2 
framework code”. Do you mean you want to move the code away from that 
framework? Or just that you want to modify it while continuing to use it? 
Either would call for someone who does understand the framework, at least its 
use. 

I’ll assume that you do NOT mean (by “redevelop existing framework code”) that 
you mean to modify the framework itself, right? That would take considerably 
more advanced skills.

I will note that if you are moving from CF6 to CF11 (the latest supported 
edition), that is quite a leap. You’ll also want someone with enough experience 
to guide you through that transition, even if you just wanted to have the 
current code run in the new environment, let alone make modifications to that 
code.

Hope that’s helpful.

 

/charlie

PS Someone may want to point out to you also that CF is spelled without a 
space. That could also help you to know as you seek help, search for resources, 
etc.

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Omer Yafai
Sent: Monday, August 17, 2015 10:26 PM
To: cfaussie
Subject: [cfaussie] Looking for Cold Fusion and MAK2 Framework Developer

 

Hi,

 

We have a internal company portal implemented using Cold Fusion 6.1.0.0 version 
which is running off SQL 2000 with 2003 R2 OS. The code has been implemented 
using MAK2 framework. 

 

We are currently looking to upgrade Cold Fusion and redevelop existing MAK2 
framework code to refine our internal portal, as we would like to make changes 
to it. 

 

We are located in Sydney CBD. If anyone can assist us with this then please 
reply to this post.

 

Regards

Omer

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Installing CF11 on 64-bit Windows 2003R2 with IIS 6

2015-08-17 Thread Charlie Arehart
Xiaofeng, did you ever resolve your other issue below?

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Sunday, August 09, 2015 7:22 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Installing CF11 on 64-bit Windows 2003R2 with IIS 6

 

Thanks Charlie. Definitely wants to try this out there.

 

On Sun, Aug 9, 2015 at 11:08 AM, Charlie Arehart  
wrote:

Another nice option to consider (for quickly and inexpensively spinning up 
preconfigured Windows instances) is a service call vaasnet.com. You could have 
an instance of 2k3 with IIS6 up in less than a minute, and then install CF 11 
to find out how it would go. I suspect it will be fine. The cost? A dollar for 
an hour. Really amazing, and something I wish more people knew about. Doing my 
part here. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Ricardo Russon
Sent: Saturday, August 08, 2015 5:56 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Installing CF11 on 64-bit Windows 2003R2 with IIS 6

 

Azure offers a free trial. 

 

Maybe run up an instance on there? 

 

You can even migrate your current server over : 
http://fabriccontroller.net/blog/posts/migrating-your-windows-server-2003-workloads-to-microsoft-azure/

 

On Sat, Aug 8, 2015 at 5:43 PM, Xiaofeng Liu  wrote:

That will be ideal. But I don't have a server running Windows 2003 to try it 
out. 

My local win7 laptop runs CF11 but it's with Apache. 

 

-- 

You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.





 

-- 

Best regards,

Xiaofeng,^_^

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

2015-08-17 Thread Charlie Arehart
Xiaofeng, that update you mention (that you have) is not “your latest update”, 
and it doesn’t list “all your updates”. It just lists one random update you 
have. To find out what updates you DO have, including whether you have the one 
for cfdocument, check out this blog post:

http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfixes_have_been_applied


Then if you don’t have the hotfix needed, give a shot and see if that fixed 
your problem (restart CF after putting it in place, of course).

If you do already have it, or you add it (and restart CF) and it doesn’t help, 
here are a couple of thoughts:

- first, you may find that you’re simply benefiting (in CF10) from some 
improvements to CFDOCUMENT, which you may not get in CF8.
- second, you may be suffering a problem due to something related to the CFIDE 
folder (especially CFIDE/scripts). CFDocument may well use that to do its work, 
and perhaps you have some or all of CFIDE blocked or not updated properly in 
CF8 (one could apply a “needed” hotfix to CF8, but do it wrong, and have issues 
in the CFIDE folder that affect operations of various sorts).

If you have a simple example you can offer (including what its output looks 
like when wrong and when right), then perhaps others (still with CF8) can run 
it and tell you if it looks “wrong” for them.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Xiaofeng Liu
Sent: Monday, August 17, 2015 2:20 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] cfdocument issue in CF8 - create PDF out of HTML

 

Hi everyone,

 

I have some code to create PDF out of HTML by using cfdocument.

 

It works perfect in CF10 however when I deploy to an old server running 
ColdFusion 8, the PDF generated is quite different. It looks like when 
cfdocument converts HTML to PDF, the CSS associated with it did not get 
converted correctly.

 

If I just commented out the openning and closing cfdocument tags and render it 
as HTML, I can see it got rendered the same on the CF8 and CF10 servers. So I 
believe this is a cfdocument issue due to the differences between the two 
servers.

 

I noticed that there is a CF8 hotfix for cfdocument.

My current server is on version 8,0,1,195765 with update level hf801-71557.jar.

I am just wondering has anyone got this hotfix applied and what should be the 
update level after applied the cfdocument hotfix? I'm trying to figure out has 
my CF8 server actually been patched with the correct hotfix to fix the 
cfdocument issue or not.

 

Any help will be much appreciated. 

 

Thanks,

Xiaofeng

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-14 Thread Charlie Arehart
Thanks very much for the kind regards, and understood on the other priorities. 

I really think you’ll find this will work, so hopefully you will be reporting 
good news when you get to try things. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Friday, August 14, 2015 9:57 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

G'day Charlie,And the others following this thread..

 

I've been distracted away with more pressing matters relating to my domain name 
registry so I havent done anything with the upgrade of my laptop to Windows 10. 
I will need to get back to it, because I still have 3 more machines 
upgrade,  or not.   And the decision what to do about those machines is 
dependent on the outcome of this project - How do i get this laptop upgraded to 
WIndows10 with ColdFusion running. 

 

Currently its in the state of having Windows10 installed,  and everything 
except ColdFusion running happily.  

 

I'll hopefully get back to working on this during next week.   And I'll keep 
you posted on what happens.   Good or bad.  

 

Thank you Charlie for following up and staying across the issues.  You've been 
a great help to CFers for a long time, and so you continue to be now.  

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-14 Thread Charlie Arehart
Hey Mike, any thoughts on this? (I saw your question on icann today, so I 
realize you may have more urgent priorities, but I just want to make sure you 
did see this and know you can get it working, pretty easily.)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Wednesday, August 12, 2015 3:10 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

OK, here finally is what you can do, Mike (or anyone interested) to get things 
running.

I mentioned below that the “fusionator” blog post had talked about the process, 
and the key is that he suggests you extract the ColdFusion installer exe (yep, 
it is basically a zip, as an exe), and then he mentions “replacing the JRE” 
that comes with that with a more updated one (which does support Windows 8 or 
10, such as Java 8 or perhaps later editions of Java 7).  He doesn’t say 
anything more than that (about that process), so I assume he really meant 
“copy/paste” the JRE folder from an updated JVM to that folder in the 
extraction of the exe. (He also doesn’t give details about “what” JVM should be 
used. I will, below.)

While you can do that, you don’t really have to. 

That same extracted folder (mine was 
C:\Users\charlie\Downloads\ColdFusion_9_WWEJ_win64\) will also have a \Windows 
folder, and in there will be a adobe_cf.lax, which is somewhat like CF’s 
jvm.config, as it’s a property file of JVM args for the installer. In that 
file, there will be a line:

lax.nl.current.vm=resource\\jre\\bin\\java.exe

This is what points the installer to the JVM that’s included with the installer 
itself (and it’s that JVM which doesn’t work on Windows 10 or 8.1). But my 
point is that you can just change that to point to an “updated” JRE\JVM path 
that you can obtain. 

But here’s a catch: as I review that lax file, it seems clear that it expects a 
32-bit JVM (even if the CF you are installing is 64-bit). Again, this is just 
about the JVM for the *INSTALLER*, and so it must bundle (inside that exe) a 
32-bit jvm. So if we are going to point it at another, then we need that to be 
a 32-bit JVM. 

I did it by pointing at a 32-bit Java 8 JDK that I got (at 
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).
 I could have gotten a JRE instead, but I tend to just always get JDKs. I 
really don’t think it matters in this case. But it HAS TO BE 32-bit, or the 
next steps will not work.  When I installed that JDK, it installed to 
C:\Program Files (x86)\Java\jdk1.8.0_51, and THAT is where I needed to point 
the lax file (coming up). The “program files (x86) tells you that it was a 
32-bit JVM. (Something that one may miss: when you’re running the installer for 
Java, there is a screen with various options you can choose, one of which is 
whether to install it as a “public jre”.  There are good reasons to tend to 
favor NOT doing that, which is what I always do, and if you do that, then this 
path I point to is where it will be installed, by default. 

So with that in place, I changed the line in the lax file to:

lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jdk1.8.0_51\\bin\\java.exe

Note the use of double-slashes. This is just a necessary hassle with Java on 
Windows. (And while it could point to the jre\bin, within the JDK folder, it 
was not necessary.)

Finally, as “the fusionator” goes on to say in his post, you then do also want 
to right-click the installer exe (in that extracted folder), adobe_cf.exe, and 
enable windows 7 compatibility. (Otherwise, the installer will start but then 
complain that “installer user interface mode not supported”.)  Then you run 
that adobe_cf.exe (not needing it to be run “as admin”, in my testing). 

Once I did all this, the CF9 installer now did launch.

So no, my approach (of editing the lax file) is not necessarily fewer steps 
than “the fusionator”’s approach of “just copying/replacing the JRE folders”, 
but it seems a bit safer in case something goes amiss. It’s easier to undo and 
try again, which I needed to do for various reasons in getting this all 
working. 

So Mike, there you go. With either what the fusionator shared (and my 
additional info about the “right” JVM to get), and copy/pasting over the JRE 
that comes with the installer, or with my tweak here to just edit the lax file 
to point to it elsewhere, you should be able to get the CF9 installer running 
on Windows 10.

Let us know how you get on, if you try it. (And again, let’s not lament, “why 
does Adobe make it so difficult?” Again, this CF9 installer was created in 
2012, before Windows 10 came out. And they DID add support for Windows 8 in an 
update of CF10 and in CF11 out of the box. I’m sure we’ll see an update for 
CF11 to support Windows 10, and maybe CF10, and certainly CF12 will support it 
out of the box.) And before saying “Lucee or Railo don’t have this problem”, be 
sure you’re looking at an installer of theirs

RE: [cfaussie] CF and Windows 10 and IIS

2015-08-12 Thread Charlie Arehart
Well, yes, I had set that yesterday. :-)

I didn’t think I needed to repeat it here, as it was the last sentence of the 
note which I responded to, with this later note being its follow up. Indeed, 
there I was repeating it from the note before THAT one that I’d been following 
up. I thought saying it a third time might be redundant. :-) But in case you 
missed it (lots of words, to explain a challenging issue), I’ll repeat it here:


“(Just remember what I said in my last note just now, about your needing to do 
a manual update to the IIS connector.)”

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Andrew Scott
Sent: Wednesday, August 12, 2015 3:37 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Except that the installer will not finish the installation correctly, because 
the connectors will never get setup correctly. As they will not run on Windows 
8 or above.

 

But if you know how to manually set them up, all will be good.

 




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:   <http://plus.google.com/113032480415921517411> 
http://plus.google.com/113032480415921517411

 

 

On Wed, Aug 12, 2015 at 5:09 PM, Charlie Arehart  
wrote:

OK, here finally is what you can do, Mike (or anyone interested) to get things 
running.

I mentioned below that the “fusionator” blog post had talked about the process, 
and the key is that he suggests you extract the ColdFusion installer exe (yep, 
it is basically a zip, as an exe), and then he mentions “replacing the JRE” 
that comes with that with a more updated one (which does support Windows 8 or 
10, such as Java 8 or perhaps later editions of Java 7).  He doesn’t say 
anything more than that (about that process), so I assume he really meant 
“copy/paste” the JRE folder from an updated JVM to that folder in the 
extraction of the exe. (He also doesn’t give details about “what” JVM should be 
used. I will, below.)

While you can do that, you don’t really have to. 

That same extracted folder (mine was 
C:\Users\charlie\Downloads\ColdFusion_9_WWEJ_win64\) will also have a \Windows 
folder, and in there will be a adobe_cf.lax, which is somewhat like CF’s 
jvm.config, as it’s a property file of 



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Cannot connect cfadmin datasourse to my latest sql database ???

2015-08-12 Thread Charlie Arehart
Was that in addition to or instead of using the SP I’d shared? Just curious, 
for posterity. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, August 12, 2015 8:49 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Cannot connect cfadmin datasourse to my latest sql 
database ???

 

Just letting you know Charlie and Andrew its all sorted 

 

I needed to set the user as a dbo

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-12 Thread Charlie Arehart
Claude, I’m confused. This is your first time chiming into this thread (about 
CF and Windows 10), that I can see at least.

So are you saying that your database restore and SQL Server issues are on a 
Windows 10 machine? 

I realize you wrote later that all was sorted, but I’m just curious whether you 
really meant to be asking your question in this thread (and you are trying to 
use CF on Windows 10) or that was just a slip?

Really looking forward to hearing Mike, if it may have helped him, or anyone 
else who may have been able to/interested in testing the solution I’d offered. 
I’d like to blog about it, after ensuring there’s nothing I’ve missed or left 
out here.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, August 12, 2015 6:13 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

Hi Charlie

 

Thanks for your suggestion and reference material

 

Regrettably despite trying them I am still no further along

 

Is there a way I can simply re backup the original database making sure I 
select the correct options so that when I restore it on the new server the new 
server credentials are automatically applied ???

 

Claude

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Wednesday, 12 August 2015 5:10 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

OK, here finally is what you can do, Mike (or anyone interested) to get things 
running.

I mentioned below that the “fusionator” blog post had talked about the process, 
and the key is that he suggests you extract the ColdFusion installer exe (yep, 
it is basically a zip, as an exe), and then he mentions “replacing the JRE” 
that comes with that with a more updated one (which does support Windows 8 or 
10, such as Java 8 or perhaps later editions of Java 7).  He doesn’t say 
anything more than that (about that process), so I assume he really meant 
“copy/paste” the JRE folder from an updated JVM to that folder in the 
extraction of the exe. (He also doesn’t give details about “what” JVM should be 
used. I will, below.)

While you can do that, you don’t really have to. 

That same extracted folder (mine was 
C:\Users\charlie\Downloads\ColdFusion_9_WWEJ_win64\) will also have a \Windows 
folder, and in there will be a adobe_cf.lax, which is somewhat like CF’s 
jvm.config, as it’s a property file of 



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-12 Thread Charlie Arehart
OK, here finally is what you can do, Mike (or anyone interested) to get things 
running.

I mentioned below that the “fusionator” blog post had talked about the process, 
and the key is that he suggests you extract the ColdFusion installer exe (yep, 
it is basically a zip, as an exe), and then he mentions “replacing the JRE” 
that comes with that with a more updated one (which does support Windows 8 or 
10, such as Java 8 or perhaps later editions of Java 7).  He doesn’t say 
anything more than that (about that process), so I assume he really meant 
“copy/paste” the JRE folder from an updated JVM to that folder in the 
extraction of the exe. (He also doesn’t give details about “what” JVM should be 
used. I will, below.)

While you can do that, you don’t really have to. 

That same extracted folder (mine was 
C:\Users\charlie\Downloads\ColdFusion_9_WWEJ_win64\) will also have a \Windows 
folder, and in there will be a adobe_cf.lax, which is somewhat like CF’s 
jvm.config, as it’s a property file of JVM args for the installer. In that 
file, there will be a line:

lax.nl.current.vm=resource\\jre\\bin\\java.exe

This is what points the installer to the JVM that’s included with the installer 
itself (and it’s that JVM which doesn’t work on Windows 10 or 8.1). But my 
point is that you can just change that to point to an “updated” JRE\JVM path 
that you can obtain. 

But here’s a catch: as I review that lax file, it seems clear that it expects a 
32-bit JVM (even if the CF you are installing is 64-bit). Again, this is just 
about the JVM for the *INSTALLER*, and so it must bundle (inside that exe) a 
32-bit jvm. So if we are going to point it at another, then we need that to be 
a 32-bit JVM. 

I did it by pointing at a 32-bit Java 8 JDK that I got (at 
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).
 I could have gotten a JRE instead, but I tend to just always get JDKs. I 
really don’t think it matters in this case. But it HAS TO BE 32-bit, or the 
next steps will not work.  When I installed that JDK, it installed to 
C:\Program Files (x86)\Java\jdk1.8.0_51, and THAT is where I needed to point 
the lax file (coming up). The “program files (x86) tells you that it was a 
32-bit JVM. (Something that one may miss: when you’re running the installer for 
Java, there is a screen with various options you can choose, one of which is 
whether to install it as a “public jre”.  There are good reasons to tend to 
favor NOT doing that, which is what I always do, and if you do that, then this 
path I point to is where it will be installed, by default. 

So with that in place, I changed the line in the lax file to:

lax.nl.current.vm=C:\\Program Files (x86)\\Java\\jdk1.8.0_51\\bin\\java.exe

Note the use of double-slashes. This is just a necessary hassle with Java on 
Windows. (And while it could point to the jre\bin, within the JDK folder, it 
was not necessary.)

Finally, as “the fusionator” goes on to say in his post, you then do also want 
to right-click the installer exe (in that extracted folder), adobe_cf.exe, and 
enable windows 7 compatibility. (Otherwise, the installer will start but then 
complain that “installer user interface mode not supported”.)  Then you run 
that adobe_cf.exe (not needing it to be run “as admin”, in my testing). 

Once I did all this, the CF9 installer now did launch.

So no, my approach (of editing the lax file) is not necessarily fewer steps 
than “the fusionator”’s approach of “just copying/replacing the JRE folders”, 
but it seems a bit safer in case something goes amiss. It’s easier to undo and 
try again, which I needed to do for various reasons in getting this all 
working. 

So Mike, there you go. With either what the fusionator shared (and my 
additional info about the “right” JVM to get), and copy/pasting over the JRE 
that comes with the installer, or with my tweak here to just edit the lax file 
to point to it elsewhere, you should be able to get the CF9 installer running 
on Windows 10.

Let us know how you get on, if you try it. (And again, let’s not lament, “why 
does Adobe make it so difficult?” Again, this CF9 installer was created in 
2012, before Windows 10 came out. And they DID add support for Windows 8 in an 
update of CF10 and in CF11 out of the box. I’m sure we’ll see an update for 
CF11 to support Windows 10, and maybe CF10, and certainly CF12 will support it 
out of the box.) And before saying “Lucee or Railo don’t have this problem”, be 
sure you’re looking at an installer of theirs from 2012 or before, or it’s just 
not an apples-to-apples comparison.

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Tuesday, August 11, 2015 6:38 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

OK, I had some time earlier to do some digging. First, I can confirm that I got 
the same error (offered by Mike with CF9 on Windows 10 when

RE: [cfaussie] Cannot connect cfadmin datasourse to my latest sql database ???

2015-08-11 Thread Charlie Arehart
Hey Claude, here’s good news: what has happened to you is not at all uncommon, 
and there is a solution. It’s just not at all obvious. 

While you’re right that the backup and restore has created the “same” database 
with the “same” users on the new machine, the fact is that to SQL Server, they 
are not “the same” users. There’s an essence of the identity which is NOT 
equal, even though the usernames and passwords are the same, and that’s why CF 
(or anything, really) can’t login using the “same credentials”

So what you can do is run a script (a system storedproc) that fixes that, 
called sp_change_users_login. It has a few variations. All you need is one 
form. Here’s a simple walkthru of using it:

http://dbadiaries.com/using-sp_change_users_login-to-fix-sql-server-orphaned-users

This has a nice visual layout but doesn’t really focus on the “why” you need to 
do this (the issue I discuss above). For that, you could see this explanation:

http://tim-stanley.com/post/how-to-restore-a-sql-user-after-a-sql-database-restore/
 

Or see this MS document, which also explains it and then offers this 
sp_Change_users_login as one of a few alternative solutions you could consider 
for this situation:

https://support.microsoft.com/en-us/kb/168001


But let’s see what else Andrew may have had to offer as well.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Samaris
Sent: Tuesday, August 11, 2015 10:46 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Cannot connect cfadmin datasourse to my latest sql 
database ???

 

What option are you referring to ?? I am able to re do the backup from the 
other server again so what options do i need to select to ensure when I restore 
on the new sever the new servers credentials are applied to the database I have 
restored from the old server 

Claude Raiola

SAMARIS Software

www.SAMARIS.net

1300 255 990

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-11 Thread Charlie Arehart
OK, I had some time earlier to do some digging. First, I can confirm that I got 
the same error (offered by Mike with CF9 on Windows 10 when installing CF9 on 
Windows 8.1. So it’s not really new to 10. But there is an explanation, and a 
solution (one, though I hope to find another).

I found someone confirming this same problem in 2012, in a forum thread at 
https://forums.adobe.com/thread/1051315, and there someone offers a link to a 
blog post from someone else back then who (as I suspected) indicates that it’s 
about the JVM used by the installer. He suggests replacing the JRE within an 
extracted version of the CF installer 
(http://thefusionator.com/the-trifecta.html), and I have no doubt it would work 
but it seems obtuse. If there was a simpler solution, I’d love to find and 
share it.

Again, to be clear, all this indicates that the problem is not about CF, per 
se, but about the installer which it uses (InstallAnywhere), and specifically 
the version which was embedded with CF when they built these CF9 installers a 
few years ago. (Adobe DID update the installers for CF10 and 11, of course, to 
run on Windows 8.1, and if the pattern follows, they may come out with a new 
installer for 11 that supports Windows 10, and surely CF12 will.) And it’s not 
just happening to people on Windows 8 but also Server 2012 (which is basically 
the server version of Windows 8).

In the meantime, looking for more on this problem, we do indeed find many folks 
(who are not using CF but other apps, which use that older installer software) 
complaining of the same thing.  As I look into such solutions, some have 
suggested things which did not work for me:
- Some suggest running the installer “as admin”, which Mike already said didn’t 
work for him. I got the same error as running without it. 
- Some have suggested modifying the compatibility property for the installer 
(right-click, choose properties, then “compatibility”) to set it to Windows 7. 
I did that, but while it the installer starts, it never finishes. It just 
quietly goes away (the UI disappears, along with the listed process in task 
manager).

I do hope there may be some better way to solve this than the hack offered 
above, and I’ll keep looking, but in the meantime it may help you, Mike. (Just 
remember what I said in my last note just now, about your needing to do a 
manual update to the IIS connector.)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Tuesday, August 11, 2015 9:41 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

Mike, I’m catching up on the past several messages from my overnight. So bummer 
about what’s happened. (And let me be clear: I had only said I had run my CF11 
on Windows 10, not CF9. The rest of my earlier thoughts were focused on why 
CF9.0 would not work by default with IIS7.)

So as for your challenge, one of Andrew’s ideas is interesting, about having 
Win7 first, to do the install of CF9, and THEN upgrading Windows. But that’s a 
hassle, of course, as you have already upgraded Windows. And using VM’s is 
certainly another way to go, but again may be overkill for your immediate need.

So back to the root cause problem, Andrew and Paul propose that it could be 
that CF9 would not install on Windows 8, let alone 10. I’d think if that was 
so, we’d have heard about that from others for the past couple of years, but I 
have not (but it may be I have just missed the news). 

I wonder if there may be something else about your setup that’s unique. I can’t 
think of an alternative off the top of my head. I’d like to try running that 
902 installer on my own Win 8.1 (and 10) setup, but can’t do that for another 
couple of hours. If anyone else shares any experience/confirmation (past or 
present), it could be interesting to hear.

I’m just not so ready to give up on your hope yet. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Tuesday, August 11, 2015 8:44 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Andrew (Scott)  thanks for your input.Incisive as always.   

 

I had a WIndows7 machine.With ColdFusion 9 Enterprise.  That's my dev 
environment at the moment. I upgraded windows to WIn10 Home  and Apache 
didnt work.  That's where this whole thread started. And I havent found a 
way out of it yet, apart from moving CF up to CF11. 

 

As it turns out,   ColdFusion 9 might run on any version of windows,  but 
however its bloody well not running on my WIndows10 Home machine.  It wont even 
run the installer. 

 

I have 4 machines to deal with. The machine I'm working on at present is 
the one i rarely use, but having any of the others out of action for more than 
a day would be a big problem.  So i need to figure out what my strategy is 
going to be before I even start on those ones.   

 

-- 

C

RE: [cfaussie] CF and Windows 10 and IIS

2015-08-11 Thread Charlie Arehart
Doh, I have to “call BS” on myself. :-( When I said below I had run the 
wsconfig tool to update the connector, and it had worked. I spoke too soon 
(before sending off the email, as I was right up against another call).

Curiously, while I was indeed able to REMOVE the existing connector (with the 
CF11 wsconfig tool, running as Admin, on Windows 10), and I was able to start 
the process of adding the connector back (still running as Admin), I should 
have waited just another moment before sending the email.

Like others, I’m sure, I got a popup from it saying that while it supported IIS 
4, 5, 6, 7, and 8, it did not support 10. So the tool is checking the IIS 
version and deciding whether to proceed.

And that would then be why Adobe offered the blog entry (which Peter had 
pointed to) showing how to do it manually. And of course, one can do it 
manually, pretty easily. So to be clear, again, one CAN run CF11 (and I assume 
CF10) on Windows 10, and the IIS connector will work, as long as you don’t have 
to update it (remove/re-add it), as may be required in later CF updates. If you 
do need to update the connector, then you have to use the manual steps.

Now, this may seem to have gotten off-track from what Mike had originally 
raised: getting CF9 to run on Windows 10. The first challenge is getting the CF 
installer itself to work on Windows 10 (possible, but not trivial), then the 
second is getting the connector tool to work on it (not likely). You will 
likely find, Mike, that you’d get5 the same error I did, above. And while you 
can’t follow the exact steps Adobe offere3d in the blog post to get the 
connector working manually, you should be able to use it as a template, if 
you’re familiar with how the CF9 (and earlier) wsconfig tool edited IIS. Again, 
pretty easy to do. Someone ought to do a blog post about it at some point. ;-}

I’m working on more details for getting the CF9 installer to work on Windows 
10. In the meantime, there’s a hack way that was also needed for CF9 to run 
even on Windows 8. I’ll share that in a  follow-up note coming next.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Tuesday, August 11, 2015 2:23 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF and Windows 10 and IIS

 

Well, no, I did not. There are couple points to consider (for any interested in 
his question and my answer).

First, note that I had said that mine was a machine that was already running 
CF11, on Windows 8.1, which I upgraded to Windows 10. I was only saying (all 
along) that it’s definitely not that CF10 “can’t run on Windows 10”, as some 
were saying (perhaps just being lose with what they meant).

Second, there may well be issues either with the connectors, for some people, 
which I acknowledged the first day, saying:

“And if you visit the Adobe blog post (which Peter pointed to), there’s a 
discussion of that (which I initiated last night). The post is 
http://blogs.coldfusion.com/post.cfm/configuring-connectors-manually-for-iis-10)
 where they offer the steps for how to get an aspect of CF 10/11 to work with 
IIS on Windows 10 (which I did NOT need to do to get CF 11 running ok on 
Windows 10).”


Third, andn to that, someone may say, “ok, but that’s only if you have things 
configured BEFORE you update to Windows 10. You can’t update the connectors 
once RUNNING Windows 10, can you?”

Well the answer (just tested) is “yes I can”. That also is why I said, in other 
notes in this thread, that while that Adobe forum post seems to be needed for 
SOME people running on Windows 10, it was not needed for me.

So fourth, maybe there is something where if you INSTALL CF10 or 11 on Windows 
10 and THEN try to run the wsconfig tool, some may have a problem. Again, I 
already had CF11 installed when I updated from Windows 8.1 to Windows 11.

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Andrew Scott
Sent: Tuesday, August 11, 2015 1:02 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Charlie,

 

How did you get past the connectors not supporting Windows 10? I am guessing 
you did that manually then.




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:   <http://plus.google.com/113032480415921517411> 
http://plus.google.com/113032480415921517411

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-11 Thread Charlie Arehart
Well, no, I did not. There are couple points to consider (for any interested in 
his question and my answer).

First, note that I had said that mine was a machine that was already running 
CF11, on Windows 8.1, which I upgraded to Windows 10. I was only saying (all 
along) that it’s definitely not that CF10 “can’t run on Windows 10”, as some 
were saying (perhaps just being lose with what they meant).

Second, there may well be issues either with the connectors, for some people, 
which I acknowledged the first day, saying:

“And if you visit the Adobe blog post (which Peter pointed to), there’s a 
discussion of that (which I initiated last night). The post is 
http://blogs.coldfusion.com/post.cfm/configuring-connectors-manually-for-iis-10)
 where they offer the steps for how to get an aspect of CF 10/11 to work with 
IIS on Windows 10 (which I did NOT need to do to get CF 11 running ok on 
Windows 10).”


Third, andn to that, someone may say, “ok, but that’s only if you have things 
configured BEFORE you update to Windows 10. You can’t update the connectors 
once RUNNING Windows 10, can you?”

Well the answer (just tested) is “yes I can”. That also is why I said, in other 
notes in this thread, that while that Adobe forum post seems to be needed for 
SOME people running on Windows 10, it was not needed for me.

So fourth, maybe there is something where if you INSTALL CF10 or 11 on Windows 
10 and THEN try to run the wsconfig tool, some may have a problem. Again, I 
already had CF11 installed when I updated from Windows 8.1 to Windows 11.

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Andrew Scott
Sent: Tuesday, August 11, 2015 1:02 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Charlie,

 

How did you get past the connectors not supporting Windows 10? I am guessing 
you did that manually then.




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:   <http://plus.google.com/113032480415921517411> 
http://plus.google.com/113032480415921517411

 

 

On Tue, Aug 11, 2015 at 11:40 PM, Charlie Arehart  
wrote:

Mike, I’m catching up on the past several messages from my overnight. So bummer 
about what’s happened. (And let me be clear: I had only said I had run my CF11 
on Windows 10, not CF9. The rest of my earlier thoughts were focused on why 
CF9.0 would not work by default with IIS7.)

So as for your challenge, one of Andrew’s ideas is interesting, about having 
Win7 first, to do the install of CF9, and THEN upgrading Windows. But that’s a 
hassle, of course, as you have already upgraded Windows. And using VM’s is 
certainly another way to go, but again may be overkill for your immediate need.

So back to the root cause problem, Andrew and Paul propose that it could be 
that CF9 would not install on Windows 8, let alone 10. I’d think if that was 
so, we’d have heard about that from others for the past couple of years, but I 
have not (but it may be I have just missed the news). 

I wonder if there may be something else about your setup that’s unique. I can’t 
think of an alternative off the top of my head. I’d like to try running that 
902 installer on my own Win 8.1 (and 10) setup, but can’t do that for another 
couple of hours. If anyone else shares any experience/confirmation (past or 
present), it could be interesting to hear.

I’m just not so ready to give up on your hope yet. :-)

/Charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-11 Thread Charlie Arehart
Mike, I’m catching up on the past several messages from my overnight. So bummer 
about what’s happened. (And let me be clear: I had only said I had run my CF11 
on Windows 10, not CF9. The rest of my earlier thoughts were focused on why 
CF9.0 would not work by default with IIS7.)

So as for your challenge, one of Andrew’s ideas is interesting, about having 
Win7 first, to do the install of CF9, and THEN upgrading Windows. But that’s a 
hassle, of course, as you have already upgraded Windows. And using VM’s is 
certainly another way to go, but again may be overkill for your immediate need.

So back to the root cause problem, Andrew and Paul propose that it could be 
that CF9 would not install on Windows 8, let alone 10. I’d think if that was 
so, we’d have heard about that from others for the past couple of years, but I 
have not (but it may be I have just missed the news). 

I wonder if there may be something else about your setup that’s unique. I can’t 
think of an alternative off the top of my head. I’d like to try running that 
902 installer on my own Win 8.1 (and 10) setup, but can’t do that for another 
couple of hours. If anyone else shares any experience/confirmation (past or 
present), it could be interesting to hear.

I’m just not so ready to give up on your hope yet. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Tuesday, August 11, 2015 8:44 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Andrew (Scott)  thanks for your input.Incisive as always.   

 

I had a WIndows7 machine.With ColdFusion 9 Enterprise.  That's my dev 
environment at the moment. I upgraded windows to WIn10 Home  and Apache 
didnt work.  That's where this whole thread started. And I havent found a 
way out of it yet, apart from moving CF up to CF11. 

 

As it turns out,   ColdFusion 9 might run on any version of windows,  but 
however its bloody well not running on my WIndows10 Home machine.  It wont even 
run the installer. 

 

I have 4 machines to deal with. The machine I'm working on at present is 
the one i rarely use, but having any of the others out of action for more than 
a day would be a big problem.  So i need to figure out what my strategy is 
going to be before I even start on those ones.   

 

-- 

Cheers
Mike Kear



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-10 Thread Charlie Arehart
Thanks for the update and the kind regards, Mike. 

One thing: you say you’ll “download the CF9 updater” because “removal of Verity 
doesn’t affect you”, but I want to make clear again that 902 is NOT AN UPDATER. 
You will need to uninstall your 9.0 or 9.0.1 install before proceeding. More on 
it at 
http://www.carehart.org/blog/client/index.cfm/2013/8/19/understanding_ColdFusion_9.0.2_a_FAQ.
  Just want to be clear on what it is, and is not.

Indeed, as for my thinking ahead to provide that download repo link you needed, 
I’ll just note that there’s a fine line between my “reading folks minds” in 
offering such extra detail, and being counted a “tall poppy”, but it’s a line I 
feel I need to walk. :-)

I saw your next note where you had trouble getting it at the download repo. 
Will reply to that separately.

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Monday, August 10, 2015 12:15 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Charlie,  I think you've put your finger right on the issue.   I dont know for 
sure till i go check,  but I'll bet I havent updated my CF9 that far, certainly 
not on this laptop that I rarely use.  I'll do that and see if that fixes 
the problem.

 

And just as i was thinking to myself  "that's all very well but I get you can't 
get that downloader any more",  there you had a link in your email!!It was 
like you were reading my mind! 

 

I'll download the CF9 updater,  install it and see if that allows the connector 
to work ok.  Removal of Verity doesnt affect me because I dont use it. 
I would prefer to stay with CF9 at this stage, so my feature set on my dev 
environment matches the production server, but if it proves I need to update, 
then that's what I'll have to do.  

 

Thanks for your help, Charlie.   I'm most grateful. 

 

Cheers
Mike Kear

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-10 Thread Charlie Arehart
Mike, that’s very interesting. As I visit it now, it has all the installers. I 
think sometimes that copy.com interface (which underlies the current repo that 
Gavin has used for months) is quirky and sometimes shows blank when it’s just 
being slow to respond. To be clear, I am viewing the downloads right now for 
902. Here’s the link:

https://www.copy.com/s/t%3AnhIbHZYZnmPN%3Bp%3A%252FColdFusion%2520Repo/9.0.2%3Boid%3A381


I confirmed this worked on another browser in another machine, so it seems a 
portable/shareable link. One thing: it took about 12 seconds to come up on that 
other machine, to show the files. Gavin is aware that the copy.com service is 
not working well and he’s contemplating a new location for the repo. But that 
bit/ly/cfdownloads link should always take you to the page he uses to point to 
the repo, wherever it may end up.

Let us know if that gets you going,

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Monday, August 10, 2015 12:24 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Figures. This is the story of my life.   

The link to the repo Charlie gave me has DOZENS of folders containing DOZENS of 
versions of ColdFusion and documentation and CFBuilders and all that.   And 
one of the folders is empty.   Only one. Guess which one? 

 

Does anyone know where I can get the CF9.0.2 installer from please? 

 

Cheers

Mike Kear

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-09 Thread Charlie Arehart
Woah, woah. Slow your roll, Mike. :-) To you both, about CF not supporting 
Windows 10, well I did point that out in my last note. It is NOT yet supported. 

And if you visit the Adobe blog post (which Peter pointed to), there’s a 
discussion of that (which I initiated last night). The post is 
http://blogs.coldfusion.com/post.cfm/configuring-connectors-manually-for-iis-10)
 where they offer the steps for how to get an aspect of CF 10/11 to work with 
IIS on Windows 10 (which I did NOT need to do to get CF 11 running ok on 
Windows 10). And those interested will see there that I offered a comment there 
for Adobe asking (as I knew many would) when CF 10/11 would be updated to run 
on Windows 10? And I address the countervailing points of “well no one should 
run a new OS in production as soon as it comes out” vs “but developers need to 
be able to test against it as soon as it comes out”. We’ll see what they may 
say.

And Mike, you ask here “does this mean NO ONE is using ColdFusion and Windows 
10”, I said in my last post that I DO have it working myself ( but again, it’s 
not supported yet.)

Moving back to your problem, I hope my earlier not (just sent) helps with that. 
It’s 11pm my time, so I probably won’t see a reply until my tomorrow. 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Sunday, August 09, 2015 10:35 AM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

So does this mean NO ONE is using ColdFusion and Windows10??   I do hope 
Adobe have this issue fairly high on their list of things to fix.  

 

We'll see now,  just how important ColdFusion is to Adobe.  Maybe we'll 
prove whether or not the doomsayers who are predicting Adobe walking away from 
ColdFusion are right.  

 

How do the open course CFML engines work with Windows 10?

 

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com  

 

 

 

On Sun, Aug 9, 2015 at 2:09 PM, Andrew Scott  wrote:

lol,

 

While reading this I was in the middle of reinstalling ColdFusion 11 on a new 
PC running Windows 10, low and behold the latest download from Adobe says 
Windows 10 is not a supported OS

 

Go figure.

 

 




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:    
http://plus.google.com/113032480415921517411

 

 

On Sun, Aug 9, 2015 at 2:04 PM, Andrew Scott  wrote:

Hey Mike,

 

I can't vouch for ColdFusion 9, but I don't recall Adobe actually updating the 
installer to work on Windows 8+. What you are experiencing seems to point to 
that as an issue.

 

Now there is a known hack, but it is really use at your own risk, to extract 
the install files and install everything manually. The installer used prior to 
Windows 8, would have issues that you describe.

 

When using the connectors, these must be run elevated as well.

 

ColdFusion 10 and ColdFusion 11 as they both have the new updated installers, 
should work on Windows 10 as they do work on Windows 8. But I just can't vouch 
for ColdFusion 9, if it has these update installers or not.

 




Regards,

Andrew Scott

WebSite: http://www.andyscott.id.au/

Google+:    
http://plus.google.com/113032480415921517411

 

 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF and Windows 10 and IIS

2015-08-09 Thread Charlie Arehart
OK, Mike. This explains why things are not working for you. (And thanks for 
your kind regards.)

You’re saying that you had CF9 (which had been working on Windows 7 with 
Apache), that you are now trying to run with Windows 10 and IIS.  Can you 
confirm if the installer you’re using is an old one, like from several years 
ago? If so, that it likely installing 9.0, which did NOT support IIS 7 (which 
is what Windows 7/2008 added, and 8/2012 ran IIS 8 and 10 runs IIS 10).

Now, you may find blog posts and resources where people showed how to hack 9.0 
to get it to work with IIS 7 (just like now, there is this new post on hacking 
it, if needed, to get it to run with Windows 10/IIS 10).

But Adobe DID address this problem of CF 9 not running with IIS 7, in their 
update 9.0.1. But to be clear, that is an updater to 9.0. If you are installing 
an old 9.0 installer, that is NOT 9.0 out of the box. You have to install it, 
and NOT integrate with IIS,  and THEN install 9.0.1 over that, which then WOULD 
work with IIS 7.

Or, note that in 2012, when CF10 came out, Adobe released yet another CF9 
edition, called 9.0.2. That was a complete installer for 9 (not an updater, 
like 9.0.1). The main purpose of that release was to remove the Verity search 
engine (because CF10 removed, it, they had to—by license from Verity--also 
create a new installer for 9 that did not have Verity). That’s what 9.0.2 was. 
But it also incorporated, of course, all that had been in 9.0 and 9.0.1, which 
added the IIS 7 support.

So bottom line, if you were to go get the latest installer for 9 (again, 
9.0.2), then THAT would work with IIS 7 out of the box. (But again, 9.0.2 is a 
complete installer. You’d need to uninstall your 9.0 to proceed. 

Sadly, you can’t look at the installer file names to be able to tell whether 
it’s 9.0.0 or 9.0.2. That’s why I asked how long ago you’d gotten the installer 
you’re using. If you copied it from a machine where you had had CF9 running for 
years, then it’s likely 9.0, and THAT’s your problem. 

You need to get 9.0.2 (or add 9.0.1 to your 9.0), and THEN when it gets to the 
last step of the installer it SHOULD have no problem accessing IIS 7 (or IIS 
10, in the case of Windows 10). And if you find later for some reason that you 
need to run that web server config tool, note that  for IIS7 and above, you 
need to be sure to right-click on the tool (the web server config tool) and 
choose “run as administrator”. It’s just about increased security on Windows 
Vista and above.

Finally, you may ask “how do I get this magical 9.0.2 installer? because Adobe 
no longer lists installers for CF9”.  And that’s correct. Instead, one can get 
it via bit.ly/cfdownloads, a site created by Gavin Pickin and supported by 
myself and others to hold old installers for CF (from 11 down to CF4), and 
updaters, and hotfixes, and docs, and more.

So  Mike, let us know if you DID already get what you know is a 902 installer, 
and if you did not, go get it and try that, and let’s see if it all works for 
you. It would all make sense, if it did.

I have a few blog posts I can share addressing the various things above, but in 
the interest of time I’ll hold off finding and sharing them until someone asks. 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Saturday, August 08, 2015 10:55 PM
To: cfaussie
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

Charlie, I'm grateful to you for your willingness to step up, as always.  
You've been an asset to the community for a long time, and so it continues.  

 

All i wanted to do, was upgrade my windows.   I have 4 machines all running 
Windows 7  (one with Win7 ultimate,  2 with Win7 Pro,  and 1 with WIn7Home 
Premium. ) Being cautious ever since an awful experience with Windows95  
years ago,  I started with my WIn7Home Premium laptop, which I dont use very 
often.If it went pear-shaped on that machine it wouldn't be a big deal. 
  And i can take as long as I need to get it worked out before I need to 
upgrade all the other machines.  

 

So I upgraded the Windows on that laptop.  Went swimmingly.   Just as 
advertised.Took me a couple of hours to get a human to talk to me at 
Microsoft so I could find out how to get hold of the installer so I didnt have 
to download it all 4 times,   but finally i got what I needed.I 
upgraded my windows and started testing all the applications I had loaded on 
there. To my surprise everything worked.Just as they had previously,  
but with a better look.   And to my amazement,  the new Microsoft browser looks 
at first glance to be a fine piece of work. (But I have yet to give it a 
real good workout) And Bing is no better than it used to be. 

 

But when I went to check how my dev versions of my sites ran,   I came into 
problems.They are built on CF9 Enterprise. 

 

My Apache didnt run.Wouldn't start. I could have deb

RE: [cfaussie] CF and Windows 10 and IIS

2015-08-08 Thread Charlie Arehart
Peter, you mean *CF12* is in prerelease (not CF11, which has been out for over 
a year). And Peter you say “no joy getting CF10 to work with Win10”. What 
problem have you had? I upgraded a dev machine running CF11 (with IIS) to 
Windows 10, and I have seen no problem.

Mike, as for your efforts, you don’t say what version of CF you’re installing 
(only that you’re doing it on Windows 10, which to be clear is not formally 
supported yet by Adobe). I assume it’s CF10 or 11, since you refer to moving 
from CF9. 

Here’s a more pressing question: are you trying to install CF10 or 11 on the 
same machine that was running CF9? If so, and if it had been running CF with 
IIS, you would face challenges if you didn’t first remove the web server 
connector for IIS. But since you say you were using Apache, you may want to do 
that also (running the CF9 web server config tool). 

You also don’t say what the version of Windows (and IIS) was that you are 
moving from. It might be significant. Was it Windows 2003? Windows 7 or 2008? 
Windows 8 or 2012? Again, it could be significant to know if you are moving 
from one machine to another, or upgrading a machine in place (where CF had run 
before).

Now, you say later that you tried it and had problems. When you say you ran the 
web server config tool, is this after you had upgraded CF, or before? You refer 
to it as the “jrun” tool, so it sounds like the CF9 one. Was that in the hopes 
of removing the old connector? Do you still have CF9 installed? And running? If 
not, that could be why it’s hanging up.

Then you talk about uninstalling/reinstalling CF. Again, was that 9 or 10/11?

If time is of the essence and you don’t want to wait for back and forth (across 
timezones and datelines), I’ll note that if you wanted to have some direct help 
resolving this (remotely), I could help. See the consulting page at 
carehart.org for more info on rates, approach (no need to open firewall or 
grant me an account on your server), satisfaction guarantee, and more. 

Now, to folks who may get cranky at that “sales pitch”, please note that I have 
first offered AMPLE and substantive info above to try to help Mike here for 
free. I only point out the other option if it may be helpful for him, or anyone 
who finds themselves in a jam with a CF server troubleshooting problem. That’s 
all I do, all day, as an independent consultant, serving several different 
folks each week. But I do love to help for free on lists like this, forums, and 
so on, when I can.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Peter Tilbrook
Sent: Saturday, August 08, 2015 8:11 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF and Windows 10 and IIS

 

http://blogs.coldfusion.com/post.cfm/configuring-connectors-manually-for-iis-10

 

Have not tried this yet but hope it helps as so far no joy getting CF10 to work 
with Win10. Have not tried CF11 as that is still alpha.

​  

 

==

Peter Tilbrook



 

On 8 August 2015 at 20:17, Ricardo Russon  wrote:

What if you run the "Remove All Connectors" script before running the config 
tool?

 

On Sat, Aug 8, 2015 at 7:13 PM, Mike K  wrote:

In this case I have now tried :

[ A ] Run the jrun web server configuration utility. ( the green thing ) to 
connect ColdFusion to IIS It hangs saying it can't find a folder. But doesn't 
tell me which folder it can't find and since there's no place to enter a folder 
location up to that point I have no way to find out. 

[ B ] uninstall ColdFusion, thinking if I reinstall it, it might resolve that 
folder issue by itself. Nope. Still hangs at the point of configuring the web 
server. Obviously the same problem, but still no way to work out what the 
problem is

[ C ] uninstall ColdFusion again and reinstall as single server rather than 
J2EE. Same result

So unless I can get the web server configuration utility to work I think I'm 
screwed on this machine 

Cheers, 
Mike Kear

 



 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Mike K
Sent: Saturday, 8 August 2015 4:45 PM
To: cfaussie 
Subject: [cfaussie] CF and Windows 10 and IIS

I am about to upgrade some of my machines to Windows 10 and I thought it would 
be a good opportunity to drop Apache and start using IIS instead.   ( I'm doing 
the first upgrade on a laptop I dont use much, so if anything goes pear-shaped 
it's no big deal. )

Can anyone point me to any resources for learning about the Win10 version of 
IIS (or any version if it comes to that - my knowledge of IIS is pretty basic)  

And how do I connect CF (I have CF9 Enterprise installed) to IIS instead of the 
Apache I've been using?   DO i have to uninstall and reinstall CF9?


-- 

Cheers
Mike Kear

 

-- 
You received this message because y

RE: [cfaussie] Installing CF11 on 64-bit Windows 2003R2 with IIS 6

2015-08-08 Thread Charlie Arehart
Another nice option to consider (for quickly and inexpensively spinning up 
preconfigured Windows instances) is a service call vaasnet.com. You could have 
an instance of 2k3 with IIS6 up in less than a minute, and then install CF 11 
to find out how it would go. I suspect it will be fine. The cost? A dollar for 
an hour. Really amazing, and something I wish more people knew about. Doing my 
part here. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Ricardo Russon
Sent: Saturday, August 08, 2015 5:56 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Installing CF11 on 64-bit Windows 2003R2 with IIS 6

 

Azure offers a free trial. 

 

Maybe run up an instance on there? 

 

You can even migrate your current server over : 
http://fabriccontroller.net/blog/posts/migrating-your-windows-server-2003-workloads-to-microsoft-azure/

 

On Sat, Aug 8, 2015 at 5:43 PM, Xiaofeng Liu  wrote:

That will be ideal. But I don't have a server running Windows 2003 to try it 
out. 

My local win7 laptop runs CF11 but it's with Apache. 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: *****SPAM***** RE: [cfaussie] CF 11 and SQL injection

2015-05-27 Thread Charlie Arehart
Oh, that’s odd indeed. I thought it was the group marking them that way. But I 
just visited the groups site and sure enough it’s indeed only appearing there 
in the subjects of messages where I replied to your notes (but to be clear, it 
was that it was appearing in the subject for me when I opened the email, before 
replying).

So yes, it appears that my mail server (not my mail client) was regarding your 
notes as spam somehow. It could have happened for others as well, but we’d know 
only if they replied to your notes.  

Oh well, sorry for the confusion, folks.

/charlie

PS Brian, if you may be interested in the spam scoring as my mail server saw 
your mail, here’s the spam assassin header from your last message here:

X-EdgeWeb-MailScanner-SpamCheck: spam, SpamAssassin (not cached, score=8.462,

required 5, BAYES_00 -1.90, DI_A_WILDCARD 0.00, DI_MX_IS_NS 0.50,

DI_MX_IS_WILDCARD 2.00, DI_NS_IS_WILDCARD 2.00, DI_NS_SINGLE_IP 
2.00,

DI_SINGLE_HOST 2.00, DKIM_SIGNED 0.10, DKIM_VALID -0.10,

FSL_FAKE_REPLY 1.00, FSL_GOOGLE_VIA_SMTP 0.01, FSL_HAS_REPLYTO 0.01,

FSL_IS_LIST 0.01, FSL_RCVD_IN_XBL_DEEP 1.50, FSL_TO_1_RCPT 0.01,

FSL_TO_LE_5_RCPTS 0.01, FSL_TO_NO_NAME 0.01, HARAKA_FCRDNS 0.00,

HTML_MESSAGE 0.00, RCVD_IN_DNSWL_LOW -0.70, SPF_PASS -0.00)




From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Wednesday, May 27, 2015 6:25 PM
To: cfaussie@googlegroups.com
Subject: *SPAM* RE: [cfaussie] CF 11 and SQL injection

 

Thanks Charlie.

 

Interesting only your replies come through maked as spam.  I have had other 
replies to this question from other users with no issues.

 

Maybe your mail client thinks I work for Microsoft :)

 

Brian

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF 11 and SQL injection

2015-05-27 Thread Charlie Arehart
No, that’s one of the problems with relying on cfqueryparam for sql injection. 
To be clear, this is NOT its job. People rely on it basically as a hack. It 
only works when you set the type to something like CF_SQL_INTEGER, because the 
incoming value is supposed to be a number, in which case it then detects if the 
incoming arg has any sort of string in it, which causes the arg value to be 
rejected, and so the cfquery fails. 

As you note, if the type is string (CF_SQL_VARCHAR), then there’s no validation 
for it to do. 

To  be clear, it does NOT look in the string for things that are naughty, like 
special chars, reserved words, etc. The most you could do with it would be to 
add the maxlength attribute to perhaps stop at least long injection attempts.

That’s why pointed out all those other alternatives. You are far better off 
considering one of them, as they focus specifically on detecting and preventing 
injection strings.


I’ve just tweaked the entry I had there for cfqueryparam to add this 
clarification. It’s worth clarifying, because so many people do just blindly 
propose or hope that cfqueryparam is the answer for sql injection protection. 
It’s only one answer, and only suited to some specific problems, not all.

/charlie

PS Brian, note that somehow when you write to the group here, your notes get 
pegged with a “**spam**” indicator in the subject line. It’s happened for each 
of your notes in 2015. And when you reply to one that already has it, another 
is added. :-( I have removed those indicators here. Sorry if it messes up 
threading for anyone viewing the messages in the web interface of google 
groups. Hope it helps those viewing it in email.

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Tuesday, May 26, 2015 11:00 PM
To: cfaussie@googlegroups.com
Subject: *SPAM* RE: *SPAM* [cfaussie] CF 11 and SQL injection

 

Thanks Charlie.

 

One question re cfqueryparam.  If I'm using the the CF_SQL_VARCHAR type does it 
strip out injected SQL, because basically injected SQL is just text.

 

Brian

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: *****SPAM***** [cfaussie] CF 11 and SQL injection

2015-05-26 Thread Charlie Arehart
Brian, there are a range of options, starting from within your code, like 
CFQUERYPARAM (and more), to the app level, to the web server level, to web 
application firewall apps, to external devices, each of which can address sql 
injection and/or other possible injection attacks. 

Some are free or open source, some are commercial; some are easy (and may not 
completely cover you) while some are complex (and may keep you from using them 
well) with a range in between. 

I keep a list of such tools, in that order, as a category of my CF411 site, 
specifically cf411.com/security. I indicate if they are free or not, if they 
are specific to an OS, web server, etc. You should find a few choices to 
consider which may best suit your needs.

Hope that’s helpful.

/charlie

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Tuesday, May 26, 2015 5:33 AM
To: cfaussie@googlegroups.com
Subject: *SPAM* [cfaussie] CF 11 and SQL injection

 

Guys what’s the best way to handle SQL injection in CF 11.

 

Brian

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Help With Dynamic Naming A CfScript Function

2015-03-28 Thread Charlie Arehart
Great to hear it’s resolved, Claude, and glad to have helped with the couple of 
things needed to get it going for you. 

Thanks for offering the additional info in case it may help others consider how 
to take advantage of such geo-fencing capability from within CFML.

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Friday, March 27, 2015 8:38 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

Hi Charlie

 

Thanks for your assistance and now the code to detect the distance between 2 
points using long / lat works a treat

 

Some background for the use of the code for those who are interested

 

Its being used to detect when a tracking device is within x distance from a 
nominated point. Its for geo fence alerting, in order words we take a co 
ordinate long / lat (which you can visualise as being the centre of a circle 
with a radius of x distance). The coordinates of the centre of the circle are 
set, which creates the gep fence.

 

The variable coordinates are the location of the mobile tracking device. Each 
time the tracking device reports its current location (coordinates) those 
coordinates are passed through the code to determine how far the reported 
location is from the centre of the coordinates representing the centre of the 
circle.

 

When the distance between the 2 points is less than the radius then by 
definition it means the portable device is now inside the geo fence circle area 
if the distance is greater than the radius then the reported location is 
outside the geo fence circle

 

You then create processes to run eg cfmail alerts for emails dependant on the 
business rules you need to set relating to when the circle has been entered / 
existed

 



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Help With Dynamic Naming A CfScript Function

2015-03-25 Thread Charlie Arehart
Ok, Claude has replied to me off-list, and as such I will not repeat here what 
he wrote and what I shared in reply (it was a lot).  :-)

It just seems that the bottom line is that he was not that familiar with 
calling functions at all, so I showed him how to do that. 

But his code also showed he was missing some of the values of arguments 
expected in this function (which I could determine he’d gotten at 
http://www.cflib.org/udf/getHaversineDistance ). 

I shared some more observations for him, but I have to head to bed now so I’ll 
pass the baton back to the list. :-) I’ve suggested he ask here if he has 
follow-on questions, and I hope he’ll choose to share the entire note he wrote 
and as I replied to it, if it will be necessary for any of you to help him out 
further.

Claude, if you get it sorted on your own, do drop us a note to say so, and that 
would be great to hear, and happy to have helped.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Thursday, March 26, 2015 12:12 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

Claude, I’m not picking a fight but I don’t see how that answers my question at 
all. The good news is that I think you are very close to a solution, but you 
seem to have missed what I said.

Why do you have the function being defined within this query loop you refer to 
(in words, but don’t reflect in the code). Are you saying, perhaps, that some 
of the variables within the function are references to query variables? I don’t 
see that. It seems the UDF (user-defined function) is self-contained, and it 
operates on whatever is passed into it.

So I’ll ask again: why don’t you simply put this *definition* of the function 
OUTSIDE the loop and just *call the function from within the loop*, passing it 
the values within the loop on which you want to perform these calculations?

And your subject and initial question refer to this being about “dynamic 
naming” of the function, but your code below shows no such thing. When you said 
in your first note that you were trying to do that with “function 
getDistance#id#”, I wonder: were you trying that simply because you were 
getting the error about not being able to duplicate the function? Again, you 
don’t need to have the function being duplicated. 

Just move the function out of the loop and you should be all set. :-)

/charlie

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: *****SPAM***** RE: *****SPAM***** [cfaussie] CF11 and Excel

2015-03-25 Thread Charlie Arehart
Good to hear. Thanks for the update.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Thursday, March 26, 2015 12:29 AM
To: cfaussie@googlegroups.com
Subject: *SPAM* RE: *SPAM* [cfaussie] CF11 and Excel

 

Hi Charlie.

 

Got your email and sorted ths issue.

 

Thanks

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: *****SPAM***** [cfaussie] CF11 and Excel

2015-03-25 Thread Charlie Arehart
Brian, did you ever see the reply I’d offered to your note below, sent the same 
day here on the list? I don’t want to repeat my reply here as it had 3 links, 
and may therefore have been blocked as spam. 

But since  no one else had replied, I just wanted to make sure you saw that 
info. I can repost it again if you just somehow missed it and no longer have 
it. Just trying to help.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Wednesday, March 11, 2015 7:24 PM
To: cfaussie@googlegroups.com
Subject: *SPAM* [cfaussie] CF11 and Excel

 

Hello All.

 

Been a while since I posted to this group.

 

Looking at upgrading an old CF9 system to 11.

 

I have heard that Excel Datasources are no longer availabe in CF 11.

 

Is this corect?

 

Brian

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Help With Dynamic Naming A CfScript Function

2015-03-25 Thread Charlie Arehart
Claude, I’m not picking a fight but I don’t see how that answers my question at 
all. The good news is that I think you are very close to a solution, but you 
seem to have missed what I said.

Why do you have the function being defined within this query loop you refer to 
(in words, but don’t reflect in the code). Are you saying, perhaps, that some 
of the variables within the function are references to query variables? I don’t 
see that. It seems the UDF (user-defined function) is self-contained, and it 
operates on whatever is passed into it.

So I’ll ask again: why don’t you simply put this *definition* of the function 
OUTSIDE the loop and just *call the function from within the loop*, passing it 
the values within the loop on which you want to perform these calculations?

And your subject and initial question refer to this being about “dynamic 
naming” of the function, but your code below shows no such thing. When you said 
in your first note that you were trying to do that with “function 
getDistance#id#”, I wonder: were you trying that simply because you were 
getting the error about not being able to duplicate the function? Again, you 
don’t need to have the function being duplicated. 

Just move the function out of the loop and you should be all set. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, March 25, 2015 11:49 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

This is the code I am using

 

/**

* Calculates distance between Latitude/Longitude points using haversine formula.

* 

 * @param lat1latitude of first point (Required)

* @param lon1longitude of first point (Required)

* @param lat2latitude of second point (Required)

* @param lon2longitude of second point (Required)

* @param units  Units for return value. Default is miles. (Optional)

* @return Returns numeric distance between the two points. Units varies, 
default is miles. 

 * @author Henry Ho (henryho...@gmail.com) 

 * @version 0, January 8, 2013 

 */

function getDistance(lat1, lon1, lat2, lon2, units = 'miles')

{

// earth's radius. Default is miles.

var radius = 3959;

if (arguments.units EQ 'kilometers' )

 radius = 6371;

else if (arguments.units EQ 'feet')

 radius = 20903520;



var toRad = pi() / 180;

var dLat = (lat2-lat1) * toRad;

var dLon = (lon2-lon1) * toRad; 

var a = sin(dLat/2)^2 + cos(lat1 * toRad) * cos(lat2 * toRad) * 
sin(dLon/2)^2; 

var c = 2 * createObject("java","java.lang.Math").atan2(sqr(a), 
sqr(1-a));



return radius * c;

}

 

 

Its wrapped inside a cfloop as I need to validate code received into our portal 
from mobile devices against data stored in the database hence the need to look 
around the data records from the query as often there will be more than 1 
records to test against

 

 

 

 

 

NB: TrackingCentral is now a registered product & services provider for the 
National Disability Insurance Scheme, under the category of Assisted Technology

 

Regards

 

Claude Raiola
Director
TrackingCentral Pty. Ltd

Free Call 1300 255 990

 

TrackingCentral_Logo

 

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Charlie Arehart
Sent: Thursday, 26 March 2015 1:26 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

Right, but why do you need the name of the function to be dynamic? Why isn’t it 
enough that you pass in args within the loop (and declare the function outside 
of it)?

/charlie

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, March 25, 2015 11:14 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

I am calculating distance between 2 sets of lon / lat and the information is 
dynamic so I need to capture the values of the dynamic data and compare them to 
the values stored in a database table of which there may been to be several 
records tested against the values in the dynamic data 

 

Eg 1 set of co ordinate received from a device in the field data is received by 
the listener and needs to be tested against co ordinates recorded in the 
database table of which there may be several records needing to be tested 
against hence the need for the loop

 

Regards

 

Claude Raiola

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group

RE: [cfaussie] Help With Dynamic Naming A CfScript Function

2015-03-25 Thread Charlie Arehart
Right, but why do you need the name of the function to be dynamic? Why isn’t it 
enough that you pass in args within the loop (and declare the function outside 
of it)?

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, March 25, 2015 11:14 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Help With Dynamic Naming A CfScript Function

 

I am calculating distance between 2 sets of lon / lat and the information is 
dynamic so I need to capture the values of the dynamic data and compare them to 
the values stored in a database table of which there may been to be several 
records tested against the values in the dynamic data 

 

Eg 1 set of co ordinate received from a device in the field data is received by 
the listener and needs to be tested against co ordinates recorded in the 
database table of which there may be several records needing to be tested 
against hence the need for the loop

 

Regards

 

Claude Raiola

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: *****SPAM***** [cfaussie] CF11 and Excel

2015-03-11 Thread Charlie Arehart
ODBC datasources are still supported (thre’s notion of an Excel Datasource 
specifically, even in 9, but it’s just one kind of ODBC datasource, which both 
verisons support).

What you may be hearing is that support for ODBC is different in 64-bit systems 
(and that’s not really new to CF10).  Are you moving from a 32-bit to a 64-bit 
machine? It’s just that ODBC support doesn’t work as easily as before, but it 
can be made to work. For more, you can find many who have written on how to get 
it to work:

http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess

http://coldfusionbeyond.com/post.cfm/32-bit-odbc-fun-in-64-bit-windows

http://www.coldfusionmuse.com/index.cfm/2010/12/31/Access.on.64bit.ColdFusion

Let us know if that helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Brian Knott
Sent: Wednesday, March 11, 2015 7:24 PM
To: cfaussie@googlegroups.com
Subject: *SPAM* [cfaussie] CF11 and Excel

 

Hello All.

 

Been a while since I posted to this group.

 

Looking at upgrading an old CF9 system to 11.

 

I have heard that Excel Datasources are no longer availabe in CF 11.

 

Is this corect?

 

Brian

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] receiving large amounts of data via http post possibly simultaneously at times

2015-03-04 Thread Charlie Arehart
OK, Claude, but to be clear, you had said “Is there better more robust way in 
cf to be able to code the handler page to be able to reliably manage larger 
amounts of data received via http post possibly at times simultaneously”. So 
are you saying it’s NOT “the handler page” handling “large amounts of data 
received…simultaneously”?

That’s just a very different question than what you’re asking now, “cf load 
capacity during times of such heavy traffic”. 

CF can of course handle multiple simultaneous requests. You may know there’s a 
“max simultaneous requests” setting in the CF Admin, which defaults to 10, 25, 
or 50 depending on some factors (versions, editions), and of course you may 
have raised yours yourself. 

That setting, though, is not really “the answer” to the question or a solution 
if you hit a problem.  That’s just the theoretical max is. It doesn’t mean CF 
*can* run that many, or that it ever would:

- I’ve seen people raise that to 750, but with the right diagnostic tools I 
showed that they never had more than several truly “simultaneous” requests 
(running at the exact same millisecond), so they didn’t really need it to be 
higher than the defaults after all. 

- I’ve also seen people with CF set to 10 Max Simult Requests, and tools showed 
that they never got more than a couple to run at once and things bogged down, 
because of some other problem (so more was NOT the answer). 

- Or I’ve seen people have CF bog down only WHEN that limit was limit, and 
raising it helped more to run (that’s a relatively rare case, believe it or not)

So the question is always, “if it bogs down, why?”  It could be about 
configuration of CF, or of things CF talks to. It could be about your coding. 
It could be your traffic. It could be UNEXPECTED traffic that’s killing you 
(and maybe blocking or otherwise handling that is a solution). 

Sadly, this means (to your question) that no one (no one) will be able to tell 
you from the outside whether your server will be able to handle the traffic you 
are planning to send it. We don’t know your code, your config (of CF or the 
box, or things CF talks to), your traffic, and so much more.

I realize people WANT that answer. I’d say simply that CF generally can handle 
FAR more traffic than most realize, if things are configured/coded well (and 
config is often far more important than coding, but the reverse CAN be true). 
And no, adding new instances is not always the answer (if they both rely on a 
shared resource which is itself the problem, then new instances won’t help with 
that). It just really depends on what the problem is, as to what the right 
solution would be.

And I’ll say I’ve helped many people avoid upgrades to bigger or newer machines 
(and instances) by finding and resolving what was the real problem that made CF 
seem to bog down (and often, it was not CF after all but something else, and it 
was the victim, but without the right tools, folks can be left FEELING that CF 
is “down” and GUESSING at what might be the problem, and they may flail about 
trying different things they find on the web from folks who say “this worked 
for us”). 

All that said, really the only way to know if your app will work at some load 
in some config will be to do load testing (and even that can be tricky, if 
you’re not careful). Of course, someone could help you with that, or with 
troubleshooting when things go amiss. I keep a list of folks who do that sort 
of work, as a category of my CF411.com site, specifically cf411.com/cfconsult. 

Hope that’s helpful.

/charlie

PS Sorry for the long answer. I wonder how many will even get to this PS. :-) I 
hope at least you will, Claude. Sadly, while many prefer (and will offer) only 
twitter-length answers, I fear that’s what gets a lot of people in trouble or 
misled. There are just a lot of moving parts in such systems, and there’s 
rarely ever one right answer. With the right tools, processes, and experience 
(hired, if not available on your team) one can find a good answer for your own 
situation.

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, March 04, 2015 2:11 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] receiving large amounts of data via http post possibly 
simultaneously at times

 

Hi Charlie 

 

The potential of different servers who are independent of each other each 
sending http requests to my server potentially minutes, seconds or even 
simultaneously

 

So basically my question revolves around cf load capacity during times of such 
heavy traffic

 

Oh at present one thing to consider my cf server is operating in a Virtual 
Server shared CF hosted  environment, naturally in time as the demand for the 
application grows it will be possible to move to a dedicated cf hosted 
environment

 

Hope the above sheds some light

 

Regards

 

Claude Raiola

 

-- 
You received this message because you are subscribed to t

RE: [cfaussie] receiving large amounts of data via http post possibly simultaneously at times

2015-03-04 Thread Charlie Arehart
Claude, I’d be curious what you mean by “different sources” posting to a single 
request? Even within an ajax-based page, each separate call to a CF page is a 
separate request. So I’m not aware of a way that a given CF page (or even any 
web technology) can receive multiple concurrent posts from “different sources”.

But maybe if you elaborate it could help me or others to better understand what 
you mean. Or perhaps someone else will already understand what you mean and 
offer a thought.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Wednesday, March 04, 2015 7:38 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] receiving large amounts of data via http post possibly 
simultaneously at times

 

Hi

 

I am developing a app that will be receiving string data via http post its 
possible that there will be times where there is simultaneous posts being 
received from different sources, just wondering if anyone can advise the 
capacity of CF to be able to handle multiple packets of data as a http post

 

Is there better more robust way in cf to be able to code the handler page to be 
able to reliably manage larger amounts of data received via http post possibly 
at times simultaneously

 

Each packet of data receive would consist of around 30 parameters each time

 

Regards

 

Claude Raiola



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-02 Thread Charlie Arehart
Cool, I think. :-) Not quite sure what you may be saying there, but it seems 
like you’re saying you’re not in need of any more help on this, right? Or is it 
that you are saying there’s some new problem (perhaps not related to CF) which 
you’ve not yet elaborated.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Sunday, March 01, 2015 10:40 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Creating A String With ## values in coldfusion

 

Hi Charlie

 

Yes solved from a CF perspective however as the issue appears to be the user of 
the # appended to a url within I-Phone App development environment

 

Regards

 

Claude Raiola



 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Charlie Arehart
Happy to help, and thanks for the kind regards.

And we’ll assume you’re all set then. :-)

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
rai...@ozemail.com.au
Sent: Sunday, March 01, 2015 9:17 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Creating A String With ## values in coldfusion

 

Thanks Charlie

 

As Always a clear and detailed reply

 

Regards

 

Claude Raiola

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Creating A String With ## values in coldfusion

2015-03-01 Thread Charlie Arehart
And Claude, besides confirming Cassie’s observation that you needed to use & 
and not +, I had wondered if Dale’s first answer might have done the trick even 
more simply. You never seemed to reply to that:



That covers the escaping of the hashes, and the concatenation of the variable 
(which as many have noted, requires & in CFML, not +).

And indeed, I just ran the code that way:





(the cfparam simply allows the page to be run even if no querystring is passed 
initially), and it output:

#reboot#45454#1212#

And to prove that it worked as a true URL variable, I ran it as this:

http://localhost/test.cfm?id=45455

and it output:

#reboot#45455#1212#

That seems what you want, right? (Of course, you say you want that in the 
variable, and this gives you that.  What you may do with the value next, and 
how that may go, is another question.)

And FWIW, Dale’s second answer also would have worked, though it rather than 2 
chr’s only one is needed, to produce that same output as above:







 

#mycommand#

Hope that’s helpful.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Cassie Woolley
Sent: Sunday, March 01, 2015 7:51 PM
To: cfaussie@googlegroups.com
Subject: RE: SPAM-LOW: RE: [cfaussie] Creating A String With ## values in 
coldfusion

 

I think it should be & and not +.

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Coldfusion 11 CFIDE lock down

2015-02-23 Thread Charlie Arehart
Or the CF10 one, still at:

http://www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf10/cf10-lockdown-guide.pdf

BTW, Joel, do be very careful about how you “we setup a copy of the CFIDE in a 
diff location and only keep files/folders that are required for general use by 
websites for cfforms etc..”.There’s a grave risk that an update to CF would 
update the “official folders” and you may not think to “copy again” the files 
to the “different location”.

Far better is for you to create a virtual directory (in IIS or Apache) and 
point that to the “real” CFIDE/scripts, and then put that VD into the CF 
Admin’s Settings page, as the “default scriptsrc directory” (but do remember to 
do that for ALL sites, including any sites that really do still serve the full 
CF Admin).

Both points are discussed in the lockdown guide itself. BTW, you may want to 
consider looking at the CF11 one, as Pete took some feedback and tweaked the 
guide to deal with some common challenges people were having in working through 
it (see mention of this in Appendix section a.13, though it doesn’t detail all 
the changes). Those were not rolled back into the 10 guide.

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Andrew Myers
Sent: Monday, February 23, 2015 4:46 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Coldfusion 11 CFIDE lock down

 

Hi Joel,

Is this what you're after?

http://www.adobe.com/go/cf11-lockdown-guide  

Regards
Andrew

 

On Mon, 23 Feb 2015 7:38 pm Joel Nath  wrote:

Hi Guys

Was looking for suggestion on locking down CFIDE on CF ENT 11 ?

What folder/files are required to be public accessible under CFIDE in CF 11

Based on past experience, we setup a copy of the CFIDE in a diff location and 
only keep files/folders that are required for general use by websites for 
cfforms etc..

Does anyone have a updated list of files/folders that are required for general 
use ?

I had a link to a security document for CF 10 (i think from adobe), its gone MIA

Any suggestion/tips  welcome

regards

Joel

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Configure a second cf server instance

2014-09-17 Thread Charlie Arehart
Yes, I have a clue as to what you are missing. 

I suspect the problem  is that you have told CF to setup the new instance, and 
by default its setup to listen on the built-in web server, at 8500. And THAT 
looks at the ColdFusion10\[instancename]\wwwroot, and THAT only has the CFIDE, 
not your own code.

What you need to do next is run the CF web server configuration tool, to 
connect your web server to use that new instance. You say you are using 
“apache-tomcat”. CF 10 runs atop Tomcat (which is an Apache project). Do you 
mean you are also using Apache the web server?

In any case, see the CF docs, in either the Installing CF manual or the 
“Administering and Configuring” CF manual to see how to run the CF’s “web 
server configuration tool” , as suitable to your web server.

Hope that helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Stephen M
Sent: Wednesday, September 17, 2014 7:43 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Configure a second cf server instance

 

I'm trying to set up a second instance of CF. This is in CF10 with Apache-Tomcat

 

So I went into cfadmin, clicked the instance manager, clicked add instance and 
the instance was created with an url of 

localhost:8500  It seems to work OK because I can go into the 2nd instance 
cfadmin and configure different mappings and datasources  

 

BUT the only directory it will serve is CFIDE/administrator

 

The first instance is happy to serve up c:\www as the webroot.  I want the 2nd 
instance to serve up c:\wwwdemo So i have tried to configure that in 
system32/drivers/etc/hosts and in the various apache conf files.  

 

I tried mapping c:\wwwdemo in my 2nd instance cfadmin but while its happy the 
map it, I get a coldfusion cannot find error when I try to browse to 
wwwdemo/index.cfm

 

I can't even browse to wwwdemo/index.html

 

So does anyone have a clue about what I am missing?

 

regards,

Stephen

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Using CF Report Builder

2014-07-24 Thread Charlie Arehart
Hi Claude. Whenever one talks about problems with the CF Report Builder
(which is used by only a tiny fraction of folks, from my observation of the
community), it's always important to clarify what version of CF you're
using, meaning the specific point release, and also what hotfixes (if any)
have been applied. The report builder is something which has been tweaked in
various updates, so you never know if a problem you're hitting might be
related to a fix you just have not applied.

Since determining exactly what hotfixes are applied is not easy in CF9 and
earlier, I have a blog entry to help with that:

http://www.carehart.org/blog/client/index.cfm/2012/6/18/what_hotfixes_have_b
een_applied

And though I know you're a long-time CF user, if you (or anyone reading
this) may need help knowing what hotfixes may exist for your given version
and how to apply them (which is often not easy to do well), I cover that
here:

http://www.carehart.org/blog/client/index.cfm/2014/3/14/cf9_and_earlier_hotf
ix_guide


HTH



/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of rai...@ozemail.com.au
Sent: Thursday, July 24, 2014 3:08 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Using CF Report Builder

 

Hi 

 

I am using CF report builder to build invoices

 

The challenge I have is that some of the items in the invoice may have
supporting comments to be displayed under each invoice items

 

Sometimes there will be no comments other times there will be comments that
could be 1 line long or potentially 20 lines long

 

The challenge I find is that if I create the text box that is big enough to
display the let's say 20 line comment then that space exists under every
other item regardless of whether it's a 20 line comment or 0 or 1 or 2 line
comment

 

What I am trying to achieve is to have the items flow on the page so when
there is comments the necessary space is provided under invoice line item
and when there is no comments then the next invoice item appear directly
under the previous item without any additional blank lines

 

Any advice re the above would be appreciated

 

Regards

 

Claude Raiola

SAMARIS Software

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Unable to read WSDL from URL

2014-07-11 Thread Charlie Arehart
That sounds like the good call, Dmitry.

Scott, you had opened saying that you were using a virtual directory in IIS.
Can you change it to not be one and see if it helps? (Even though the bug
report he refers to is for CF10, I would not be surprised if the problem
went back to your CF 6.1.)

Also, Scott, your last message showing use of createobject indicated that
you had gotten a 404 on the wsdl URL. The problem was that you left off the
.cfc in the URL. So:

test =
createObject("webservice","http://localhost/login/NTLoginService?wsdl";).logi
nUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');


should have been instead:

test =
createObject("webservice","http://localhost/login/NTLoginService.cfc?wsdl";).
loginUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');


(When you're calling a component, you don't put the .cfc, so it's easy to
get tripped up on that.)

Finally, while you can chain methods on the createobject, note that you
don't need to do that. And there can be advantages to NOT doing it,
especially if you would need to call more than one method. You may already
know that. Just wanted to point it out in case you go with that alternative
approach. So you could do it this way, for instance:

ntlogin=
createObject("webservice","http://localhost/login/NTLoginService.cfc?wsdl";).
loginUserNT(NTusername='username', NTpassword='pwd', NTdomainz='domain');
test = ntlogin.loginUserNT(NTusername='username', NTpassword='pwd',
NTdomainz='domain');

test2 = ntlogin.callsomeothermethod;

Hope that helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dmitry Yakhnov
Sent: Thursday, July 10, 2014 4:26 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Unable to read WSDL from URL

 

Hi Scott,

This seems to be a well known bug:

https://bugbase.adobe.com/index.cfm?event=bug
 &id=3531653
https://forums.adobe.com/message/5207697

Cheers,
Dmitry,

On 10/07/2014 10:37 AM, Scott Thornton wrote: 

Hi,

 

I am working with webservices for the first time, and my knowledge is very
rudimentary.

 

Scenario:

 



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Unable to read WSDL from URL

2014-07-09 Thread Charlie Arehart
You may want to look at the coldfusion-out.log (in \coldfusion9\runtime\logs
or jrun4\logs) to see if there's any more detail in there about the problem.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Scott Thornton
Sent: Wednesday, July 09, 2014 8:37 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Unable to read WSDL from URL

 

Hi,

 

I am working with webservices for the first time, and my knowledge is very
rudimentary.

 

Scenario:

 

I need to implement NT Authentication on my intranet app. My CF6.1 server
can't process the  cfntauthenticate tag.

 

I also have a CF9 9,0,1,274733 server that I can use to process a webservice
to provide authentication.

 

So, working locally at present on CF9.

 

My NTLoginService.cfc looks like :

 



 







 

  



   











 

I hope to return the result of the cfntauthenticate call.

 

I can browse the cfc via URL  http://localhost/login/NTLoginService.cfc and
see the methods\parameters okay.

 

But if I browse to http://localhost/login/NTLoginService.cfc?wsdl

 

I receive the error:

 

AXIS error

Sorry, something seems to have gone wrong... here are the details:

Fault - Error attempting to create Java skeleton for CFC web service.;
nested exception is: 

coldfusion.xml.rpc.CFCInvocationException:
[java.lang.NullPointerException : null]

AxisFault

faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException

faultSubcode: 

 faultString: Error attempting to create Java skeleton for CFC web service.;
nested exception is: 

coldfusion.xml.rpc.CFCInvocationException:
[java.lang.NullPointerException : null]

faultActor: 

 faultNode: 

 faultDetail: 

{http://xml.apache.org/axis/}hostname:WSHBILL032

 

If I try to invoke the webservice with :

 

http://localhost/login/NTLoginService.cfc?wsdl";

method="loginUserNT"

returnvariable="authentication"

refreshWSDL="yes">













 

I receive the error:

 



Unable to read WSDL from URL:
http://localhost/login/NTLoginService.cfc?wsdl. 

 


Error: 500 Internal Server Error. 

 

http://localhost/login/ is a IIS virtual directory that points to
c:\websites\login\

 

I have restarted the local CF server multiple times.

 

I wouldn't be surprised if I have missed something simple.

 

Would any one have any ideas on what to do next? Googling hasn't been very
informative.

 

Thanks for any assistance.

 

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] ORMExecuteQuery error on CF10

2014-06-12 Thread Charlie Arehart
Stephen, that is an odd problem. Here are some “outside the box” possible 
explanations.

You say this is a CF10 box. Was it running CF9 before? Or did you bring over 
any files (other than your own CFML source code) from another which had been 
running CF9 or earlier?  If not, you can stop reading.

But if so, I wonder if there may be an issue where there’s some conflict of 
things somehow inappropriately still accessing vestiges of CF9. Again, this 
idea wouldn’t be about your source code. (And it’s not a matter of whether CF9 
is running on the new server now or not.) 

It could just be about what’s in some folders which both CF instances might 
look to, and whether old version stuff is used by the new CF version. I see 
that all the time with the CFIDE folder, for instance, if people bring a CFIDE 
folder in their web site docroot onto a new CF10 server, and especially if they 
remove the CFIDE virtual directory that CF10 would create to point to its own 
version.

(While on the subject of the CFIDE folder, let me add also that some may notice 
there is an ORM folder in there. But I don’t know that that would be an issue 
here. There are two ways that folder could be used: one is by requests coming 
into the web server (as URLs), and some do block access to that (and other 
CFIDE folders) in their web server, to stop such access. But CF itself could 
leverage code in that folder internally. If it did, though, CF would use the 
“cfide” mapping shown in the CF Admin “mappings” page, which is not editable, 
and CF10 would point it to the CFIDE folder within the [cf10]\cfusion\wwroot. 
So I’d really not expect that to be the problem here.) 

Or thinking way outside the box, it could be about some files carried forward 
from 9 to 10. I’d not expect it to be an issue with your CFML templates/source 
code, though. 

But did you by any chance copy files from the WEB-INF\cfclasses folder of CF9 
into the same folder of CF10? These represent the compiled java classes made 
from the CFML source when it’s run, assuming the CF Admin “caching>save class 
files” setting is enabled. Copying those files from one instance to another 
would not be normal or recommended, but I’ve seen people do it, not 
understanding the implications. And it could certainly cause odd issues, as the 
compiled CF classes for 9 would not likely work well with 10.

Again, I realize those last couple of possibilities are pretty “out there” and 
not likely. I’m just sharing them as they come to mind, since this is indeed 
such an odd error, that I’ve not heard others have (and CF 10’s been out over 2 
years now). If you do resolve it, let us know.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Stephen M
Sent: Wednesday, June 11, 2014 3:22 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] ORMExecuteQuery error on CF10

 

I get the following error back as an element of the array returned from an 
ORMExecuteQuery

 

"[undefined array element] Element 4 is undefined in a Java object of type 
class coldfusion.runtime.Cast$1."

 

This is on my local dev box which has CF10.  But, on production which runs CF9, 
the same code and the same data run fine.

 

That element should simply be a small integer.  

 

The first element of the outer array looks like this

 


C:\www\\views\user\view.cfm 48 - array


1

4340


2

Customer


3

Admin


4

[undefined array element] Element 4 is undefined in a Java object of type class 
coldfusion.runtime.Cast$1.


5

Customer.Admin


6

0

Element 4 of that inner array should just be 0, 1 or 2.  Why is it undefined?

 

regards,

Stephen

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF10 Cross Domain sessions with HTTPS

2014-04-07 Thread Charlie Arehart
Good to hear, Phil. Thanks. 

And Yep, Dale, I agree with your second point. FWIW, I’d said to Phil initially:

“In fact, you may want to try not setting the jsessionid cookie at all. I had a 
client doing that, and he stopped it, and his problem went away (I proposed he 
might have resolved it with the new attribute above but he realized he really 
didn’t need to be setting it at all.)”

BTW, Phil (and anyone else trying to deal with these sort of things), when it 
comes to trying to solve this sort of problem, there are a couple of challenges:
- One is that issue of existing cookies perhaps causing confusion
- Another is that when you make changes to the this scope in your 
application.cfc, you MUST cause a reload of the application to get those 
changes to “take”, whether you restart CF, or call onapplicationstart(), or use 
CF9’s new applicationstop function (the next request reloads the app.)

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Dale Fraser
Sent: Monday, April 07, 2014 10:50 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF10 Cross Domain sessions with HTTPS

 

I suspect you could clear all cookies, ditch the onsession start code and it 
will still work.

 

Regards

Dale Fraser

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Phil Rasmussen
Sent: Tuesday, 8 April 2014 12:48 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF10 Cross Domain sessions with HTTPS

 

Thanks Charlie

 

Okay sorry if I didn't clarify further but I will post the final elements of my 
Application.cfc below:



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF10 Cross Domain sessions with HTTPS

2014-04-07 Thread Charlie Arehart
Great to hear all is finally working for you, Phil. 

Can you clarify, then, what’s different from when you first posted here? In 
other words, what do you think made things finally “work”? 

You had showed already using the domain attribute in your original post, so 
that wasn’t it. Was it the clearing of cookies, perhaps? (That’s why I had made 
the point in my first reply about checking in a browser dev tool about 
duplicates.) Or was it maybe that the cookies you created looked different than 
you expected (which is why I’d mentioned the new encodvalue attribute).  As I’d 
said, I’ve seen those both be key to problems like yours.

But just to be sure, was there something else also? It may help others who hit 
this in the future.

/charlie



From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Phil Rasmussen
Sent: Sunday, April 06, 2014 10:10 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] CF10 Cross Domain sessions with HTTPS

 

Dale I've used a combination of the Application specific sessioncookies.domain 
and the manual cookie set in the onSessionStart and it appears to be working 
which is odd? Previously i had tried these settings independently thinking the 
combination was pointless but I've tried in 3 different browsers and the 
session token holds when crossing between sub-domains. I'm not complaining 
though! 

 

Good point about the cookies getting confused as I had seen that earlier with a 
very old non-domain scoped jsession cookie remaining dormant on the browser and 
causing a double up with the new domain specific cookie declaration. Everything 
appears to now be running over J2EE sessions with secure cookies, full HTTPS, 
and browser based cookies only which satisfies our PCI obligations.

 

Thanks for your help everyone!

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] CF10 Cross Domain sessions with HTTPS

2014-04-02 Thread Charlie Arehart
Yes, Phil. Many have had such issues. There are some subtleties to when some 
experience it and not others.

One thing I will suggest: use a client dev tool to watch closely the cookies 
being sent and received between the browser and CF. Watch for what’s changing, 
what’s duplicated, and ESPECIALLY whether the values you set on the server (as 
in your CFCookie) are exactly you expect when received in the response by the 
client. 

For instance, there’s a new encodeValue attribute for CFCookie (in CF10) which 
can be used to change the default that has CF urlencoding any value you may 
set, which could be a reason things do not work as you may expect when setting 
cfcookie. (Of course, that would have no impact on the issue you raise for 
folks who do not set cfcookie themselves, but many do, and this is one of the 
ways that problems may start.)

In fact, you may want to try not setting the jsessionid cookie at all. I had a 
client doing that, and he stopped it, and his problem went away (I proposed he 
might have resolved it with the new attribute above but he realized he really 
didn’t need to be setting it at all.) 

Also, you mention setting the jsessionid on the query string. That’s another 
thing that’s being handled differently since the session fixation fix, I think 
you’ll find. You may want to avoid doing that, or again at least pay close 
attention to the cookies that CF is trying to set. You may find that it’s doing 
session rotation in the background on you, which should work fine, but maybe 
your attempts to rewrite the cookies is being confused by that change in 
behavior. (This notion of session fixation and rotation is not new for CF10, 
but was added in a CF security hotfix in 2012 for CF 8 and 9 which many simply 
never applied at the time, or only got recently after updating their servers 
with the recent spate of vulnerabilities, whether adding security hotfixes in 8 
or 9.0 or 9.0.1, or moving to 9.0.2 or 10 which automatically included any 
available as of May 2012.)

HTH.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf Of 
Phil Rasmussen
Sent: Wednesday, April 02, 2014 6:26 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] CF10 Cross Domain sessions with HTTPS

 

Hi Guys

 

Just wondering if anyone has come across an issue in CF10 whereby sessions are 
dropped when crossing between HTTP and HTTPS, even though the JSESSIONID is 
being explicitly passed in these links which had worked for us for over 5 years 
without fail prior to CF10. From what I have read there appears to be a big 
change to address the Session Fixation security issues which would explain the 
HTTP/HTTPS drops but I can't find a workaround for this.

 

Essentially we have CF10 installed with J2EE Session Management turned on, and 
the default HTTPOnly set to true. In the application the domain structure looks 
as follows:

 

https://book.domain.com

http://profile.domain.com

http://approve.domain.com

 

When crossing between the domains (which had worked for many years prior) the 
session drops and CF issues a new set of session identifiers. In order to try 
and bypass the SSL issue, i've switch the entire application over the HTTPS so 
at no stage will the session or cookies be served over HTTP, which works fine 
if the user doesn't cross domains, but the moment a different subdomain is 
clicked (ie to make a booking) then the session drops.

 

Even setting a cookie  in the onSessionStart() as follows has no effect:

 



 

Has anyone come across this behaviour migrating to CF10?

 

Cheers

Phil

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/d/optout.


RE: [cfaussie] Re: Issue with CFLOCATION and cgi.query_string

2013-08-23 Thread Charlie Arehart
You know., I just did it on one machine (rebuilt the connector after
applying update 11) and it is dated only May 2013. I am pretty sure I'd seen
it as June, but not in this case, so you may be set. Again, it's just so
important to ensure it's updated beyond 2012 dates, so it seems you're ok in
that regard. Sorry for the confusion. Perhaps others will have more answers
for the challenge.

I've had a chance to run your code now, and I am seeing what you see in
CF10. I do have a few thoughts.

Some basic points

First, would you agree that the cflocation is not at all significant, and
that you experience the same thing if you just call the URL (named within
it) directly yourself in a browser? I do. Just proposing that taking that
out of the equation may make it just a little easier for folks to test your
code (and remove it as something they have to wonder about).

Also, do you realize that if you change from using CFFORM and CFFINPUT to
just FORM and INPUT that the querystring passed in is NOT passed on with the
form submission unless in fact you DO add it to the FORM ACTION as you do at
the end of your email? So I guess you're saying you'd been relying on CFFORM
to just do this automatically, and now oddly in CF10 it only passes along
some.

Trying different variations

Then, too, I found that if I change the order of the incoming args
(action=new&FormType=LMF&new=form&Template=0), it does choose different ones
to pass on, but not the same as before, and still only ever 2, but not the
first two.

I then changed my test to pass in ?a=1&b=2&c=3&d=4, and guess what: it DID
pass in all 4. So it's not like it has some limit of how many it will pass
along.

That made me wonder if it could have something to do with the length of the
args, but I then changed it to
?a=1aaa&b=2bbb&c=3ccc&d=4, and it still passed in
all 4.

I then passed in your vars at the end of that
(a=1aaa&b=2bbb&c=3ccc&d=4&action=new&Template=0) and
it passed in all 4 of mine but again only 2 of ours.

I then noticed that 2 of your url vars are capitalized and 2 are not, and in
my example above (w9ith 6 vars) it passed in only 1 of each of yours
(Template and action). Curiously, when I changed the order
(a=1aaa&b=2bbb&c=3ccc&d=4&new=form&Template=0&action
=new&FormType=LMF), then it dropped one of mine (d) and then passed in 3 of
yours (FormType, Template, and Action).

Finally, I took out my 4, leaving yours, but in yet another order (not what
you did, and not what I first did above),
new=form&Template=0&action=new&FormType=LMF), and guess what: all 4 WERE
passed in!

I'm not seeing the rhyme or reason to what makes things vary, but there must
be some. :-) It's very late as I write this. Perhaps in the light of day
someone else will see something I don't.

I realize, Mark, that you just want to point out that it fails and wondered
if anyone had an explanation. I have none, and I realize you will now just
want Adobe to fix it. Of course, you need to file a bug report for that
(https://bugbase.adobe.com/). But until then, as you note, adding the
querystring on the cfform action will work.

Seems related to XSS security fix

I did a little more digging, and I found that in fact CF10 (and patched CF 8
and 9 servers) did change this behavior (how CFFORM with a blank action
changed with regard to how querystring values are passed in) due to XSS
(cross-site scripting) issues that Adobe is trying to fix. See the second
"note" here:

http://helpx.adobe.com/coldfusion/kb/coldfusion-security-hotfix-1.html

Now, just as CF10 was released there was a change related to this. You can
see discussion of it in a comment here:

http://www.carehart.org/blog/client/index.cfm/2012/3/7/charlie_areharts_ulti
mate_cf10_new_features_list#c42232ACE-0DD6-85FE-5F26011B1DE1E55E

This is in a blog entry I did on the 200+ new things in CF10, and Aaron Neff
noted in the comment I've linked to that one feature I'd mentioned, related
to this change about CFFORM, had changed since the beta docs I had used when
I wrote the entry. I'm still not quite sure why we see the variations above,
but it does seem this is all driven on the empty form action and how CFFFORM
processes that.

You can read even more about the vulnerability being addressed in this
longer blog entry from a security expert (from the CF9 era, when the hotfix
was added):

https://community.qualys.com/blogs/securitylabs/2013/04/19/using-java-decomp
ilers-to-find-security-holes

Hope something there helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Mark Picker
Sent: Friday, August 23, 2013 2:38 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Re: Issue with CFLOCATION and cgi.query_string

 

Hi Charlie,

 

Yep I did actually see that in the instructions, however maybe I did do
something wrong as the isapi_redirect.dll file on all the new servers are
dated 23 May 2013 (8:36PM), not June.


RE: [cfaussie] Re: Issue with CFLOCATION and cgi.query_string

2013-08-22 Thread Charlie Arehart
Assuming you are connecting to CF using an external web server (IIS, Apache,
etc.)? If so, then after doing the CF 10 update 11, did you rebuild the web
server connector(s)? 

People often miss that the update details suggests (or requires) doing that
after many of the CF 10 updates. Since this issue could potentially be
related to the web server connection, it's worth considering. 

For most people, this involves opening CF's web server configuration tool
and doing a "remove" and then "add" in the GUI. 

Even if you may not think you should have to do this for this seeming bug,
it's worth doing by EVERYONE. You can confirm if you've done it by looking
at the date of the file in the [cf10]\config\weconfig\[n]\isapi_redirect.dll
(there will be "n" folders for the number of connectors created). If it's
dates from March 2012, it's the original (and worst). If it's dated Nov 2012
that's better. After doing Update 11, if you rebuild it, it will be dated
June 2013.

Let us know if that does or doesn't help.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Mark Picker
Sent: Thursday, August 22, 2013 7:40 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: Issue with CFLOCATION and cgi.query_string

 

Hi Chris,

 

Yes. As far as I can tell it's the latest (CF10 Update 11).

 

I just discovered how much of a pain it is to find update information on the
Adobe site.I swear that information was easier to find a couple of weeks
ago.

 

Cheers

Mark

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.


RE: [cfaussie] Is refreshWSDL working with CF10?

2013-08-02 Thread Charlie Arehart
Xiaofeng , I'm curious, first: are you judging whether they are cleared just
by whether you see changes reflected in the results of the ws call? Or are
you looking at the dates of the cached stubs?

Second, please clarify how the cs-generated remote proxies fit into this
challenge. Are you invoking them, or publishing them? You refer first to the
issue with refreshwsdl on cfinvoke, but then you refer to these cs proxies.
So are you calling these CS proxies as web services from a CFINVOKE? Is that
because the CS proxies are on another CF instance? (If they're on the same
instance, one could wonder why you would bring web services into this at
all, but I've seen people do it, whether with good reason or not.)

Third, are you saying that the "changes you don't see" would reflect in a
change in the WSDL? Are you perhaps adding methods? Changing properties? If
so, what if you take CF out of the equation in terms of evaluating that
generated wsdl? What do you see when you just call the WSDL URL in a browser
(and view source if needed) to see the returned WSDL XML? Does that show
what you're looking for?

Finally, if not, I wonder if the problem (of your changes not being
published) could it instead simply be that you have "trusted cache" turned
on in the server which hosts the CFCs? That would certainly prevent the
caller (whether a web service client, or a local page calling the CFCs, or a
browser calling the WSDL) from seeing the result of any changes you make in
the CFC.

Let us know if it is or is not any of those things, which would point us in
perhaps another direction for you.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Xiaofeng Liu
Sent: Friday, August 02, 2013 3:40 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Is refreshWSDL working with CF10?

 

Hi,

Has anyone ever had issue with using refreshWSDL="true" on cfinvoke to
refresh WS stubs in CF10?

I got ColdSpring generated remote proxies for certain methods (on my service
CFCs) that I'd like to expose externally as web services. However with
refreshWSDL set to true on my WS call doesn't seem to purge the cache. 

The application is running on FW/1. I also tried to reload FW/1 to make sure
my service CFCs are not cached.


Without a CF reboot, I can't get my changes reflected :(


-- 
Best regards,

Xiaofeng,^_^ 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] string manipulation to find the value in a comma separated value record set of a specific length and syntax

2013-07-04 Thread Charlie Arehart
Claude, you don't mention how you are reading the csv in, in the first
place. Are you using CFFILE or another function to read the entire file in,
and then trying to loop over it?

Have you instead tried using CFHTTP? Many don't know it but that has long
had the ability to read in a CSV and convert it to a query (created using
the NAME attribute). Once done, you can easily access the rows and columns,
including using SQL to do a query of queries, to do filtering or other
manipulation. (If you already know of this use of CFHTTP, had you had any
luck in using Q of Q to do the manipulation you seek?)

The only challenge with using CFHTTP for this is that the CSV file in
question does need to be in a web-accessible directory, as you still have to
use a URL to point to the CSV. But if that's not an issue or can be
resolved, you may be surprised the power if you've never seen/used it. 

The tag has a few attributes to control things like whether the first line
has a header row, what delimiter and qualifier to use (if other than a comma
and double-quotes), and more.


The feature is documented in Developer's guide:

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172
e0811cbec1529c-7fff.html

While it's mentioned in the CFML Reference page for CFHTTP, curiously the
key attributes for this capability are not mentioned in the initial table of
attributes (as seems more typical). Instead, they are listed in a separate
table down the page (search for the text, "convert the HTTP response body
into a ColdFusion query object", as there is no section header for it):

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e08
11cbec22c24-7ffc.html

Finally, here's an example that shows both reading a CSV and processing it
with Q of Q (it's listed oddly in a section on using the Cast function for Q
of Q):

http://help.adobe.com/en_US/ColdFusion/9.0/Developing/WSc3ff6d0ea77859461172
e0811cbec0e4fd-7ff0.html#WSc3ff6d0ea77859461172e0811cbec22c24-7b7b

Hope that helps someone, even if not you, Claude. But if it does not, what
aspect still fails to be resolved? It wasn't quite clear from your note (or
your subsequent replies to others here).

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of rai...@ozemail.com.au
Sent: Thursday, July 04, 2013 9:35 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] string manipulation to find the value in a comma
separated value record set of a specific length and syntax

 

Hi

 

I have a csv data set with each record contains a set of comma separated
values

 

I am trying to write cf code to interrogate each record to find the value in
the set of comma seated values that meets a specific character set

 

In the examples below you can see the value 868487001009190 is located in
position 3 of the first record and position 2 in the second record

 

Record 1:
'+RESP:GTSTT,070106,868487001009190,GT500,41,0,0.0,0,14.7,153.035960,-27.471
336,20130704121354,0505,0002,1B8D,A281,00,006064939682,-66,20130704122355,07
58$'

 

record 2: '+RESP:GTTRI,
868487001009190,1,0,0,0,0.2,148,6.4,3,153.034551,-27.471390,20130610110953,0
505,0002,1B6B,A281,00,0012,0103090402'

 

 

 

Kind Regards

 

Claude Raiola

SAMARIS Software

Call 1300 255 990

 

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.




RE: SPAM-HIGH: [cfaussie] Getting CF to read XML data

2013-06-16 Thread Charlie Arehart
Cool, and happy to help. 

That said, please don't leave it at that. :-) If you'll be working with XML
much, you will really help yourself if you spend even 30 minutes with the
Nate Weiss PDF I link to in the blog entry. Truly a classic in the CF world,
and the best first resource for getting started with XML in CFML. There are
lots of things one might never even consider that he explains quickly and
succinctly, which will make you far more productive as you continue working
with it.

"As always, just trying to help." :-)

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of rai...@ozemail.com.au
Sent: Saturday, June 15, 2013 11:33 PM
To: cfaussie@googlegroups.com
Subject: RE: SPAM-HIGH: [cfaussie] Getting CF to read XML data

 

Worked like a charm thanks

 

Much appreciated

 

Kind Regards

 

Claude Raiola

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.




RE: SPAM-HIGH: [cfaussie] Getting CF to read XML data

2013-06-15 Thread Charlie Arehart
Hey Claude, while the xmlsearch could and should work, I'd propose that
there are other ways to access XML data which may help, especially
array/struct notation and/or functions. Since you don't mention them, I'd
like to propose you consider those.

For instance, how about:



 



If that doesn't work, just keep removing elements from the right until the
works, and sort out from the dump what you need to use. 

If that's not enough info, I'll note that there are more resources to help
with processing XML in CFML, not least of which is the Developer's Guide
(which many miss, if they know only of the CFML Reference), as well as a
great PDF on XML processing in CF which Nate Weiss did over 10 years ago,
but which still mostly applies and in my mind is the best first place to
start.

I did a blog entry a couple of years ago pointing to these resources:

http://www.carehart.org/blog/client/index.cfm/2011/5/10/where_to_learn_CFMLs
_XML_capabilities

Let us know if any of the above helps.



/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of rai...@ozemail.com.au
Sent: Saturday, June 15, 2013 1:47 AM
To: cfaussie@googlegroups.com
Subject: RE: SPAM-HIGH: [cfaussie] Getting CF to read XML data

 

Hi Cassie and Kai,

 

Yes bloody typo's

 

so I have change the code so reflect the structure however still there is no
output

 



 



 



 

Kind Regards

 

Claude Raiola

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] Depreciation/reduction of some functionality from 9 to 10?

2013-06-03 Thread Charlie Arehart
I'd agree with AJ's assessment, if you may seek more confirmation, Chris. 

That said, I'd note as well that I don't think that that document (or the
version from each previous release) has ever indicated when a given line
item's corresponding feature set has been *reduced* in functionality, let
alone deprecated or obsoleted. 

So while I don't think you'd want to read the document as in any way
referring to a loss of functionality for those items (just a continuation of
their general support), I don't think you want to conclude from it that
there is NO loss of functionality. And let's be fair in that regard and note
that it is subtitled "Feature Improvement history", so they should not be
expected to offer info on loss of functionality. :-)

But since there was no real "release notes" for CF10, the only real way to
know if a given tag or function has been deprecated or obsoleted is to look
in the CFML Reference. That said, the tables there of obsoleted tags and
obsoleted functions both show changes since CF7. I did a scan through the
reference and found one deprecation that is not listed in that table:

TimeFormat
ColdFusion 10: The mask "m or M" for minute is deprecated. Recommended "n or
N".


The "Developing Applications" manual (nearly as large as the Reference, at
1300+ pages) doesn't do much to track deprecated or obsolete features, but
it does have a chapter 1 on what's new in CF10. It's not a complete list.
For that, I'd recommend my "ultimate list of 200+ new CF10 features", at:
http://tinyurl.com/ultimatecf10list, or
http://www.carehart.org/blog/client/index.cfm/2012/3/7/charlie_areharts_ulti
mate_cf10_new_features_list/. But there too I do not list any deprecated or
obsoleted features, as again it was about "new features".

(Ad as for Flash Remoting, I'm not aware of any reduction in features for
that specifically. Of course, with the change to running on Tomcat, and the
reliance of Flash Remoting on client-to-server communications, I suppose
there could possibly be issues. Since it's not a feature too widely used,
the number of folks who use it who have upgraded to 10 could be rather
small, so you'll want to do thorough testing yourself, or just trust that
Adobe had done so.)

Finally, someone may want to point out that the Code Analyzer in the CF
Admin ("Debugging & Logging" section) has always offered as an option an
ability to identify if any tags/functions in some given code may be
deprecated or obsoleted. I've not been 100% trusting of that myself, but
it's worth a shot if you're concerned.

More than you asked for, but hopefully helpful.

/charlie

PS As long as I'm on a roll, I'll note also that the word really is
"deprecated", rather than "depreciated". No offense intended Chris, and I
hope none taken. I'm writing this for other readers as well, as it's a
frequent source of confusion. "Deprecated" means a feature is identified as
no longer supported and should no longer be used (and "obsoleted" means it
CAN NO LONGER be used), whereas "depreciated" is more of an accounting term,
referring to the loss in value of something over time. That meaning is
certainly close enough to explain the frequent confusion of the words. :-)

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of AJ Mercer
Sent: Monday, June 03, 2013 5:03 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Depreciation/reduction of some functionality from 9
to 10?

 

to me that reads as improved in CF9, and still there in CF10 (now old news)

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] Strange ColdFusion Multi-Instance Stopping Error

2013-05-08 Thread Charlie Arehart
Glad to hear that it helped you find the real problem.

But no, I do not think the access violation would be related to class loader
issues (that yes, were fixed in update 1.6.0_11, if I recall correctly).

I would think there's some other explanation for this. Did you perhaps apply
any CF hotfixes, cumulative hotfixes, or security hotfixes before this
happened, whether days, weeks, or months before? It's not at all unusual for
people to make mistakes doing that, leading things to be broken. I have a
rather extensive blog entry on that issue here:

http://www.carehart.org/blog/client/index.cfm/2011/10/21/why_chfs_may_break

Let us know if any of that helps.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Xiaofeng Liu
Sent: Wednesday, May 08, 2013 10:10 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Strange ColdFusion Multi-Instance Stopping Error

 

Hi Charlie,

Thanks for the replay. I had a look of the instance's out.log file and found
that it seems to have a JVM access violation exception reported.

BTW, the CF8 on this server is still running on JVM 1.6.04 originally
shipped with CF8 which is known to have class loader issue. I know it's bad,
somehow we didn't get it updated :(

Do you have any suggestions? I'm thinking about upgrade the JVM first to the
latest version.

Thanks,

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] Strange ColdFusion Multi-Instance Stopping Error

2013-05-08 Thread Charlie Arehart
Look instead in the jrun\logs directory for the instance's out.log from the
time of the problem. It may have far more valuable clues than that
server.log you are looking at.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Xiaofeng Liu
Sent: Wednesday, May 08, 2013 9:03 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Strange ColdFusion Multi-Instance Stopping Error

 

Hi folks,

I'm having a weird ColdFusion server instance stopping problem at one of our
quite old ColdFusion 8 production servers. 

 

The server is a Window Server 2003 and it uses IIS. ColdFusion is version 8
and configured as multi instance mode with 2 instances running on it.

The weird thing is, in the last 2 days, roughly around the same time at
midnight, one particular instance's JRun service gets stopped while the
other instance got no problem of running. I couldn't restart the service
therefore a reboot of the server fixed the problem yesterday. But it happens
today again!

Below is the server log entries I found at the time of interest:


"Information","scheduler-10","05/09/13","00:44:27",,"Starting logging..."
"Information","scheduler-10","05/09/13","00:44:27",,"Starting license..."
"Information","scheduler-10","05/09/13","00:44:28",,"Enterprise Edition
enabled"
"Information","scheduler-10","05/09/13","00:44:28",,"Starting crypto..."
"Information","scheduler-10","05/09/13","00:44:28",,"Installed JSafe JCE
provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider
(implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4,
RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512,
HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384,
HMAC-SHA512)"
"Information","scheduler-10","05/09/13","00:44:28",,"Starting security..."
"Information","scheduler-10","05/09/13","00:44:28",,"Starting scheduler..."
"Information","scheduler-10","05/09/13","00:44:28",,"Starting
WatchService..."
"Information","scheduler-10","05/09/13","00:44:28",,"Starting debugging..."
"Information","scheduler-10","05/09/13","00:44:29",,"Starting sql..."
"Information","scheduler-10","05/09/13","00:44:29",,"Pool Manager Started"
"Information","scheduler-10","05/09/13","00:44:31",,"Starting mail..."
"Information","scheduler-10","05/09/13","00:44:40",,"Starting logging..."
"Information","scheduler-10","05/09/13","00:44:40",,"Starting license..."
"Information","scheduler-10","05/09/13","00:44:41",,"Enterprise Edition
enabled"
"Information","scheduler-10","05/09/13","00:44:41",,"Starting crypto..."
"Information","scheduler-10","05/09/13","00:44:41",,"Installed JSafe JCE
provider: Version 3.6 RSA Security Inc. Crypto-J JCE Security Provider
(implements RSA, DSA, Diffie-Hellman, AES, DES, Triple DES, DESX, RC2, RC4,
RC5, PBE, MD2, MD5, RIPEMD160, SHA1, SHA224, SHA256, SHA384, SHA512,
HMAC-MD5, HMAC-RIPEMD160, HMAC-SHA1, HMAC-SHA224, HMAC-SHA256, HMAC-SHA384,
HMAC-SHA512)"
"Information","scheduler-10","05/09/13","00:44:41",,"Starting security..."
"Information","scheduler-10","05/09/13","00:44:41",,"Starting scheduler..."
"Information","scheduler-10","05/09/13","00:44:41",,"Starting
WatchService..."
"Information","scheduler-10","05/09/13","00:44:41",,"Starting debugging..."
"Information","scheduler-10","05/09/13","00:44:41",,"Starting sql..."
"Information","scheduler-10","05/09/13","00:44:42",,"Pool Manager Started"
"Information","scheduler-10","05/09/13","00:44:44",,"Starting mail..."
"Information","scheduler-10","05/09/13","00:44:44",,"Starting runtime..."
"Information","scheduler-10","05/09/13","00:44:44",,"CORBA Configuration not
enabled"
"Information","scheduler-10","05/09/13","00:44:44",,"Starting cron..."
"Information","scheduler-10","05/09/13","00:44:44",,"Starting registry..."
"Information","scheduler-10","05/09/13","00:44:44",,"Starting client..."
"Information","scheduler-10","05/09/13","00:44:44",,"The metrics service is
disabled for the J2EE edition"
"Information","scheduler-10","05/09/13","00:44:44",,"Starting xmlrpc..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting graphing..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting verity..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting archive..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting document..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting
eventgateway..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting
FlexAssembler..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting .NET..."
"Information","scheduler-10","05/09/13","00:44:45",,"Starting Monitoring..."
"Information","Thread-1","05/09/13","07:45:05",,"ColdFusion stopped"

I'm trying to find the root cause of this issue. Has anyone experienced
something like this before? Any help would be much appreciated.



-- 
Best regards,

Xiaofeng,^_^ 

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscr

RE: [cfaussie] Massive CF8 Exploit: double check your server is secure

2013-02-18 Thread Charlie Arehart
To be clear, those exploits (there were more than one) are an issue on more
than just CF8, but include CF9 and 10 as well (and perhaps 7 and 6, but of
course fewer are discussing those. 

CF 10 is somewhat protected against one of the exploits out of the box (or
with one of the updates before that released by Adobe on Jan 15). But there
are some things that it was still vulnerable to, and the update addresses
that.

Same for CF9, though it was more vulnerable, even with some more recent
security hotfixes  before that one. Again, someone on 9 (9.0 or 9.0.1 or
9.0.2) will definitely want to apply the Jan 15 security hotfix as well.

And everyone (on all CF releases) will want to follow the recommendation to
protect unfettered public access to at least the directories CFIDE/adminapi,
CFIDE/administrator/, and CFIDE/componentutils, as discussed in my blog
entries (there were three, the other two pointed to from that one). And I
discuss there how the right answer (for most) is NOT to just block the
entire CFIDE, without considering the need that some of your code may have
to still access CFIDE/scripts, and how also it's NOT always enough to focus
only on "sites that have a CFIDE real or virtual directory". There are ways
that even sites without one could still respond to page requests against
those. Again, more in the blog entry/entries.

But thanks, Geoff, for raising the awareness for any who may have missed it.
Yes, it was virulent, and seemed to affect a very large percentage of folks.
(Fortunately, some who were "broken into" were protected by having applied
at least some previous security hotfixes.)

This has been a real wake-up call to people a) not to leave their CF Admin
(and the other 2 folders) open (having a CF Admin password defined is NOT
sufficient) and b) not to fail to keep up on hotfixes.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Geoff Bowers
Sent: Monday, February 18, 2013 12:43 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Massive CF8 Exploit: double check your server is secure

 

Folks,

 

If you are running CF8 you need to patch your server, or at least confirm
you are appropriately locked down.

 

While many on the list may already be aware of this problem, i thought it
worth re-iterating. We've patched this for many clients, and have helped
several folks recover from being severely compromised. Just seen another
unfortunate last week.

 

Adobe security bulletin here:

 
http://www.adobe.com/support/security/bulletins/apsb13-03.html

 

Discussed at some length here:

 

http://www.carehart.org/blog/client/index.cfm/2013/1/2/Part2_serious_securit
y_threat

 

TL;DR version:

Can give complete and unfettered access to your server and all your data.

 

If you need help patching or repairing damage, give us a shout.

 

All the best,

 

-- geoff bowers

Director

Daemon Internet Consultants

Sydney, Australia

p. +612 8999 8883

skype. gb.daemon

w. http://www.daemon.com.au/

e. modius-AT-daemon.com.au

 

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] Hosting Facility Opportunity, equipment and premises for sale.

2013-02-14 Thread Charlie Arehart
Wow, very sorry to hear that news of Kym, and wishing her the best.

/charlie


-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Kym Kovan
Sent: Wednesday, February 13, 2013 1:55 AM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Hosting Facility Opportunity, equipment and premises for
sale.

Hello,

I hope this is not too far off list guidelines.

Due to ill health (Motor Neurone Disease) Kym Kovan, founder term list
member and internet/ICT pioneer in Australia (early Bulletin Board supplier
and founder of one of the earliest speciality internet hosting companies and
ColdFusion/cfml stalwart) is selling the properties ...



Its will be a sad day when we finally leave but her retirement and enjoyment
of what time remains for her is more important than hanging on in these
properties.



*Fiona J Austen *| *CEO*

*/mort bay communications pty ltd /*


-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cfaussie+unsubscr...@googlegroups.com.
To post to this group, send email to cfaussie@googlegroups.com.
Visit this group at http://groups.google.com/group/cfaussie?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




RE: [cfaussie] Serious security threat for #ColdFusion servers, not covered by hotfixes

2013-01-15 Thread Charlie Arehart
Thanks for the mention there, Chris. 

And as an update to something I wrote there (for those who may have seen it
already), the issue I'd pointed out with respect to a problem with the
hotfix for those on 9.0.2, that problem has now been resolved. Adobe
(Shilpi) has since posted a comment on their blog and mine clarifying that
there was just a mistake of a line left in the technote which did not apply
to 9.0.2. I've corrected my blog entry to reflect that update.

/charlie


-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Chris Velevitch
Sent: Tuesday, January 15, 2013 10:43 PM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] Serious security threat for #ColdFusion servers, not
covered by hotfixes

Hotfix released.

See
http://www.carehart.org/blog/client/index.cfm/2013/1/15/Part3_serious_securi
ty_threat

On Thu, Jan 3, 2013 at 2:13 PM, Charlie Arehart 
wrote:
> Thanks for the mention, Chris, and I do hope folks will check it out, 
> as t turns out that indeed many have been hit.
>
> I have also since posted a Part 2 with still more info, especially 
> related to remediation, but lots more:
>
> http://www.carehart.org/blog/client/index.cfm/2013/1/2/Part2_serious_s
> ecurit
> y_threat
>
> /charlie
>
>
> -Original Message-
> From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On 
> Behalf Of Chris Velevitch
> Sent: Wednesday, January 02, 2013 6:03 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] Serious security threat for #ColdFusion servers, 
> not covered by hotfixes
>
> http://www.carehart.org/blog/client/index.cfm/2013/1/2/serious_securit
> y_thre
> at
>
> --
> Chris
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
"cfaussie" group.
> To post to this group, send email to cfaussie@googlegroups.com.
> To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.
>



--
Chris
--
Chris Velevitch
Manager - Adobe Platform Users Group, Sydney
m: 0415 469 095
www.apugs.org.au

Adobe Platform Users Group, Sydney
Topic: HTML/CSS Animation Tools
Date: Wednesday, 30th January at 6pm
Details and RSVP on http://www.meetup.com/Sydney-Adobe-Platform-User-Group

--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Serious security threat for #ColdFusion servers, not covered by hotfixes

2013-01-02 Thread Charlie Arehart
Thanks for the mention, Chris, and I do hope folks will check it out, as t
turns out that indeed many have been hit.

I have also since posted a Part 2 with still more info, especially related
to remediation, but lots more:

http://www.carehart.org/blog/client/index.cfm/2013/1/2/Part2_serious_securit
y_threat

/charlie


-Original Message-
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Chris Velevitch
Sent: Wednesday, January 02, 2013 6:03 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Serious security threat for #ColdFusion servers, not
covered by hotfixes

http://www.carehart.org/blog/client/index.cfm/2013/1/2/serious_security_thre
at

-- 
Chris



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Re: Debugging problem on cf9

2012-10-04 Thread Charlie Arehart
Cool news. Glad we could help. Thanks for the update.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Scott Thornton
Sent: Thursday, October 04, 2012 10:16 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Re: Debugging problem on cf9

 

Hi Charlie\Carl,

 

Yes that was the problem. The number of form fields needed to be increased.

 

I am emailing as it didn't see Joel's post come throught the email
notification. He did post on the googlegroup website apparently though.

 

Thanks for your quick responses, we would never had figured it out..

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Debugging problem on cf9

2012-10-03 Thread Charlie Arehart
Joel, first, you refer to commenting out all the code-but note that if there
is an application.cfc/cfc in the directory or its parent (and so on), then
CF will run THAT code before this "blank" file. Just something to consider.

But second, since you refer to a form post, does this form by any chance
have more than 100 fields? If so, the difference in the machines may be that
one has had the CF security hotfix(es) added, and the other has not yet. One
of the fixes implemented a protection that prevents an exploit when hundreds
of form fields are posted. The fix was to set a limit of 100. The security
hotfix technote talks about how you can tweak an underlying xml file (after
applying the fix) if you need to raise that number to allow still more than
100 fields per form. 

Finally, you refer to getting a "IIS HTTP error 500.0 Internal Server
Error". To be clear, this could be a CF error, with IIS just passing the
error to the end user. And in that regard, you should look at the CF logs to
see if there are any errors for this. By the CF logs, note that I mean both
the [cf]\logs and also the [cf]\runtime\logs (or [jrun]\logs).

Hope that helps.

 

/charlie

PS And yes some may marvel that anyone would ever post that many fields, but
they have and they do. Many have not realized they had code that did it
until they implemeted this fix and started getting this error.

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Joel Caldwell
Sent: Wednesday, October 03, 2012 9:51 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Debugging problem on cf9

 

Hi,

 

I'm experiencing a problem whereby when a form is submitted I immediately
receive an IIS HTTP error 500.0 Internal Server Error.

 

The problem does not seem to be consistent however as many pages do work.

 

During my initialdebugging, I went as far as to comment out all the code,
reintoducing small snippets in an attempt to uncover a specific element on

the page which may have been causing all this drama.

 

The problem persists even with no code atall on the submission page.

 

Another developed here using cf 9.0.1.274733 is able to run the page without
any errors. 

 


I'm using ColdFusion Server Developer

9,0,2,282541

 

The IIS log look like this

 

2012-10-04 01:34:23 ::1 POST /platypus2/admin/sbmt18_Act.cfm - 80 - ::1
Mozilla/4.0+(compatible;+MSIE+8.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+
CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+
InfoPath.3;+.NET4.0C;+.NET4.0E) 500 0 0 10

 

Any suggestions?

 

Thanks

 

Joel Caldwell

-- 
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/cfaussie/-/f5sbOAC52QoJ.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

2012-09-11 Thread Charlie Arehart
Well, while you can't edit the template, you can certainly just point to a
new one in the field of the CF Admin. :-) As I tried to clarify, it's just
that the "Secure profile" pre-fills that field with a pointer to this newly
provided template by default (so that there is at least SOME page that
intercepts errors, versus the more traditional "standard CF error page"
output). But yes, you can certainly still change the Admin to point to a
different file (or even remove it leaving none, which then causes CF to show
what it always showed). 

Some would argue that even with "robust exception handling" turned off (and
not exposing details like the line number, CFML code in error, etc.) that
the traditional error output (for unhandled errors) was giving too much
info, thus the new default "generic" template. That's my understanding of
things, at least. I was just an observer in all this throughout the
prerelease, not an influencer in any way. :-)

Hope that helps.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Steve Onnis
Sent: Monday, September 10, 2012 8:28 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

 

Charlie

 

Do you know if you can change it back to the standard error template?  I
tried to edit the template itself but it is an encrypted template

 

Steve

 

From: Charlie Arehart [mailto:charlie_li...@carehart.org] 
Sent: Monday, 10 September 2012 11:27 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

 

Folks/Steve, this odd-looking error page is indeed a feature of CF10-that
is, if you have enabled the new "secure profile" feature during
installation, which Steve must have done (and Dale and others on CF10 not
seeing it, had not). 

So this odd error page Steve's seeing is the result of the HTML generated in
a page that's defined as the sitewide error handler (the file pointed to in
the corresponding field of the CF Admin server settings page). When the
"secure profile" feature is selected, that sitewide error field is
prepopulated with a new pre-written (bland) error CFM page (otherwise, the
default is for that sitewide error handler field to be blank on install). 

So CF10 users with the secure profile enabled will see that "new" error page
on any CF error that is otherwise not handled in their code. Traditionally,
any error in CF that's not handled would get the "good old CF error page"
(which showed details or not depending on the "robust exception handling"
setting). With the new "secure profile", you see this generic page with
little info.  It's all about being more secure, of course. :-)

But I'm sure many people will be caught out by this for some months/years to
come, as people get used to it. As we saw here, even those "also on CF10"
won't see it, unless they have used the "secure profile" feature-and only
then if they have otherwise unhandled errors.

Hope that helps.

 

/charlie

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

2012-09-10 Thread Charlie Arehart
Folks/Steve, this odd-looking error page is indeed a feature of CF10-that
is, if you have enabled the new "secure profile" feature during
installation, which Steve must have done (and Dale and others on CF10 not
seeing it, had not). 

So this odd error page Steve's seeing is the result of the HTML generated in
a page that's defined as the sitewide error handler (the file pointed to in
the corresponding field of the CF Admin server settings page). When the
"secure profile" feature is selected, that sitewide error field is
prepopulated with a new pre-written (bland) error CFM page (otherwise, the
default is for that sitewide error handler field to be blank on install). 

So CF10 users with the secure profile enabled will see that "new" error page
on any CF error that is otherwise not handled in their code. Traditionally,
any error in CF that's not handled would get the "good old CF error page"
(which showed details or not depending on the "robust exception handling"
setting). With the new "secure profile", you see this generic page with
little info.  It's all about being more secure, of course. :-)

But I'm sure many people will be caught out by this for some months/years to
come, as people get used to it. As we saw here, even those "also on CF10"
won't see it, unless they have used the "secure profile" feature-and only
then if they have otherwise unhandled errors.

Hope that helps.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dale Fraser
Sent: Friday, September 07, 2012 2:16 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

 

Yep, have those

 

C:\ColdFusion10\cfusion\wwwroot\CFIDE\administrator\templates\assets

 

Might want to ask Adobe what causes this since we don't see it.

 

Regards

Dale Fraser

 

http://dale.fraser.id.au

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Steve Onnis
Sent: Friday, 7 September 2012 1:50 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Coldfusion 10 debug nifo covered by black strip

 

It has to be a Coldfusion this.  The circle is pointing to
/CFIDE/administrator/templates/assets/spot.png
http://www3.scienceimage.csiro.au/CFIDE/administrator/templates
/assets/spot.png> 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Re: CF10 WSDL

2012-08-23 Thread Charlie Arehart
You can indeed override it many ways, and another is on the call to the web
service itself (such as in cfinvoke, createobject, etc.)

For more on all this (beyond the docs) see this article:

http://www.adobe.com/devnet/coldfusion/articles/axis2-web-services.html 

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Gavin Baumanis
Sent: Wednesday, August 22, 2012 2:19 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Re: CF10 WSDL

 

Hi Kai,

You are correct.

You can override the CFADMIN setting in code via an Application.cfc setting
or as CFC metadata.

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Web Services Problem

2012-08-19 Thread Charlie Arehart
Thanks for the update, and the kind regards. Good to hear the ball is moving
down the field. :-) Yep, you'll want to add a vote and a note there, in the
hopes it adds to Adobe's motivation to resolve things. 

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dale Fraser
Sent: Sunday, August 19, 2012 8:26 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Web Services Problem

 

Charlie,

 

You are a legend (was never any doubt)

 

This morning, Gavin had this issue still not working on his local
environment.

 

I said well the only other thing I changed was this, but that didn't fix it
when I tried.

 

He changed it and cleared template cache and it fixes it.

 

So it seems it's a connector bug rather than an IIS bug, let's hope Adobe
address it soon.

 

Thanks again

 

 
https://bugbase.adobe.com/index.cfm?event=bug&id=3222748

Anyway, though the engineer has not yet added his observation to the bug
report, he said on the list (a private one, which I feel safe sharing here):

"From our initial investigation, it looks like something is getting messed
up between the tomcat connector and the web server in the webservice request
when POST size is exceeding a certain limit. We found a temporary workaround
which prevents this - and that is enable 'cache web server path' setting in
the admin. I know the workaround sounds completely unrelated but it is
indeed the case. We also understand that workaround might not be acceptable
if you have multiple websites and would like to assure you that we are
working on it"

 

Regards

Dale Fraser

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] Web Services Problem

2012-08-18 Thread Charlie Arehart
Ah, I'd not clicked the link of the URL he'd offered. I see now that it was.
Oh well, maybe it will help someone else who also had not opened the
document. :-)

And yes, I see now what you mean, that the "feature settings" are related to
the whole feature, not the "query strings" aspect of it. 

BTW, I should note that it's settable not only at the site level, but I saw
later it's also settable at the sever level. Might be helpful to someone.

Glad it's "working" for you now, whatever may have solved it.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dale Fraser
Sent: Saturday, August 18, 2012 11:19 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] Web Services Problem

 

Thanks Charlie,

 

We had previously found those settings and Mr Buzzy shared that same stuff
earlier, so we have played with those settings without luck.

 

Those feature settings btw aren't tab specific but are overall settings.

 

However ours is currently set to 300,000,000

 

I just tried again however and its now working, we changed so much stuff
last week and could not get it working, so unless Gavin has done something
this weekend, I have no idea why or what we did.

 

I'll report back if Gavin has changed something.

 

Regards

Dale Fraser

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] CF10 WSDL

2012-08-17 Thread Charlie Arehart
Sad news: I did that, and do not get the error. Here are a few ideas
(#megraspingatstraws):

First, do you have any mappings in CF that may point the root (\) to
somewhere else? I just wonder if it's picking up some other Test.cfc in your
environment. #graspingatstraws

Second, how about taking a look in
C:\ColdFusion10\cfusion\wwwroot\WEB-INF\cfc-skeletons. What do you see
there? There should be a Test.class and TestBeanInfo.class. If they're there
with another case, perhaps delete them and try again. And though I know you
say this is an a brand new install, you may want to also try clearing the
template cache just to see if it helps. 

Third, if you make any such changes above and still get the error, you may
want to make sure you're not seeing cached output in your browser. You could
clear the template cache. Sadly, the trick of adding another random query
string var to the URL doesn't work with these wsdl URLs. You could also try
your browser request in a browser where you've never visited this page
before. And of course you could turn on any browser developer tool that
shows client/server communications, to be sure you see this error coming
back from the server.

Better still, and in addition, you could look in the CF error logs and make
sure you really are getting the error logged there when you make the request
(I know in the first message of the thread you confirmed you do get the
error. I mean, confirm that you get it on each page request now, if you make
any changes such as I suggest above, to ensure you really are still getting
the error, rather than risk browser caching issues.)

Hope that helps.

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dale Fraser
Sent: Friday, August 17, 2012 9:23 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF10 WSDL

 

I still believe this is a bug.

 

I just completely uninstalled and deleted everything in the ColdFusion10
directory and did it again, and can reproduce it

 

1.  Install ColdFusion 10 Enterprise internal server on Windows 7, change no
settings

2.  Create a Test.cfc in C:\ColdFusion10\cfusion\wwwroot with the code below

3.  Browse to the WSDL http://localhost:8500/Test.cfc?wsdl

4.  You will get an error 500

5.  Create a TestWS.cfc in same location with same code below

6.  Browse to the WSDL http://localhost:8500/TestWS.cfc?wsdl

7.  Works fine

 



 







 



 

Regards

Dale Fraser

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



RE: [cfaussie] CF10 WSDL

2012-08-17 Thread Charlie Arehart
Well, AJ already did, so that would seem to confirm that it's not a generic
issue. That said,  he said he ran it in "his web root" and you show using
the CF10 internal web server root. 

So first, AJ, was your request in an external web server? And for Dale, have
you tried the request via an external web server and in its docroot? (I'm
afraid I have to run now and can't do any testing myself.)

Just trying to help. Sorry if I may be forgetting that you've already
covered this somehow, but I looked quickly at the past notes in the thread
and didn't see it readily, so seemed worth a shot.

 

/charlie

 

From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Dale Fraser
Sent: Friday, August 17, 2012 4:02 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] CF10 WSDL

 

I 100% tried it for both and it just doesn't work, I even thought it might
be cached etc, turned off all caching, restarted the server.

 

Give it a try, be interested if its just me.

 

Regards

Dale Fraser

 

-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



  1   2   3   4   5   6   7   >