You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/09/24 17:47:48 UTC

DO NOT REPLY [Bug 43463] New: - Change default location of JkShmFile

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43463

           Summary: Change default location of JkShmFile
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gerhardus.geldenhuis@gmail.com


The current default location is:
logs/jk-runtime-status

a more appropriate location if the Linux File System Hierarchy is followed,
would be:
/var/run/jk-runtime-status

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43463] - Change default location of JkShmFile

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43463


rainer.jung@kippdata.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
          Component|Connector:AJP               |Native:JK




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43463] - Change default location of JkShmFile

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43463





------- Additional Comments From gerhardus.geldenhuis@gmail.com  2007-09-25 02:18 -------
I did have a bit of a narrow view forgetting that apache runs on other unixes too.

Ideally one would want apache to provide a hook for a runtime directory but that
is a different bugzilla...

I am still not keen on using the log directory. It is not a logical place to put
runtime files and will cause confusion for new admins that's been taught that
only log files go in /var/log/

Would a better solution not be to force the declaration of this parameter and do
the following:
* In the example config file add options for various platforms clearly commented
* Ensure that documentation is very clear on locations and the configuration of
this parameter.

Alternatively, one could detect platform and set location of file accordingly. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43463] - Change default location of JkShmFile

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43463


rainer.jung@kippdata.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From rainer.jung@kippdata.de  2007-09-24 09:15 -------
I don't agree with this one.
JK is multi-platform. In terms of Apache httpd the correct directory would be
runtimedir (or DEFAULT_REL_RUNTIMEDIR) both of which are configured during httpd
build time, but unfortunately they are not available after httpd installation.
So the apxs build system doesn't give a hook to get the correct run directory
from httpd.

So we are up to decide upon good defaults. Since the logs directory exists for
all ASF provided httpd downloads, it seems this is a good directory for a default.

If the user doesn't use the JkShmFile, he gets a log message about JK using the
default. So if he looks at his logs, he will be aware, that the logs directory
gets used.

In case you've got a better solution, please reopen this issue.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 43463] - Change default location of JkShmFile

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43463>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43463





------- Additional Comments From mturk@apache.org  2007-09-25 02:30 -------
The problem is that logfile location can be virtual if for
example one chooses to pipe the log trough some external process.
In that case any detection falls apart. Shared memory is one
problem, other is shared memory process mutex.

Also the /var/log can be on the NFS share, and having a shared memory
on NFS is performance killer. So, the admin must know what JK shared
memory is, what it's used for, and how to set up a simple config line.

The current system where we cannot depend on APR for anonymous shared
memory and anonymous process mutexes involves minimum admin understanding
of the problem, while keeping our code to the minimum.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org