[gatein-issues] [JBoss JIRA] Commented: (GTNMGMT-14) Command line tool fails if EPP is started with -b <IP> and arg.hostname is used

Prabhat Jha (JIRA) jira-events at lists.jboss.org
Mon Sep 19 14:32:26 EDT 2011


    [ https://issues.jboss.org/browse/GTNMGMT-14?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629200#comment-12629200 ] 

Prabhat Jha commented on GTNMGMT-14:
------------------------------------

My apology Nick and sorry for the noise. :-( I had recently run into some problem with -u setting and assumed few things.

> Command line tool fails if EPP is started with -b <IP> and arg.hostname is used
> -------------------------------------------------------------------------------
>
>                 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 -f import.properties fails with:
> {noformat}
> 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
> {noformat}
> import.properties contains the following entry:
> arg.hostname=<SAME_IP_AS_ABOVE>
> Problem: The uri variable in getRestContext is set to: http://localhost:8080/gatein-management
> Starting the import with -h <SAME_IP_AS_ABOVE> (instead of using the file) works.

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