Danek Duvall napsal(a):
> Peter Dennis wrote:
> 
>> Currently, starting Tomcat on Solaris does not create a pid file.  This
>> makes it impossible for future applications, such as Web Stack Enterprise
>> Manager, to monitor Tomcat in the same manner as they monitor other
>> servers.
> 
> ... which on Solaris should be via contracts and SMF, right?

Correct. Tomcat pid file should be useful for application which are not 
primary developed just for Solaris or comes from other systems. Note 
also that Tomcat already supports pid files, we are just enabling this 
feature.

>> Allow Tomcat to create PID file at standard location: /var/run/tomcat6/pid.
>> tomcat6 directory is owned by webserverd so that Tomcat can write into it.
> 
> Note that nothing below /var/run can be delivered as part of a package,
> since the directory disappears at reboot, breaking the package.  It's not
> clear from these materials if the path is simply being exported as a
> committed interface for other projects to use if it exists, or whether it's
> actually being delivered by the tomcat project when that software is
> installed, but not running.

The original idea was to deliver /var/run/tomcat6 directory via package 
so that tomcat could write into it. It was wrong..

As tomcat6 is started with 'webservd' credential it's not able to write 
into /var/run. Therefore I'm proposing to change pid file location to:

/var/tomcat6/logs/pid        Committed    PID file

Petr

Reply via email to