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 am not 100% sure if I understood you problem correctly. Do you need help running example Java Apps from Eclipse? Or do you need help accessing the RCaster API from Java. For using Eclipse I would suggest looking into a different forum. For accessing the Report Caster API using Java (independent of which IDE or none at all you use) - maybe the following first example helps to create at least a connection to your ReportCaster service:
(In Eclipse: make sure you have added your reportcaster.jar etc. to your Build-Path, in java itself it must be added to the classpath env var)
You need to fill in host, port etc. yourself of course or change the function to provide them as parameters. If the RCaster runs on a different server it must also be accessible (Firewall, Port etc.).
Using the CasterConnection object returned by my ex. function you can than retrieve further objects from the API or perform methods (e.g. getLibraryContentManager() for access on all already existing reports in the library).
I tried your above code,but having same error which i am facing earlier.
ERROR! License has not been loaded. Exception has been thrown while trying to read the file:null/wflicense.key
import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.NamedQuery; Exception [EclipseLink-4021] (Eclipse Persistence Services - 2.4.1.v20121003-ad44345): org.eclipse.persistence.exceptions.DatabaseException Exception Description: Unable to acquire a connection from driver [null], user [null] and URL [null]. Verify that you have set the expected driver class and URL. Check your login, persistence.xml or sessions.xml resource. The jdbc.driver property should be set to a class that is compatible with your database platform
I included all the API jars in BUILD PATH of my eclipse.
I am missing something,can you help me figure out.
Atleast want to create connection to my Report Caster Service.
sorry, but I will be guessing here now because I have not experienced this exception yet. It could also be that this is related to WebFOCUS 8.0.x you are using while I am still on WF 7.7.x
One Thing you could try (as it it also mentioned at the end of the exception error msg): add the right jdbc driver jar to your CLASSPATH. If your WF runs on an Oracle DB this should be ojdbc6.jar or similar, for MS SQL: sqljdbc4.jar. You might Need to download them from the resp. DB vendor but they are generally free.
I am out of ideas unfortunately. I can only suggest opening a case with IBI. They helps us getting the "first contact" with our WebFOCUS RCaster via the API. I believe they will also be able to help you out here.