I'm having difficutlies to get the AJP port up and running. Even tough I've set the System Properties Webserver.AJP.Enabled=true and Webserver.AJP.Port=8009, the engine does not bind the TCP Port 8009. Is there any way to log the bootstrap of the AJP Tomcat connector?

asked 07.06.2018 at 02:52

SupportIvyTeam's gravatar image

SupportIvyTeam ♦♦
accept rate: 77%

edited 06.09.2018 at 06:19

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦

With the following steps you can enabled details logs on booting the AJP connector.

Configure the JUL Logger properties

in the JRE that runs the Axon.ivy Engine. E.g. [engine]/jre/lib/logging.properties. At the end of the file add: org.apache.tomcat.util.net.NioEndpoint.level = ALL

alt text

Configure Log4j

in [engine]/configuration/log4jconfig.xml. Add the following lines somewhere between the <log4j:configuration> tags:

<appender name="AjpLog" class="org.apache.log4j.DailyRollingFileAppender">
    <param name="Threshold" value="ALL"/>
    <param name="File" value="${user.dir}/logs/ajp.log"/>
    <param name="DatePattern" value="'.'yyyy-MM-dd"/>
    <layout class="ch.ivyteam.log.layout.IvyLog4jLayout">
      <param name="DateFormat" value="HH:mm:ss.SSS"/>

    <category name="org.apache.coyote.ajp.AjpNioProtocol" class="ch.ivyteam.log.Logger">
    <priority value="ALL"/>
    <appender-ref ref="AjpLog"/>

  <category name="org.apache.tomcat.util.net.NioEndpoint" class="ch.ivyteam.log.Logger">
    <priority value="ALL"/>
    <appender-ref ref="AjpLog"/>

alt text


Reboot the Engine and examine the Logs under [engineDir]/logs/ajp.log.


answered 07.06.2018 at 02:56

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
accept rate: 70%

edited 07.06.2018 at 03:02

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 07.06.2018 at 02:52

Seen: 4,406 times

Last updated: 06.09.2018 at 06:19