CAIM Connector will not start in the Portal - "error: too many constants"

book

Article ID: 143721

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

When trying to start the connector getting the following error

ERROR [stderr] (default task-19) /opt/CA/IdentityPortal/IdentityPortal/temp/output/tews6/wsdl/ObjectFactory.java:25: error: too many constants

Cause

This is due to a limitation with file size on 3rd party (AXIS2) API

Environment

Release : 14.x

Component : SIGMA-Identity Suite

Resolution

1. The first step is to only mark required tasks (in IM), as public.

2. Then only expose the required tasks (in IM) to web services. If the task is not used by IP or any other external tool, please set
 webservices=false 

3. Check the 'TEWS WSDL File URL' configured  in the Admin console in IM connector configuration > WebServices tab section (Please click on advanced properties to clarify this). Ensure the URL contains &public at the end, ie

http://caim-srv:80/iam/im/TEWS6/identityEnv?wsdl&public