cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to instantiate GP process from CAF application service

Former Member
0 Kudos

Hi,

I am trying to instantiate a process from my CAF application service as follows.

IGPProcess process = GPProcessFactory.getDesigntimeManager().getActiveTemplate("7CE44BF090BF11D99817000D60B211F1",user);

When the execution reaches this step, I am getting the following exception.

com.sap.engine.frame.core.load.SAPClassNotFoundException

I suspect that CAF runtime is not able to load GPProcessFactory class. Is there any settings that need to be done or I have to deploy something on the server?

Please help.

Thanks

Raghav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Raghavendra,

It seems you are using SPS7 !

Check runtime reference for J2ee application in application-j2ee-engine.xml :

<reference

reference-type="weak">

<reference-target

provider-name="sap.com"

target-type="library">cafeugp~api</reference-target>

</reference>

Best regards,

Aliaksei

Former Member
0 Kudos

Thanks a lot Aliaksei !

This solved the problem.

Best Regards

Raghav

Former Member
0 Kudos

Hi

I am also facing the same problem. Please let me know the location of this application-j2ee-engine.xml file. I found so many files with this name at different locations.

Answers (0)