Categories
- All Categories
- 4 Oracle Analytics Sharing Center
- 12 Oracle Analytics Lounge
- 189 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.4K Oracle Analytics Forums
- 5.9K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 65 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Invalid command-line arguments: Expected argument: export bundle (argument 4)

Hi ,
I'm facing migration issue.Please check below error.
Invalid command-line arguments: Expected argument: export bundle (argument 4)
oracle.bi.migration.tool.commandline.CommandLineArgumentParseException: Expected argument: export bundle (argument 4)
at oracle.bi.migration.tool.commandline.CommandLineParser.expectedArgumentException(CommandLineParser.java:370)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:139)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:113)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:86)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:76)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArguments(CommandLineParser.java:52)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLine(CommandLineParser.java:35)
at oracle.bi.migration.tool.MigrationTool.determineAction(MigrationTool.java:57)
at oracle.bi.migration.orchestration.MigrationConductor.performMigrationAction(MigrationConductor.java:106)
at oracle.bi.migration.tool.MigrationTool.go(MigrationTool.java:200)
at oracle.bi.migration.tool.MigrationTool.main(MigrationTool.java:255)
Expected arguments:
out <oracle 11g home> <domain home> <output export bundle path>
(Export from an existing system)
in [config] <oracle home> <product home> <domain home> <export bundle> <service instance name>
(Import into an existing system)
Answers
-
You haven't really provided enough information. What exactly are you trying to do? What commands were you actually running? What OBIEE versions? What OS?
0 -
-
Hi Joel,
I've tried to do migration from obiee 11g (11.1.1.7.1)to obiee 12c(12.2.1.3.0). Before migration I've build one jar file in 12c like 'bi-migration-tool.jar' , after build jar file i've copy and paste in different directory and i tried to do export to that jar file i'm getting above error.
Invalid command-line arguments: Expected argument: export bundle (argument 4)
oracle.bi.migration.tool.commandline.CommandLineArgumentParseException: Expected argument: export bundle (argument 4)
at oracle.bi.migration.tool.commandline.CommandLineParser.expectedArgumentException(CommandLineParser.java:370)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:139)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:113)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:86)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArgumentsOut(CommandLineParser.java:76)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLineArguments(CommandLineParser.java:52)
at oracle.bi.migration.tool.commandline.CommandLineParser.parseCommandLine(CommandLineParser.java:35)
at oracle.bi.migration.tool.MigrationTool.determineAction(MigrationTool.java:57)
at oracle.bi.migration.orchestration.MigrationConductor.performMigrationAction(MigrationConductor.java:106)
at oracle.bi.migration.tool.MigrationTool.go(MigrationTool.java:200)
at oracle.bi.migration.tool.MigrationTool.main(MigrationTool.java:255)
Expected arguments:
out <oracle 11g home> <domain home> <output export bundle path>
(Export from an existing system)
in [config] <oracle home> <product home> <domain home> <export bundle> <service instance name>
(Import into an existing system)
Thanks in advance...
Regards,
Ilayaj
0 -
In my previous response, I asked for you to send over the exact code that you're using for the export. Without it, I'm afraid there's not much else that we can do unfortunately. Your error indicates that there's a missing argument in your code.
0 -
As Joel - again - said: Provide the code!
You have the error "Expected argument: export bundle (argument 4)"
Which means that you are trying to do *in* - as in *importing*.
And if you look at the nicely displayed help it precisely tells you what and where:
Expected arguments:
out <oracle 11g home> <domain home> <output export bundle path>
(Export from an existing system)
in [config] <oracle home> <product home> <domain home> <export bundle> <service instance name>
(Import into an existing system)
tl;dr - if you do not provide good information you will not be able to get any pertinent help.
0 -
@3178783 Have you given up on this issue? You were asked several times to post the exact command so we could provide support.
Otherwise can you please close this thread? The community lives or dies with active participation and leaving threads as open orphans doesn't help other users. Thank you.
0 -
I got solution .Thanks.
0 -
@3178783 Ok good for you, what was the solution? Can you please mark the appropriate responses as "helful" and "correct"?
You having a solution for your issue is one thing but please think of other forum users who are searching for answers. just leeching off information and not participating according to the forum rules isn't very good etiquette.
0 -
Hi Christian Berg ,
As you explained clearly about that error.I clearly read and applied the same.Please find the below details.
Error :
Expected arguments:
out <oracle 11g home> <domain home> <output export bundle path>
(Export from an existing system)
in [config] <oracle home> <product home> <domain home> <export bundle> <service instance name>
(Import into an existing system)
Solution :
java -jar /data/DEV/Obiee/Middleware/Oracle_BI1/bi-migration-tool.jar out /data/DEV/Obiee/Middleware/Oracle_BI1 /data/DEV/Obiee/Middleware/user_projects/domains/bifoundation_domain /data/DEV/Obiee/test.jar
Thanks,Ilayaj0 -
I'm not sure if you're trying to make a joke here or trolling me, but...*IN* and *OUT* are not really the same thing:
Could you please be precise about what you are trying to do?!
0