[gatein-issues] [JBoss JIRA] Created: (GTNMGMT-14) Command line tool fails if EPP is started with -b <IP>

Martin Weiler (JIRA) jira-events at lists.jboss.org
Fri Sep 16 06:50:26 EDT 2011


Command line tool fails if EPP is started with -b <IP>
------------------------------------------------------

                 Key: GTNMGMT-14
                 URL: https://issues.jboss.org/browse/GTNMGMT-14
             Project: GateIn Management
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: cli
    Affects Versions: 1.0.0-Alpha02
            Reporter: Martin Weiler
            Assignee: Nick Scavelli


Bind EPP at specific IP, eg: ./bin/run.sh -c test -b 10.32.160.109

Running CLI with -h <SAME_IP_AS_ABOVE> fails with:
Exception in thread "main" java.lang.RuntimeException: Could not obtain rest context for portal container 'portal'
	at org.gatein.management.portalobjects.client.impl.RestfulPortalObjectsMgmtClient.getRestContext(RestfulPortalObjectsMgmtClient.java:166)
	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.exporter.Exporter.doExport(Exporter.java:145)
	at org.gatein.management.portalobjects.cli.exporter.ExportMain.main(ExportMain.java:154)
	at org.gatein.management.portalobjects.cli.Main.main(Main.java:54)
Caused by: java.lang.RuntimeException: java.net.ConnectException: Connection refused

Problem: The uri variable in getRestContext is set to: http://localhost:8080/gatein-management


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list