On Mon, Feb 20, 2012 at 12:24 PM, Kishanthan Thangarajah < kishant...@wso2.com> wrote:
> Hi, > PortOffSet issue is fixed now. Also the use of mgt-tranports.xml is > replaced by catalina-server.xml, so we have to set the port values in there > and in axis2.xml as well. > That is not acceptable at all. Violates DRY principle! Any piece of information or configuration should be in one place. > > Thanks, > Kishanthan. > > On Fri, Feb 17, 2012 at 1:59 PM, Afkham Azeez <az...@wso2.com> wrote: > >> Send the carbon.xml & mgt-transports.xml >> >> -- >> Afkham Azeez >> Sent from my phone >> On Feb 17, 2012 1:34 PM, "Kishanthan Thangarajah" <kishant...@wso2.com> >> wrote: >> >>> Hi, >>> When trying to start the server with custom ports/portOffSet values, >>> the following occurs, >>> 1. Server is not picking up the custom transport port parameters from >>> carbon.xml. >>> 2. When setting portOffset, the value is picked by the server, but it is >>> not reflected in the console, where it still shows the default (9443). Also >>> when trying to login it is trying to send to 9443 and failing with >>> connection refused. >>> >>> [2012-02-17 11:39:45,678] INFO >>> {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} - 'admin' >>> logged in at [2012-02-17 11:39:45,0677] from IP address 10.100.3.157 >>> [2012-02-17 11:39:45,712] INFO >>> {org.apache.axis2.transport.http.HTTPSender} - Unable to sendViaPost to >>> url[https://10.100.3.157:9443/services/LoggedUserInfoAdmin] >>> java.net.ConnectException: Connection refused >>> at java.net.PlainSocketImpl.socketConnect(Native Method) >>> at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) >>> at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) >>> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) >>> >>> Further digging in, i find that axisConfig is not updated with the >>> correct port values. The correct port value is set >>> in AbstractTransportListener using TransportManager in the earlier carbon >>> server, but in current one i cant find that. Looks like it has been >>> removed. >>> >>> Thanks, >>> Kishanthan. >>> >>> -- >>> *Kishanthan Thangarajah* >>> Software Engineer, >>> Development Technologies Team, >>> WSO2, Inc. >>> lean.enterprise.middleware >>> >>> Mobile - +94773426635 >>> Blog - *http://kishanthan.wordpress.com* >>> Twitter - *http://twitter.com/kishanthan* >>> >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> Carbon-dev@wso2.org >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Kishanthan Thangarajah* > Software Engineer, > Development Technologies Team, > WSO2, Inc. > lean.enterprise.middleware > > Mobile - +94773426635 > Blog - *http://kishanthan.wordpress.com* > Twitter - *http://twitter.com/kishanthan* > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **az...@wso2.com* <az...@wso2.com>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev