as-agent.exe/ as-agent.bin cannot start when user authentication configured with LDAP in the policy file.

as-agent.exe/ as-agent.bin cannot start when user authentication configured with LDAP in the policy file.

book

Article ID: KB0092910

calendar_today

Updated On:

Products Versions
TIBCO ActiveSpaces -
Not Applicable -

Description

Description:

as-agent.exe/ as-agent.bin can not start when user authentication configured with LDAP in the policy file and will throw the following exception.

 

/tibco/as/2.1/bin/as-agent -listen 'tcp://IP:50000' -security_policy policy.ldap.txt -metaspace TS
****************************************************************
TIBCO ActiveSpaces Agent
Enterprise Edition. Version: 2.1.5.036 21-Jul-2015 SVN Rev.27932
Copyright(c) 2009-2015 TIBCO Software Inc. All rights reserved
****************************************************************
[2015-09-15T17:12:44.178][11107][140376979621664][INFO][security] Security provider [OpenSSL 1.0.1j 15 Oct 2014] loaded from /tibco/as/2.1/lib
Domain password [AS-DOMAIN]:
SYS_ERROR (security_error - JVM instance not found)
<Exception>
1) LdapAuthSource.cpp: 167: prepare: security_error - JVM instance not found
2) Authenticator.cpp: 52: prepare
3) Domain.cpp: 114: prepare
4) Controller.cpp: 479: prepare
5) SecHelper.cpp: 184: initSecurity
6) MetaspaceManager.cpp: 127: createMetaspace
</Exception>



Symptoms:
Exception thrown follows: 

SYS_ERROR (security_error - JVM instance not found)
<Exception>
1) LdapAuthSource.cpp: 167: prepare: security_error - JVM instance not found
2) Authenticator.cpp: 52: prepare
3) Domain.cpp: 114: prepare
4) Controller.cpp: 479: prepare
5) SecHelper.cpp: 184: initSecurity
6) MetaspaceManager.cpp: 127: createMetaspace
</Exception>


Cause:
The as-agent.exe / as-agent.bin is not able to link Java LDAP API.

Issue/Introduction

as-agent.exe/ as-agent.bin cannot start when user authentication configured with LDAP in the policy file.

Resolution

Controller process(AS-AGENT) needs to be a Java application. You can use the Java as-agent.jar to get LDAP to work.


Additional Information