I have a scenario where i have created a External Jar which would connect to one of my MW system (Unfortunately i had to use a proxy and the configurations mentioned in PDN doesnt seems to work out for me ).
The Standalone Jave code is able to connect to the Middle system, thereby i have now created a jar file and imported , but when i pass the request param i am getting a "Null Pointer Exception", unfortunately i am able to debud the Java code to understand the error.
The only option i am thinking of is you include Logs on my Java code , but i am trying to understand what log methos should i use thereby it would be printed on the Pega logs? Please share your ideas if any.
Thanks much in advance !!!
***Edited by Moderator: Lochan to update platform capability tags***
You can print into another temp file with help of java code.. I am not sure about writing it into the pega rules logs.. But you can create another (At server directory ) file and write the lines into that using the Java File and PrintWriter classes