Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
On Thu, Jun 16, 2011 at 9:19 PM, Michael Wright wrote: > Ahh ok I see now :) Basically its failing because the webroot I'm trying to > use doesnt have the WEB-INF right? Yup. > Would my idea of all 3 engines sharing a webroot on JRun work then? No. Railo and OpenBD are strict Java web applicat

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Ahh ok I see now :) Basically its failing because the webroot I'm trying to use doesnt have the WEB-INF right? Would my idea of all 3 engines sharing a webroot on JRun work then? On Fri, Jun 17, 2011 at 5:04 AM, Sean Corfield wrote: > > You're not showing us your Tomcat server.xml so it's kind

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
You're not showing us your Tomcat server.xml so it's kinda hard to debug this :) I suspect the problem is you don't have your / set up correctly... Bear in mind that Tomcat, being a _standard_ Servlet container (unlike JRun) requires that the web application (the WEB-INF/ stuff) be in the web

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Where I've got to at the moment is that I'm getting the 404's because Tomcat is looking in the webapps/cfusion folder for the files rather than my own webroot. What I'm ultimately wanting to acheive is being able to have CF, Railo & OpenBD all running under Tomcat but sharing the one webroot and

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
Make sure localhost:8080/cfusion/ is working as expected. That way you can verify the Tomcat configuration is right. _Then_ worrying about connecting Apache. Since you're using a context on Tomcat /cfusion you'll need that in both the proxy forward and proxy reverse. Depending on your level of

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Still no success having tried those, but thinking about it I'm guessing the proxying side of it must be working as its CF's 404 template I'm getting. That's leading me to think it's more to do with context and docbase, so going to have a play with server.xml. On Fri, Jun 17, 2011 at 2:33 AM, Sea

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Sean Corfield
Try adding this first: ProxyPassReverse / ajp://localhost:8009/ If that doesn't work, try the following... I've never used ProxyPassMatch - I use a RewriteRule with proxying. Take a look at this blog entry: http://corfield.org/blog/post.cfm/Railo_for_Dummies_Part_IV_Appendix Sean On Thu, Jun

Re: Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
I've changed ProxyPassMatch to ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8009/cfusion/$1$2 and now have CF serving up the 404's instead of Tomcat. On Fri, Jun 17, 2011 at 2:09 AM, Michael Wright wrote: > Hi, > > I'm experimenting with running CF on Tomcat and having a bit of a problem

Proxying Apache to Tomcat For CF9

2011-06-16 Thread Michael Wright
Hi, I'm experimenting with running CF on Tomcat and having a bit of a problem getting the proxying set up. I've been using http://www.web-rat.com/blog/post.cfm/installing-railo-on-tomcat-the-windows-edition and http://www.andyallan.com/blog/post.cfm/coldfusion-and-tomcat-web-server-conifguratio

SendGrid Code

2011-06-16 Thread Rick T
Anybody have some CFML SendGrid API code laying around? TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/g

Re: Session Variable Trouble

2011-06-16 Thread Rick T
Thank you! That did it.. I guess Railo is more sensitive, it worked fine on CF9. > Take the application.cfm file out of the subdirectory. It cascades > through subdirectories... until it encounters another. > > > Robert B. Harrison > Director of Interactive Services > Austin & Williams > 125

Re: Google Charts API CFHTTP Post

2011-06-16 Thread Leigh
> ... or aware of the approach perhaps. It is less commonly known. That alone is reason enough to post it :) Besides, I am just making excuses for why I did not suggest it myself .. ;) ~| Order the Adobe Coldfusion Anthology n

Re: Iterative Business Objects

2011-06-16 Thread Sean Corfield
OK, in light of so many folks asking, both on-list and off-list, here's a link to a ZIP containing two CFCs that provide the IBO and the ORM service we use, as well (some of) the Clojure code that manages all of the persistence: http://corfield.org/articles/ibo.zip The only "missing" code is the

Re: Google Charts API CFHTTP Post

2011-06-16 Thread Dominic Watson
Aye, indeed, or aware of the approach perhaps. Just offering up suggestions init ;) Dominic On 16 June 2011 18:13, Leigh wrote: > >> Or: >> >> http://yourserver/page-that-generates-chart-image/?with=arguments"; >> /> > > Yep. True. > > I was not sure if they wanted to separate out the image gen

Re: Iterative Business Objects

2011-06-16 Thread Kevin Pepperman
I also use IBO's and would also love to see how Corfield does his magic with them. Heck-- I look at his code even when it has nothing to do with what I am doing-- To me it is like listening to a great musician like Stephane Grappelli-- I listen very carefully even if I don't understand completely

RE: Session Variable Trouble

2011-06-16 Thread Robert Harrison
Take the application.cfm file out of the subdirectory. It cascades through subdirectories... until it encounters another. Robert B. Harrison Director of Interactive Services Austin & Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://w

Session Variable Trouble

2011-06-16 Thread Rick T
On my test server running Dev CF9, my site is working fine when dealing with sessions. I upload my site to a remote Railo server, and I set the session variable in a cfm file in the root. I goto another cfm file in the root, and it shows the session variable output which looks fine. I then vi

Re: cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-16 Thread Dave Watts
> I'm trying to make a cfhttp call to a secure url (the API for > http://spreedly.com) and this is what I keep getting back: > > ErrorDetail      I/O Exception: peer not authenticated > Filecontent      Connection Failure > Mimetype         Unable to determine MIME type of file. > Statuscode    

cfhttp and SSL ... I/O Exception: peer not authenticated

2011-06-16 Thread Brian FitzGerald
Hey all, I'm trying to make a cfhttp call to a secure url (the API for http://spreedly.com) and this is what I keep getting back: ErrorDetail I/O Exception: peer not authenticated Filecontent Connection Failure Mimetype Unable to determine MIME type of file. Statuscode C

Re: Google Charts API CFHTTP Post

2011-06-16 Thread Leigh
> Or: > > http://yourserver/page-that-generates-chart-image/?with=arguments"; > /> Yep. True. I was not sure if they wanted to separate out the image generation. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Ah wait, sorry, didn't read the message properly. The answer is to use filename attribute of cfdocument - this saves the file on disk, and doesn't send it to the browser. ~| Order the Adobe Coldfusion Anthology now! http://www

Re: CFCONTENT in the background?

2011-06-16 Thread Peter Boughton
Use cfdocument not cfcontent. Documentation at: http://cfquickdocs.com/cf9/#cfdocument ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: htt

CFCONTENT in the background?

2011-06-16 Thread Terry Troxel
How can I pass content to Cfdocument and have it create and save a Pdf in the background without opening the Pdf? I then want to use Cfpdf to append this Pdf to an existing Pdf. I sure hope this is possible. Terry ~| Order t

Re: Google Charts API CFHTTP Post

2011-06-16 Thread Dominic Watson
Or: http://yourserver/page-that-generates-chart-image/?with=arguments"; /> On 15 June 2011 20:31, Leigh wrote: > >> to show inline on the page > Duh ;) I was focusing on the binary part, not the chart. Of course you want > it inline .. so cfcontent is out. > >> http://www.amazon.com/Adobe-Cold

Re: CF security update released today

2011-06-16 Thread Mack
I'm seeing some problems after applying the update to 2 CF servers (both standard): - CF 8.0.1 the version in "Server Settings > Settings Summary" is now 8,0,1,0; - CF 9.0.1 and 8.0.1 I'm logged out when I click on Verify all datasources in CFIDE: "There was an error accessing this page. Check

RE: CDN and Coldfusion

2011-06-16 Thread Hugo Ahlenius
Has anyone tested CloudFlare with CF? http://www.cloudflare.com/ >From the description it sounds like a CDN-light, with a free option. Regards, Hugo -- Hugo Ahlenius - Hugo AhleniusE-Mail: hugo.ahlenius(at)nordpil.com