You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@river.apache.org by Patricia Shanahan <pa...@acm.org> on 2010/07/03 18:08:54 UTC
Request for new Wiki page
I'm a programmer who would like to help with River. There does not seem
to be any one stop shop for the information I need to actually start
writing and presenting changes in the code. Currently, I'm working on
getting the qa tests to run on my home computer. This is, for me, a far
harder task than thinking up efficient algorithms and data structures or
writing Java.
I'm using a Windows XP box with Cygwin. I suspect I would be having an
easier time if I had a Solaris or Linux system.
For the benefit of any future volunteers, it would be useful to create a
"New Developer" Wiki page that I can edit with any tips I pick up from
river-dev or work out myself, as well as useful links with up to date
information.
Could someone with the right permissions create a page for me?
Thanks,
Patricia
Re: Request for new Wiki page
Posted by Peter Firmstone <ji...@zeus.net.au>.
Hi Patricia,
The site http://wiki.apache.org/river is open for editing, anything you
can add to help new developers based on your own experiences is much
appreciated. You'll need to create a wiki login account if you haven't
already.
Cheers,
Peter.
Patricia Shanahan wrote:
> I'm a programmer who would like to help with River. There does not
> seem to be any one stop shop for the information I need to actually
> start writing and presenting changes in the code. Currently, I'm
> working on getting the qa tests to run on my home computer. This is,
> for me, a far harder task than thinking up efficient algorithms and
> data structures or writing Java.
>
> I'm using a Windows XP box with Cygwin. I suspect I would be having an
> easier time if I had a Solaris or Linux system.
>
> For the benefit of any future volunteers, it would be useful to create
> a "New Developer" Wiki page that I can edit with any tips I pick up
> from river-dev or work out myself, as well as useful links with up to
> date information.
>
> Could someone with the right permissions create a page for me?
>
> Thanks,
>
> Patricia
>
Re: Request for new Wiki page
Posted by Sim IJskes - QCG <si...@qcg.nl>.
On 05-07-10 13:02, Sim IJskes - QCG wrote:
> On 05-07-10 00:18, Patricia Shanahan wrote:
>> Also, when I have a qa.run failure, subsequent attempts get
>> "java.net.BindException: Address already in use: JVM_Bind". I assume
>> there is some cleanup I need to do. Restarting my computer works, but is
>> inconvenient.
>
> Probably due to a Socket.bind(..) without the setReuseAddress(true) call.
>
> <http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setReuseAddress%28boolean%29>
Or a running java process, left over (not killed) from the test...
Gr. Sim
--
QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl
Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397
Re: Request for new Wiki page
Posted by Sim IJskes - QCG <si...@qcg.nl>.
On 05-07-10 00:18, Patricia Shanahan wrote:
> Also, when I have a qa.run failure, subsequent attempts get
> "java.net.BindException: Address already in use: JVM_Bind". I assume
> there is some cleanup I need to do. Restarting my computer works, but is
> inconvenient.
Probably due to a Socket.bind(..) without the setReuseAddress(true) call.
<http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setReuseAddress%28boolean%29>
Gr. Sim
--
QCG, Software voor het MKB, 071-5890970, http://www.qcg.nl
Quality Consultancy Group b.v., Leiderdorp, Kvk Den Haag: 28088397
Re: Request for new Wiki page
Posted by Peter Firmstone <ji...@zeus.net.au>.
Well done! Some recent commit changes caused the ZRegisterStorm test to
fail, I'll look into it soon.
Cheers,
Peter.
Patricia Shanahan wrote:
> Victory! I just got through a qa run with one failed test:
>
> [java] com/sun/jini/test/impl/joinmanager/ZRegisterStorm.td
> [java] Test Failed: Test Failed:
> com.sun.jini.qa.harness.TestException: # of services expected (300) !=
> # of services registered (0)
> ...
> [java] # of tests started = 397
> [java] # of tests completed = 397
> [java] # of tests skipped = 18
> [java] # of tests passed = 396
> [java] # of tests failed = 1
>
> I'll do some more experiments to find out which adjustments were
> really needed, and then write it up.
>
> Patricia
>
>
> On 7/4/2010 3:18 PM, Patricia Shanahan wrote:
>> On 7/4/2010 3:09 PM, Peter Firmstone wrote:
>>> Patricia Shanahan wrote:
>>>> I think I have the form of the file names correct in build.properties,
>>>> and I have eliminated spaces from the apache paths:
>>>>
>>>> river.home=C:/apache/river/jtsk/trunk
>>>> jtreg.home=C:/apache/jtreg
>>>> jdk1.5.home="C:/Program Files (x86)/Java/jdk1.5.0_22"
>>>>
>>>> The build claims to be successful, but I when I try "ant qa.run", I
>>>> get a lot of error messages of the form:
>>>>
>>>> [java] QAConfig.getComponentFile FINEST: failed existance check on
>>>> com\sun\jini\qa\resources\qaDefaults.properties
>>>> [java] QAConfig.loadProperties FINEST: loaded properties:
>>>> file:/C:/apache/river/jtsk/trunk/qa/src/com/sun/jini/qa/resources/qaDefaults.properties
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> This is very strange, because the URL is perfectly valid. When I paste
>>>> it into Firefox, I get what looks like a properties file.
>>>>
>>>> Any idea what is doing the existence check, and why it is unhappy?
>>> Yes, it tries to load property files from multiple locations,
>>> finally it
>>> will try to load from the jar file if the local file paths are
>>> exhausted. In your case it was successfully found.
>> ...
>>
>> Yes, I just tracked down the relevant source code,
>> qa/src/com/sun/jini/qa/harness/QAConfig.java.
>>
>> If convenient, could you send me a copy of the output from a successful
>> build and qa run? You can e-mail directly to pats@acm.org, rather than
>> the mailing list. That way, I'll have some idea what is normal and what
>> is abnormal as I work my way through this.
>>
>> Meanwhile, I'll ignore single instances of the "failed existance check"
>> message.
>>
>> Also, when I have a qa.run failure, subsequent attempts get
>> "java.net.BindException: Address already in use: JVM_Bind". I assume
>> there is some cleanup I need to do. Restarting my computer works, but is
>> inconvenient.
>>
>> Thanks,
>>
>> Patricia
>>
>>
>
>
Re: Request for new Wiki page
Posted by Patricia Shanahan <pa...@acm.org>.
Victory! I just got through a qa run with one failed test:
[java] com/sun/jini/test/impl/joinmanager/ZRegisterStorm.td
[java] Test Failed: Test Failed:
com.sun.jini.qa.harness.TestException: # of services expected (300) != #
of services registered (0)
...
[java] # of tests started = 397
[java] # of tests completed = 397
[java] # of tests skipped = 18
[java] # of tests passed = 396
[java] # of tests failed = 1
I'll do some more experiments to find out which adjustments were really
needed, and then write it up.
Patricia
On 7/4/2010 3:18 PM, Patricia Shanahan wrote:
> On 7/4/2010 3:09 PM, Peter Firmstone wrote:
>> Patricia Shanahan wrote:
>>> I think I have the form of the file names correct in build.properties,
>>> and I have eliminated spaces from the apache paths:
>>>
>>> river.home=C:/apache/river/jtsk/trunk
>>> jtreg.home=C:/apache/jtreg
>>> jdk1.5.home="C:/Program Files (x86)/Java/jdk1.5.0_22"
>>>
>>> The build claims to be successful, but I when I try "ant qa.run", I
>>> get a lot of error messages of the form:
>>>
>>> [java] QAConfig.getComponentFile FINEST: failed existance check on
>>> com\sun\jini\qa\resources\qaDefaults.properties
>>> [java] QAConfig.loadProperties FINEST: loaded properties:
>>> file:/C:/apache/river/jtsk/trunk/qa/src/com/sun/jini/qa/resources/qaDefaults.properties
>>>
>>>
>>>
>>>
>>> This is very strange, because the URL is perfectly valid. When I paste
>>> it into Firefox, I get what looks like a properties file.
>>>
>>> Any idea what is doing the existence check, and why it is unhappy?
>> Yes, it tries to load property files from multiple locations, finally it
>> will try to load from the jar file if the local file paths are
>> exhausted. In your case it was successfully found.
> ...
>
> Yes, I just tracked down the relevant source code,
> qa/src/com/sun/jini/qa/harness/QAConfig.java.
>
> If convenient, could you send me a copy of the output from a successful
> build and qa run? You can e-mail directly to pats@acm.org, rather than
> the mailing list. That way, I'll have some idea what is normal and what
> is abnormal as I work my way through this.
>
> Meanwhile, I'll ignore single instances of the "failed existance check"
> message.
>
> Also, when I have a qa.run failure, subsequent attempts get
> "java.net.BindException: Address already in use: JVM_Bind". I assume
> there is some cleanup I need to do. Restarting my computer works, but is
> inconvenient.
>
> Thanks,
>
> Patricia
>
>
Re: Request for new Wiki page
Posted by Patricia Shanahan <pa...@acm.org>.
On 7/4/2010 3:09 PM, Peter Firmstone wrote:
> Patricia Shanahan wrote:
>> I think I have the form of the file names correct in build.properties,
>> and I have eliminated spaces from the apache paths:
>>
>> river.home=C:/apache/river/jtsk/trunk
>> jtreg.home=C:/apache/jtreg
>> jdk1.5.home="C:/Program Files (x86)/Java/jdk1.5.0_22"
>>
>> The build claims to be successful, but I when I try "ant qa.run", I
>> get a lot of error messages of the form:
>>
>> [java] QAConfig.getComponentFile FINEST: failed existance check on
>> com\sun\jini\qa\resources\qaDefaults.properties
>> [java] QAConfig.loadProperties FINEST: loaded properties:
>> file:/C:/apache/river/jtsk/trunk/qa/src/com/sun/jini/qa/resources/qaDefaults.properties
>>
>>
>>
>> This is very strange, because the URL is perfectly valid. When I paste
>> it into Firefox, I get what looks like a properties file.
>>
>> Any idea what is doing the existence check, and why it is unhappy?
> Yes, it tries to load property files from multiple locations, finally it
> will try to load from the jar file if the local file paths are
> exhausted. In your case it was successfully found.
...
Yes, I just tracked down the relevant source code,
qa/src/com/sun/jini/qa/harness/QAConfig.java.
If convenient, could you send me a copy of the output from a successful
build and qa run? You can e-mail directly to pats@acm.org, rather than
the mailing list. That way, I'll have some idea what is normal and what
is abnormal as I work my way through this.
Meanwhile, I'll ignore single instances of the "failed existance check"
message.
Also, when I have a qa.run failure, subsequent attempts get
"java.net.BindException: Address already in use: JVM_Bind". I assume
there is some cleanup I need to do. Restarting my computer works, but is
inconvenient.
Thanks,
Patricia
Re: Request for new Wiki page
Posted by Peter Firmstone <ji...@zeus.net.au>.
Patricia Shanahan wrote:
> I think I have the form of the file names correct in build.properties,
> and I have eliminated spaces from the apache paths:
>
> river.home=C:/apache/river/jtsk/trunk
> jtreg.home=C:/apache/jtreg
> jdk1.5.home="C:/Program Files (x86)/Java/jdk1.5.0_22"
>
> The build claims to be successful, but I when I try "ant qa.run", I
> get a lot of error messages of the form:
>
> [java] QAConfig.getComponentFile FINEST: failed existance check
> on com\sun\jini\qa\resources\qaDefaults.properties
> [java] QAConfig.loadProperties FINEST: loaded properties:
> file:/C:/apache/river/jtsk/trunk/qa/src/com/sun/jini/qa/resources/qaDefaults.properties
>
>
>
> This is very strange, because the URL is perfectly valid. When I paste
> it into Firefox, I get what looks like a properties file.
>
> Any idea what is doing the existence check, and why it is unhappy?
Yes, it tries to load property files from multiple locations, finally it
will try to load from the jar file if the local file paths are
exhausted. In your case it was successfully found.
>
> Thanks,
>
> Patricia
>
>
>
> On 7/4/2010 5:05 AM, Peter Firmstone wrote:
>> I must admit I haven't tried developing River on Windows, this should
>> assist us to grow our developer appeal. Recently the qa test suite was
>> changed from make build scripts to ant, I wonder if there are some
>> platform specific artifacts.
>>
>> Has anyone else on the list tried the qa tests on Window's recently? It
>> was tested on that platform by the Sun developers, but with the make
>> file scripts I believe.
>>
>> Peter.
>>
>> Patricia Shanahan wrote:
>>> I'm a programmer who would like to help with River. There does not
>>> seem to be any one stop shop for the information I need to actually
>>> start writing and presenting changes in the code. Currently, I'm
>>> working on getting the qa tests to run on my home computer. This is,
>>> for me, a far harder task than thinking up efficient algorithms and
>>> data structures or writing Java.
>>>
>>> I'm using a Windows XP box with Cygwin. I suspect I would be having an
>>> easier time if I had a Solaris or Linux system.
>>>
>>> For the benefit of any future volunteers, it would be useful to create
>>> a "New Developer" Wiki page that I can edit with any tips I pick up
>>> from river-dev or work out myself, as well as useful links with up to
>>> date information.
>>>
>>> Could someone with the right permissions create a page for me?
>>>
>>> Thanks,
>>>
>>> Patricia
>>>
>>
>>
>
>
Re: Request for new Wiki page
Posted by Patricia Shanahan <pa...@acm.org>.
I think I have the form of the file names correct in build.properties,
and I have eliminated spaces from the apache paths:
river.home=C:/apache/river/jtsk/trunk
jtreg.home=C:/apache/jtreg
jdk1.5.home="C:/Program Files (x86)/Java/jdk1.5.0_22"
The build claims to be successful, but I when I try "ant qa.run", I get
a lot of error messages of the form:
[java] QAConfig.getComponentFile FINEST: failed existance check on
com\sun\jini\qa\resources\qaDefaults.properties
[java] QAConfig.loadProperties FINEST: loaded properties:
file:/C:/apache/river/jtsk/trunk/qa/src/com/sun/jini/qa/resources/qaDefaults.properties
This is very strange, because the URL is perfectly valid. When I paste
it into Firefox, I get what looks like a properties file.
Any idea what is doing the existence check, and why it is unhappy?
Thanks,
Patricia
On 7/4/2010 5:05 AM, Peter Firmstone wrote:
> I must admit I haven't tried developing River on Windows, this should
> assist us to grow our developer appeal. Recently the qa test suite was
> changed from make build scripts to ant, I wonder if there are some
> platform specific artifacts.
>
> Has anyone else on the list tried the qa tests on Window's recently? It
> was tested on that platform by the Sun developers, but with the make
> file scripts I believe.
>
> Peter.
>
> Patricia Shanahan wrote:
>> I'm a programmer who would like to help with River. There does not
>> seem to be any one stop shop for the information I need to actually
>> start writing and presenting changes in the code. Currently, I'm
>> working on getting the qa tests to run on my home computer. This is,
>> for me, a far harder task than thinking up efficient algorithms and
>> data structures or writing Java.
>>
>> I'm using a Windows XP box with Cygwin. I suspect I would be having an
>> easier time if I had a Solaris or Linux system.
>>
>> For the benefit of any future volunteers, it would be useful to create
>> a "New Developer" Wiki page that I can edit with any tips I pick up
>> from river-dev or work out myself, as well as useful links with up to
>> date information.
>>
>> Could someone with the right permissions create a page for me?
>>
>> Thanks,
>>
>> Patricia
>>
>
>
Re: Request for new Wiki page
Posted by Patricia Shanahan <pa...@acm.org>.
That is useful information, and suggests a couple of changes in my
planning. First of all, I am not going to assume that the scripts have
been tested with spaces in file names. I'll create a special space-free
directory for my next test, to take that issue out of play for now.
Since I may be pioneering, I'm going to go ahead and propose an untested
change to the patch to switch to Runnable for the thread creation. I
would prefer to implement my proposed change, test it, and post a patch,
but it may be a while before I can test anything.
Patricia
Peter Firmstone wrote:
> I must admit I haven't tried developing River on Windows, this should
> assist us to grow our developer appeal. Recently the qa test suite was
> changed from make build scripts to ant, I wonder if there are some
> platform specific artifacts.
>
> Has anyone else on the list tried the qa tests on Window's recently? It
> was tested on that platform by the Sun developers, but with the make
> file scripts I believe.
>
> Peter.
>
> Patricia Shanahan wrote:
>> I'm a programmer who would like to help with River. There does not
>> seem to be any one stop shop for the information I need to actually
>> start writing and presenting changes in the code. Currently, I'm
>> working on getting the qa tests to run on my home computer. This is,
>> for me, a far harder task than thinking up efficient algorithms and
>> data structures or writing Java.
>>
>> I'm using a Windows XP box with Cygwin. I suspect I would be having an
>> easier time if I had a Solaris or Linux system.
>>
>> For the benefit of any future volunteers, it would be useful to create
>> a "New Developer" Wiki page that I can edit with any tips I pick up
>> from river-dev or work out myself, as well as useful links with up to
>> date information.
>>
>> Could someone with the right permissions create a page for me?
>>
>> Thanks,
>>
>> Patricia
>>
>
>
Re: Request for new Wiki page
Posted by Peter Firmstone <ji...@zeus.net.au>.
I must admit I haven't tried developing River on Windows, this should
assist us to grow our developer appeal. Recently the qa test suite was
changed from make build scripts to ant, I wonder if there are some
platform specific artifacts.
Has anyone else on the list tried the qa tests on Window's recently? It
was tested on that platform by the Sun developers, but with the make
file scripts I believe.
Peter.
Patricia Shanahan wrote:
> I'm a programmer who would like to help with River. There does not
> seem to be any one stop shop for the information I need to actually
> start writing and presenting changes in the code. Currently, I'm
> working on getting the qa tests to run on my home computer. This is,
> for me, a far harder task than thinking up efficient algorithms and
> data structures or writing Java.
>
> I'm using a Windows XP box with Cygwin. I suspect I would be having an
> easier time if I had a Solaris or Linux system.
>
> For the benefit of any future volunteers, it would be useful to create
> a "New Developer" Wiki page that I can edit with any tips I pick up
> from river-dev or work out myself, as well as useful links with up to
> date information.
>
> Could someone with the right permissions create a page for me?
>
> Thanks,
>
> Patricia
>