Welcome!

You will be redirected in 30 seconds or close now.

ColdFusion Authors: Yakov Fain, Jeremy Geelan, Maureen O'Gara, Nancy Y. Nee, Tad Anderson

RSS Feed Item

Problems with configuring CF801 on Mac for System Startup

Two problems with configuring ColdFusion 8.01 on Mac OS X for startup on system boot when using the the utility {cf_root}/bin/cf-init.sh. The first issue is that cf-init.sh cannot be used again to configure CF for startup on boot after the cf-init.sh script is used to unconfigure the service. The second issue is that for Multiserver configuration the script cf-init.sh cannot be used to unconfigure CF as a startup service and the items under /Library/StartupItems/ColdFusion8Multi must be removed manually. The ColdFusion Engineering team is actively seeking to correct these issues, but I'm posting for your convenience in case you run into this beforehand. Issue 1 logged as ColdFusion bug 73548 On Mac, running cf-init.sh to install system startup script cannot be done a second time after running cf-init.sh uninstall. The cf-init.sh function install_mac() permanently moves the file {cf_root}/bin/cf-standalone-startup to /Library/StartupItems/ under the new name ColdFusion8 as shown here: mv -f $CF_DIR/bin/cf-standalone-startup /Library/StartupItems/ColdFusion8/ColdFusion8 Then the uninstall_mac() function in cf-init.sh permanently removes that file ColdFusion8 as shown here: rm -rf /Library/StartupItems/ColdFusion8 There are no longer any copies of {cf_root}/bin/cf-standalone-startup under any name on the system, so another attempt to configure ColdFusion to start on System Boot cannot be performed. More details: 1) Install CF801 on Mac, but do NOT choose option to start on system boot at this time 2) Run cf-init.sh install, then cf-init.sh uninstall, then again cf-init.sh install 3) Observe second usage of cf-init.sh fails ----------------------------- * Initial directory listing after installing without option to start on boot * Notice StartupParameters.plist and cf-standalone-startup are present ----------------------------- my-powerbook:/opt/ColdFusion8/bin cfqauser$ ls -l total 4296 -rwxr-xr-x 1 cfqauser admin 504 Nov 6 10:13 SMSClient.sh -rwxrwxr-x 1 cfqauser admin 260 Jan 19 2008 StartupParameters.plist -rwxr-xr-x 1 cfqauser admin 7241 Nov 6 10:13 cf-init.sh -rwxrwxr-x 1 cfqauser admin 409 Nov 6 10:13 cf-standalone-startup -rwxr-xr-x 1 cfqauser admin 6671 Nov 6 10:13 cfcompile.sh -rwxr-xr-x 1 cfqauser admin 1501420 Jan 19 2008 cfencode.exe -rwxr-xr-x 1 cfqauser admin 110264 Jan 19 2008 cfencode.linux -rwxr-xr-x 1 cfqauser admin 527624 Jan 19 2008 cfencode.solaris -rwxr-xr-x 1 cfqauser admin 252 Nov 6 10:13 cfinfo -rwxr-xr-x 1 cfqauser admin 414 Nov 6 10:13 cfscan.sh -rwxr-xr-x 1 cfqauser admin 265 Nov 6 10:13 cfstat -rwxr-xr-x 1 cfqauser admin 7025 Nov 6 10:13 coldfusion drwxr-xr-x 7 cfqauser admin 238 Nov 6 10:13 connectors -rwxr-xr-x 1 cfqauser admin 860 Jan 23 2008 findjava.sh lrwxr-xr-x 1 cfqauser admin 39 Nov 6 10:13 jvm.config -> /opt/ColdFusion8/runtime/bin/jvm.config ----------------------------- * Run cf-init.sh to install startup service * Notice cf-standalone-startup is not in bin/ directory listing ----------------------------- my-powerbook:/opt/ColdFusion8/bin cfqauser$ sudo ./cf-init.sh install Password: Creating the Coldfusion 8 start script /Library/StartupItems/ColdFusion8/ColdFusion8 Install complete my-powerbook:/opt/ColdFusion8/bin cfqauser$ ls /Library/StartupItems/ColdFusion8/ ColdFusion8 StartupParameters.plist my-powerbook:/opt/ColdFusion8/bin cfqauser$ ls -l total 4288 -rwxr-xr-x 1 cfqauser admin 504 Nov 6 10:13 SMSClient.sh -rwxrwxr-x 1 cfqauser admin 260 Jan 19 2008 StartupParameters.plist -rwxr-xr-x 1 cfqauser admin 7241 Nov 6 10:13 cf-init.sh -rwxr-xr-x 1 cfqauser admin 6671 Nov 6 10:13 cfcompile.sh -rwxr-xr-x 1 cfqauser admin 1501420 Jan 19 2008 cfencode.exe -rwxr-xr-x 1 cfqauser admin 110264 Jan 19 2008 cfencode.linux -rwxr-xr-x 1 cfqauser admin 527624 Jan 19 2008 cfencode.solaris -rwxr-xr-x 1 cfqauser admin 252 Nov 6 10:13 cfinfo -rwxr-xr-x 1 cfqauser admin 414 Nov 6 10:13 cfscan.sh -rwxr-xr-x 1 cfqauser admin 265 Nov 6 10:13 cfstat -rwxr-xr-x 1 cfqauser admin 7025 Nov 6 10:13 coldfusion drwxr-xr-x 7 cfqauser admin 238 Nov 6 10:13 connectors -rwxr-xr-x 1 cfqauser admin 860 Jan 23 2008 findjava.sh lrwxr-xr-x 1 cfqauser admin 39 Nov 6 10:13 jvm.config -> /opt/ColdFusion8/runtime/bin/jvm.config ----------------------------- * Uninstall startup service with cf-init.sh ----------------------------- my-powerbook:/opt/ColdFusion8/bin cfqauser$ sudo ./cf-init.sh uninstall Uninstall complete my-powerbook:/opt/ColdFusion8/bin cfqauser$ ls /Library/StartupItems/ColdFusion8/ ls: /Library/StartupItems/ColdFusion8/: No such file or directory ----------------------------- * Again, run cf-init.sh to re-install startup service * Notice failure on mv cf-standalone-startup to /Library/StartupItems ----------------------------- my-powerbook:/opt/ColdFusion8/bin cfqauser$ sudo ./cf-init.sh install Creating the Coldfusion 8 start script /Library/StartupItems/ColdFusion8/ColdFusion8 mv: rename /opt/ColdFusion8/bin/cf-standalone-startup to /Library/StartupItems/ColdFusion8/ColdFusion8: No such file or directory Install complete my-powerbook:/opt/ColdFusion8/bin cfqauser$ ls /Library/StartupItems/ColdFusion8/ StartupParameters.plist my-powerbook:/opt/ColdFusion8/bin cfqauser$ Issue 2 logged as bug ColdFusion 73178 The cf-init.sh function for install_mac() has a section for server configuration and a section for multiserver config, but the uninstall_mac () function only has a Server Config section looking for /Library/StartupItems/ColdFusion8, but not a Multiserver section to remove /Library/StartupItems/ColdFusion8Multi. Notice that there is an option to configure CF for system startup with "Standalone" (a.k.a. Server Config) and an option for Multiserver Config. install_mac() { if [ -f /Library/StartupItems/ColdFusion8 ]; then echo "Coldfusion 8 appears to already be set up to start on boot" exit 2 fi if [ "$MULTI_SERVER" = "false" ]; then echo "Creating the Coldfusion 8 start script /Library/StartupItems/ColdFusion8/ColdFusion8" mkdir /Library/StartupItems/ColdFusion8 mv -f $CF_DIR/bin/cf-standalone-startup /Library/StartupItems/ColdFusion8/ColdFusion8 cp -f $CF_DIR/bin/StartupParameters.plist /Library/StartupItems/ColdFusion8/StartupParameters.plist chmod 544 /Library/StartupItems/ColdFusion8/* chown root:wheel /Library/StartupItems/ColdFusion8/* else echo "Creating the Coldfusion 8 Multi-server start script /Library/StartupItems/ColdFusion8Multi/ColdFusion8Multi" mkdir /Library/StartupItems/ColdFusion8Multi mv -f $CF_DIR/bin/cf-multi-startup /Library/StartupItems/ColdFusion8Multi/ColdFusion8Multi cp -f $CF_DIR/bin/StartupParameters.plist /Library/StartupItems/ColdFusion8Multi/StartupParameters.plist chmod 544 /Library/StartupItems/ColdFusion8Multi/* chown root:wheel /Library/StartupItems/ColdFusion8Multi/* fi echo "Install complete" } Notice that there is no option to remove ColdFusion8Multi from /Library/StartupItems uninstall_mac() { if [ -f /Library/StartupItems/ColdFusion8 ]; then echo "Coldfusion 8 does not appear to be added to your init system" exit 2 fi rm -rf /Library/StartupItems/ColdFusion8 echo "Uninstall complete" }

Read the original blog entry...

IoT & Smart Cities Stories
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of San...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
Chris Matthieu is the President & CEO of Computes, inc. He brings 30 years of experience in development and launches of disruptive technologies to create new market opportunities as well as enhance enterprise product portfolios with emerging technologies. His most recent venture was Octoblu, a cross-protocol Internet of Things (IoT) mesh network platform, acquired by Citrix. Prior to co-founding Octoblu, Chris was founder of Nodester, an open-source Node.JS PaaS which was acquired by AppFog and ...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...