[cfaussie] Re: cf8 server monitor on jrun multi instance
As a followup to the below, the part 4 article on the Server Monitor at the Adobe DevCenter is now published (http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt4.html). The section related to Duncan's challenge (or anyone else with problems connecting the Multiserver Monitor to other CF instances) is at: http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt4_03.html So Duncan, did that help solve your problem at all? (I had sent him a pre-publication copy of that section.) /charlie _ From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Arehart (lists account) Sent: Thursday, January 17, 2008 5:33 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: cf8 server monitor on jrun multi instance Duncan, and others, it's indeed easy to get confused about setting up the multiserver monitor, and in fact I discuss it at length in the 4th and final part of my 4-part series on the CF8 monitor at the Adobe Dev Center: http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt2.html http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt2.html http://www.adobe.com/devnet/coldfusion/articles/monitoring_pt3.html The 4th part is set to be published Monday. In it, I spell out considerable detail on that policy file, as well as other hassles in setting up the MS monitor. Indeed, one of them you may be hitting, Duncan, could be a hassle with browser caching of that XML file even after you change it. Duncan, I'll send you off-list the couple of pages related to that. The rest of the folks here can see it when it's posted online on Monday (or drop me a note off-list if you're interested). But let me be clear: there's really nothing about the multiserver (multi-instance) deployment mode of CF that really is special when it comes to the multiserver monitor feature of the CF 8 monitor. It's perhaps a poor choice of words on their part. As far as one server's MS monitor is concerned, it doesn't matter what mode of deployment the other CF server (or instance) is--as long as it's CF8 enterprise. The real challenge is getting that policy file right if it's on another domain. (And even if you have multiple sites on a single physical machine, the MS monitor will still regard a call to monitor another domain as requiring permission on that server via its policy file.) Again, all that is explained in considerable detail in the article (just one of many things covered in that 4th part) I hope anyone interested in the CF8 monitor will check out the article. As has been said, the docs and other resources have left a lot to be desired. All that said, I of course stand by FusionReactor as well, along with Mr. Buzzy. Certainly if you're on CF 6 or 7, or CF8 Standard, it and SeeFusion are going to be your best bets for CF server monitoring. (And even on CF8 Enterprise, there are some things that each do that the CF8 monitor does not--especially tremendous logging. But yes, the CF8 monitor clearly also does a lot more things given its being built into the CF engine, so there can be a lot to consider. I'll throw in that as a consultant, this is one of the things I can help anyone with if they're struggling with challenges regarding any of the monitoring tools.) /charlie _ snip On Jan 15, 2008 11:13 AM, Duncan [EMAIL PROTECTED] wrote: How does the server monitor in a multi instance environment behave? Is each instance treated as another 'server', therefore requiring the use of the multiserver monitor? I am having issues adding either an instance or a complete server to the multiserver monitor, I cannot get the monitor to connect. The instructions on the use of the multiservermonitor-access-policy.xml are not entirely clear to me, especially when it comes to the separate instances. For example I have tried adding localhost:9301 with no success, the policy xml file even has allow-access-from domain=* / a whitelist for all domain in it, but still no joy. Thanks -- Duncan I Loxton [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Sending encrypted emails with CF
Hi, I've got an upcoming project that's supposed to send encrypted emails. I haven't had a great deal of experience with something like this. My understanding is that if I was given a certificate, I'd have to perform the encryption in cf before using cfmail to send out the message? Is this correct? Cheers! -Joel * DISCLAIMER * The information contained in the above e-mail message or messages (which includes any attachments) is confidential and may be legally privileged. It is intended only for the use of the person or entity to which it is addressed. If you are not the addressee any form of disclosure, copying, modification, distribution or any action taken or omitted in reliance on the information is unauthorised. Opinions contained in the message(s) do not necessarily reflect the opinions of the Queensland Government and its authorities. If you received this communication in error, please notify the sender immediately and delete it from your computer system network. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie]
Hi Everyone, I have an application that has been working quite nicely for over a year now that allows users to buy tickets for a music festival. But now I am getting an error when XML is returned from the payment gateway we use for processing credit card transactions. This is the error message: An error occured while Parsing an XML document. Content is not allowed in prolog. This does not happen with every transaction only about one in five. The payment gateway hasn't changed anything, nor have I — it just started throwing this error. This is the code where the error occurs, specifically the line XMLobj = XmlParse(cfhttp.fileContent);: cfscript /* parse the response from eway (which is an XML document), this will convert it into an XML object for easy access to its values */ XMLobj = XmlParse(cfhttp.fileContent); /* set eway vars from the response XML object */ ewayTrxnStatus = XMLobj.ewayResponse.ewayTrxnStatus.XmlText; ewayTrxnNumber = XMLobj.ewayResponse.ewayTrxnNumber.XmlText; ewayTrxnReference = XMLobj.ewayResponse.ewayTrxnReference.XmlText; ewayTrxnOption1 = XMLobj.ewayResponse.ewayTrxnOption1.XmlText; ewayTrxnOption2 = XMLobj.ewayResponse.ewayTrxnOption2.XmlText; ewayTrxnOption3 = XMLobj.ewayResponse.ewayTrxnOption3.XmlText; ewayAuthCode = XMLobj.ewayResponse.ewayAuthCode.XmlText; ewayReturnAmount = XMLobj.ewayResponse.ewayReturnAmount.XmlText; ewayTrxnError = XMLobj.ewayResponse.ewayTrxnError.XmlText; /cfscript any ideas? cheers Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Problem parsing XML
Hi Everyone, I have an application that has been working quite nicely for over a year now that allows users to buy tickets for a music festival. But now I am getting an error when XML is returned from the payment gateway we use for processing credit card transactions. This is the error message: An error occured while Parsing an XML document. Content is not allowed in prolog. This does not happen with every transaction only about one in five. The payment gateway hasn't changed anything, nor have I — it just started throwing this error. This is the code where the error occurs, specifically the line XMLobj = XmlParse(cfhttp.fileContent);: cfscript /* parse the response from eway (which is an XML document), this will convert it into an XML object for easy access to its values */ XMLobj = XmlParse(cfhttp.fileContent); /* set eway vars from the response XML object */ ewayTrxnStatus = XMLobj.ewayResponse.ewayTrxnStatus.XmlText; ewayTrxnNumber = XMLobj.ewayResponse.ewayTrxnNumber.XmlText; ewayTrxnReference = XMLobj.ewayResponse.ewayTrxnReference.XmlText; ewayTrxnOption1 = XMLobj.ewayResponse.ewayTrxnOption1.XmlText; ewayTrxnOption2 = XMLobj.ewayResponse.ewayTrxnOption2.XmlText; ewayTrxnOption3 = XMLobj.ewayResponse.ewayTrxnOption3.XmlText; ewayAuthCode = XMLobj.ewayResponse.ewayAuthCode.XmlText; ewayReturnAmount = XMLobj.ewayResponse.ewayReturnAmount.XmlText; ewayTrxnError = XMLobj.ewayResponse.ewayTrxnError.XmlText; /cfscript any ideas? cheers Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Problem parsing XML
Sounds like you aren't getting XML back. or am just getting back and empty document from your cfhttp. I would start logging it, or at least checking for HTTP response codes before parsing it. an IsXML() would probably work, Mark On Jan 23, 2008 2:57 PM, Ian Marshall [EMAIL PROTECTED] wrote: Hi Everyone, I have an application that has been working quite nicely for over a year now that allows users to buy tickets for a music festival. But now I am getting an error when XML is returned from the payment gateway we use for processing credit card transactions. This is the error message: An error occured while Parsing an XML document. Content is not allowed in prolog. This does not happen with every transaction only about one in five. The payment gateway hasn't changed anything, nor have I — it just started throwing this error. This is the code where the error occurs, specifically the line XMLobj = XmlParse(cfhttp.fileContent);: cfscript /* parse the response from eway (which is an XML document), this will convert it into an XML object for easy access to its values */ XMLobj = XmlParse(cfhttp.fileContent); /* set eway vars from the response XML object */ ewayTrxnStatus = XMLobj.ewayResponse.ewayTrxnStatus.XmlText; ewayTrxnNumber = XMLobj.ewayResponse.ewayTrxnNumber.XmlText; ewayTrxnReference = XMLobj.ewayResponse.ewayTrxnReference.XmlText; ewayTrxnOption1 = XMLobj.ewayResponse.ewayTrxnOption1.XmlText; ewayTrxnOption2 = XMLobj.ewayResponse.ewayTrxnOption2.XmlText; ewayTrxnOption3 = XMLobj.ewayResponse.ewayTrxnOption3.XmlText; ewayAuthCode = XMLobj.ewayResponse.ewayAuthCode.XmlText; ewayReturnAmount = XMLobj.ewayResponse.ewayReturnAmount.XmlText; ewayTrxnError = XMLobj.ewayResponse.ewayTrxnError.XmlText; /cfscript any ideas? cheers Ian -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: [cfaussie]
It sounds like an error I've gotten when I've had spaces or comments before the initial ?xml declaration. Try triming the filecontent. Blair On Jan 23, 2008 2:54 PM, Ian Marshall [EMAIL PROTECTED] wrote: Hi Everyone, I have an application that has been working quite nicely for over a year now that allows users to buy tickets for a music festival. But now I am getting an error when XML is returned from the payment gateway we use for processing credit card transactions. This is the error message: An error occured while Parsing an XML document. Content is not allowed in prolog. This does not happen with every transaction only about one in five. The payment gateway hasn't changed anything, nor have I — it just started throwing this error. This is the code where the error occurs, specifically the line XMLobj = XmlParse(cfhttp.fileContent);: cfscript /* parse the response from eway (which is an XML document), this will convert it into an XML object for easy access to its values */ XMLobj = XmlParse(cfhttp.fileContent); /* set eway vars from the response XML object */ ewayTrxnStatus = XMLobj.ewayResponse.ewayTrxnStatus.XmlText; ewayTrxnNumber = XMLobj.ewayResponse.ewayTrxnNumber.XmlText; ewayTrxnReference = XMLobj.ewayResponse.ewayTrxnReference.XmlText; ewayTrxnOption1 = XMLobj.ewayResponse.ewayTrxnOption1.XmlText; ewayTrxnOption2 = XMLobj.ewayResponse.ewayTrxnOption2.XmlText; ewayTrxnOption3 = XMLobj.ewayResponse.ewayTrxnOption3.XmlText; ewayAuthCode = XMLobj.ewayResponse.ewayAuthCode.XmlText; ewayReturnAmount = XMLobj.ewayResponse.ewayReturnAmount.XmlText; ewayTrxnError = XMLobj.ewayResponse.ewayTrxnError.XmlText; /cfscript any ideas? cheers Ian --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Sending encrypted emails with CF
On Jan 23, 2008 1:51 PM, Joel Chia [EMAIL PROTECTED] wrote: Hi, I've got an upcoming project that's supposed to send encrypted emails. I haven't had a great deal of experience with something like this. My understanding is that if I was given a certificate, I'd have to perform the encryption in cf before using cfmail to send out the message? Is this correct? Cheers! -Joel * DISCLAIMER * The information contained in the above e-mail message or messages (which includes any attachments) is confidential and may be legally privileged. It is intended only for the use of the person or entity to which it is addressed. If you are not the addressee any form of disclosure, copying, modification, distribution or any action taken or omitted in reliance on the information is unauthorised. Opinions contained in the message(s) do not necessarily reflect the opinions of the Queensland Government and its authorities. If you received this communication in error, please notify the sender immediately and delete it from your computer system network. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: Sending encrypted emails with CF
Im not sure on sending encrypted email thorugh CFMail. But if you are just sending the emails you might want to bypass CFMail and go directly to javamail. http://javamail-crypto.sourceforge.net/ Javamail is dead easy to interface with from coldfusion. Plenty of sample code around. Here's a starter : http://cfdj.sys-con.com/read/41597.htm Hope that helps. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---