Hi


On Sat, Jun 28, 2014 at 12:08 PM, Kasun Gajasinghe <kas...@wso2.com> wrote:

>
> This might work but I did not test it myself. I'm not sure whether this
> is the correct change though. You could rather use this overloaded method
> instead.
>
> [1]
> https://github.com/wso2-dev/carbon-platform-integration-utils/blob/2ec5339cda759ccc462a4eb058c472bf83053002/common-framework-utils/src/main/java/org/wso2/carbon/integration/common/utils/mgt/ServerConfigurationManager.java#L291
>
>
> On Sat, Jun 28, 2014 at 10:47 AM, Nipuni Perera <nip...@wso2.com> wrote:
>
>> Hi,
>>
>> I am not sure if even the server restart failed it continues with test
>> cases. testWebApplicationDeployment() is the first test in the class and
>> it deploys a webapp into a new appBase. server should start with the new
>> configurations defined in the init() to pass the test.
>> I guess this error is fixed with [1]. How can I verify that the changes
>> are available in Jenkins?
>>
>> [1]
>> https://github.com/wso2-dev/carbon-platform-integration-utils/commit/2ec5339cda759ccc462a4eb058c472bf83053002
>>
>> Thanks,
>> Nipuni
>>
>>
>> On Sat, Jun 28, 2014 at 9:53 AM, Kasun Gajasinghe <kas...@wso2.com>
>> wrote:
>>
>>>
>>> The error is that it couldn't find the AuthenticationAdmin service. I
>>> see that the "Mgt Console URL" is printed after your test. Does this
>>> mean that your test was run before the server has fully started?
>>>
>>> @Krishantha/NuwanW The server restart happens in a test method with
>>> @BeforeClass annotation. Is that OK?
>>>
>> This is fine. It is better the server is restated within @BeforeClass.
 As the log, there is an error log when trying to log in to The server.
This is because  we check the admin services deployment of the server after
server exposing the https port by invoking the Authentication service. we
keep trying authentication service for some time once it failed.

here the issue was web application deployment got failed. As the test case, Web
application is deployed through  copying it to the file system(hot
deployment).  I think the issue is that it failed to deploy the web app. first
we should verify the test case locally and then have to see why it failed
on jenkins.

Thanks,
Nuwanw

>
>>>
>>> On Sat, Jun 28, 2014 at 7:05 AM, Nipuni Perera <nip...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I got this error when server restart is not working. Web application
>>>> deployment fails because the changes applied inside init() method is
>>>> not applied when server is restarting. (catalina-server.xml) should
>>>> have a new <Host> tag.
>>>>
>>>> Can you verify that ServerConfigurationManager.java  has a
>>>> restartForcefully() method as in [1]. (The method initially was )
>>>>
>>>> [1]
>>>> https://github.com/wso2-dev/carbon-platform-integration-utils/blob/master/common-framework-utils/src/main/java/org/wso2/carbon/integration/common/utils/mgt/ServerConfigurationManager.java
>>>>
>>>> Thanks,
>>>> Nipuni
>>>>
>>>>
>>>>
>>>> On Fri, Jun 27, 2014 at 7:38 PM, Kasun Gajasinghe <kas...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Noticed $subject. The logs can be found at [1].
>>>>>
>>>>> [1]
>>>>> https://wso2.org/jenkins-pr-builder/job/product-as/org.wso2.appserver$org.wso2.appserver.integration.tests/227/testReport/junit/org.wso2.appserver.integration.tests.webapp.virtualhost/VitualHostWebApplicationDeploymentTestCase/testWebApplicationDeployment/
>>>>>
>>>>> --
>>>>>
>>>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>>>> email: kasung AT spamfree wso2.com
>>>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>>>> blog: http://kasunbg.org
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Nipuni Perera
>>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>>>  Email: nip...@wso2.com
>>>> Git hub profile: https://github.com/nipuni
>>>> Mobile: +94 (71) 5626680
>>>> <http://wso2.com>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>>> email: kasung AT spamfree wso2.com
>>> linked-in: http://lk.linkedin.com/in/gajasinghe
>>> blog: http://kasunbg.org
>>>
>>>
>>>
>>
>>
>>
>> --
>> Nipuni Perera
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> Email: nip...@wso2.com
>> Git hub profile: https://github.com/nipuni
>> Mobile: +94 (71) 5626680
>> <http://wso2.com>
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to