cancel
Showing results for 
Search instead for 
Did you mean: 

required JARs for building a RAS + Viewer sdk java web app for CRS 2008

Former Member
0 Kudos

Hi,

What are the required jar files for building a RAS + Viewer web app? According to the RAS developer guide, the following 4 files are required.

rasapp.jar

rascore.jar

reporttemplate.jar

serialization.jar

I found that barely above four jar are not enough. What are the necessary jar files officially? and their version?

Thanks

Steve

Accepted Solutions (1)

Accepted Solutions (1)

former_member185028
Active Participant
0 Kudos

Hello Steve.

The jar files that you require depend on the SDKs that you are using. If you are only using the RAS SDK and the Viewers SDK, then you only need to retrieve the Core Jar Files and Dependent Jar Files that are mentioned in the Developer's Guide. You don't need to include all of the jar files in the <Business Objects Installation Directory>\Common\4.0\java\lib and the <Business Objects Installation Directory>\Common\4.0\java\lib\external directory. Since you are using the Viewers SDK to view Crystal Reports, you will also need the crystalreportviewers12 directory.

When you open the Developer's Guide, go to "Setting up the development environment" --> "Web application setup" --> "JAR files needed for deployment of Business Objects Software". There you will see all of the "Core JAR Files" and "Dependent JAR Files" that are required in your custom SDK web application.

The jar files can be found in the following location:

<Business Objects Installation Directory>\Common\4.0\java\lib and

<Business Objects Installation Directory>\Common\4.0\java\lib\external

The crystalreportviewers12 for a Windows environment can be found in the following location. The whole contents should be copied to the custom application:

<Business Objects Installation Directory>\Common\4.0\crystalreportviewers12

Based on what is in the Developer's Guide, you require the following Jar files:

For RAS SDK:

Core Jar Files:

- rasapp.jar

- rascore.jar

- reporttemplate.jar

- serialization.jar

No dependent jar files are required for the RAS SDK.

For Viewers SDK:

Core Jar Files:

  • If you are not using the JSF viewer, then you don't need any of the starred items listed in the Developer's guide.

- MetafileRenderer.jar

- webreporting.jar

- webreporting-jsf.jar

No dependent jar files are required for the Viewers SDK

You also need the crystalreportviewers12 folder and contents that can be found in <Business Objects Installation Directory>\Common\4.0\crystalreportviewers12 for viewing Crystal Reports. For details on how to set up the web.xml for your web application to allow to use the Crystal Report viewer, please refer to the "Configuring your web.xml file" section in the Developer's Guide.

I hope this information helps.

Regards.

- Robert

Former Member
0 Kudos

Hi Robert,

Thanks for your detailed reply.

Actually the information you provided is exactly what I've got from the developer guide.

However, with only these jar files, I cannot run simple the "Open Report" sample, which is Report Application Server Java SDK Feature Samples\OpenReport in the "Report Application Server Java SDK Feature Samples.zip". this samples are downloaded from SAP web site.

There are still a long list of compilation / JSP problems. Below are some of them I copied from Eclipse.

Thanks & Regards,

Steve

Description	Resource	Path	Location	Type
IInfoObjects cannot be resolved to a type	AlwaysRequiredSteps.jsp	/xxxWeb/WebContent	line 61	JSP Problem
IInfoStore cannot be resolved to a type	AlwaysRequiredSteps.jsp	/xxxWeb/WebContent	line 60	JSP Problem
IReportAppFactory cannot be resolved to a type	AlwaysRequiredSteps.jsp	/xxxWeb/WebContent	line 64	JSP Problem
CrystalEnterprise cannot be resolved	OpenReport.jsp	/xxxWeb/WebContent	line 26	JSP Problem

Former Member
0 Kudos

Hi,

I have added the appropriate jar files by "jar vtf" each jar files in the lib/

Thanks,

Steve

Answers (3)

Answers (3)

former_member185028
Active Participant
0 Kudos

Hello Steve.

If you are making use of things suich as the CrystalEnterprise, infoObjects, and the infoStore, then you would need those jar files. InfoObjects are stored in the Enterprise, the infoStore is used to connect to the Enterprise.

If you are storing things in the Crystal Reports Server and accessing them by creating a session and querying the infoStore, then you would need those jar files.

You would also need an Enterprise session created to make use of the page server.

Regards.

- Robert

former_member185028
Active Participant
0 Kudos

Hello Steve.

Most of the classes that it is complaining about there are from the BusinessObjects Enterprise SDK. You need to include those jar files in your class path as well.

The BusinessObjects Enterprise Developer's Guide can be retrieved from the following location:

http://www.sdn.sap.com/irj/boc/sdklibrary

After you go to that link, scroll down to the "Java SDK Developer Guides and API References section". Under "Java SDKs", go to "BusinessObjects Enterprise Java SDK". Then click on the link that states "Developer Guide".

In the Enterprise Developer's Guide, it will indicate the Core and Dependent Jar Files that your equire for the Enterprise SDK.

Copy the jar fiels that are mentioned in the Guide for the Enterprise SDk from the following locations.

<Business Objects Installation Directory>Common4.0javalib and

<Business Objects Installation Directory>Common4.0javalibexternal

If you add the mentioned jar files, I think that it should resolve some of your problems. Specifically, the following errors:

IInfoObjects cannot be resolved to a type

IInfoStore cannot be resolved to a type

CrystalEnterprise cannot be resolved

IInfoObjects is part of the following package that is in one of the jar files in the Enterprise SDK:

com.crystaldecisions.sdk.occa.infostore.IInfoObjects

IInfoStore is part of the following package that is in one of the jar files in the Enterprise SDK:

com.crystaldecisions.sdk.occa.infostore.IInfoStore

CrystalEnterprise is part of the following package that is in one of the jar files in the Enterprise SDK:

com.crystaldecisions.sdk.framework.CrystalEnterprise

For the "IReportAppFactory cannot be resolved to a type" error. If you have included all of the required RAS jar files, I'm not sure why that error is occurring.

IReportAppFactory is part of the following package that is in one of the jar files in the RAS SDK:

com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory

Try adding the Enterprise jar files and see if that resolves some of your errors.

Regards.

- Robert

Former Member
0 Kudos

Hi Robert,

Thanks for your detailed reply again.

Currently,

1. I am trying to get a simple report from page server

2. The server is CRS 2008, but not BO Enterprise

Do I really need those classes? Or my implementation is not the right one?

Here is how the system will be deployed.

DB Server <---> CRS 2008 <-> JEE Server <----> browser

Thanks,

Steve

Former Member
0 Kudos

Hi,

You also required Supporting Viewer component files too.

As mentioned in the RAS developer guide:

All Core JAR files and Language Resources JAR files are in the following directory: C:\Program Files\Business

Objects\common\4.0\java\lib.

Dependent JAR files are in the following directory: C:\Program Files\Business Objects\common\4.0\java\lib\external.

If you are using RAS for Crystal report, need to import crystalreportviewers12. (C:\Program Files\Business Objects\common\4.0).

Regards,

Rameez

Former Member
0 Kudos

Hi Rameez,

do you mean ALL the jar files in lib\ and lib\external\ are required?

In the RAS developer Guide,

"To create custom applications using the Business Objects SDKs, or to deploy the sample applications provided, you'll need to know which JAR files to use. This topic organizes the JAR files by the SDKs and their dependencies. All dependent JAR files must also be included as part of your application development or deployment. All Core JAR files and Language Resources JAR files are in the following directory: C:\Program Files\Business Objects\common\4.0\java\lib. Dependent JAR files are in the following directory: C:\Program Files\Business Objects\common\4.0\java\lib\external. "

May be I have misunderstood the guide, but I really can't find a sentence mentioning ALL jars are required. I wonder what the tables want to tell then

Regards,

Steve