Failed to resolve path [JavaPackage com.example.test.com] to a valid URL.
search cancel

Failed to resolve path [JavaPackage com.example.test.com] to a valid URL.

book

Article ID: 371998

calendar_today

Updated On:

Products

CA Process Automation Base

Issue/Introduction

The following error appears in PAM Agent UI and c2o.log when running a Java method:

[com.optinuity.c2o.servicegroup.javaobject.JavaObjectOperationUtils] [c4-35be0c24733b] Searching for Path: '[JavaPackage com.example.test.com]' in PAM's .c2ouserresources

[com.optinuity.c2o.servicegroup.javaobject.JavaObjectOperationUtils] [c4-35be0c24733b] Failed to resolve path '[JavaPackage com.example.test.com]' to a valid URL.

 

The com.example.test.com does exist in the PAM Agent c2ouserresources folder (PAM Agent\PAMAgent\.c2orepository\.c2ouserresources)

Environment

PAM 4.4

 

Cause

The issue is caused by the JAVA jar naming convention

Resolution

1. Rename the com.example.test.com.jar file. Don't use a dot symbol in the new jar filename. Example: com-example-test-com.jar

2. Log into PAM Orchestrator > Configuration > Manage User resources > Delete the file with the previous name and add a new one with the new name.

3. Restart PAM Agent to get the new file with the new name

4. Edit the PAM process to call the jar file with the new name and Run.

Additional Information