Running the EPP Export / Import command line tool fails with 'Client error 404'

Solution Verified - Updated -

Issue

  • We are using "portalobjects-cli-1.0.0-Alpha02-SNAPSHOT.jar" to import data into our portal and we are getting the following error:
    -------------------------------------------------------------
    *         Module:   Portal Objects CLI                      *
    *         Program:  Importer                                *
    *         Version:  1.0.0.Alpha-1                           *
    * --------------------------------------------------------- *
    *               For help run with --help                    *
    -------------------------------------------------------------
    Logging to /opt/jboss/jboss-epp-5.1/jboss-as/bin/export-import/test.zip-import.log
    Exception in thread "main" org.gatein.management.portalobjects.client.api.ClientException: Client error 404 (Not Found) received.
            at org.gatein.management.portalobjects.client.impl.RestfulPortalObjectsMgmtClient.createClientException(RestfulPortalObjectsMgmtClient.java:347)
            at org.gatein.management.portalobjects.client.impl.RestfulPortalObjectsMgmtClient.getRestContext(RestfulPortalObjectsMgmtClient.java:157)
            at org.gatein.management.portalobjects.client.impl.RestfulPortalObjectsMgmtClient.<init>(RestfulPortalObjectsMgmtClient.java:120)
            at org.gatein.management.portalobjects.client.api.PortalObjectsMgmtClient$Factory.create(PortalObjectsMgmtClient.java:97)
            at org.gatein.management.portalobjects.cli.importer.Importer.doImport(Importer.java:116)
            at org.gatein.management.portalobjects.cli.importer.ImportMain.main(ImportMain.java:152)
            at org.gatein.management.portalobjects.cli.Main.main(Main.java:50)

Environment

  • Red Hat JBoss Portal (EPP)
    • 5.1
  • Export / Import tool from [1]

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In