SAPInternalConnector not found in namespace

Which IIQ version are you inquiring about?

8.3

Please share any images or screenshots, if relevant.

Share all details about your problem, including any error messages you may have received.

Hi Team, Getting this error in our prod environment not in lower environment(qa,dev). Compared all the files and everything no issue found. Not sure why this error in only on prod environment…all the jar files place correctly in all 3 env.

Hi @uttu2022,

are you declaring this variable and you dont have imported the library or this class dont exist.

How you want to do in this rule?

Hi @uttu2022
When you are getting this error after doing the Test Connection.

Possible solutions to the issue with the SAPInternalConnector class

In SailPoint IIQ, there are two possible causes for the issue you are experiencing. Below are detailed steps based on each scenario:

First Possibility: Missing import for the SAPInternalConnector class

  1. Missing import:

    • Check if the class SAPInternalConnector is imported in your BeanShell code. If it is not, this could be the source of the issue.
  2. Solution:

    • Locate the SAPInternalConnector class in your repository and identify its full package path.
    • Add the missing import to your BeanShell code. Here’s an example of how the import might look:
      import com.yourcompany.applications.sap.SAPInternalConnector;
      
    • Ensure that the path matches the actual location of the class in your environment.

Second Possibility: The class file is not deployed

  1. Class file is not deployed:

    • Ensure that the SAPInternalConnector.class file is deployed to the application server (Tomcat) that hosts SailPoint IIQ. A missing class file could also be the cause of the issue.
  2. Solution:

    • Step 1: Locate the SAPInternalConnector.class file in your repository or another relevant source.
    • Step 2: Deploy the class file:
      • Copy the SAPInternalConnector.class file to the appropriate directory on the Tomcat server, usually in the folder containing other class files.
      • The directory path on the Tomcat application server might look like this:
        /webapps/identityiq/WEB-INF/classes/com/yourcompany/applications/sap/
        
    • Step 3: Once the class file is deployed, restart the Tomcat server to ensure the new changes are loaded:
      • You can restart the server from the terminal using:
        sudo systemctl restart tomcat
        

Conclusion:

Depending on the situation, you may need to either add the missing import to your BeanShell code or deploy the missing class file to the Tomcat server and restart it.

If you encounter further issues or need more details, feel free to ask!

1 Like

Hey @enistri_devo I have imported the library in my connector-rule. Same code is there in all 3 env. but only in prod i am getting this error.

Hey @Abhishek_1995 i am getting this while running sap password change scenarios… Same code is there in all 3 env. but only in prod i am getting this error.

Hey @abartkowski there is no missing import/classfile related to sapinternalconnector class. I am not able to replicate the issue in lower environemnt even though the code is same…

If you still need help, we will need more details about the issue, such as the source code of the rules, etc. Based on the error message you provided, I don’t see any other issues at the moment.