BI Publisher (MOSC)

MOSC Banner

Error Obtained while calling a custom java code from RTF template

edited Sep 13, 2015 10:00AM in BI Publisher (MOSC) 10 commentsAnswered
Hi,
Created a jar file and placed it in /opt/oracle/BI_Middleware/user_projects/domains/bifoundation_domain/lib
created a rtf template and calling the java code as below
<?namespace:cfns=http://www.oracle.com/XSL/Transform/java/com.test.bi.CustomFunctions?&gt;
<?for-each:listOfNames?>
<?cfns:helloFunction(name)?>
<?end for-each?>

Created a data source -xml file which is placed in
/opt/oracle/BI_Middleware/user_projects/domains/bifoundation_domain/config/bipublisher/repository/DemoFiles.

The xml file contains
<customFunctions>
<listOfNames>
<name>Vishal</name>
</listOfNames>
<listOfNames>
<name>Shaili</name>
</listOfNames>
</customFunctions>

But getting the below error :

FOProcessor setLocale: en-us
oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center