Hi, I am able run core integration tests successfully on windows by modifying ServerUtils.java and SimpleAxis2ServerManager.java at org.wso2.carbon.integration.core
but it does not shutdown server after completing tests, it seems like shutdown() @ ServerUtils.java does not work as as expected on windows, is there any way to fix it? My modifications are attached as patch file Thanks --Melan On Fri, Aug 26, 2011 at 10:20 AM, Vijayaratha Vijayasingam <rat...@wso2.com>wrote: > common to all esb tests...and this might occur for other products as > well... > issue is in pom and in ServerUtils.java @ core integration.. > > <property> > <name>carbon.zip</name> > <value> > > ${basedir}/../../distribution/product/target/wso2esb-${pom.version}.zip > </value> > </property> > after correcting the pom , i get same issue..where it says; (attached sf > report) > > java.io.IOException: Cannot run program "bat" (in directory > > "C:\Projects\branch\3.2.0\products\esb\4.0.2\modules\integration\endpoints\target\.\carbontmp\wso2esb-4.0.2"): > .. > > This path is right, but "\.\" causes issue...which comes from > ServerUtils.setUpCarbonHome().. > > -Ratha.. > > > > On 25 August 2011 22:51, Denis Weerasiri <de...@wso2.com> wrote: > > > > > > On Thu, Aug 25, 2011 at 8:38 PM, Vijayaratha Vijayasingam < > rat...@wso2.com> > > wrote: > >> > >> Hi; > >> attached a surefire report... > > > > Hi Rathav, > > Is this common to all esb integration tests or just to end-point tests.? > > Reason for the error is relative path handling is wrong. > > > > Caused by: java.io.IOException: Cannot run program "bat" (in directory > > > "C:\Projects\branch\3.2.0\products\esb\4.0.2\modules\integration\endpoints\target\carbontmp\wso2esb-4.0.2\.\carbontmp\endpoints\..\..\distribution\product\target\wso2esb-4.0.2"): > > CreateProcess error=267, The directory name is invalid > > > >> > >> -Ratha... > >> > >> _______________________________________________ > >> Carbon-dev mailing list > >> Carbon-dev@wso2.org > >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >> > > > > > > > > -- > > Thanks, > > Denis > > ---------------------------------------------------------- > > Denis Weerasiri > > Software Engineer; WSO2 Inc.; http://wso2.com, > > email: denis [AT] wso2.com > > site: https://sites.google.com/site/ddweerasiri/ > > blog: http://ddweerasiri.blogspot.com > > twitter: http://twitter.com/ddweerasiri > > linked-in: http://lk.linkedin.com/in/ddweerasiri > > > > _______________________________________________ > > 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 > >
integration_test.patch
Description: Binary data
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev