cancel
Showing results for 
Search instead for 
Did you mean: 

How to log BIAR export/import from command line

Former Member
0 Kudos

Hello

Can anyone please tell me how to log the actions during the import (or export) of a BIAR file when it is executed from the command line

OR

If this type of logging is enabled by default then can anyone tell me where the log files would typically be found

Best regards and thank you

Patrick

C:\Program Files\Business Objects\common\4.0\java\lib>

java -jar biarengine.jar MyCMSImport.properties

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Query:

How to import BIAR files from the command line.

Cause :

Use InstallEntSdkWrapper.jar to import BIARs to your system.

Resolution :

1. Add the InstallEntSdkWrapper.jar path to your classpath:

SET CLASSPATH=%CLASSPATH%; "C:\Program Files\Business Objects\common\3.5\java\lib"

2. Ensure that Java is installed, otherwise the Java call will fail.

3. Execute the following command:

java -jar InstallEntSdkWrapper.jar "CMSNAME:6400" "MyAdminUser" "MyAdminPwd" "secEnterprise" MyBIApplication.biar

There are 3 basic variables for using this deployment option:

The install location of XI R2. The the first line sets the CLASSPATH environment variable to include our "common java library" directory, which will be different if you install to a non-default location or if the install is UNIX.

The second line calls Java, and passes it the JAR file required, your CMS UserID and Password, and the Authentication code.

The path to the BIAR file.

Hope this helps you.

Regards,

Deepti Bajpai

Former Member
0 Kudos

Hi Deepti

Thanks for the info.

I should have said that i am using Crystal Reports Server , XI3.0 platform

The import / export is working for me

What i would like to do is view the log file for the actions that happen during the import / export

Best regards

Patrick

Former Member
0 Kudos

Deepti,

This is very useful information. Is there any official documentation for a more complete guide on how to use this?

Thanks!

Guoming

Former Member
0 Kudos

Could you please give the same procedure for BOXI3.1. When I tried it is giveing 1MB file where there is no content

Former Member
0 Kudos

HI,

We are getting the below error while uploading reports with InstallEntSdkWrapper.jar

Error:[report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator

[report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :

[report] Failed to commit objects to server : Duplicate object name in the same folder.

[report]

[report] [InstallEntSdkWrapper.main] BIAR File could not be imported

Appreciate any help.

Cheera!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

We can get the log files for the actions that happen during the import / export via Import Wizard.

Complete these steps to create a log file:

1. Create the following Windows system variables:

BO_TRACE_CONFIGDIR = C:\Botrace

BO_TRACE_CONFIGFILE = C:\Botrace\BO_trace.ini

BO_TRACE_LOGDIR = C:\Botrace

2. Copy the BO_trace.ini file to the c:\Botrace folder.

3. Run the Import Wizard and then view the BO_trace.ini file in the c:\Botrace folder.

Additional Information

-


The following are the default values in the BO_trace.ini file:

active = true;

importance = xs;

size = 1000000;

keep = true;

Hope this helps.

Regards,

Deepti Bajpai

Former Member
0 Kudos

Hi Deepti

Thanks again for the extra info.

I will check this out later using the import wizard.

Is there logging avaiable when the import is run from the command line?

I will be providing my customers with a biar file to import to their cms and i prefer that they do not use the wizard.

At the same time i would like to see a log of the import in case of any problems.

Best regards and thanks

Patrick