How to resolve the issue :"java.lang.NoClassDefFoundError: com/oroinc/text/perl/MalformedPerl5PatternException" when using Mar utility?

How to resolve the issue :"java.lang.NoClassDefFoundError: com/oroinc/text/perl/MalformedPerl5PatternException" when using Mar utility?

book

Article ID: KB0075380

calendar_today

Updated On:

Products Versions
TIBCO Hawk 4.8
Not Applicable -

Description

PLEASE NOTE this article is only applicable for Hawk 4.8.
************************
Description
==========
When try to run Mar utility, the error "java.lang.NoClassDefFoundError: com/oroinc/text/perl/MalformedPerl5PatternException" occurred.

Resolution

This message indicates the necessary Perl jar did not load.
Append the below to mar script at section of “REM Get required jar files”:
##########
SET HAWK_JAR_FILES=%HAWK_JAR_FILES%;%TPCL_ROOT%\lib\PerlTools.jar
##########

For the version 5.x and 6.x, perltools.jar could be found from <hawk_home>/lib/compat.
CLASSPATH could be updated by tibco.class.path.extended in application tra.

Issue/Introduction

How to resolve the issue :"java.lang.NoClassDefFoundError: com/oroinc/text/perl/MalformedPerl5PatternException" when using Mar utility?