External Jar import s working in only one node where the jar has been imported in a Multi node system.
In our project we have to import a external java jar file and need to invoke the functions from the externalize java. We have multinode system which have two nodes. The eternalize jar is only working in the node where we imported the jar and it is not working in other node.Infact we have seen the folders are not ceated for that particular jave class in PRGenJava directory of temp dircetory for that particular node and the same has been created in the node where we imported the jar.
please suggest a way how the externalize jar can be working in both the node.
Error stack trace has been attached with this.
***Updated by moderator: Lochan to add Categories***
I do not see the error stack here. external jar itself should have nothing to do with the temp directory as it is stored in db and it is loaded by engine during earch node startup, did you restart the nodes after importing the jar? How do you use the java classes in the jar?
Can you confirm the version of PRPC here: the newer (6+) versions store Java Classes in a central location (the Database - as Kevin says) : older versions used the more traditional file system approach).
Additionally: you have to reboot the nodes in order to see any newly import JARs .... (as Kevin also says).
PRPC version for our application is 6.3 SP1. We already checked the classes are there pr_engineclasses table.We imported the jar file in one of the node and we restart both the node.But still this is working in only one node from where we imported the jar and not working in other node.
I have attached here the error stack trace with this.
Posted: 4 years ago
Posted: 9 Sep 2016 1:09 EDT
Kevin Zheng (KevinZheng_GCS)
Director, Software Solutions Engineering
Have you tried to delete the pega temp dir content for the non-working nodes before restart? Since your jar are shared by all nodes, you should look for differences among nodes, this being the first thing to check.
Yes, We had deleted temp directory for both the nodes before retsart after importing the jar.We checked the the configuration,which are same for both the nodes.Please let me know if we need to do some additinal steps for the other node working.