Hi ,
I am writing test cases for carbon tools -DhttpsPort and -DhttpPort.
When i am trying to test -DhttpsPort or -DhttpPort manually i can not
start a sever with -DhttpsPort or -DhttpPort while running another server
on default ports.
It's still using default ports, i am getting bellowing exceptions.
[2014-12-23 17:00:25,039] ERROR {org.apache.coyote.AbstractProtocol} -
Failed to start end point associated with ProtocolHandler ["http-nio-9763"]
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at
sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:473)
- Failed to start end point associated with ProtocolHandler
["http-nio-9443"]
java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:124)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:473)
Thanks,
Iqbal
On Fri, Dec 19, 2014 at 4:52 PM, Aruna Karunarathna wrote:
>
>
> On Fri, Dec 19, 2014 at 4:50 PM, Irham Iqbal wrote:
>>
>> Hi All,
>>
>> I am in the process of writing test cases for carbon 4.3.0 - carbon
>> tools[1].
>> By running the command *./wso2server.sh --help* i am getting the
>> description about the commands. I have added the description i am getting
>> with the command below.
>>
>> I don't understand the bellowing description.
>> -Dweb.location=The directory into which the UI artifacts
>> included in an Axis2 AAR file are extracted to.
>> AFAIK Axis2 AAR file doesn't have UI artifacts aar is only for
>> webservices. Please advice me on this
>>
>> The following one when we give a valid path it doesn't create the log
>> file
>> -Dcarbon.logs.path=Define the path to keep Log files. If you
>> want to change the logs directory, you need to update.
>>
>
>>
>> But i can edit *log4j.properties* file's
>> *log4j.appender.CARBON_LOGFILE.File* property and change the location.
>>
>>
> AFAIK you need to update the log4j.properties file also
>
> e.g log4j.appender.CARBON_LOGFILE.File=${carbon.logs.path}/wso2carbon.log
>
>
>>
>> [1]
>> https://docs.google.com/a/wso2.com/spreadsheets/d/1wA5Og-8f2RTGk5EkAV8cmVmgWKY2U8lw9mtQLCBB6o4/edit#gid=0
>>
>>
>> Thanks,
>> Iqbal
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
--
Irham Iqbal
Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware
phone: +94 777888452
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev