Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Using ReportCaster Bean API

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Using ReportCaster Bean API
 Login/Join
 
<SM>
posted
I am using the following piece of code to get to the Distribution server

String sched_id = new String();
DSTSchedFactory factory1 = new DSTSchedFactory();
DSTAuthenticate auth1 = new DSTAuthenticate();
factory1.setAuthenticate(auth1);
factory1.clear();
auth1.setUser(IBIB_USERID);
auth1.setPass(IBIB_USERID);
auth1.setAgentProperty(IBIB_SERVER);

DSTBeanHandler app1 = factory1.getSchedulePropertyHandler();

app1.processRequest();
DSTAPIStatus status = app1.getAPIStatus();
int code1 = status.getErrorCode();
String message = status.getErrorMessage();
DSTBeanResult result = app1.getBeanResult();

The error message I get is "Configuration and Initialization Error: Failed to connect to the Distribution Server." with code1 = -1.

I am new to IBI. Is there something which I am overlooking?
 
Report This Post
Master
posted Hide Post
What Version of the Software are you using
 
Posts: 865 | Registered: May 24, 2004Report This Post
<SM>
posted
It turns out that the error I was actually getting was "Unable to establish connection to ReportCaster repository. Contact your ReportCaster Administrator. oracle.jdbc.driver.OracleDriver". I am using IBM WSAD as my IDE. The message seemed obscure and after some time we discovered that I have to include the oracle's thin driver "classes12.jar" in the classpath.
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Using ReportCaster Bean API

Copyright © 1996-2020 Information Builders