On 3/27/07, Leo Li wrote:
Hi, Stepan:
Seems that we have changed the configuration file so that the server has
listened on another port while the tester still tries to connect to the
original 8080 port. Am I all right?:)
Leo, thanks for your help! Actually there are 2 copies of tester.xml
file. And I tried to change port number in "build/build/bin" directory
but the right file to be updated is located in
"container/tester/src/bin" directory. (I've committed infra update at
r522759.)
So port conflict was resolved and all tests pass for me.
And remaining issues are:
- CC status. It is passed even there are failed unit tests. I see two
possible solutions here: to update Tomcat build(it should fail in case
of failed tests) and to grep log searching for "FAIL" message. Other
ideas?
- CC notification log
Thanks,
Stepan.
On 3/27/07, Stepan Mishura wrote:
>
> On 3/26/07, Leo Li wrote:
> > It is not so complicated, I think.:)
> > On the client side, we just have to change the property: <property
> > name="port" value="8080"/> in tester.xml to the port number we would
> like
> > it to be.
> >
> >
>
> Hi Leo,
>
> I tried to change the port number in tester.xml but still see messages
> in output like:
> [tester] FAIL: readGolden(/tester/golden/WrappedSession05.txt)
> [tester] java.io.FileNotFoundException:
> http://localhost:8080/tester/golden/WrappedSession05.txt
>
> Thanks,
> Stepan.
>
> > On 3/26/07, Leo Li <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi, Stepan:
> > > After looking at it, I think we might have to modify the
> > > configuration file server.xml as
> > > <Connector port="*80*" maxHttpHeaderSize="8192"
> > > maxThreads="150" minSpareThreads="25"
> maxSpareThreads="75"
> > > enableLookups="false" redirectPort="8443"
> acceptCount="100"
> > >
> > > connectionTimeout="20000" disableUploadTimeout="true"
> />
> > > Then tomcat will use port "80".
> > > Furthermore, on the client side, the "tester" target, I think,
> should
> > > also be modified to access the changed servert port. I have not study
> the
> > > detail.
> > > It is a little complicated. So I do not know whether it
> deserves.:)
> > >
> > >
> > >
> > > On 3/26/07, Stepan Mishura <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Hi,
> > > >
> > > > I'd like to give an update about current status of buildtest infra.
> > > >
> > > > Currently the infra is restructured to simplify integration of new
> > > > testing scenarios. As an example application testing scenario Tomcat
> > > > unit tests were integrated to CC (r522489). So to setup CC to run
> > > > Tomcat unit tests: type 'ant -Dmodules=Apache-Tomcat5.5 setup'
> > > >
> > > > However there are several issues to be resolved to run tests
> > > > successfully:
> > > > 1) ecj*.jar conflict with ANT_HOME/lib: resolved by setting
> > > > compiler="modern" for jasper
> > > > 2) no property to set jvm for running tests: resolved by hardcoding
> jvm
> > > > param
> > > > 3) conflict with CC on port 8080: no resolution yet - tried to set
> > > > port to 8081 in build/build/conf/server.xml but it doesn't work
> > > > 4) CC status is passed in case of failed unit tests: not resolved
> > > > 5) notification log should be improved, currently it is useless
> > > >
> > > > If someone knows how to configure Tomcat unit tests to use another
> > > > port number please give me a hint. If it is not possible we have to
> > > > change default port for CC.
> > > >
> > > > Thanks,
> > > > Stepan Mishura
> > >
> > --
> > Leo Li
> > China Software Development Lab, IBM
--
Stepan Mishura
Intel Enterprise Solutions Software Division