SlideShare a Scribd company logo
1 of 3
How to run CMC as a service
Friday, September 24, 2010

When I was configuring Kerberos Authentication for Workspace I had to use Workspace
UI services (CMC) to start the Configuration Management console.

Pre 11 releases this one is similar to the Servlet configurator.

In a windows environment to run something in foreground....(as a console
window)...hmmm not used to it right ;)

So I thought why not create a service for it....(even though it is not used everyday)...

Please follow the given below steps to create CMC as a service

You've to edit the registry entries for creating the service. So I've listed the registry
entries below.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREHyperion SolutionsCMC]

[HKEY_LOCAL_MACHINESOFTWAREHyperion SolutionsCMCHyS9CMC]
"Env1"="%PATH%"
"EnvCount"=dword:00000000
"JavaDll"="F:HyperioncommonJRESun1.5.0binserverjvm.dll"
"JVMOption1"="-
Dcatalina.base=F:Hyperioncommonworkspacert9.5.0.0ui"
"JVMOption2"="-
Dcatalina.home=F:HyperioncommonappServersTomcat5.5.17"
"JVMOption3"="-
Djava.endorsed.dirs=F:HyperioncommonappServersTomcat5.5.17commo
nendorsed"
"JVMOption4"="-
Djava.io.tmpdir=F:Hyperioncommonworkspacert9.5.0.0uitemp"
"JVMOption5"="-Dhyperion.home=F:Hyperion"
"JVMOption6"="-DHYPERION_HOME=F:Hyperion"
"JVMOption7"="-Xms64m"
"JVMOption8"="-Xmx256m"
"JVMOption9"="-
Djava.class.path=F:HyperioncommonappServersTomcat5.5.17binboots
trap.jar;F:HyperioncommonappServersTomcat5.5.17commonlibservl
et-
api.jar;F:HyperioncommonappServersTomcat5.5.17commonlibjasper
-
runtime.jar;F:HyperioncommonappServersTomcat5.5.17commonlibj
sp-
api.jar;F:HyperioncommonappServersTomcat5.5.17commonlibcomm
ons-
el.jar;F:HyperioncommonSAPlib;F:Hyperioncommonconfig9.5.0.0
libhit-config.jar;F:Hyperioncommonconfig9.5.0.0libhit-
common.jar;F:Hyperioncommonconfig9.5.0.0libregistry-
api.jar;F:HyperioncommonloggersLog4j1.2.14liblog4j-
1.2.14.jar;F:HyperioncommonJakartaCommonscommons-codec-
1.3.jar;F:HyperioncommonJakartaCommonscommons-lang-
2.1.jar;F:HyperioncommonJakartaCommonscommons-httpclient-
3.0.1.jar;F:HyperioncommonJDBCDataDirect3.7libhyjdbc.jar;F:Hyp
erioncommonCSS9.5.0.0libldapbp.jar"
"JVMOption10"="-Dbuild.compiler.emacs=true"
"JVMOption11"="-
DAGENT_HOME=F:Hyperioncommonworkspacert9.5.0.0"
"JVMOption12"="-
Djava.rmi.server.codebase=file:F:Hyperioncommonworkspacert9.5.0.0lib
wksagent.jar"
"JVMOption13"="-
Djava.security.policy=F:Hyperioncommonworkspacert9.5.0.0commonco
nfigserver.policy"
"JVMOption14"="-Djava.rmi.server.ignoreStubClasses=true"
"JVMOption15"="-Djava.rmi.server.useCodebaseOnly=true"
"JVMOptionCount"=dword:0000000f
"StartupParamCount"=dword:00000000
"SysErrFile"="F:HyperionlogsservicesHyS9CMC-syserr.log"
"SysOutFile"="F:HyperionlogsservicesHyS9CMC-sysout.log"

All you have to do is save the contents to a file with extension .reg (Remember this will
change your registry entries....so make sure that you does it correctly, change the
directories according to your system)


Now since the registry values are in, we've to create a bat file for creating a service.

Now     navigate    to      the       deployments                            folder        in
%HYPERION_HOME%deploymentsTomcatbin.

Copy one of the existing exe (I copied HyS9aps.exe) and paste it in the same location
rename it to HyS9CMC.exe

Copy the below given contents to a notepad as save it as installCMCservice.bat....


echo off
"F:HyperiondeploymentsTomcat5binHyS9CMC.exe"       /Automatic      /Service
/RegKey=CMC /ServiceName=HyS9CMC /Name=Hyperion v11 Configuration
Management Console - Web Application /Desc=HyS9CMC - Controls the running of an
Applications      Server       /StartClass=org.apache.catalina.startup.Bootstrap
/StartParam=start               /StopClass=org.apache.catalina.startup.Bootstrap
/StopParam=stop
echo on



To remove the service, create a bat file called removeCMCservice.bat

net stop HyS9CMC
"F:HyperiondeploymentsTomcat5binHyS9aps.exe" /UnregServer /RegKey=CMC
/ServiceName=HyS9CMC
F:HyperioncommonJRESun1.5.0binjava.exe                                   -cp
F:Hyperioncommonconfig9.5.0.0libhit-common.jar
com.hyperion.cis.utils.SingleScriptUtils F:HyperionproductsEssbaseapsbin CMC

Go to Services and start the service....... :)

The files that I made use are catalina.bat,startup.bat,setclasspath.bat,startUI.bat. If you
want to do it on a different platform....you have to look at these files....

Hope it helps

More Related Content

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Saba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

How to run cmc as a service