{"id":2599,"date":"2008-06-05T10:17:08","date_gmt":"2008-06-05T01:17:08","guid":{"rendered":"http:\/\/www.sssg.org\/blogs\/hiro345\/?p=2599"},"modified":"2008-08-26T21:42:09","modified_gmt":"2008-08-26T12:42:09","slug":"tomcat-with-apr-connector","status":"publish","type":"post","link":"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/2599.html","title":{"rendered":"Tomcat with apr-connector"},"content":{"rendered":"<p>Linux \u306e Tomcat \u3067 apr-connector \u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408<\/p>\n<p>Welcome! &#8211; The Apache Portable Runtime Project<br \/>\n<a href=\"http:\/\/apr.apache.org\/\">http:\/\/apr.apache.org\/<\/a><\/p>\n<p>Apache Tomcat &#8211; Apache Tomcat<br \/>\n<a href=\"http:\/\/tomcat.apache.org\/\">http:\/\/tomcat.apache.org\/<\/a><\/p>\n<p>apr, tomcat\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30b3\u30f3\u30d1\u30a4\u30eb\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002JDK6\u304c\/usr\/java\/jdk \u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3068\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"code\">\n&#8212;&#8212;&#8211;<br \/>\ncd \/usr\/local\/src<br \/>\nwget http:\/\/ftp.riken.jp\/net\/apache\/apr\/apr-1.3.0.tar.gz<br \/>\nwget http:\/\/www.meisei-u.ac.jp\/mirror\/apache\/dist\/tomcat\/tomcat-6\/v6.0.16\/bin\/apache-tomcat-6.0.16.tar.gz<br \/>\ntar xzf apr-1.3.0.tar.gz<br \/>\ncd apr-1.3.0\/<br \/>\n.\/configure &#8211;prefix=\/usr\/local\/apr-1.3.0<br \/>\nmake<br \/>\nmake install<br \/>\ncd \/usr\/local\/<br \/>\ntar xzf src\/apache-tomcat-6.0.16.tar.gz<br \/>\ncd \/usr\/local\/apache-tomcat-6.0.16\/bin\/tomcat-native-1.1.12-src\/jni\/native\/<br \/>\n.\/configure &#8211;with-apr=\/usr\/local\/apr-1.3.0 &#8211;with-java-home=\/usr\/java\/jdk &#8211;with-ssl=yes<br \/>\nmake<br \/>\nmake install<br \/>\n&#8212;&#8212;&#8211;\n<\/div>\n<p>\/usr\/local\/apache-tomcat-6.0.16\/conf\/server.xml \u306e Connector \u3067\u3001protocol\u306borg.apache.coyote.http11.Http11AprProtocol \u3092\u6307\u5b9a\u3057\u305f\u3089\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u3066 Tomcat \u3092\u8d77\u52d5\u3059\u308c\u3070\u3088\u3044\u3002<\/p>\n<div class=\"code\">\n&#8212;&#8212;&#8211;<br \/>\nLD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/usr\/local\/apr\/lib:\/usr\/local\/apr-1.3.0\/lib \\<br \/>\n&nbsp;&nbsp;JAVA_HOME=\/usr\/java\/jdk \\<br \/>\n&nbsp;&nbsp;\/usr\/local\/apache-tomcat-6.0.16\/bin\/startup.sh<br \/>\n&#8212;&#8212;&#8211;\n<\/div>\n<p>* org.apache.coyote.http11.Http11NioProtocol \u3092\u6307\u5b9a\u3059\u308b\u3068\u9593\u9055\u3048\u3066\u3044\u305f\u90e8\u5206\u3092\u8a02\u6b63\u3057\u307e\u3057\u305f\u3002\u30b3\u30e1\u30f3\u30c8\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux \u306e Tomcat \u3067 apr-connector \u3092\u5229\u7528\u3057\u305f\u3044\u5834\u5408 Welcome! &#8211; The Apache Portable Runtime Project http:\/\/apr.apache &hellip; <a href=\"https:\/\/www.hiro345.net\/blogs\/hiro345\/archives\/2599.html\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,14],"tags":[],"class_list":["post-2599","post","type-post","status-publish","format-standard","hentry","category-general","category-win"],"_links":{"self":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/2599","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/comments?post=2599"}],"version-history":[{"count":2,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/2599\/revisions"}],"predecessor-version":[{"id":2762,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/posts\/2599\/revisions\/2762"}],"wp:attachment":[{"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/media?parent=2599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/categories?post=2599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiro345.net\/blogs\/hiro345\/wp-json\/wp\/v2\/tags?post=2599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}