As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
I'm using ReportCaster Legacy API's on another Linux OS server to run reports on our Web Focus server. Every report is working except one and I need tips on how to debug this.
This is the output I normally get on a successful run...
This is the output I get on one report that keeps failing and we can't figure out why What more can I do from a command line to try and troubleshoot this? Any trace/debug modes I can learn to enable to see more verbose information as to what's happening? It's failing on this step where it generates or pulls the JobID
// run schedule
String jobId = manager.run(schedule);
print("JobId=" + jobId);
+ CLASSPATH=/opt/sqljdbc_4.1/enu/jre7/sqljdbc41.jar:/opt/ibi/WebFOCUS82/ReportCaster/lib/reportcaster.jar:/usr/java/jdk1.8.0_181/bin:/opt/ibi/WebFOCUS82/ReportCaster/samples/Tools/CompiledCode
+ /usr/java/jdk1.8.0_181/bin/java HLZ_WFSchedulerRunWithID S1923faeesd758s4e43s8946s32d82261a5e6
HLZ_WFSchedulerRunWithID START
No bundle found
log4j:WARN No appenders could be found for logger (stdout).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2019-03-26 08:27:59 ScheduleId1=S1923faeesd758s4e43s8946s32d82261a5e6
2019-03-26 08:27:59 ScheduleId2=S1923faeesd758s4e43s8946s32d82261a5e6
2019-03-26 08:27:59 Schedule=ibi.broker.api.data.schedule.Schedule@4e48462d
java.lang.NullPointerException
at ibi.broker.api.util.converter.ScheduleConverterUtil.convertTaskList(ScheduleConverterUtil.java:1559)
at ibi.broker.api.util.converter.ScheduleConverterUtil.convert(ScheduleConverterUtil.java:1596)
at ibi.broker.api.util.converter.ScheduleConverter.getObject(ScheduleConverter.java:1352)
at ibi.broker.api.cci.interactive.schedule.RunSchedule.processRequest(RunSchedule.java:142)
at ibi.broker.api.cci.interactive.AbstractInteractive.execute(AbstractInteractive.java:225)
at ibi.broker.api.cci.interactive.schedule.ScheduleManagerImpl.run(ScheduleManagerImpl.java:228)
at ibi.broker.api.cci.interactive.schedule.ScheduleManagerImpl.run(ScheduleManagerImpl.java:217)
at HLZ_WFSchedulerRunWithID.<init>(HLZ_WFSchedulerRunWithID.java:47)
at HLZ_WFSchedulerRunWithID.main(HLZ_WFSchedulerRunWithID.java:72)
HLZ_WFSchedulerRunWithID FAIL
This message has been edited. Last edited by: FP Mod Chuck,
I don't have any experience with debugging the API. I looked at the manual and it doesn't have info for that either. I suggest you open a case with techsupport.
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
Posts: 2127 | Location: Customer Support | Registered: April 12, 2005
The old api is set up to use Log4j. You need to setup an appender. If you are running it in the command line you can put your log4j.xml into the same directory where your running from. The following is a sample appender that will dump the traces out to a file and the console.
Oh, thank you! That log4j setup is exactly what I needed to see more information. I'll be able to use this information to better work with support. We think this issue is related to a new "dependency" feature available in the latest WF release that's being used with this particular schedule