Re: [Dev] Deploy Web App to Tomcat issue

2015-03-04 Thread Thanuja Jayasinghe
Hi All, I'm also getting the same exception[1] when I try to deploy the travelocity.war to the embedded tomcat with automation framework 4.3.x. But same war works fine without any issues for automation framework 4.2.6 and 4.2.8. How can I resolve this? [1] - java.lang.ClassNotFoundException: org

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Krishantha Samaraweera
Hi, On Fri, Dec 12, 2014 at 9:50 AM, Vijitha Ekanayake wrote: > > Hi, > > Is there a way to set a connector to a TomcatServerManager instance which > is provided by automation? since i need to enable ssl. > I'm afraid there is no way to set connector to TomcatServerManager. Since the test frame

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Kasun Indrasiri
Guys, we need this today before 4.9 M4 is released. On Fri, Dec 12, 2014 at 9:50 AM, Vijitha Ekanayake wrote: > > Hi, > > Is there a way to set a connector to a TomcatServerManager instance which > is provided by automation? since i need to enable ssl. > > > > > On Thu, Dec 11, 2014 at 6:24 PM, V

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Vijitha Ekanayake
Hi, Is there a way to set a connector to a TomcatServerManager instance which is provided by automation? since i need to enable ssl. On Thu, Dec 11, 2014 at 6:24 PM, Vijitha Ekanayake wrote: > > Hi, > > Thanks, I'll try this and get back to you. > > On Thu, Dec 11, 2014 at 6:17 PM, Nuwan Wima

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Kasun Indrasiri
Did you manage to resolve this? On Thu, Dec 11, 2014 at 6:24 PM, Vijitha Ekanayake wrote: > > Hi, > > Thanks, I'll try this and get back to you. > > On Thu, Dec 11, 2014 at 6:17 PM, Nuwan Wimalasekara > wrote: > >> Hi >> Please refer the documentation[1] for how to deploy a web application on >>

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Vijitha Ekanayake
Hi, Thanks, I'll try this and get back to you. On Thu, Dec 11, 2014 at 6:17 PM, Nuwan Wimalasekara wrote: > Hi > Please refer the documentation[1] for how to deploy a web application on > the tomcat server which can be started with test framework. You can follow > sample test case from[2] > > [

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Nuwan Wimalasekara
Hi Please refer the documentation[1] for how to deploy a web application on the tomcat server which can be started with test framework. You can follow sample test case from[2] [1] https://docs.wso2.com/display/TA430/Using+Embedded+Tomcat+Server+as+a+JAX-RS+Backend+for+REST+Testing [2] https://git

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Irham Iqbal
Yes we have, This[1] test case is for deploy a web application in AS. Using this code[2] you can see how we start,stop and restart carbon servers. [1] https://github.com/wso2-dev/product-as/blob/master/modules/integration/tests-integration/src/test/java/org/wso2/appserver/integration/tests/webap

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-11 Thread Kasun Indrasiri
Do we have any test cases that we deploy web apps during integration test. Can you shed some light please. On Thu, Dec 11, 2014 at 1:20 PM, Irham Iqbal wrote: > Hi Vijitha, > > Did you try this manually ? > > I mean deploy your web application to a tomcat manually. > > Thanks, > Iqbal > > On Thu

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-10 Thread Irham Iqbal
Hi Vijitha, Did you try this manually ? I mean deploy your web application to a tomcat manually. Thanks, Iqbal On Thu, Dec 11, 2014 at 1:13 PM, Vijitha Ekanayake wrote: > Hi Malithi, > > Thanks for the response. > the servlet-api jar is already inside WEB-INF/lib. as you said i was > packagin

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-10 Thread Vijitha Ekanayake
Hi Malithi, Thanks for the response. the servlet-api jar is already inside WEB-INF/lib. as you said i was packaging the war adding dependency in provided scope. i tried packaging the war removing dependency provided scope. but still having the same issue. On Thu, Dec 11, 2014 at 10:37 AM, Malith

Re: [Dev] Deploy Web App to Tomcat issue

2014-12-10 Thread Malithi Edirisinghe
Hi Vijitha, Can you make sure whether you have the servlet-api jar inside WEB-INF/lib or may be you are packaging the war adding this dependency in provided scope. Thanks, Malithi. On Thu, Dec 11, 2014 at 10:23 AM, Vijitha Ekanayake wrote: > Hi, > > I am working on writing integration testing

[Dev] Deploy Web App to Tomcat issue

2014-12-10 Thread Vijitha Ekanayake
Hi, I am working on writing integration testing for ESB. Here I need to start a tomcat instance and deploy web app to tomcat dynamically.When I start and deploy the web app it gives following warning and application failed to deploy. Same war file getting deployed successfully in external tomcat W

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-27 Thread Godwin Amila Shrimal
Hi Krishantha, Thanks. Sorted out the issue. On Mon, Oct 27, 2014 at 3:18 PM, Krishantha Samaraweera wrote: > You can find the reference test case at [1] which install > org.wso2.sample.is.sso.agent.war > on tomcat. > > [1] > https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/prod

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-27 Thread Krishantha Samaraweera
You can find the reference test case at [1] which install org.wso2.sample.is.sso.agent.war on tomcat. [1] https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/is/5.1.0/modules/integration/tests/src/test/java/org/wso2/carbon/identity/tests/saml/SAMLSSOTestCase.java Thanks, Kris

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-26 Thread Godwin Amila Shrimal
Hi Supun, I am working on writing test integration for IS OAuth flow. for that I need to start a tomcat instance and deploy playground webapp. On Mon, Oct 27, 2014 at 11:00 AM, Supun Malinga wrote: > Hi, > > AFAIK IS ships with webapp mgt features. What's the requirement to use > tomcat separat

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-26 Thread Supun Malinga
Hi, AFAIK IS ships with webapp mgt features. What's the requirement to use tomcat separately ?. thanks, On Mon, Oct 27, 2014 at 10:46 AM, Godwin Amila Shrimal wrote: > Hi Dimuthu, > > Thanks, I'll try this and get back to you. > > > On Fri, Oct 24, 2014 at 7:18 PM, Dimuthu De Lanerolle > wrot

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-26 Thread Godwin Amila Shrimal
Hi Dimuthu, Thanks, I'll try this and get back to you. On Fri, Oct 24, 2014 at 7:18 PM, Dimuthu De Lanerolle wrote: > We have embedded TomcatServerManager extension class in TAF. [1] Hope > this helps. > > [1] > https://github.com/wso2-dev/carbon-platform-integration/tree/master/test-automati

Re: [Dev] Deploy Web App to Tomcat issue

2014-10-24 Thread Dimuthu De Lanerolle
We have embedded TomcatServerManager extension class in TAF. [1] Hope this helps. [1] https://github.com/wso2-dev/carbon-platform-integration/tree/master/test-automation-framework/org.wso2.carbon.automation.extensions/src/main/java/org/wso2/carbon/automation/extensions/servers/tomcatserver Regar

[Dev] Deploy Web App to Tomcat issue

2014-10-24 Thread Godwin Amila Shrimal
Hi, I am working on writing integration testing for Identity Server. Here I need to start a tomcat instance and deploy web app to tomcat dynamically. When I start and deploy the web app it gives following warning and application failed to deploy. Same war file getting deployed successfully in exte