ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/apr.xml

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/docs/apr.xml
Status
scanned
Type
file
Name
apr.xml
Extension
.xml
Programming language

      
    
Mime type
text/xml
File type
XML 1.0 document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
4158 (4.1 KB)
MD5
eb772b4f1081d726202a15bc2d4fc175
SHA1
d08de90e54f09ea722e9b63131dee0f4ed2942c4
SHA256
79c4f8cd6b2db196c4c91c6b4766fc672be55a27cc19b4a2ad67fc942d8ef353
SHA512

      
    
SHA1_git
290e9770c47e4657e79119226326ff7921a8dc61
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
apr.xml | 4.1 KB |

<?xml version="1.0" encoding="UTF-8"?> <!-- 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. --> <!DOCTYPE document [ <!ENTITY project SYSTEM "project.xml"> ]> <document url="apr.html"> &project; <properties> <title>Apache Portable Runtime (APR) based Native library for Tomcat</title> </properties> <body> <section name="Table of Contents"> <toc/> </section> <section name="Introduction"> <p> Tomcat can use the <a href="https://apr.apache.org/">Apache Portable Runtime</a> to provide an OpenSSL based TLS implementation for the HTTP connectors. </p> <p> These features allows making Tomcat a general purpose webserver, will enable much better integration with other native web technologies, and overall make Java much more viable as a full fledged webserver platform rather than simply a backend focused technology. </p> </section> <section name="Installation"> <p> APR support requires three main native components to be installed: </p> <ul> <li>APR library</li> <li>JNI wrappers for APR used by Tomcat (libtcnative)</li> <li>OpenSSL libraries</li> </ul> <subsection name="Windows"> <p> Windows binaries are provided for tcnative-2, which is a statically compiled .dll which includes OpenSSL and APR. It can be downloaded from <a href="https://tomcat.apache.org/download-native.cgi">here</a> as 32bit or AMD x86-64 binaries. In security conscious production environments, it is recommended to use separate shared dlls for OpenSSL, APR, and libtcnative-2, and update them as needed according to security bulletins. Windows OpenSSL binaries are linked from the <a href="https://www.openssl.org">Official OpenSSL website</a> (see related/binaries). </p> </subsection> <subsection name="Linux"> <p> Most Linux distributions will ship packages for APR and OpenSSL. The JNI wrapper (libtcnative) will then have to be compiled. It depends on APR, OpenSSL, and the Java headers. </p> <p> Requirements: </p> <ul> <li>APR 1.6.3+ development headers (libapr1-dev package)</li> <li>OpenSSL 1.1.1+ development headers (libssl-dev package)</li> <li>JNI headers from Java compatible JDK 1.4+</li> <li>GNU development environment (gcc, make)</li> </ul> <p> The wrapper library sources are located in the Tomcat binary bundle, in the <code>bin/tomcat-native.tar.gz</code> archive. Once the build environment is installed and the source archive is extracted, the wrapper library can be compiled using (from the folder containing the configure script): </p> <source>./configure &amp;&amp; make &amp;&amp; make install</source> </subsection> </section> <section name="APR Components"> <p> Once the libraries are properly installed and available to Java (if loading fails, the library path will be displayed), the Tomcat connectors will automatically use APR. </p> </section> <section name="APR Lifecycle Listener Configuration"> <p>See <a href="config/listeners.html#APR_Lifecycle_Listener_-_org.apache.catalina.core.AprLifecycleListener">the listener configuration</a>.</p> </section> </body> </document>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
23.66
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10
https://apr.apache.org/ 38 38
https://tomcat.apache.org/download-native.cgi 65 65
https://www.openssl.org/ 69 69