Do you manually startup the server, and then run the client? How is the
test executed? Does a single process fork the server & client?

On Tue, Jan 10, 2012 at 12:44 PM, Nuwan Wimalasekara <[email protected]>wrote:

> is it not a server issue?
>
> Thanks
> NuwanW
>
>
> On Tue, Jan 10, 2012 at 12:10 PM, Afkham Azeez <[email protected]> wrote:
>
>> To overcome this, you can use the ClientConnectionUtil.waitForLog()
>> method I recently introduced to the new integration testing API.
>>
>>
>> On Tue, Jan 10, 2012 at 11:42 AM, Nuwan Wimalasekara <[email protected]>wrote:
>>
>>> Server Authentication failed nearly 5 to 10 seconds even if message is
>>> log "WSO2 Carbon started in 38 sec". HTTPS port is not listening until
>>> event broker is registered.
>>> until then server authentication failed.
>>> Error message : https://localhost:9446/services/AuthenticationAdminLogin 
>>> failed due to RemoteException :Transport error: 404 Error: Not Found
>>>
>>> DSS Server log
>>>
>>> [2012-01-10 10:00:06,833]  INFO
>>> {org.wso2.carbon.core.init.CarbonServerManager} -
>>>  ConfigurationContextService registered in 572ms
>>> [2012-01-10 10:00:06,840]  INFO
>>> {org.wso2.carbon.core.transports.http.HttpsTransportListener} -  HTTPS port
>>>       : 9446
>>> [2012-01-10 10:00:06,841]  INFO
>>> {org.wso2.carbon.core.transports.http.HttpTransportListener} -  HTTP port
>>>      : 9766
>>> [2012-01-10 10:00:07,203]  INFO
>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Started
>>> Transport Listener Manager
>>> [2012-01-10 10:00:07,203]  INFO
>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  Server
>>>           :  WSO2 Data Services Server-2.6.0-SNAPSHOT
>>> [2012-01-10 10:00:07,204]  INFO
>>> {org.wso2.carbon.core.internal.StartupFinalizerServiceComponent} -  WSO2
>>> Carbon started in 38 sec
>>> [Broker] BRK-1006 : Using configuration :
>>> /home/nuwanw/svn/deployment-framework/SNAPSHOT/wso2dataservices-2.6.0-SNAPSHOT/repository/conf/advanced/qpid-config.xml
>>> [2012-01-10 10:00:09,255]  INFO {org.quartz.utils.UpdateChecker} -  New
>>> Quartz update(s) found: 2.1.2 [
>>> http://www.terracotta.org/kit/reflector?kitID=default&pageID=QuartzChangeLog
>>> ]
>>> [2012-01-10 10:00:09,459]  INFO {qpid.message.broker.listening} -
>>>  [Broker] BRK-1002 : Starting : Listening on TCP port 5675
>>> [2012-01-10 10:00:09,494]  INFO {qpid.message.broker.listening} -
>>>  [Broker] BRK-1002 : Starting : Listening on TCP/SSL port 8675
>>> [2012-01-10 10:00:09,498]  INFO
>>> {org.wso2.carbon.qpid.internal.QpidServiceComponent} -  Successfully
>>> connected to the server on port 5675
>>> [2012-01-10 10:00:10,051]  INFO
>>> {org.wso2.carbon.registry.eventing.internal.RegistryEventingServiceComponent}
>>> -  Successfully Initialized Eventing on Registry
>>> [2012-01-10 10:00:10,063]  INFO
>>> {org.wso2.carbon.event.core.internal.builder.EventBrokerHandler} -
>>>  Successfully registered the event broker
>>> [2012-01-10 10:00:10,559]  INFO
>>> {org.wso2.carbon.ui.internal.CarbonUIServiceComponent} -  Mgt Console URL
>>>  : https://10.100.3.192:9446/carbon/
>>>
>>>
>>> Thanks
>>> NuwanW
>>>
>>>
>>>
>>> On Mon, Jan 9, 2012 at 10:37 PM, Krishantha Samaraweera <
>>> [email protected]> wrote:
>>>
>>>> sending to carbon-dev
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Nuwan Wimalasekara <[email protected]>
>>>> Date: Mon, Jan 9, 2012 at 6:40 PM
>>>> Subject: System test framework status with trunk
>>>> To: Krishantha Samaraweera <[email protected]>
>>>>
>>>>
>>>> Hi Krishantha
>>>> I could not find the latest product binaries already built. therefore i
>>>> had to build the product.
>>>>
>>>> some classes in Admin services needed to be update due to api changes
>>>> in trunk service stubs. other than  System test framework can be
>>>> run successfully.
>>>> while testing DSS i found that there is a Authentication delay after
>>>> server starting. Authentication failed for nearly 5 seconds just after
>>>> starting server. therefore some test were failed. I will try to figure out
>>>> the issue as soon as possible.
>>>>
>>>> Thanks
>>>> NuwanW
>>>>
>>>> --
>>>> Nuwan Wimalasekara
>>>> Software Engineer - Test Automation
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> phone: +94 71 668 4620
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Nuwan Wimalasekara
>>> Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> phone: +94 71 668 4620
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> 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: **[email protected]* <[email protected]>* 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
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* 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
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to