Question
Pega 7.4 - Connect-Java Unable to locate class in Process Commander Classpath
Hi,
I have a requirement to import third party jars(java 1.8) into Pega and integrate by creating Connect-Java. I have tried placing the java in server directory, added complete jar path to process commander classpath and restarted the server. However Connect-Java wizard throws Unable to locate class in Process Commander classpath error.
I am able to access the classes in the jar by importing the jars (Application - Distribution - Import), into prpc, creating Library to import this jar and Function. However, connect-java wizard throws could not locate the Class error.
It would be of great if someone throws light on this issue.
Hello,
1. Post importing the jar file ( Sudhas14: am able to access the classes in the jar by importing the jars (Application - Distribution - Import),) have you performed CLEAR CACHE, SERVER RESTART?
Importing Jar file needs CLEAR CACHE, RESTART.
2. You mentioned: "am able to access the classes in the jar."
How are you accessing the classes? Are you sure that jar files are accessible to PRPC?
3) Can you go to SMA --> ADVANCED --> ETier RUN TIME ENVIRONMENT --> Enter the java class in :java Class name input field and click Lookup Java Class?
Check if you are able to look up Java Class?
I hope Clear Cache Restart should resolve this issue? Else there could be possible that, import is not done appropriately.
Thanks,