[Apiman-user] Two wildfly same server
Jakub Čecháček
jcechace at gmail.com
Mon Jun 8 16:47:08 EDT 2015
As I said, you need to change the port of API Gateway in APIMan's
administration.
Provided you use the default gateway:
1) go to
http://localhost:8081/apimanui/api-manager/admin/gateways/TheGateway
2) change the enpoint from https://localhost:8443/apiman-gateway-api to
https://localhost:8444/apiman-gateway-api (you need to reflect the change
you made to https socket binding)
and change the URL from
On Mon, Jun 8, 2015 at 9:52 PM, helio frota <00hf11 at gmail.com> wrote:
> Hi Jakub,
>
> Thanks for the information.
>
> When I click 'publish' button after change the ports i get this :
>
> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443
> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused
>
>
> Can't add screenshots because mailing list is limited to 40KB
>
>
>
> On Mon, Jun 8, 2015 at 4:49 PM, helio frota <00hf11 at gmail.com> wrote:
>
>> Hi Jakub,
>>
>> Thanks for the information.
>>
>> When I click 'publish' button after change the ports i get this :
>>
>> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:8443
>> [localhost/127.0.0.1, localhost/127.0.0.1] failed: Connection refused
>>
>> screenshots:
>>
>>
>>
>>
>>
>>
>> On Mon, Jun 8, 2015 at 4:43 PM, Jakub Čecháček <jcechace at gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I will let somebody more knowledgeable to confirm this, but considering
>>> that -Djboss.socket.binding.port-offset=1 works just fine then changing the
>>> ports directly should also work.
>>>
>>> You might need to adjust the Gateway port (from 8443 to 8444). This can
>>> be done in System Administration under the link "Manage Gateways”.
>>>
>>> — Jakub.
>>>
>>> On 8 Jun 2015 at 21:31:37, helio frota (00hf11 at gmail.com) wrote:
>>>
>>> Hi all,
>>>
>>> We have a server to setup apiman in production, but already exist a
>>> wildfly instance.
>>>
>>> My question is:
>>>
>>> Is 'correct' to change the ports of standalone-apiman.xml ?
>>>
>>> I did +1 to all ports
>>>
>>> <socket-binding-group name="standard-sockets" default-interface="public"
>>> port-offset="${jboss.socket.binding.port-offset:0}">
>>> <socket-binding name="management-http" interface="management"
>>> port="${jboss.management.http.port:*9991*}" />
>>> <socket-binding name="management-https" interface="management"
>>> port="${jboss.management.https.port:*9994*}" />
>>> <socket-binding name="ajp" port="${jboss.ajp.port:*8010*}" />
>>> <socket-binding name="http" port="${jboss.http.port:*8081*}" />
>>> <socket-binding name="https" port="${jboss.https.port:8444}" />
>>> <socket-binding name="txn-recovery-environment" port="4713" />
>>> <socket-binding name="txn-status-manager" port="4714" />
>>> <outbound-socket-binding name="mail-smtp">
>>> <remote-destination host="localhost" port="25" />
>>> </outbound-socket-binding>
>>> </socket-binding-group>
>>>
>>> helio
>>> _______________________________________________
>>> Apiman-user mailing list
>>> Apiman-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/apiman-user
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20150608/9e24148a/attachment-0001.html
More information about the Apiman-user
mailing list