I need to configure the Apache Tomcat 5.5 as a Solaris 10 service or as an alternative - any other way to run it on startup.
|
feedback
|
|
Sun has 'evolved past' SysVinit to something called the 'Services Management Framework' (or SMF for short). There's an article on it here and a more dev-oriented article here that includes instruction on how to create your own service, which is, I think, what you want. | ||||
|
feedback
|
|
SMF, the Service Management Facility, uses XML files, so called 'manifests' to store information about services to start. Take an existing service, say ssh, and export its manifest to a file.
Analyze this file, take out what you don't need, update the service name and import it:
Then set the service to run by default:
Speaking of Tomcat, you can get prepackaged Tomcat from OpenCSW. They have three versions of Tomcat packaged:
Packages from OpenCSW configure SMF - they import the manifest and enable the service upon installation. | |||
|
feedback
|