All pastes #522474 Raw Edit

Anonymous

public text v1 · immutable
#522474 ·published 2007-05-30 12:53 UTC
rendered paste body
[Wed May 30 13:29:04 2007] [3767:50896] [debug] map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI '/servlet/*=ajp13' source 'JkMount'
[Wed May 30 13:29:04 2007] [3767:50896] [debug] map_uri_to_worker::jk_uri_worker_map.c (601): Attempting to map context URI '/*.jsp=ajp13' source 'JkMount'
[Wed May 30 13:29:04 2007] [3767:50896] [debug] map_uri_to_worker::jk_uri_worker_map.c (616): Found a wildchar match '/*.jsp=ajp13'
[Wed May 30 13:29:04 2007] [3767:50896] [debug] jk_handler::mod_jk.c (2111): Into handler jakarta-servlet worker=ajp13 r->proxyreq=0
[Wed May 30 13:29:04 2007] [3767:50896] [debug] wc_get_worker_for_name::jk_worker.c (114): found a worker ajp13
[Wed May 30 13:29:04 2007] [3767:50896] [debug] wc_maintain::jk_worker.c (321): Maintaining worker ajp13
[Wed May 30 13:29:04 2007] [3767:50896] [debug] wc_get_name_for_type::jk_worker.c (290): Found worker type 'ajp13'
[Wed May 30 13:29:04 2007] [3767:50896] [debug] init_ws_service::mod_jk.c (607): Service protocol=HTTP/1.1 method=GET host=wan.office-gw.reading.dedipower.net addr=81.29.64.26 name=secure.bambinomio.com port=443 auth=(null) user=(null) laddr=81.29.75.28 raddr=81.29.64.26
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_get_endpoint::jk_ajp_common.c (2343): acquired connection pool slot=0
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_marshal_into_msgb::jk_ajp_common.c (548): ajp marshaling done
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_service::jk_ajp_common.c (1796): processing ajp13 with 2 retries
[Wed May 30 13:29:04 2007] [3767:50896] [debug] jk_open_socket::jk_connect.c (335): socket TCP_NODELAY set to On
[Wed May 30 13:29:04 2007] [3767:50896] [debug] jk_open_socket::jk_connect.c (433): trying to connect socket 20 to 127.0.0.1:8009
[Wed May 30 13:29:04 2007] [3767:50896] [debug] jk_open_socket::jk_connect.c (459): socket 20 connected to 127.0.0.1:8009
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connect_to_endpoint::jk_ajp_common.c (850): Connected socket 20 to (127.0.0.1:8009)
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): sending to ajp13 pos=4 len=682 max=8192
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0000    12 34 02 A6 02 02 00 08 48 54 54 50 2F 31 2E 31  - .4......HTTP/1.1
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0010    00 00 32 2F 77 65 62 61 70 70 73 2F 6A 73 70 2D  - ..2/webapps/jsp-
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0020    65 78 61 6D 70 6C 65 73 2F 6A 73 70 32 2F 65 6C  - examples/jsp2/el
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0030    2F 62 61 73 69 63 2D 61 72 69 74 68 6D 65 74 69  - /basic-arithmeti
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0040    63 2E 6A 73 70 00 00 0B 38 31 2E 32 39 2E 36 34  - c.jsp...81.29.64
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0050    2E 32 36 00 00 23 77 61 6E 2E 6F 66 66 69 63 65  - .26..#wan.office
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0060    2D 67 77 2E 72 65 61 64 69 6E 67 2E 64 65 64 69  - -gw.reading.dedi
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0070    70 6F 77 65 72 2E 6E 65 74 00 00 15 73 65 63 75  - power.net...secu
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0080    72 65 2E 62 61 6D 62 69 6E 6F 6D 69 6F 2E 63 6F  - re.bambinomio.co
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0090    6D 00 01 BB 01 00 0B A0 0E 00 22 4F 70 65 72 61  - m........."Opera
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00a0    2F 39 2E 32 31 20 28 57 69 6E 64 6F 77 73 20 4E  - /9.21.(Windows.N
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00b0    54 20 35 2E 31 3B 20 55 3B 20 65 6E 29 00 A0 0B  - T.5.1;.U;.en)...
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00c0    00 15 73 65 63 75 72 65 2E 62 61 6D 62 69 6E 6F  - ..secure.bambino
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00d0    6D 69 6F 2E 63 6F 6D 00 A0 01 00 C9 61 70 70 6C  - mio.com.....appl
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00e0    69 63 61 74 69 6F 6E 2F 78 68 74 6D 6C 2B 76 6F  - ication/xhtml+vo
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 00f0    69 63 65 2B 78 6D 6C 3B 76 65 72 73 69 6F 6E 3D  - ice+xml;version=
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0100    31 2E 32 2C 20 61 70 70 6C 69 63 61 74 69 6F 6E  - 1.2,.application
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0110    2F 78 2D 78 68 74 6D 6C 2B 76 6F 69 63 65 2B 78  - /x-xhtml+voice+x
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0120    6D 6C 3B 76 65 72 73 69 6F 6E 3D 31 2E 32 2C 20  - ml;version=1.2,.
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0130    74 65 78 74 2F 68 74 6D 6C 2C 20 61 70 70 6C 69  - text/html,.appli
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0140    63 61 74 69 6F 6E 2F 78 6D 6C 3B 71 3D 30 2E 39  - cation/xml;q=0.9
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0150    2C 20 61 70 70 6C 69 63 61 74 69 6F 6E 2F 78 68  - ,.application/xh
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0160    74 6D 6C 2B 78 6D 6C 2C 20 69 6D 61 67 65 2F 70  - tml+xml,.image/p
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0170    6E 67 2C 20 69 6D 61 67 65 2F 6A 70 65 67 2C 20  - ng,.image/jpeg,.
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0180    69 6D 61 67 65 2F 67 69 66 2C 20 69 6D 61 67 65  - image/gif,.image
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0190    2F 78 2D 78 62 69 74 6D 61 70 2C 20 2A 2F 2A 3B  - /x-xbitmap,.*/*;
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01a0    71 3D 30 2E 31 00 A0 04 00 0E 65 6E 2D 47 42 2C  - q=0.1.....en-GB,
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01b0    65 6E 3B 71 3D 30 2E 39 00 A0 02 00 22 69 73 6F  - en;q=0.9...."iso
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01c0    2D 38 38 35 39 2D 31 2C 20 75 74 66 2D 38 2C 20  - -8859-1,.utf-8,.
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01d0    75 74 66 2D 31 36 2C 20 2A 3B 71 3D 30 2E 31 00  - utf-16,.*;q=0.1.
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01e0    A0 03 00 26 64 65 66 6C 61 74 65 2C 20 67 7A 69  - ...&deflate,.gzi
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 01f0    70 2C 20 78 2D 67 7A 69 70 2C 20 69 64 65 6E 74  - p,.x-gzip,.ident
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0200    69 74 79 2C 20 2A 3B 71 3D 30 00 A0 0D 00 33 68  - ity,.*;q=0....3h
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0210    74 74 70 73 3A 2F 2F 73 65 63 75 72 65 2E 62 61  - ttps://secure.ba
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0220    6D 62 69 6E 6F 6D 69 6F 2E 63 6F 6D 2F 77 65 62  - mbinomio.com/web
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0230    61 70 70 73 2F 6A 73 70 2D 65 78 61 6D 70 6C 65  - apps/jsp-example
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0240    73 2F 00 00 0D 43 61 63 68 65 2D 43 6F 6E 74 72  - s/...Cache-Contr
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0250    6F 6C 00 00 08 6E 6F 2D 63 61 63 68 65 00 A0 06  - ol...no-cache...
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0260    00 0E 4B 65 65 70 2D 41 6C 69 76 65 2C 20 54 45  - ..Keep-Alive,.TE
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0270    00 00 02 54 45 00 00 2A 64 65 66 6C 61 74 65 2C  - ...TE..*deflate,
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0280    20 67 7A 69 70 2C 20 63 68 75 6E 6B 65 64 2C 20  - .gzip,.chunked,.
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 0290    69 64 65 6E 74 69 74 79 2C 20 74 72 61 69 6C 65  - identity,.traile
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_send_message::jk_ajp_common.c (896): 02a0    72 73 00 A0 08 00 01 30 00 FF 00 00 00 00 00 00  - rs.....0........
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_send_request::jk_ajp_common.c (1287): (ajp13) request body to send 0 - request body to resend 0
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from ajp13 pos=0 len=57 max=8192
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    04 01 90 00 31 4E 6F 20 48 6F 73 74 20 6D 61 74  - ....1No.Host.mat
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0010    63 68 65 73 20 73 65 72 76 65 72 20 6E 61 6D 65  - ches.server.name
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0020    20 73 65 63 75 72 65 2E 62 61 6D 62 69 6E 6F 6D  - .secure.bambinom
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0030    69 6F 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00  - io.com..........
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_unmarshal_response::jk_ajp_common.c (603): status = 400
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_unmarshal_response::jk_ajp_common.c (610): Number of headers is = 0
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from ajp13 pos=0 len=2 max=8192
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_connection_tcp_get_message::jk_ajp_common.c (1043): 0000    05 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00  - ................
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_process_callback::jk_ajp_common.c (1506): AJP13 protocol: Reuse is OK
[Wed May 30 13:29:04 2007] [3767:50896] [debug] ajp_done::jk_ajp_common.c (2286): recycling connection pool slot=0 for worker ajp13
[Wed May 30 13:29:04 2007] [3767:50896] [debug] jk_handler::mod_jk.c (2238): Service finished with status=400 for worker=ajp13



-------------- mod_jk.conf ----------------

LoadModule      jk_module modules/mod_jk.so


#Custom

#JkSet config.file /etc/apache2/conf/workers.properties

#End custom

JkWorkersFile   /etc/httpd/conf/workers.properties
JkLogFile       logs/mod_jk.log
JkLogLevel      debug

###################################################################
#                     SSL configuration                           #
#
# By default mod_jk is configured to collect SSL information from
# the apache environment and send it to the Tomcat workers. The
# problem is that there are many SSL solutions for Apache and as
# a result the environment variable names may change.
#
# The following (commented out) JK related SSL configureation
# can be used to customize mod_jk's SSL behaviour.
#
# Should mod_jk send SSL information to Tomcat (default is On)
# JkExtractSSL Off
#
# What is the indicator for SSL (default is HTTPS)
# JkHTTPSIndicator HTTPS
#
# What is the indicator for SSL session (default is SSL_SESSION_ID)
# JkSESSIONIndicator SSL_SESSION_ID
#
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
# JkCIPHERIndicator SSL_CIPHER
#
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
# JkCERTSIndicator SSL_CLIENT_CERT
#
#                                                                 #
###################################################################

#
# Root context mounts for Tomcat
#
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13

#########################################################
# Auto configuration for the /examples context starts.
#########################################################

#
# The following line makes apache aware of the location of the /examples context
#
Alias /examples "/usr/share/tomcat4/webapps/examples"
<Directory "/usr/share/tomcat4/webapps/examples">
    Options Indexes FollowSymLinks
</Directory>

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
<Location "/examples/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

#######################################################
# Auto configuration for the /examples context ends.
#######################################################

#########################################################
# Auto configuration for the /admin context starts.
#########################################################

#
# The following line makes apache aware of the location of the /admin context
#
Alias /admin "/usr/share/tomcat4/webapps/admin"
<Directory "/usr/share/tomcat4/webapps/admin">
    Options Indexes FollowSymLinks
</Directory>

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /admin/servlet/* ajp13
JkMount /admin/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
<Location "/admin/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

#######################################################
# Auto configuration for the /admin context ends.
#######################################################

#########################################################
# Auto configuration for the /test context starts.
#########################################################

#
# The following line makes apache aware of the location of the /test context
#
Alias /test "/usr/share/tomcat4/webapps/test"
<Directory "/usr/share/tomcat4/webapps/test">
    Options Indexes FollowSymLinks
</Directory>

#
# The following line mounts all JSP files and the /servlet/ uri to tomcat
#
JkMount /test/servlet/* ajp13
JkMount /test/*.jsp ajp13

#
# The following line prohibits users from directly access WEB-INF
#
<Location "/test/WEB-INF/">
    AllowOverride None
    deny from all
</Location>

#######################################################
# Auto configuration for the /test context ends.
#######################################################

#
# JBoss JMX console mount
#
JkMount /jmx-console/* jboss

#
# Restrict access to JBoss JMX console
#
<Location "/jmx-console/">
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    Allow from 81.29.64.26
</Location>



----------  workers.properties -------------

# workers.properties - ajp13
#
# List workers
worker.list=ajp13
#
# Define wrkr
worker.wrkr.port=8009
#worker.wrkr.port=8005
worker.wrkr.host=localhost
worker.wrkr.type=ajp13
worker.wrkr.cachesize=10
worker.wrkr.cache_timeout=600
worker.wrkr.socket_timeout=300


------------- server.cml -----------------

<!-- Server Configuration File -->

<Server port="8005" shutdown="SHUTDOWN" debug="0">

        <Service name="Tomcat-Apache">

                <Connector address="127.0.0.1"
                        port="8009"
                        minProcessors="5"
                        maxProcessors="75"
                        redirectPort="8443"
                        enableLookups="false"
                        acceptCount="1000"
                        protocol="AJP/1.3"
                        debug="1"/>

                <Engine name="appserver"
                        debug="1"
                        defaultHost="secure.bambinomio.com">

                        <Host name="secure.bambinomio.com"
                                appBase="/home/sites/secure/web"
                                autoDeploy="true"
                                deployOnStartup="true"
                                unpackWARs="false"
                                deployXML="true"
                                debug="1">
                        <Alias>secure.bambinomio.com</Alias>
                        </Host>
                </Engine>

        </Service>

  <Service name="Catalina">

    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->

    <Connector port="8080"
               maxThreads="150"
               minSpareThreads="25"
               maxSpareThreads="75"
               enableLookups="false"
               redirectPort="8443"
               acceptCount="100"
               debug="0"
               connectionTimeout="20000"
               disableUploadTimeout="true" />

    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->

    <Connector port="8443"
               maxThreads="150"
               minSpareThreads="25"
               maxSpareThreads="75"
               enableLookups="false"
               disableUploadTimeout="true"
               acceptCount="100"
               debug="0"
               scheme="https"
               secure="true"
               clientAuth="false"
               sslProtocol="TLS" />

    <Engine name="Tomcat" defaultHost="localhost" debug="0" jvmRoute="jvm1">

      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="tomcat_log."
              suffix=".txt"
              timestamp="true"/>

      <Host name="localhost"
            debug="0"
            appBase="webapps"
            unpackWARs="true"
            autoDeploy="true"
            xmlValidation="false"
            xmlNamespaceAware="false">

      </Host>

    </Engine>

  </Service>

</Server>