31.01.2013 Views

My webMethods Server Administrator's Guide - Software AG ...

My webMethods Server Administrator's Guide - Software AG ...

My webMethods Server Administrator's Guide - Software AG ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring the Apache Web <strong>Server</strong><br />

4. Using <strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> with Web <strong>Server</strong>s<br />

If you have met the prerequisites in “Prerequisites to Configuring Apache” on page 37<br />

and found the Apache files as described in “Locating the Apache Files” on page 37, you<br />

can configure <strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> to use the Apache Web server on a UNIX system.<br />

The following procedure provides general guidelines and assumes the implementation of<br />

a standard Apache configuration; the requirements of your specific situation may vary.<br />

To configure <strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> with Apache Web server on a UNIX system<br />

1 Copy the mod_jk‐1.3‐noeapi.so binary file from the location described in “Locating<br />

the Apache Files” on page 37 to the Apache /libexec directory.<br />

2 Copy the example workers.properties to the Apache /conf directory.<br />

Note: In the following step, do not copy the http.conf file, as you do not want to<br />

overwrite the file that already exists in the Apache /conf file. Rather, use the http.conf<br />

file in the <strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> directory structure as an example of the correct<br />

location for each entry.<br />

3 Edit the http.conf file in the Apache / conf directory to add the following entries.<br />

Add these lines to http.conf<br />

LoadModule jk_module libexec/mod_jk‐1.3‐noeapi.so<br />

JkWorkersFile $APACHE_HOME/conf/workers.properties<br />

JkLogFile $APACHE_HOME/logs/mod_jk.log<br />

JkLogLevel info<br />

JkMount /portal<br />

JkMount /* portal<br />

If you have a more complex Apache distribution than just the defaults with shared<br />

modules enabled, as shown here, you may need to adjust this configuration in more<br />

detail as per your site needs. This example assumes that only the basic components<br />

for an Apache Web server are installed. Both <strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> and Apache are<br />

VERY flexible, this is intended to be only the basics to get this integration to function.<br />

4 Edit the settings in the workers.properties file to ensure that the host entry is correct<br />

and has the same port number you intend to use when configuring the AJP13 listener<br />

configuration.<br />

<strong>My</strong> <strong>webMethods</strong> <strong>Server</strong> Administrator’s <strong>Guide</strong> Version 7.1.1 � � � 38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!