kpatnalaNew Contributor5 years agoLogging from custom java jar in script snap Hi, I have a Java Jar file which has a method inside a class that returns a string value, and I also have a log4j logger inside the method. I placed these 2 jars mycustom.jar and log4j.jar in nod...Show More
SupratimContributor III5 years ago @kpatnala You can try below step in python scripts- At Import/Declartion sys.path.append(‘/opt/snaplogic/run/lib/custom.jar’) from com.test.mypack import MyClassName Inside try - myClass=new MyClassName() myClass.myFuc()
Recent DiscussionsWay to lock down in Prod org to "Monitor" only access?trace API and proxy callsPagination Logic Fails After Migrating from REST GET to HTTP Client SnapSolvedPipeline Execute Pool sizeSolvedConcat values of a field based on value of another fieldSolved