Biar Export using Biar Command line tool
Hi All,
I am trying to export biar file using the biar command line tool for that i have written a .properties file and running that using the batch file , Here are the contents -
Biarexport.properties -
exportBiarLocation=C:/work/biartest/level.biar
action=exportXML
userName=E372019
password=welcome9
CMS=tss0s108:6800
authentication=secEnterprise
includeSecurity=true
exportDependencies=true
exportQuery= Select * from ci_infoobjects where si_kind in ('CrystalReport','Folder') and si_name='Air Travel Activity' and SI_INSTANCE = 0
and running the above .properties file using below command u2013
cd C:\Program Files\Business Objects\Common\4.0\java\lib
java -jar biarengine.jar C:\work\biartest\biarexport.properties
I get the biar file created on the given folder but if I compare itu2019s size(261KB) with the biar which I create manually from the Import Wizard(35 KB) , then comparatively it is bigger. It seems biar has every instance.
This increases the file size unnecessary since we do not need the instances in the BIAR, just the report and the dependent repository objects.
Need your assistance on this issue!
Thanks for your help!
Kanchan
I would suggest creating a case with support to go over this, you should have a support agreement since you have the Enterprise product.
Similar Messages
-
Error while exporting webi reports using BIAR command line tool.
HI,
We are trying to export webi objects to a biar file using the biar command line tool, biarengine.jar in XI 3.0. We are using the query select * from ci_infoobjects where si_kind='webi'.
We are getting an error "unable to create plugin object".
Export of all other objects is going through fine.
Any ideas?
Thanks,
AshokTry this
importBiarLocation=C:/test.biar
action=importXML
userName=UserName
password=Password
CMS=cmsname:6400
authentication=secEnterprise
exportQuery=select * from ci_appobjects where si_kind='universe' -
Logs for BIAR command line tool XI3.0
Hi,
Will there be any log files generated by the BIAR command line tool, when we try to export to a BIAR file?
Thanks,
Ashok Kumar MInformation regarding the import can be found in the following locations:
- Program Files\Business Objects\BusinessObjects 11.5\Logging
- Program Files\Business Objects\BusinessObjects 11.5\win32_x86
- Windows Event Viewer " If an error was encountered during import, the information will often be found here.
To generate more logs during the import:
Create a shortcut of the Import Wizard executable. The executable is found in <installation directory>:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32_x86.
Right-click the new shortcut. Click Properties.
Click the Shortcut tab. Add "trace at the end of the Target command line as follows:
"C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\win32-x86\ImportWiz.exe" -trace
Click OK.
When starting the import process, use this new shortcut instead of the previous one to start a trace. The resulting logs will reside in <installation directory>: \Program Files\Business Objects\BusinessObjects 11.5\Logging.
Caroline -
Hi,
I created a biar file using import wizard. and now i need to migrate the content from biar file to destination CMS using BIAR COMMAND LINE TOOL.
and
I dont need need to migrate everything to destination CMS. so i need to write queries.
the following is the script i used. but im unable to migrate anything with no error.can u please help me to clear my doubts:
what exactly exportDependencies mean? i only need universe not with its dependency connection..so if i set to false im seeing nothing to migrate.
security..even in import wizard,,it sucks most of the time...no worries as of now.
correct my script if its wrong.
importBiarLocation=C:\test.biar
action=importXml
CMS=sever name
password=password
Authentication=secEnterprise
exportDependencies=False
includeSecurity=false
exportQuery=select * from ci_appobjects where si_kind='universe'Try this
importBiarLocation=C:/test.biar
action=importXML
userName=UserName
password=Password
CMS=cmsname:6400
authentication=secEnterprise
exportQuery=select * from ci_appobjects where si_kind='universe' -
Issue while creating BPEL artifacts using BPEL command line tool
All
I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
My demo.properties is
ProductName=Microsoft SQL Server
DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
Username:apcdb
Password:password1
SchemaName:dev
ProcedureName:spiSOATesting
ServiceName:SQLServerSPService
DatabaseConnection:MSSQLServer
Destination:c:/temp/sqlprocedure
and I have create a batch file called as generate.bat and it contains following information
java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
Following is the output from command prompt.
D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
Procedure not found: dAP.spiSOATesting
Thank youHI
Pricing will be carried basing on the pricing
procedure.
Case1: Prices will be carried out automatically if
necessary condition records are maintained for the
condition type.
For this you can go to Sales Order-> Item Conditions
In the screen you can click on command button Analysis,
which gives you the list of condition types associated
to the pricing procedure. By clicking on the condition
type you can know the action that has taken place.
Case2: Manually forcing prices for Items.
To do this, you have to populate ORDER_CONDITIONS_IN &
ORDER_CONDITIONS_INX. Also note to identify the item
numbers, you manually pass the item number for each item
in the sales order, use the same item number for
populating conditions.
Parameters required:
ORDER_CONDITIONS_IN:
ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
ORDER_CONDITIONS_INX:
ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
Hope the above info helps you. Do revert back if you
need more info.
Kind Regards
Eswar -
What are the commands for compiling c++ using the command line tools for xcode?
Hi, I am taking a class in school for c++ and i would like ot be able to practice at home i found the command line tools for xcode and went ahead and installed it on my computer. now i need to know the commands and procedure to be able to compile and run c++.
c++ testfile.cc
-
BIAR Command line tool Properties
hi,
what does
action = exportXML and action = importXML means.
where we should use
exportBiarLocation and importBiarLocation
plz explain.
Thanks in advance!Hello,
biarengine.jar supports 2 functionalities:
1) Importing a BIAR file using command-line
2) Exporting a BIAR file using command-line
To import a BIAR file, you would specify:
action=importXML
importBiarLocation=C:/path/to/biarfile.biar
To export a BIAR file, you would specify:
action=importXML
importBiarLocation=C:/path/to/biarfile.biar
This is further documented in the XI3.1 Administrators Guide:
http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_bip_admin_en.pdf
-Brian -
Biar Command Line - Only move reports?
Hi,
I need to copy only reports between environments on a schedule. By my reading of the Administrator manual, it appears it will not work.
Importing relationships
The BIAR Command Line Tool only keeps the relationships between imported objects intact if both objects are imported together, or if one of the objects already exists on the destination. For example, if you have a Web Intelligence Report that uses a Universe, and you import the Report without also importing the Universe, the relationship between the two is dropped. The Report will not run on the destination.
Is this true? The import wizard doesn't seem to have this limitation.
Are there other options to do this aside from LCM?
Thanks,
SamHi,
Basically you want to sync reports between two environments on a periodic basis. Federation would be a good choice over here.
You can refer to the Admin guide for various options.
Hope it helps.
Regards
Chinmaya -
GUI Applications unable to use command line tools
Hi All-
I've searched, but I can't find a thread about this one, so...
On OS 10.4.5:
Whenever I use a GUI app that wants to use a command line tool (e.g. curl, df, java), the app fails giving an error message to the effect of "unable to find curl" or the like. It is as if the GUI cannot find my unix $PATH.
Examples:
-- Eclipse refuses to launch, because it appears to use "java xxxxxxx" to launch.
-- Automator fails to run certain Safari actions because they use curl to navigate web pages.
-- Carbon Copy Cloner fails to launch, because it can't find a tool (df, IIRC) to read drive/volume info
Possibly relevant details:
-- I can use the tool in question from the command line, so they are present, and in my $PATH, but the GUI can't find them.
-- I recently moved from an old G4 to a relatively new G5, and had issues migrating files, so I eventually just copied my entire home directory from the old machine to the new, replacing the freshly created one on the new machine. I feel like that missed something that tells the GUI where your $PATH is, or some other link between GUI and command line.
-- I created a new user, and that user does not experience the same troubles. This adds to my suspicion that it is account/PATH related.
Any help anyone can give it greatly appreciated.
-p
PM G5 dual 2.0 Mac OS X (10.4.5)Did you by any chance create an evironment.plist file? It is located in ~/.MacOSX/ If you don't know about it or don't know to look (.MacOSX is normally invisible), try this:
In Finder.app, in the "Go" menu select "Go to Folder..." (shift-command-G), type ~/MacOSX in the text field and hit OK, the finder should then open a window or complain.
If it opens a window and you find in it a file named environment.plist move that file to the desktop and try your applications. Do they work as advertized? Try again after logging in/out if things don't work. Do they work now?
Whatever hapens, tell us more... -
Hi,
Am having a requirement in my staging and prod env. to add, install,retract and remove wsp.
In my dev env i used to perform with Visual Studio ,so i didnt face any issues regarding retracting and removing the wsp from solution store.
But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
store and installed onto a particular web application [ NOT "All WebApplications"].
and if the wsp already exists , i need to retract it & remove from solution store and add it and install again.
can someone pls help me with the automated script .also if the folder contains multiple WSPs how can i doa for each loop [ iterate through wach ".wsp" file and perform install/...task].
i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion. manually entering all these commands is a cumbersome activity.
note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
soln store.
so i thought i will depend upon on stsadm again like old version of SP since its supported.
DasI would recommend you to use Power Shell so that you can do the automation easily. You can use
power shell for earlier version of SharePoint as well.
Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
Cheers, -
How to create and use library JAR files with command-line tools?
Development Tools -> General Questions:
I am trying to figure out how to put utility classes into JAR files and then compile and run applications against those JAR files using the command-line javac, jar, and java tools. I am using jdk1.7.0_17 on Debian GNU/Linux 6.0.7.
I have posted a simple example with one utility class, one console application class, and a Makefile:
http://holgerdanske.com/users/dpchrist/java/examples/jar-20130520-2134.tar.gz
Here is a console session:
2013-05-20 21:39:01 dpchrist@desktop ~/sandbox/java/jar
$ cat src/com/example/util/Hello.java
package com.example.util;
public class Hello {
public static void hello(String arg) {
System.out.println("hello, " + arg);
2013-05-20 21:39:12 dpchrist@desktop ~/sandbox/java/jar
$ cat src/com/example/hello/HelloConsole.java
package com.example.hello;
import static com.example.util.Hello.hello;
public class HelloConsole {
public static void main(String [] args) {
hello("world!");
2013-05-20 21:39:21 dpchrist@desktop ~/sandbox/java/jar
$ make
rm -f hello
find . -name '*.class' -delete
javac src/com/example/util/Hello.java
javac -cp src src/com/example/hello/HelloConsole.java
echo "java -cp src com.example.hello.HelloConsole" > hello
chmod +x hello
2013-05-20 21:39:28 dpchrist@desktop ~/sandbox/java/jar
$ ./hello
hello, world!I believe I am looking for:
1. Command-line invocation of "jar" to put the utility class bytecode file (Hello.class) into a JAR?
2. Command-line invocation of "javac" to compile the application (HelloConsole.java) against the JAR file?
3. Command-line invocation of "java" to run the application (HelloConsole.class) against the JAR file?
I already know how t compile the utility class file.
Any suggestions?
TIA,
DavidI finally figured it out:
1. All name spaces must match -- identifiers, packages, file system, JAR contents, etc..
2. Tools must be invoked from specific working directories with specific option arguments, all according to the project name space.
My key discovery was that if the code says
import com.example.util.Hello;then the JAR must contain
com/example/util/Hello.classand I must invoke the compiler and interpreter with an -classpath argument that is the full path to the JAR file
-classpath ext/com/example/util.jarThe code is here:
http://holgerdanske.com/users/dpchrist/java/examples/jar-20130525-1301.tar.gz
Here is a console session that demonstrates building and running the code two ways:
1. Compiling the utility class into bytecode, compiling the application class against the utility bytecode, and running the application bytecode against the utility bytecode.
2. Putting the (previously compiled) utility bytecode into a JAR and running the application bytecode against the JAR. (Note that recompiling the application against the JAR was unnecessary.)
(If you don't know Make, understand that the working directory is reset to the initial working directory prior to each and every command issued by Make):
2013-05-25 14:02:47 dpchrist@desktop ~/sandbox/java/jar
$ cat apps/com/example/hello/Console.java
package com.example.hello;
import com.example.util.Hello;
public class Console {
public static void main(String [] args) {
Hello.hello("world!");
2013-05-25 14:02:55 dpchrist@desktop ~/sandbox/java/jar
$ cat libs/com/example/util/Hello.java
package com.example.util;
public class Hello {
public static void hello(String arg) {
System.out.println("hello, " + arg);
2013-05-25 14:03:03 dpchrist@desktop ~/sandbox/java/jar
$ make
rm -rf bin ext obj
mkdir obj
cd libs; javac -d ../obj com/example/util/Hello.java
mkdir bin
cd apps; javac -d ../bin -cp ../obj com/example/hello/Console.java
cd bin; java -cp .:../obj com.example.hello.Console
hello, world!
mkdir -p ext/com/example
cd obj; jar cvf ../ext/com/example/util.jar com/example/util/Hello.class
added manifest
adding: com/example/util/Hello.class(in = 566) (out= 357)(deflated 36%)
cd bin; java -cp .:../ext/com/example/util.jar com.example.hello.Console
hello, world!
2013-05-25 14:03:11 dpchrist@desktop ~/sandbox/java/jar
$ tree -I CVS .
|-- Makefile
|-- apps
| `-- com
| `-- example
| `-- hello
| `-- Console.java
|-- bin
| `-- com
| `-- example
| `-- hello
| `-- Console.class
|-- ext
| `-- com
| `-- example
| `-- util.jar
|-- libs
| `-- com
| `-- example
| `-- util
| `-- Hello.java
`-- obj
`-- com
`-- example
`-- util
`-- Hello.class
19 directories, 6 filesHTH,
David -
How are Windows Server Backup and Command Line Tools used in vCSHB installation?
How are Windows Server Backup and Command Line Tools used during the installation of vCSHB? Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment? Are these tools not used in some deployments?
You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/ -
How can I create a NetBoot image using command line tools?
Is it possible to create a NetBoot image entirely using command line tools?
(That is, without using the SystemImageUtility)
If so, are there reasonable instructions posted somewhere?
I don't believe I can use SystemImageUtility with my current setup,
but I would be happy to hear how I could:
I have a set of Xserve clusternodes but without optical drives or video cards.
One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
They are wired to a gigabit switch.
I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
I have tried to start one node in target(Firewire) mode, connect it via Firewire
to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
But a NetBoot image requires the whole nbi file, right?
Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
Thanks for anyones help.
dmaus
Mac OS X (10.4.4)To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility. -
Use third party framework in Command Line Tool
Hi. I'm writing a small application for a friend of mine, and basically what it does is lets you put in some information, and then creates and stores that information in an Excel file. However, all of my research suggests that C++ doesn't work nicely with Excel files, so I found a 3rd party framework called LibXL which provides C++ with the ability to create and edit Excel files. My only problem is getting my Command Line Tool to use this framework. I'm not even sure if it is possible, but if someone could help me out, I would really appreciate it!
P.S: I'm using XCode 4.2 to write this application, and I'm using Command Line Tool because the application has to be useable on Windows.That last one is an excellent punch line!
>I found a 3rd party framework called LibXL which provides C++ with the ability to create and edit Excel files.
That should be coming with a manual. Some frameworks can be included in their entirety into the program you are writing, where for others you can only reference to it and you have to distribute the framework file(s) along with your own application. This doesn't sound like one, but an external framework may only be meant for GUI functions, in which case you cannot write a Terminal-only program.
But here comes the kicker:
>P.S: I'm using XCode 4.2 to write this application, and I'm using Command Line Tool because the application has to be useable on Windows.
It's possible for you to *write* the program but not to compile it. (Actually, you *can* compile it but then you have a Mac Terminal program, not a Windows one.) Even if you know what you are doing and are happy with sending over the source code, together with instructions on how to compile it under Windows, this implies you would only and *exclusively* use functions that are available in compilers for Windows. That rules out your External framework idea -- unless there is a Windows version available as well (do check for that; if this is an Open Source project, there very well may be.) But you are still programming "blind", and if you get it to work on your Mac (and nevermind the problem with the framework being external, because you won't need to send it over anyway) but your friend canNOT make it work under Windows, you won't know if it's because the Windows version of the compiler doesn't accept the external library, or it's the wrong version, or you accidentally used a Mac-only feature anyway, or the friend does not know how to compile ... et cetera, et cetera.
Best advise is to install VirtualBox (or something similar) on your system, test all you want with XCode but then, after you got it to work, carry over the project into Windows and start a-new. -
Changing proxy to PAC file using command line tool ?
I've asked this before but have not had much luck getting an easy fix.
I need to change a large number of machines over to using a pac file instead of the current settings for secure and web proxys.
It's not possible using 10.4 CLI command networksetup but I'm wondering if anyone may have another way of doing this ? Possibly a script or something ???
MitchThe command line tools with ARD do not appear to have any syntax for specifying a PAC file URL nor the syntax to specify Proxies use a PAC file.
I suggest you look at /Library/Preferences/SystemConfiguration/preferences.plist file. This is where your PAC file settings will be saved. You may be able to programatically alter the file using "defaults write" or some other tool.
Hope this helps!
bill
Mac OS X (10.4.10) 1 GHz Powerbook G4
Maybe you are looking for
-
Hotmail Plus why can't I send email from my Touch
Hi all hope someone can help I have searched but don't seem to be able to find the answer so apologies in advance if this is going over old ground. I have a paid for Hotmail account I have set it up using the correct settings confirmed by posts here
-
Diff betn Application and Web Sever
Hi , I want to know what is the difference between Web Server n Application Server Thanks in advance Rajendra
-
Hi! I added a podcast feed (and got it approved) to iTunes a week ago, and I can now find the first (and so far only) podcast episode in iTunes: https://itunes.apple.com/se/podcast/allt-vi-sager-ar-sant/id601876036?mt=2 But as you can see, iTunes is
-
Is there anyway to get a CD image of the Installation CD for E1000 Wireless Router?
My CD-ROM drive broke and i'm not sure what to do now?
-
Identifier 'DBMS_OUPTPUT.PUT_LINE' must be declared
When Iam running a PL/SQL block with some DBMS_OUTPUT.PUT_LINE statements, Iam getting the above error mentioned in the subject. Wondering what could be the reason? I've tried setting serveroutput on, but of no use. Any pointers on this?