Hi Bill,

1. In addition to changing offset in carbon.xml, you have to manually
change the 9443 port references in app-manager.xml as well. Make them 9453
if the offset is 10.
2. This is possible. Should be fine after doing config change mentioned in
[1].

Regards,
Dinusha.

On Fri, Jul 3, 2015 at 1:54 AM, Gayan Gunawardana <[email protected]> wrote:

> looping to APPM team.
>
> On Fri, Jul 3, 2015 at 7:48 AM, Bill Liu <[email protected]> wrote:
>
>>  Greetings all:
>>
>>
>>
>> I have some questions about the usage of APPM100 product:
>>
>> 1.       How to set port offset to APPM100? I go to <APPM100
>> directory>/repository/conf/carbon.xml, then change <Offset>0<Offset> to
>> <Offset>10<Offset>.  Is it enough?
>>
>> But for my experiment,  when I just did as the above, I have problems to
>> login/login out with using https://ip:9453/carbon because I found that
>> there are a lot of hard-coded part for port 9443 as follows:
>>
>> ./event-broker.xml:39:                <servicePort>9443</servicePort>
>> ./sso-idp-config.xml:23:            <AssertionConsumerService>
>> https://localhost:9443/store/acs</AssertionConsumerService>
>> ./sso-idp-config.xml:29:            <AssertionConsumerService>
>> https://localhost:9443/social/acs</AssertionConsumerService>
>> ./sso-idp-config.xml:35:            <AssertionConsumerService>
>> https://localhost:9443/publisher/acs</AssertionConsumerService>
>> ./security/authenticators.xml:36:            <Parameter
>> name="IdentityProviderSSOServiceURL">https://localhost:9443/samlsso
>> </Parameter>
>> ./identity.xml:22:    <OpenIDServerUrl>
>> https://localhost:9443/openidserver</OpenIDServerUrl>
>> ./identity.xml:24:    <OpenIDUserPattern>https://localhost:9443/openid/
>> </OpenIDUserPattern>
>> ./identity.xml:81:        <RequestTokenUrl>
>> https://localhost:9443/oauth/request-token</RequestTokenUrl>
>> ./identity.xml:82:        <AccessTokenUrl>
>> https://localhost:9443/oauth/access-token</AccessTokenUrl>
>> ./identity.xml:83:        <AuthorizeUrl>
>> https://localhost:9443/oauth/authorize-url</AuthorizeUrl>
>> ./identity.xml:210:                <IdentityProviderURL>
>> https://localhost:9443/samlsso</IdentityProviderURL>
>> ./tomcat/catalina-server.xml:30:                redirectPort="9443"
>> ./tomcat/catalina-server.xml:53:                port="9443"
>> ./axis2/axis2.xml_PT:470:        <!--<parameter
>> name="port">9443</parameter>-->
>> ./axis2/axis2.xml_NHTTP:472:        <!--<parameter
>> name="port">9443</parameter>-->
>> ./axis2/axis2.xml:470:        <!--<parameter
>> name="port">9443</parameter>-->
>> ./carbon.xml:117:         e.g. Offset=2 and HTTPS port=9443 will set the
>> effective HTTPS port to 9445
>> ./app-manager.xml:539:    <Access-Control-Allow-Origin>
>> https://localhost:9443,http://localhost:9763
>> </Access-Control-Allow-Origin>
>> ./app-manager.xml:555:        <IdentityProviderUrl>
>> https://localhost:9443/samlsso</IdentityProviderUrl>
>> ./app-manager.xml:563:                    <providerURL>
>> https://localhost:9443</providerURL>
>> ./app-manager.xml:591:        <ServerUrl>https://localhost:9443
>> </ServerUrl>
>> ./registry.xml:198:    <!--remoteInstance url="
>> https://localhost:9443/registry";>
>> ./registry.xml:207:    <!--remoteInstance url="
>> https://localhost:9443/registry";>
>> ./registry.xml:217:    <!--remoteInstance url="
>> https://localhost:9443/registry";>
>>
>>
>>
>> So Is there any clean and clear instructions how to set offset to
>> non-zero?
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> 2.       I want to have both AS521 and APPM100 running on the same Linux
>> host. Is it possible? According to my experiment, there are conflict with
>> ports for resources, even if I set offset to non-zero for one product.
>> Please advice.
>>
>>
>>
>> Thanks in advance!
>>
>> Bill
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: [email protected]
> Mobile: +94 (71) 8020933
>



-- 
Dinusha Dilrukshi
Associate Technical Lead
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to