| Home >> All >> org >> apache >> jk |
| | org.apache.jk.ant.* (17) | | org.apache.jk.ant.compilers.* (11) | | org.apache.jk.apr.* (2) |
| | org.apache.jk.common.* (16) | | org.apache.jk.config.* (8) | | org.apache.jk.core.* (5) |
| | org.apache.jk.server.* (2) | | org.apache.jk.status.* (11) |
Package Samples:
org.apache.jk.apr
org.apache.jk.common
org.apache.jk.config
org.apache.jk.core
org.apache.jk.server
org.apache.jk.ant.compilers
org.apache.jk.ant
org.apache.jk.status
Classes:
NSConfig: Generates automatic Netscape nsapi_redirect configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting an NSConfig element in the <ContextManager> tag body inside the server.xml file like so: ... NSConfig options /> ... where options can include any of the following attributes: configHome - default parent directory for the following paths. If not set, this defaults to TOMCAT_HOME. Ignored whenever any of the following paths is absolute. objConfig - path to use for writing Netscape obj.conf file. If ...
IISConfig: Generates automatic IIS isapi_redirect configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting an IISConfig element in the <ContextManager> tag body inside the server.xml file like so: ... IISConfig options /> ... where options can include any of the following attributes: configHome - default parent directory for the following paths. If not set, this defaults to TOMCAT_HOME. Ignored whenever any of the following paths is absolute. regConfig - path to use for writing IIS isapi_redirect registry ...
ApacheConfig: Generates automatic apache mod_jk configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting an ApacheConfig Listener in the server.xml file like so: ... org.apache.ajp.tomcat4.config.ApacheConfig options /> ... where options can include any of the following attributes: configHome - default parent directory for the following paths. If not set, this defaults to TOMCAT_HOME. Ignored whenever any of the following paths is absolute. jkConfig - path to use for writing Apache mod_jk conf file. If not set, defaults ...
BaseJkConfig: Base class for automatic jk based configurations based on the Tomcat server.xml settings and the war contexts initialized during startup. This config interceptor is enabled by inserting a Config element in the <ContextManager> tag body inside the server.xml file like so: ... ???Config options /> ... where options can include any of the following attributes: configHome - default parent directory for the following paths. If not set, this defaults to TOMCAT_HOME. Ignored whenever any of the following paths is absolute. workersConfig - path to workers.properties file used by jk connector. If ...
JkStatusParser: <?xml version="1.0" encoding="UTF-8" ?> <jk:status xmlns:jk="http://jakarta.apache.org"> <jk:server name="localhost" port="80" software="Apache/2.0.54 (Win32) mod_ssl/2.0.54 OpenSSL/0.9.7g mod_jk/1.2.13-dev" version="1.2.12"/> <jk:balancers> <jk:balancer id="0" name="lb" type="lb" sticky="True" stickyforce="False" retries="3" recover="60"> <jk:member id="0" name="node1" type="ajp13" host="localhost" port="9012" address="127.0.0.1:9012" status="OK" lbfactor="1" lbvalue="1" elected="0" readed="0" transferred="0" errors="0" busy="0"/> <jk:member id="1" name="node2" ...
JkMain: Main class used to startup and configure jk. It manages the conf/jk2.properties file and is the target of JMX proxy. It implements a policy of save-on-change - whenever a property is changed at runtime the jk2.properties file will be overriden. You can edit the config file when tomcat is stoped ( or if you don't use JMX or other admin tools ). The format of jk2.properties: TYPE[.LOCALNAME].PROPERTY_NAME=VALUE Set a property on the associated component. TYPE will be used to find the class name and instantiate the component. LOCALNAME allows multiple instances. In JMX mode, TYPE and LOCALNAME will ...
JkMX: Load the HTTP or RMI adapters for MX4J and JMXRI. Add "mx.enabled=true" in jk2.properties to enable it. You could also select http and/or jrmp protocol, with mx.httpPort, mx.httpHost, mxjrmpPort and mx.jrmpPort. If you run into an error message like "SystemId Unknown; Line #12; Column #81; Cannot add attribute name after child nodes or before an element is produced. Attribute will be ignored." after setting mx.enabled to true, you probably need a newer version of Xalan. See the RELEASE-NOTES document section on XML Parsers for more information.
WebXml2Jk: Read a web.xml file and generate the mappings for jk2. It can be used from the command line or ant. In order for the web server to serve static pages, all webapps must be deployed on the computer that runs Apache, IIS, etc. Dynamic pages can be executed on that computer or other servers in a pool, but even if the main server doesn't run tomcat, it must have all the static files and WEB-INF/web.xml. ( you could have a script remove everything else, including jsps - if security paranoia is present ). XXX We could have this in WEB-INF/urimap.properties.
HandlerRequest: Handle messages related with basic request information. This object can handle the following incoming messages: - "FORWARD_REQUEST" input message ( sent when a request is passed from the web server ) - "RECEIVE_BODY_CHUNK" input ( sent by container to pass more body, in response to GET_BODY_CHUNK ) It can handle the following outgoing messages: - SEND_HEADERS. Pass the status code and headers. - SEND_BODY_CHUNK. Send a chunk of body - GET_BODY_CHUNK. Request a chunk of body data - END_RESPONSE. Notify the end of a request processing.
JniHandler: Base class for components using native code ( libjkjni.so ). It allows to access the jk_env and wrap ( 'box' ? ) a native jk component, and call it's methods. Note that get/setAttribute are expensive ( Strings, etc ), invoke() is were all optimizations are done. We do recycle all memory on both C and java sides ( the only exception is when we attempt pinning but the VM doesn't support it ). The low level optimizations from ByteBuffer, etc are used to reduce the overhead of passing strings.
ModJkMX: A small mbean that will act as a proxy for mod_jk2. For efficiency, it'll get bulk results and cache them - you can force an update by calling the refreshAttributes and refreshMetadata operations on this mbean. TODO: implement the user/pass auth ( right now you must use IP based security ) TODO: eventually support https TODO: support for metadata ( mbean-descriptors ) for description and type conversions TODO: filter out trivial components ( mutexes, etc )
CompilerAdapter: s/javac/C compiler/ The interface that all compiler adapters must adher to. A compiler adapter is an adapter that interprets the javac's parameters in preperation to be passed off to the compier this adapter represents. As all the necessary values are stored in the Javac task itself, the only thing all adapters need is the javac task, the execute command and a parameterless constructor (for reflection).
LinkerAdapter: s/javac/C linker/ The interface that all compiler adapters must adher to. A compiler adapter is an adapter that interprets the javac's parameters in preperation to be passed off to the compier this adapter represents. As all the necessary values are stored in the Javac task itself, the only thing all adapters need is the javac task, the execute command and a parameterless constructor (for reflection).
JkData: Set platform specific data. Can be used to specify files (fileName="value") symbols (symbol="value") or generic values (value="value"). A platform can also be set on the object so that platform specific compilers can determine if they want to use the values. XXX will use apxs query to detect the flags.
MsgAjp: A single packet for communication between the web server and the container. Designed to be reused many times with no creation of garbage. Understands the format of data types for these packets. Can be used (somewhat confusingly) for both incoming and outgoing packets. See Ajp14/Ajp13Packet.java.
SoTask: Task to generate a .so file, similar with ( or using ) libtool. I hate libtool, so long term I would like to replace most of it with decent java code. Short term it'll just use libtool and hide some of the ugliness. arguments: source
Def: Define name/value, value is optional The define will take place if the condition is met. A task should include all the defines it supports, with the default value. This allows the builder to customize without having to look at the source.
MwccCompiler: Compile using MetroWerks. It extends SoTask so we can debug it or use it independently of . For normal use you should use the generic task, and system-specific properties to choose the right compiler plugin ( like we select jikes ).
LibtoolCompiler: Compile using libtool. It extends SoTask so we can debug it or use it independently of . For normal use you should use the generic task, and system-specific properties to choose the right compiler plugin ( like we select jikes ).
Msg: A single packet for communication between the web server and the container. In a more generic sense, it's the event that drives the processing chain. XXX Use Event, make Msg a particular case.
AprImpl: Implements the interface with the APR library. This is for internal-use only. The goal is to use 'natural' mappings for user code - for example java.net.Socket for unix-domain sockets, etc.
JkCoyoteHandler: Plugs Jk into Coyote. Must be named "type=JkHandler,name=container" jmx:notification-handler name="org.apache.jk.SEND_PACKET jmx:notification-handler name="org.apache.coyote.ACTION_COMMIT
JkStatusResetTask: Ant task that implements the /jkstatus?cmd=reset&l=loadbalancer command, supported by the mod_jk status (1.2.15) application.
JkStatusTask: Ant task that implements the show /jkstatus command, supported by the mod_jk status (1.2.13) application.
JkStatusUpdateTask: Ant task that implements the /status command, supported by the mod_jk status (1.2.13) application.
| Home | Contact Us | Privacy Policy | Terms of Service |