Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Invalid command-line arguments: Expected argument: export bundle (argument 4)

Received Response
15
Views
11
Comments
Rank 3 - Community Apprentice

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)

Welcome!

It looks like you're new here. Sign in or register to get started.
«1

Answers

  • Rank 8 - Analytics Strategist

    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?

  • Rank 2 - Community Beginner

    +1'000'000 to Joel

    Read this:

  • Rank 3 - Community Apprentice

    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

  • Rank 8 - Analytics Strategist

    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.

  • Rank 2 - Community Beginner

    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.

  • Rank 2 - Community Beginner

    @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.

  • Rank 3 - Community Apprentice

    I got solution .Thanks.

  • Rank 2 - Community Beginner

    @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.

  • Rank 3 - Community Apprentice

    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,
    Ilayaj
  • Rank 2 - Community Beginner

    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:

    pastedImage_0.png

    Could you please be precise about what you are trying to do?!

Welcome!

It looks like you're new here. Sign in or register to get started.