Thursday, January 16, 2014

OpenAM Policy Agent 3.3.0 for Apache HTTPD 2.4 for Windows Platform

In the latest release of OpenAM Policy Agent 3.3.0, a web policy agent is now available for Apache HTTPD Server 2.4 (OPENAM-1195).

This week, I am in a customer's site to help them with a PoC. They are on Windows platform and thus I downloaded the Policy Agent for Apache 2.4 for Windows ( for  them.

No luck! The agentadmin.bat could not even execute!

The following error is encountered: could not find or load main class 

I found out that in the agent's lib directory, there is only a single jar file (apache24_agent.jar). Missing jar files (opensso-installtools-launcher.jar and opensso-installtools.jar).

That's quite silly, but not a big deal. What I did was to download Policy Agent for Apache 2.2 for Windows ( The 2 missing jars were there.

Copy and paste and the problem was solved!

The next issue was harder. 

Customer had install Apache 2.4 ( from ApacheLouge. 

When policy agent was installed/configured and the Apache HTTPD server was started, we encountered the following error:

httpd: Syntax error on line 532 of C:/Users/Administrator/Downloads/Apache24-VC11/conf/httpd.conf: Syntax error on line 1 of C:/Users/Administrator/Downloads/apache24_agent/Agent_001/config/dsame.conf: Cannot load C:/Users/Administrator/Downloads/apache24_agent/bin/libamapc24.dll into server: %1 is not a valid Win32 application.

I have no clue what happened and in the end, we downgraded to Apache 2.2 instead.

This morning, I tried installing Apache 2.4 from ApacheHaus ( and integrate Policy Agent 2.4 with it.

No problem!

Why? I have no idea.


No comments:

Post a Comment