| # Licensed to the Apache Software Foundation (ASF) under one or more |
| # contributor license agreements. See the NOTICE file distributed with |
| # this work for additional information regarding copyright ownership. |
| # The ASF licenses this file to You under the Apache License, Version 2.0 |
| # (the "License"); you may not use this file except in compliance with |
| # the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| ## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED |
| ## WHEN YOU EDIT THE FILE. |
| |
| ## COMMENTS WILL BE _LOST_ |
| |
| ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. |
| |
| # Set the desired handler list |
| # handler.list=apr,request,channelJni |
| # |
| # Override the default port for the socketChannel |
| # channelSocket.port=8019 |
| # Default: |
| # channelUnix.file=${jkHome}/work/jk2.socket |
| # Just to check if the the config is working |
| # shm.file=${jkHome}/work/jk2.shm |
| |
| # In order to enable jni use any channelJni directive |
| # channelJni.disabled = 0 |
| # And one of the following directives: |
| |
| # apr.jniModeSo=/opt/apache2/modules/mod_jk2.so |
| |
| # If set to inprocess the mod_jk2 will Register natives itself |
| # This will enable the starting of the Tomcat from mod_jk2 |
| # apr.jniModeSo=inprocess |