You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Sandels Mark (RTH) OUH" <Ma...@ouh.nhs.uk> on 2018/07/05 07:18:59 UTC
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Hi Tomcat users
When I go to my web-page using a browser (Chrome), the source code of the web-page is displayed. I have added the PFX Certificate to Trusted Root Certification Authorities on my PC from which I launched Chrome.
Here is the URL I am using - https://oxnetmdms04/OracleStatus/
The oxnetmdms04 server is hosting Apache http (v. 2.4). I am also using Tomcat connectors (Tomcat v 9.0.2) which http users to pass the browser request to a tomcat service.
The O/S is Windows server 2008 R2 64 bit.
Here is the http.conf file I am using:
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
# will be interpreted as '/logs/access_log'.
#
# NOTE: Where filenames are specified, you must use forward slashes
# instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
# If a drive letter is omitted, the drive on which httpd.exe is located
# will be used by default. It is recommended that you always supply
# an explicit drive letter in absolute paths to avoid confusion.
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to specify a local disk on the
# Mutex directive, if file-based mutexes are used. If you wish to share the
# same ServerRoot for multiple httpd daemons, you will need to change at
# least PidFile.
#
ServerRoot "c:/Apache24"
#
# Mutex: Allows you to set the mutex mechanism and mutex file directory
# for individual mutexes, or change the global defaults
#
# Uncomment and change the directory if mutexes are file-based and the default
# mutex file directory is not on a local disk or is not appropriate for some
# other reason.
#
# Mutex default:logs
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 443 ssl
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
#
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule auth_form_module modules/mod_auth_form.so
#LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_core_module modules/mod_authn_core.so
#LoadModule authn_dbd_module modules/mod_authn_dbd.so
#LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_file_module modules/mod_authn_file.so
#LoadModule authn_socache_module modules/mod_authn_socache.so
#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
LoadModule authz_core_module modules/mod_authz_core.so
#LoadModule authz_dbd_module modules/mod_authz_dbd.so
#LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
#LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
#LoadModule brotli_module modules/mod_brotli.so
#LoadModule buffer_module modules/mod_buffer.so
#LoadModule cache_module modules/mod_cache.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule cache_socache_module modules/mod_cache_socache.so
#LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule cgi_module modules/mod_cgi.so
#LoadModule charset_lite_module modules/mod_charset_lite.so
#LoadModule data_module modules/mod_data.so
#LoadModule dav_module modules/mod_dav.so
#LoadModule dav_fs_module modules/mod_dav_fs.so
#LoadModule dav_lock_module modules/mod_dav_lock.so
#LoadModule dbd_module modules/mod_dbd.so
#LoadModule deflate_module modules/mod_deflate.so
LoadModule dir_module modules/mod_dir.so
#LoadModule dumpio_module modules/mod_dumpio.so
LoadModule env_module modules/mod_env.so
#LoadModule expires_module modules/mod_expires.so
#LoadModule ext_filter_module modules/mod_ext_filter.so
#LoadModule file_cache_module modules/mod_file_cache.so
#LoadModule filter_module modules/mod_filter.so
#LoadModule http2_module modules/mod_http2.so
#LoadModule headers_module modules/mod_headers.so
#LoadModule heartbeat_module modules/mod_heartbeat.so
#LoadModule heartmonitor_module modules/mod_heartmonitor.so
#LoadModule ident_module modules/mod_ident.so
#LoadModule imagemap_module modules/mod_imagemap.so
LoadModule include_module modules/mod_include.so
#LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule logio_module modules/mod_logio.so
LoadModule log_config_module modules/mod_log_config.so
#LoadModule log_debug_module modules/mod_log_debug.so
#LoadModule log_forensic_module modules/mod_log_forensic.so
#LoadModule lua_module modules/mod_lua.so
#LoadModule md_module modules/mod_md.so
#LoadModule macro_module modules/mod_macro.so
LoadModule mime_module modules/mod_mime.so
#LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule negotiation_module modules/mod_negotiation.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
#LoadModule proxy_express_module modules/mod_proxy_express.so
#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
#LoadModule proxy_html_module modules/mod_proxy_html.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_http2_module modules/mod_proxy_http2.so
#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
#LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so
#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
#LoadModule ratelimit_module modules/mod_ratelimit.so
#LoadModule reflector_module modules/mod_reflector.so
#LoadModule remoteip_module modules/mod_remoteip.so
#LoadModule request_module modules/mod_request.so
#LoadModule reqtimeout_module modules/mod_reqtimeout.so
#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule sed_module modules/mod_sed.so
#LoadModule session_module modules/mod_session.so
#LoadModule session_cookie_module modules/mod_session_cookie.so
#LoadModule session_crypto_module modules/mod_session_crypto.so
#LoadModule session_dbd_module modules/mod_session_dbd.so
LoadModule setenvif_module modules/mod_setenvif.so
#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
#LoadModule socache_dbm_module modules/mod_socache_dbm.so
#LoadModule socache_memcache_module modules/mod_socache_memcache.so
#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
#LoadModule speling_module modules/mod_speling.so
LoadModule ssl_module modules/mod_ssl.so
#LoadModule status_module modules/mod_status.so
#LoadModule substitute_module modules/mod_substitute.so
#LoadModule unique_id_module modules/mod_unique_id.so
#LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule version_module modules/mod_version.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule watchdog_module modules/mod_watchdog.so
#LoadModule xml2enc_module modules/mod_xml2enc.so
<IfModule unixd_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon
</IfModule>
# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin admin@example.com
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80
#
# Deny access to the entirety of your server's filesystem. You must
# explicitly permit access to web content directories in other
# <Directory> blocks below.
#
<Directory />
AllowOverride none
Require all denied
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
#DocumentRoot "c:/Apache24/htdocs"
#<Directory "c:/Apache24/htdocs">
DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps"
<Directory "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ".ht*">
Require all denied
</Files>
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog "logs/error.log"
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog "logs/access.log" common
#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog "logs/access.log" combined
</IfModule>
<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar
#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"
</IfModule>
<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock cgisock
</IfModule>
#
# "c:/Apache24/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "c:/Apache24/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>
<IfModule headers_module>
#
# Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
# backend servers which have lingering "httpoxy" defects.
# 'Proxy' request header is undefined by the IETF, not listed by IANA
#
RequestHeader unset Proxy early
</IfModule>
<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types
#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi
# For type maps (negotiated resources):
#AddHandler type-map var
#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic
#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#
#
# MaxRanges: Maximum number of Ranges in a request before
# returning the entire resource, or one of the special
# values 'default', 'none' or 'unlimited'.
# Default setting is to accept 200 Ranges.
#MaxRanges unlimited
#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall may be used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
# Defaults: EnableMMAP On, EnableSendfile Off
#
#EnableMMAP off
#EnableSendfile on
# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.
# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf
# Language settings
#Include conf/extra/httpd-languages.conf
# User home directories
#Include conf/extra/httpd-userdir.conf
# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf
# Virtual hosts
#Include conf/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf
# Various default settings
#Include conf/extra/httpd-default.conf
# Configure mod_proxy_html to understand HTML4/XHTML1
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
# Load mod_jk module
LoadModule jk_module modules/mod_jk.so
# Add the module (activate this lne for Apache 1.3)
# AddModule mod_jk.c
# Where to find workers.properties
#JkWorkersFile "C:/Apache24/conf/workers.PROPERTIES"
# Where to put jk shared memory
#JkShmFile logs/mod_jk.shm
# Where to put jk logs
#JkLogFile logs/mod_jk.log
# Set the jk log level [debug/error/info]
#JkLogLevel info
#<VirtualHost OXNETMDMS04:443>
#DocumentRoot /var/www/website
DirectoryIndex index.jsp
<VirtualHost *:443>
ServerName OXNETMDMS04.OXNET.NHS.UK
SSLEngine on
SSLCertificateFile "c:\Apache24\conf\certificate.crt"
SSLCertificateKeyFile "c:\Apache24\conf\private_key.key"
#SSLCertificateChainFile /etc/ssl/crt/intermediate.crt
</VirtualHost>
#<VirtualHost *:80>
# DocumentRoot "C:/Apache24/htdocs"
# ServerName oxnetmdms04.oxnet.nhs.uk
#</VirtualHost>
# Load mod_jk module, pay attention to path of module file LoadModule jk_module modules / mod_jk.so
# Declare the location of the workers.properties file
JkWorkersFile "C:\Program Files (x86)\apache-tomcat-9.0.6\conf\workers.properties"
# Declare the log file location of mod_jk
JkLogFile "C:\Program Files (x86)\apache-tomcat-9.0.6\logs\mod_jk2.log"
# Declare the log level of mod_jk (optional)
JkLogLevel debug
# Declare the time stamp format of the mod_jk log (optional)
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# Assign the /* .action and /*.jsp requests to Tomcat, and the rest of the Apache Http Servers handle them.
# Note that the akp13 behind JkMount corresponds to the name of the worker in the worker.list file in the worker.properties file.
JKMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /*.do ajp13
<Location /jkstatus>
Order deny,allow
Allow from all
</Location>
Mark Sandels
Re: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by Olaf Kock <to...@olafkock.de>.
On 05.07.2018 12:35, Sandels Mark (RTH) OUH wrote:
> Hi Peter
>
> I would use tomcat to provide https if it could be configured to do this - is this fairly easy to do?
>
> The IT Department have given me a Certificate and private key for the server (OXNETMDMS04) but do I need to use "keytool" to create a key store for the Certificate? (I am referring to the link https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html).
I'll go with André and Peter for the cause - that's the one line that
was well hidden in the ~600 other lines of your httpd.conf.
With regards to https in Tomcat:
https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html and
https://tomcat.apache.org/tomcat-9.0-doc/config/http.html are quite good.
Alternatively, you can also just map *everything* from Tomcat through
JkMount - this way Apache will forward all requests to tomcat, tomcat
will handle the allowed/disallowed content (e.g. /WEB-INF/*) and you'll
be safe again while still having encryption handled by Apache. I
personally like it this way, because this neatly separates various
aspects - like read-permissions on the private key: What tomcat doesn't
need to read, it can't reveal to the world. And httpd typically knows
how to drop root permissions. Too often I see tomcat run as root,
because that's the quick fix to serve ports 80 and 443.
Not to mention that mod_rewrite has saved my bacon a few times when it
took only a minute to configure to work around an application problem.
Olaf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by logo <lo...@kreuser.name>.
Mark,
Am 05.07.2018 12:35, schrieb Sandels Mark (RTH) OUH:
> Hi Peter
>
> I would use tomcat to provide https if it could be configured to do
> this - is this fairly easy to do?
>
> The IT Department have given me a Certificate and private key for the
> server (OXNETMDMS04) but do I need to use "keytool" to create a key
> store for the Certificate? (I am referring to the link
> https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html).
Tomcat from 8.5 on will let you use PEM-Files to configure TLS. You may
find more Information on the correct attributes on:
https://tomcat.apache.org/tomcat-9.0-doc/config/http.html#SSL_Support
That's the way I use it:
<Connector port="8443"
protocol="org.apache.coyote.http11.Http11Nio2Protocol"
sslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation"
allowTrace="false"
maxThreads="150"
SSLEnabled="true"
compression="off"
scheme="https"
server="Apache Tomcat"
secure="true"
defaultSSLHostConfigName="<yourservername>" >
<SSLHostConfig
hostName="<yourservername>"
honorCipherOrder="true"
certificateVerification="none"
protocols="TLSv1.1+TLSv1.2"
ciphers="ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:!DSS">
<Certificate
certificateKeyFile="${catalina.base}/conf/ssl/cert.key"
certificateFile="${catalina.base}/conf/ssl/cert.crt"
certificateChainFile="${catalina.base}/conf/ssl/ca-chain.cert.pem"
type="RSA" />
</SSLHostConfig>
</Connector>
Christopher Schultz has maybe more details on how to use this correctly
and on the prerequisites.
Best regards
Peter
>
> Kind regards
> Mark
>
> Mark Sandels |Senior Systems Analyst/Programmer|IM & T Services –
> Integration Services Team |Manor House Annexe Room G22, Oxford
> University Hospitals NHS Trust , Headley Way, Headington, Oxford OX3
> 9RR |Phone: 01865 (5) 72103 | Email: mark.sandels@ouh.nhs.uk NHS
> colleagues can visit the OUH IM&T Services intranet site at
> http://ouhimt.oxnet.nhs.uk
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by "Sandels Mark (RTH) OUH" <Ma...@ouh.nhs.uk>.
Hi Peter
I would use tomcat to provide https if it could be configured to do this - is this fairly easy to do?
The IT Department have given me a Certificate and private key for the server (OXNETMDMS04) but do I need to use "keytool" to create a key store for the Certificate? (I am referring to the link https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html).
Kind regards
Mark
Mark Sandels |Senior Systems Analyst/Programmer|IM & T Services – Integration Services Team |Manor House Annexe Room G22, Oxford University Hospitals NHS Trust , Headley Way, Headington, Oxford OX3 9RR |Phone: 01865 (5) 72103 | Email: mark.sandels@ouh.nhs.uk NHS colleagues can visit the OUH IM&T Services intranet site at http://ouhimt.oxnet.nhs.uk
-----Original Message-----
From: logo [mailto:logo@kreuser.name]
Sent: 05 July 2018 10:27
To: users@tomcat.apache.org
Subject: Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page
Mark,
Am 05.07.2018 10:31, schrieb André Warnier:
> Hi.
>
> I have not looked through all of your configuration lines, but I
> believe that the problem is first of all this line :
>
> On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote:
>> DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps"
>
+1
That's most certainly the reason. You can browse down to WEB-INF and see
web.xml or any file with credentials... Even worse if you enable
indexes!
Make yourself familiar how to configure Apache httpd and be aware that
any config in the main httpd-file is for the whole server! Put all
config into your own virtualhost not the default. You can severly mess
up the security of your tomcat webapp if you don't understand httpd.
httpd hardening adds just one more complexity.
Do you really need httpd fronting tomcat? Tomcat provides pretty much
everything you need...
Best regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by logo <lo...@kreuser.name>.
Mark,
Am 06.07.2018 11:27, schrieb Sandels Mark (RTH) OUH:
> Hi Tomcat users
>
> I have now configured the tomcat configuration file (server.xml) to
> use TLS (see relevant sections of server.xml). I created a keystore
> (using the jdk keystore command) for my existing certificate.
>
> I am getting "This site cannot be reached" from my browser (Chrome)
> when I enter the URL https://oxnetmdms04:8443/OracleStatus
>
> Can anyone tell what I am doing wrong? (wrt:
> https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html)
>
What do the logfiles say? Really important to check this, as they will
lead you the way - before you ask here and we ask what they say ;-) .
> Keystore command used:
>
> "%JAVA_HOME%\bin\keytool" -import -alias mdms04 -file certificate.crt
> -keystore publicKey.store
>
> Relevant sections from Server.xml:
>
> <Connector port="8443"
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> maxThreads="150" SSLEnabled="true"
> <SSLHostConfig>
> <Certificate
> certificateKeystoreFile="conf/localhost-rsa.jks"
> type="RSA" />
> </SSLHostConfig>
> </Connector>
> ....
> <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
> <Connector
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> port="8443" maxThreads="200"
> scheme="https" secure="true" SSLEnabled="true"
>
> keystoreFile="%CATALINA_HOME%\conf\keystore\publicKey.store"
> keystorePass="mdms04"
> clientAuth="false" sslProtocol="TLS"/>
>
To me it looks like you have a config error. If that is the relevant
part of your config, you have a double 8443 connector.
And mdms04 is not the password it's the keyAlias!
Did you use the standard password of changeit? (keystorePass="changeit")
Plus if you don't set an alias name in the connector, Tomcat uses the
default "tomcat"
Now for the new and better config in Tomcat 8.5/9:
<SSLHostConfig
hostName="oxnetmdms04"
honorCipherOrder="true"
certificateVerification="none"
protocols="TLSv1.1+TLSv1.2"
ciphers="ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:!DSS">
<Certificate
certificateKeystoreFile="${catalina.home}/conf/keystore/publicKey.store"
certificateKeystorePassword="<your password to the
keystore>"
certificateKeyAlias="mdms04"
type="RSA" />
</SSLHostConfig>
And from the naming: you should have the *private* key of the server in
the publicKey.store !
Hope this helps.
Peter
PS and BTW: You don't have to use keytool as I told you before.
>
> Mark Sandels
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by "Sandels Mark (RTH) OUH" <Ma...@ouh.nhs.uk>.
Hi Tomcat users
I have now configured the tomcat configuration file (server.xml) to use TLS (see relevant sections of server.xml). I created a keystore (using the jdk keystore command) for my existing certificate.
I am getting "This site cannot be reached" from my browser (Chrome) when I enter the URL https://oxnetmdms04:8443/OracleStatus
Can anyone tell what I am doing wrong? (wrt: https://tomcat.apache.org/tomcat-9.0-doc/ssl-howto.html)
Keystore command used:
"%JAVA_HOME%\bin\keytool" -import -alias mdms04 -file certificate.crt -keystore publicKey.store
Relevant sections from Server.xml:
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
maxThreads="150" SSLEnabled="true"
<SSLHostConfig>
<Certificate certificateKeystoreFile="conf/localhost-rsa.jks"
type="RSA" />
</SSLHostConfig>
</Connector>
....
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<Connector
protocol="org.apache.coyote.http11.Http11NioProtocol"
port="8443" maxThreads="200"
scheme="https" secure="true" SSLEnabled="true"
keystoreFile="%CATALINA_HOME%\conf\keystore\publicKey.store" keystorePass="mdms04"
clientAuth="false" sslProtocol="TLS"/>
Mark Sandels
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by logo <lo...@kreuser.name>.
Mark,
Am 05.07.2018 10:31, schrieb André Warnier:
> Hi.
>
> I have not looked through all of your configuration lines, but I
> believe that the problem is first of all this line :
>
> On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote:
>> DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps"
>
+1
That's most certainly the reason. You can browse down to WEB-INF and see
web.xml or any file with credentials... Even worse if you enable
indexes!
Make yourself familiar how to configure Apache httpd and be aware that
any config in the main httpd-file is for the whole server! Put all
config into your own virtualhost not the default. You can severly mess
up the security of your tomcat webapp if you don't understand httpd.
httpd hardening adds just one more complexity.
Do you really need httpd fronting tomcat? Tomcat provides pretty much
everything you need...
Best regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by "André Warnier (tomcat)" <aw...@ice-sa.com>.
Hi.
I have not looked through all of your configuration lines, but I believe that the problem
is first of all this line :
On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote:
> DocumentRoot "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps"
That means essentially that you are allowing the Apache httpd front-end to access your
entire tomcat web applications pages directory directly, without going through tomcat.
And Apache httpd, when it serves one of these pages to a browser requesting it, has
absolutely no idea that one of these *files* located in that directory or below, may be a
java jsp page, some highly confidential file located in a WEB-INF directory, or whatever,
and it just returns the content of these files unfiltered to the browser.
That is the default that you get with that DocumentRoot line.
So, *unless* you later contradict/override this by some other configuration line somewhere
else in the configuration, the above is what will happen.
It is thus an extremely unsafe way of configuring Apache httpd in a front-end-to-tomcat
scenario, because anything that you forget to remap later explicitly to tomcat, will be
served by Apache httpd, without tomcat knowing anything about it.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by "Sandels Mark (RTH) OUH" <Ma...@ouh.nhs.uk>.
Hi Olaf
Here are extracts of the relevant configuration files (as requested).
Httpd.conf
...
Listen 443 ssl
...
LoadModule ssl_module modules/mod_ssl.so
....
<Directory "C:\Program Files (x86)\apache-tomcat-9.0.6\webapps">
...
DirectoryIndex index.jsp
<VirtualHost *:443>
ServerName OXNETMDMS04.OXNET.NHS.UK
SSLEngine on
SSLCertificateFile "c:\Apache24\conf\certificate.crt"
SSLCertificateKeyFile "c:\Apache24\conf\private_key.key"
SSLCertificateChainFile "C:\Apache24\conf\IntCA.cer"
</VirtualHost>
...
# Load mod_jk module, pay attention to path of module file LoadModule jk_module modules / mod_jk.so
# Declare the location of the workers.properties file
JkWorkersFile "C:\Program Files (x86)\apache-tomcat-9.0.6\conf\workers.properties"
# Declare the log file location of mod_jk
JkLogFile "C:\Program Files (x86)\apache-tomcat-9.0.6\logs\mod_jk2.log"
# Declare the log level of mod_jk (optional)
JkLogLevel debug
# Declare the time stamp format of the mod_jk log (optional)
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
# Assign the /* .action and /*.jsp requests to Tomcat, and the rest of the Apache Http Servers handle them.
# Note that the akp13 behind JkMount corresponds to the name of the worker in the worker.list file in the worker.properties file.
JKMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /*.do ajp13
<Location /jkstatus>
Order deny,allow
Allow from all
</Location>
Workers.properties..........
Workers.tomcat_home=C:\Program Files (x86)\apache-tomcat-9.0.6 #Make mod_jk module aware of Tomcat
workers.java_home=C:\Program Files (x86)\Java\jre1.8.0_161 #Make mod_jk module aware of jre
ps = \ # Specify the file path separator
worker.list=ajp13
worker.ajp13.port=8009 #Workport , this port should match the port used by the AJP/1.3 protocol of the Connector element in server.xml
worker.ajp13.host=localhost #Tomcat server address
worker.ajp13.type=ajp13 #type
tomcat9-stderr ....
05-Jul-2018 09:59:14.329 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.6
05-Jul-2018 09:59:14.329 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Mar 5 2018 09:34:35 UTC
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.6.0
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2008 R2
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.1
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: x86
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: c:\program files (x86)\java\jre1.8.0_161
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_161-b12
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Program Files (x86)\apache-tomcat-9.0.6
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files (x86)\apache-tomcat-9.0.6
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=c:\program files (x86)\apache-tomcat-9.0.6
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=c:\program files (x86)\apache-tomcat-9.0.6
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=c:\program files (x86)\apache-tomcat-9.0.6\endorsed
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=c:\program files (x86)\apache-tomcat-9.0.6\temp
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=c:\program files (x86)\apache-tomcat-9.0.6\conf\logging.properties
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: exit
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: abort
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms128m
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx256m
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.16] using APR version [1.6.3].
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
05-Jul-2018 09:59:14.345 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
05-Jul-2018 09:59:15.142 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2m 2 Nov 2017]
05-Jul-2018 09:59:15.267 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
05-Jul-2018 09:59:15.329 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
05-Jul-2018 09:59:15.345 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
05-Jul-2018 09:59:15.345 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
05-Jul-2018 09:59:15.345 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1367 ms
05-Jul-2018 09:59:15.361 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
05-Jul-2018 09:59:15.361 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.6
05-Jul-2018 09:59:15.376 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
05-Jul-2018 09:59:15.392 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
05-Jul-2018 09:59:15.392 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 49 ms
05-Jul-2018 10:00:15.389 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war]
05-Jul-2018 10:00:15.920 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
05-Jul-2018 10:00:15.967 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [C:\Program Files (x86)\apache-tomcat-9.0.6\webapps\OracleStatus.war] has finished in [578] ms
mod_jk2 log file..........
Thu Jul 05 09:59:01 2018][9916:12968] [debug] jk_shm_close::jk_shm.c (360): Closed shared memory memory childs=1
[Thu Jul 05 09:59:01 2018][6384:13584] [debug] jk_shm_close::jk_shm.c (360): Closed shared memory memory childs=1
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_open::jk_uri_worker_map.c (904): rule map size is 3
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/servlet/*=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.jsp=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.do=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after map open: id=0, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] init_jk::mod_jk.c (3309): Not using locking.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] init_jk::mod_jk.c (3321): Setting default connection pool max size to 64
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'Workers.tomcat_home' with value 'C:\Program Files (x86)\apache-tomcat-9.0.6' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'workers.java_home' with value 'C:\Program Files (x86)\Java\jre1.8.0_161' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'ps' with value '\' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.list' with value 'ajp13' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.port' with value '8009' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.host' with value 'localhost' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.type' with value 'ajp13' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_resolve_references::jk_map.c (781): Checking for references with prefix worker. with wildcard (recursion 1)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_shm_calculate_size::jk_shm.c (136): shared memory will contain 1 ajp workers and 0 lb workers with 0 members
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_shm_open::jk_shm.c (318): Initialized shared memory memory [1] size=1024 workers=-1 free=384 addr=0x16a4e10
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ServerRoot' -> 'C:/Apache24'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'Workers.tomcat_home' -> 'C:\Program Files (x86)\apache-tomcat-9.0.6'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'workers.java_home' -> 'C:\Program Files (x86)\Java\jre1.8.0_161'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ps' -> '\'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.list' -> 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.port' -> '8009'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.host' -> 'localhost'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.type' -> 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] build_worker_map::jk_worker.c (241): creating worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_create_worker::jk_worker.c (145): about to create instance ajp13 of ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_worker_factory::jk_ajp_common.c (3075): ajp worker 'ajp13' type=2 created
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_create_worker::jk_worker.c (158): about to validate and init ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_validate::jk_ajp_common.c (2742): worker ajp13 contact is 'localhost:8009'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_ajp_push::jk_ajp_common.c (1137): syncing shm for ajp worker 'ajp13' from mem (0->0) [0->0]
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2939): setting endpoint options:
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2942): keepalive: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2946): socket timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2950): socket connect timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2954): buffer size: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2958): pool timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2962): ping timeout: 10000
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2966): connect timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2970): reply timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2974): prepost timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2978): recovery options: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2982): retries: 2
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2986): max packet size: 8192
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2990): retry interval: 100
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_create_endpoint_cache::jk_ajp_common.c (2802): setting connection pool size to 64 with min 32 and acquire timeout 200
[Thu Jul 05 09:59:17 2018][1904:6200] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after extension stripping: id=1, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_switch::jk_uri_worker_map.c (600): Switching uri worker map from index 0 to index 1
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_shm_close::jk_shm.c (360): Closed shared memory memory childs=1
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_open::jk_uri_worker_map.c (904): rule map size is 3
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/servlet/*=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.jsp=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.do=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after map open: id=0, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] init_jk::mod_jk.c (3309): Not using locking.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] init_jk::mod_jk.c (3321): Setting default connection pool max size to 64
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'Workers.tomcat_home' with value 'C:\Program Files (x86)\apache-tomcat-9.0.6' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'workers.java_home' with value 'C:\Program Files (x86)\Java\jre1.8.0_161' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'ps' with value '\' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.list' with value 'ajp13' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.port' with value '8009' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.host' with value 'localhost' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.type' with value 'ajp13' to map.
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_resolve_references::jk_map.c (781): Checking for references with prefix worker. with wildcard (recursion 1)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_shm_calculate_size::jk_shm.c (136): shared memory will contain 1 ajp workers and 0 lb workers with 0 members
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_shm_open::jk_shm.c (318): Initialized shared memory memory [1] size=1024 workers=-1 free=384 addr=0x17444b0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ServerRoot' -> 'C:/Apache24'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'Workers.tomcat_home' -> 'C:\Program Files (x86)\apache-tomcat-9.0.6'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'workers.java_home' -> 'C:\Program Files (x86)\Java\jre1.8.0_161'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ps' -> '\'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.list' -> 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.port' -> '8009'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.host' -> 'localhost'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.type' -> 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] build_worker_map::jk_worker.c (241): creating worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_create_worker::jk_worker.c (145): about to create instance ajp13 of ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_worker_factory::jk_ajp_common.c (3075): ajp worker 'ajp13' type=2 created
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_create_worker::jk_worker.c (158): about to validate and init ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_validate::jk_ajp_common.c (2742): worker ajp13 contact is 'localhost:8009'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] jk_ajp_push::jk_ajp_common.c (1137): syncing shm for ajp worker 'ajp13' from mem (0->0) [0->0]
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2939): setting endpoint options:
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2942): keepalive: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2946): socket timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2950): socket connect timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2954): buffer size: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2958): pool timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2962): ping timeout: 10000
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2966): connect timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2970): reply timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2974): prepost timeout: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2978): recovery options: 0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2982): retries: 2
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2986): max packet size: 8192
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_init::jk_ajp_common.c (2990): retry interval: 100
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] ajp_create_endpoint_cache::jk_ajp_common.c (2802): setting connection pool size to 64 with min 32 and acquire timeout 200
[Thu Jul 05 09:59:17 2018][1904:6200] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after extension stripping: id=1, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:17 2018][1904:6200] [debug] uri_worker_map_switch::jk_uri_worker_map.c (600): Switching uri worker map from index 0 to index 1
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_open::jk_uri_worker_map.c (904): rule map size is 3
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/servlet/*=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.jsp=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.do=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after map open: id=0, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] init_jk::mod_jk.c (3309): Not using locking.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] init_jk::mod_jk.c (3321): Setting default connection pool max size to 64
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'Workers.tomcat_home' with value 'C:\Program Files (x86)\apache-tomcat-9.0.6' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'workers.java_home' with value 'C:\Program Files (x86)\Java\jre1.8.0_161' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'ps' with value '\' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.list' with value 'ajp13' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.port' with value '8009' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.host' with value 'localhost' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.type' with value 'ajp13' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_resolve_references::jk_map.c (781): Checking for references with prefix worker. with wildcard (recursion 1)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_calculate_size::jk_shm.c (136): shared memory will contain 1 ajp workers and 0 lb workers with 0 members
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_open::jk_shm.c (318): Initialized shared memory memory [1] size=1024 workers=-1 free=384 addr=0x64a670
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ServerRoot' -> 'C:/Apache24'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'Workers.tomcat_home' -> 'C:\Program Files (x86)\apache-tomcat-9.0.6'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'workers.java_home' -> 'C:\Program Files (x86)\Java\jre1.8.0_161'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ps' -> '\'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.list' -> 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.port' -> '8009'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.host' -> 'localhost'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.type' -> 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] build_worker_map::jk_worker.c (241): creating worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_create_worker::jk_worker.c (145): about to create instance ajp13 of ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_worker_factory::jk_ajp_common.c (3075): ajp worker 'ajp13' type=2 created
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_create_worker::jk_worker.c (158): about to validate and init ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_validate::jk_ajp_common.c (2742): worker ajp13 contact is 'localhost:8009'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_ajp_push::jk_ajp_common.c (1137): syncing shm for ajp worker 'ajp13' from mem (0->0) [0->0]
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2939): setting endpoint options:
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2942): keepalive: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2946): socket timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2950): socket connect timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2954): buffer size: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2958): pool timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2962): ping timeout: 10000
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2966): connect timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2970): reply timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2974): prepost timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2978): recovery options: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2982): retries: 2
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2986): max packet size: 8192
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2990): retry interval: 100
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_create_endpoint_cache::jk_ajp_common.c (2802): setting connection pool size to 64 with min 32 and acquire timeout 200
[Thu Jul 05 09:59:18 2018][13756:13680] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after extension stripping: id=1, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_switch::jk_uri_worker_map.c (600): Switching uri worker map from index 0 to index 1
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_close::jk_shm.c (360): Closed shared memory memory childs=1
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_open::jk_uri_worker_map.c (904): rule map size is 3
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/servlet/*=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.jsp=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_add::jk_uri_worker_map.c (854): wildchar rule '/*.do=ajp13' source 'JkMount' was added
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after map open: id=0, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_set_time_fmt::jk_util.c (480): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S %Y]'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] init_jk::mod_jk.c (3309): Not using locking.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] init_jk::mod_jk.c (3321): Setting default connection pool max size to 64
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'Workers.tomcat_home' with value 'C:\Program Files (x86)\apache-tomcat-9.0.6' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'workers.java_home' with value 'C:\Program Files (x86)\Java\jre1.8.0_161' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'ps' with value '\' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.list' with value 'ajp13' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.port' with value '8009' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.host' with value 'localhost' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_read_property::jk_map.c (499): Adding property 'worker.ajp13.type' with value 'ajp13' to map.
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_resolve_references::jk_map.c (781): Checking for references with prefix worker. with wildcard (recursion 1)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_calculate_size::jk_shm.c (136): shared memory will contain 1 ajp workers and 0 lb workers with 0 members
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_open::jk_shm.c (318): Initialized shared memory memory [1] size=1024 workers=-1 free=384 addr=0x64a670
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ServerRoot' -> 'C:/Apache24'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'Workers.tomcat_home' -> 'C:\Program Files (x86)\apache-tomcat-9.0.6'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'workers.java_home' -> 'C:\Program Files (x86)\Java\jre1.8.0_161'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'ps' -> '\'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.list' -> 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.port' -> '8009'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.host' -> 'localhost'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_map_dump::jk_map.c (597): Dump of map 2: 'worker.ajp13.type' -> 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] build_worker_map::jk_worker.c (241): creating worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_create_worker::jk_worker.c (145): about to create instance ajp13 of ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_worker_factory::jk_ajp_common.c (3075): ajp worker 'ajp13' type=2 created
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_create_worker::jk_worker.c (158): about to validate and init ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_validate::jk_ajp_common.c (2742): worker ajp13 contact is 'localhost:8009'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_ajp_push::jk_ajp_common.c (1137): syncing shm for ajp worker 'ajp13' from mem (0->0) [0->0]
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2939): setting endpoint options:
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2942): keepalive: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2946): socket timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2950): socket connect timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2954): buffer size: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2958): pool timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2962): ping timeout: 10000
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2966): connect timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2970): reply timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2974): prepost timeout: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2978): recovery options: 0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2982): retries: 2
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2986): max packet size: 8192
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_init::jk_ajp_common.c (2990): retry interval: 100
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] ajp_create_endpoint_cache::jk_ajp_common.c (2802): setting connection pool size to 64 with min 32 and acquire timeout 200
[Thu Jul 05 09:59:18 2018][13756:13680] [info] init_jk::mod_jk.c (3383): mod_jk/1.2.40 initialized
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_worker_for_name::jk_worker.c (115): found a worker ajp13
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] extension_fix_activation::jk_uri_worker_map.c (485): Checking extension for worker ajp13 of type ajp13 (2)
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (178): uri map dump after extension stripping: id=1, index=0 file='(null)' reject_unsafe=0 reload=60 modified=0 checked=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 0: size=0 nosize=0 capacity=0
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (184): generation 1: size=3 nosize=0 capacity=4
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #0: uri=/servlet/* worker=ajp13 context=/servlet/* source=JkMount type=Wildchar len=10
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #1: uri=/*.jsp worker=ajp13 context=/*.jsp source=JkMount type=Wildchar len=6
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_dump::jk_uri_worker_map.c (197): NEXT (1) map #2: uri=/*.do worker=ajp13 context=/*.do source=JkMount type=Wildchar len=5
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] uri_worker_map_switch::jk_uri_worker_map.c (600): Switching uri worker map from index 0 to index 1
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_open::jk_shm.c (168): Shared memory is already opened
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_shm_attach::jk_shm.c (337): Attached shared memory memory [1] size=1024 free=0 addr=0x64a670
[Thu Jul 05 09:59:18 2018][13756:13680] [debug] jk_child_init::mod_jk.c (3266): Initialized mod_jk/1.2.40
[Thu Jul 05 10:00:19 2018][13756:5252] [debug] jk_translate::mod_jk.c (3623): missing uri map for OXNETMDMS04.OXNET.NHS.UK:/oraclestatus
[Thu Jul 05 10:00:19 2018][13756:5252] [debug] jk_map_to_storage::mod_jk.c (3791): missing uri map for OXNETMDMS04.OXNET.NHS.UK:/oraclestatus
[Thu Jul 05 10:00:19 2018][13756:5252] [debug] jk_translate::mod_jk.c (3623): missing uri map for OXNETMDMS04.OXNET.NHS.UK:/favicon.ico
[Thu Jul 05 10:00:19 2018][13756:5252] [debug] jk_map_to_storage::mod_jk.c (3791): missing uri map for OXNETMDMS04.OXNET.NHS.UK:/favicon.ico
Mark Sandels
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by Olaf Kock <to...@olafkock.de>.
On 05.07.2018 09:43, Sandels Mark (RTH) OUH wrote:
> Hi Olaf
>
> The web-page displays correctly when I connect to Tomcat directly. I posted to the tomcat users group as I havn't had any reply to my post to the Apache http user group!
>
> In answer to your other question, I do refer to the <html> and <body> elements. The web-page embeds java (I have used NetBeans v8 to write the WAR application) within the html and the complete web-page source is displayed including the java commands.
>
> Kind regards
> Mark
>
Hi Mark,
in that case you might want to post some (relevant) tomcat
configuration, rather than the httpd configuration. And maybe include
your workers.properties. Log files.
Please post the relevant parts. Your httpd.conf hat almost 600 lines,
and if there were more than 10 relevant lines for a tomcat question,
they've been safely buried in the noise. Often it helps to try to
reproduce a minimal test case for posting to discover the issue. As we
don't have your environment available and will only be able to read, it
really helps to boil down to a minimal test case.
Or you're lucky and someone has just been through the same experience -
but then, the full unfiltered files won't help either.
Olaf
Olaf
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by "Sandels Mark (RTH) OUH" <Ma...@ouh.nhs.uk>.
Hi Olaf
The web-page displays correctly when I connect to Tomcat directly. I posted to the tomcat users group as I havn't had any reply to my post to the Apache http user group!
In answer to your other question, I do refer to the <html> and <body> elements. The web-page embeds java (I have used NetBeans v8 to write the WAR application) within the html and the complete web-page source is displayed including the java commands.
Kind regards
Mark
Mark Sandels |Senior Systems Analyst/Programmer|IM & T Services - Integration Services Team |Manor House Annexe Room G22, Oxford University Hospitals NHS Trust , Headley Way, Headington, Oxford OX3 9RR |Phone: 01865 (5) 72103 | Email: mark.sandels@ouh.nhs.uk NHS colleagues can visit the OUH IM&T Services intranet site at http://ouhimt.oxnet.nhs.uk
-----Original Message-----
From: Olaf Kock [mailto:tomcat@olafkock.de]
Sent: 05 July 2018 08:31
To: users@tomcat.apache.org
Subject: Re: Apache http / tomcat connectors - source code of web-page is displayed rather than web-page
On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote:
> When I go to my web-page using a browser (Chrome), the source code of the web-page is displayed. I have added the PFX Certificate to Trusted Root Certification Authorities on my PC from which I launched Chrome.
>
> Here is the URL I am using - https://oxnetmdms04/OracleStatus/
>
> The oxnetmdms04 server is hosting Apache http (v. 2.4). I am also using Tomcat connectors (Tomcat v 9.0.2) which http users to pass the browser request to a tomcat service.
>
There are only a handful of tomcat-related lines in the config you
posted - and those don't help too much. So far, it looks like you have a
question with regards to Apache httpd, not Apache Tomcat.
Check if you get the same result when you connect to Tomcat directly.
Also, just to make sure: When you're saying that you get the source
code, do you refer to the <html> and <body> elements that you see in
your text? Or do you only see the unstyled HTML text? Because you only
map "/servlet/*", "/*.jsp" and "/*.do" to your tomcat. In case those
documents reference some CSS and/or Javascript that lives in the same
webapplication, it won't be served by Apache, as it most likely wouldn't
match those URLs.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Apache http / tomcat connectors - source code of web-page is
displayed rather than web-page
Posted by Olaf Kock <to...@olafkock.de>.
On 05.07.2018 09:18, Sandels Mark (RTH) OUH wrote:
> When I go to my web-page using a browser (Chrome), the source code of the web-page is displayed. I have added the PFX Certificate to Trusted Root Certification Authorities on my PC from which I launched Chrome.
>
> Here is the URL I am using - https://oxnetmdms04/OracleStatus/
>
> The oxnetmdms04 server is hosting Apache http (v. 2.4). I am also using Tomcat connectors (Tomcat v 9.0.2) which http users to pass the browser request to a tomcat service.
>
There are only a handful of tomcat-related lines in the config you
posted - and those don't help too much. So far, it looks like you have a
question with regards to Apache httpd, not Apache Tomcat.
Check if you get the same result when you connect to Tomcat directly.
Also, just to make sure: When you're saying that you get the source
code, do you refer to the <html> and <body> elements that you see in
your text? Or do you only see the unstyled HTML text? Because you only
map "/servlet/*", "/*.jsp" and "/*.do" to your tomcat. In case those
documents reference some CSS and/or Javascript that lives in the same
webapplication, it won't be served by Apache, as it most likely wouldn't
match those URLs.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org