Blog

Category Filtering: 'server-admin'

01
June 2016

Gavin Pickin

June already? That means I have 3 sessions at 2 conferences in 2 weeks

CFML Language, cfObjective, Conferences, Dev.Objective, IntoTheBox, Javascript, Server Admin, Unit Testing

This year is a little different, with the CFML Conference season starting in June, and not May. Dev.Objective() changed their date, and Into the Box followed suite to give us an action packed week of materials. I am excited to be presenting at both conferences again, and getting to talk with all of my old friends, and make some new ones while I am there.

20
November 2015

Gavin Pickin

Day 5 of Ortus Dev Week - 5 sessions including bonus 7am PST from Ray Camden

CFML Language, ColdBox, Javascript, Node.js, Server Admin, Unit Testing

Day 5 of Ortus Developer Week is here, sadly, this is the last day of Ortus Developer Week for 2015. Since we know you are all sad, we decided to spice up today with a Bonus Session with Ray Camden, called 'Why you should dump your fancy app server and go completely static.' starting at 7am PST. We also have 4 more great talks, with RESTful Services, TestBox BDD, Extending ContentBox CMS, and to finish the week, Mark Mandel, a Google Representative will show us 'Scaling Node.js with Docker and Kubernetes'.

10
June 2015

Gavin Pickin

How to solve Authorize.net CFHTTP SSL issues with CFML Engines like Railo and Lucee

CFML Language, Lucee, Migrating to Railo, OpenSSL, Server Admin, Techie Gotchas

There was a lot of noise about CFHTTP not working when Authorize.net was planning on updating their SSLs in May this year. Will Genovese, one of the good people at CF WebTools, posted ‘ColdFusion 8 & 9 CFHTTP still works with Authorize.net’  about early testing and confirmed that ColdFusion 8 and 9, and even some of their customers using 7 had this working. Of course, just the other day, some of my customers, running on Railo / Lucee started to see some issues. This is how I solved those problems.

13
February 2015

Gavin Pickin

How to get your Tomcat to pounce on startup, not crawl

Apache, CFML Server, Server Admin

As promised in my last few posts, I am finally going to give you a couple of Tomcat tips and tricks, that can seriously speed up your Tomcat startup time. In all fairness, they are simple configurations, and I am not the first to find them, not even the first CFMLer to find them. This is how I got my Tomcat startup from 164 seconds, down to 8 seconds, a gain of 156 seconds, in 1 line of code.

12
February 2015

Gavin Pickin

Pros and Cons of Mod_CFML with Tomcat for Lucee

Apache, CFML Server, Lucee, Migrating to Railo, Server Admin, Tools and IDEs

I have been talking a lot lately about different configuration options, since Lucee is the hot new thing since ‘POCKETS’. Everyone has been asking about best ways to work with Tomcat, versus other servlet containers, and so I have been playing… and have released a few posts on the matter. Every time I post anything on Tomcat, I always get asked about MOD_CFML, so I thought it was about time I wrote a post on what I knew about it, as always, I am not the expert, I am just sharing some of my knowledge, hopefully others will share too, and we can all learn.

08
February 2015

Gavin Pickin

Apache and Tomcat - Save yourself the XML Editing - No more Tomcat restarts

Apache, CFML Server, Lucee, Migrating to Railo, Server Admin, Techie Gotchas

On the Lucee Google group the other day, someone mentioned a way to connect Nginx to Tomcat, so you do not need to bother adding the XML Host for every new website you want to run on Lucee (or Railo). This has always been a pain point for switching from Adobe ColdFusion, to Railo or now Lucee, dealing with a Virtual Host for Apache in httpd.conf, and a XML Host in server.xml and making sure they match, and editing requires a restart. Adobe’s ColdFusion runs on a hacked Tomcat, that they specially tuned to work like jrun used to, but a lot of people don’t like being stuck on their upgrade path too. I decided to look at this Nginx approach, and get it running in Apache, and see what downsides I could find.

05
February 2015

Gavin Pickin

Using CommandBox CLI to build your own Commands for Lucee

Apache, CFML Language, CFML Server, CommandBox, Lucee, Server Admin, Tools and IDEs

Yesterday I apparently started a series of posts, on CommandBox CLI, and how to write your own commands, in cfml, to make your life easier. I started a set of commands under the kiwiSays namespace, and we built 3 commands / cfcs, called addWebsite, startLucee and stopLucee. We got most of addWebsite built, today lets look at startLucee and stopLucee.

04
February 2015

Gavin Pickin

How to write your very own CLI Commands in CFML

CFML Language, CFML Server, CommandBox, Lucee, Node.js, Server Admin, Tools and IDEs

I bet half of my audience just tuned out, seeing CFML in the title, but this is easier than writing Node as a Javascript Developer… of course you can prove me wrong. In case you have been sleeping under a rock, I’ll let you know that CommandBox went gold today… which apparently means it made it to 1.0. Its not like musical going gold, where you sold so many copies, going gold meant you made it to 1.0, and your api is solid enough to use in production or something. CommandBox is a CLI, a CFML REPL, Package Manager, built on a tiny Java Servlet Container, which means you can even spin up a server in any directory. Ortus Solution listened to the cries for a CLI and Package manager, and with Forgebox being extended to other any CFML library or module, not just Ortus / Coldbox libraries and modules, the CFML community finally has it.

03
February 2015

Gavin Pickin

Adding Lucee Connection Configuration so Apache can Serve Lucee Sites

Apache, CFML Server, Lucee, Server Admin

Working with Apache can be daunting for some, simple for others, we all have our ways to handle it. I really like having individual conf files for each site, to make it easy to update one VirtualHost at a time, and if I want to zap a site, or duplicate it, or automate it, its just simple file changes, I don’t need to parse a whole file.

I manage connections in a similar way, each connection type, CF9, CF10, CF11, Railo, Lucee, would all have its own connection file, that I can include in each of the Virtual Hosts. Easy to manage, update in one file, it extends to all hosts using that include, and of course, keeping it out of your main httpd.conf or the main folder structure helps for ease of update, and gives you automation options etc too. So lets look at how I do it.

02
February 2015

Gavin Pickin

Adding Goodies to Server.xml to make life easier with Lucee

CFML Server, Lucee, Server Admin

As I mentioned in my last post, where we started installing and setting up Lucee, a lot of the setup here is repeated (for the most part) from the Multi Engine Environment blog posts, and presentation I did at last years CF.Objective() which is now known at Dev.Objective(). We looked at installing Lucee, and changing the HTTP Port, AJP Port, and the Shutdown port already, now, lets dive deeper into the Server.xml file, and make it easier to manage going forward.

Blog Search