dev@grizzly.java.net

Re: build howto

From: César Fernando Henriques <fuzzball_at_alttab.com.ar>
Date: Wed, 27 May 2009 00:47:33 -0300

I will try to run the test tomorrow with the logging.prop you send me,
I can't find how to set the logging for maven on Netbeans.

Thanks

2009/5/26 César Fernando Henriques <fuzzball_at_alttab.com.ar>:
> sorry for my ignorance but how do I run a test case with custom
> logging properties? :-)
>
> I'm using Netbeans
>
> On Tue, May 26, 2009 at 10:21 PM, Survivant 00 <survivant00_at_gmail.com> wrote:
>> can you run the testcase again with  this logging properties
>>
>> -Djava.util.logging.config.file=logging.properties
>>
>> and send the result back.  should be extra verbose.
>>
>>
>> 2009/5/26 César Fernando Henriques <fuzzball_at_alttab.com.ar>
>>>
>>> I'm using Win 7 / JDK 1.6.0_12.
>>>
>>> Thanks.
>>>
>>> On Tue, May 26, 2009 at 9:18 PM, Jeanfrancois Arcand
>>> <Jeanfrancois.Arcand_at_sun.com> wrote:
>>> > Salut,
>>> >
>>> > César Fernando Henriques wrote:
>>> >>
>>> >> Here are the test cases failing... and in the  attach the complete
>>> >> build
>>> >> output.
>>> >>
>>> >> I was going to report on the issue but I don't have access to comment
>>> >> and post, so here it go.
>>> >
>>> > Thanks....I can't reproduce this issue. Which OS/JDK are you using? Like
>>> > Sebastien said, the exception are expected.
>>> >
>>> > BTW your locale is French :-) Nice....
>>> >
>>> > A+
>>> >
>>> > -- Jeanfrancois
>>> >
>>> >
>>> >>
>>> >> Thanks.-
>>> >> Cesar.-
>>> >> -------------------------
>>> >>
>>> >> 26/05/2009 08:26:14 com.sun.grizzly.SelectorHandlerRunner
>>> >> handleSelectException
>>> >> GRAVE: doSelect IOException
>>> >> java.net.BindException: Address already in use: bind:
>>> >> 18901=com.sun.grizzly.http.SelectorThreadHandler_at_aea710
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:403)
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:366)
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:182)
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
>>> >>        at
>>> >>
>>> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>> >>        at
>>> >>
>>> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>> >>        at java.lang.Thread.run(Thread.java:619)
>>> >> 26/05/2009 08:26:14 com.sun.grizzly.http.SelectorThread$3 onException
>>> >> GRAVE: Exception during starting the controller
>>> >> java.net.BindException: Address already in use: bind:
>>> >> 18901=com.sun.grizzly.http.SelectorThreadHandler_at_aea710
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.TCPSelectorHandler.initSelector(TCPSelectorHandler.java:403)
>>> >> Ha got you this time.
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.TCPSelectorHandler.preSelect(TCPSelectorHandler.java:366)
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:182)
>>> >>        at
>>> >>
>>> >> com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:129)
>>> >>        at
>>> >>
>>> >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>> >>        at
>>> >>
>>> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>> >>        at java.lang.Thread.run(Thread.java:619)
>>> >> testStartSecureFailDefault
>>> >> testStartSecureWithConfiguration
>>> >> testAddGrizzlyAdapterBeforeAndAfterStart
>>> >> 26/05/2009 08:26:16 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /1 received request /1
>>> >> 26/05/2009 08:26:16 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /2 received request /2
>>> >> testAddGrizzlyAdapterBeforeAndAfterStart
>>> >> 26/05/2009 08:26:17 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /1 received request /1
>>> >> 26/05/2009 08:26:17 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /2 received request /2
>>> >> 26/05/2009 08:26:17 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /3 received request /3
>>> >> 26/05/2009 08:26:17 com.sun.grizzly.http.GrizzlyWebServerTest$4 doGet
>>> >> INFO: /4 received request /4
>>> >> Running com.sun.grizzly.http.MapperTest
>>> >> testOverlapingMapping
>>> >> testRootMapping
>>> >> testWrongMapping
>>> >> testComplexMapping
>>> >> testWildcardMapping
>>> >> testWrongMappingRootContext
>>> >> Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 6.174
>>> >> sec <<< FAILURE!
>>> >> Running com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> testNPERegression
>>> >> 26/05/2009 08:26:25 com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> getConnection
>>> >> INFO: sending request to /war_autodeploy/php_test/index.php
>>> >> 26/05/2009 08:26:25 com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> readResponse
>>> >> INFO: received line Hello, world!
>>> >> testMultiPath
>>> >> 26/05/2009 08:26:26 com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> getConnection
>>> >> INFO: sending request to /notvalid/php_test/index.php
>>> >> 26/05/2009 08:26:26 com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> readResponse
>>> >> INFO: received line Hello, world!
>>> >> 26/05/2009 08:26:26 com.sun.grizzly.http.HelloGrizzlyWebServerTest
>>> >> getConnection
>>> >> INFO: sending request to /notvalid/php_test/hello.1
>>> >> testProtocolFilter
>>> >> ProtcolChain: com.sun.grizzly.http.HttpProtocolChain_at_c789fb
>>> >> Running com.sun.grizzly.http.ComplexGrizzlyWebServerTest
>>> >> testComplexAliasMapping
>>> >> 26/05/2009 08:26:28 com.sun.grizzly.http.ComplexGrizzlyWebServerTest$1
>>> >> doGet
>>> >> INFO: /test/servlet/1 received request /test/servlet/1
>>> >> 26/05/2009 08:26:28 com.sun.grizzly.http.ComplexGrizzlyWebServerTest$1
>>> >> doGet
>>> >> INFO: /test/servlet/2 received request /test/servlet/2
>>> >> 26/05/2009 08:26:28 com.sun.grizzly.http.ComplexGrizzlyWebServerTest$1
>>> >> doGet
>>> >> INFO: /test/servlet/3 received request /test/servlet/3
>>> >> 26/05/2009 08:26:28 com.sun.grizzly.http.ComplexGrizzlyWebServerTest$1
>>> >> doGet
>>> >> INFO: /test/servlet/*.a received request /test/servlet/*.a
>>> >> 26/05/2009 08:26:28 com.sun.grizzly.http.ComplexGrizzlyWebServerTest$1
>>> >> doGet
>>> >> INFO: /test/servlet/*.a received request /test/servlet/test.a
>>> >> Results :
>>> >> Tests in error:
>>> >>  testOverlapingMapping(com.sun.grizzly.http.MapperTest)
>>> >>  testRootMapping(com.sun.grizzly.http.MapperTest)
>>> >>  testWrongMapping(com.sun.grizzly.http.MapperTest)
>>> >>  testComplexMapping(com.sun.grizzly.http.MapperTest)
>>> >>  testWildcardMapping(com.sun.grizzly.http.MapperTest)
>>> >>  testWrongMappingRootContext(com.sun.grizzly.http.MapperTest)
>>> >>
>>> >>
>>> >>
>>> >> On Tue, May 26, 2009 at 12:42 PM, Jeanfrancois Arcand
>>> >> <Jeanfrancois.Arcand_at_sun.com> wrote:
>>> >>>
>>> >>> César Fernando Henriques wrote:
>>> >>>>
>>> >>>> I'm having the same issue, I solved it commenting the dependency on
>>> >>>> the main pom.xml
>>> >>>>
>>> >>>> Still can't make a clean build, some testcases failing. I'm not in my
>>> >>>> desktop right now, but I will post the details later.
>>> >>>
>>> >>> OK if you can report which test case are failing that will help. So
>>> >>> far
>>> >>> this
>>> >>> is one issue:
>>> >>>
>>> >>> https://grizzly.dev.java.net/issues/show_bug.cgi?id=592
>>> >>>
>>> >>> Thanks!
>>> >>>
>>> >>> -- Jeanfrancois
>>> >>>
>>> >>>
>>> >>>> Thanks!
>>> >>>>
>>> >>>> Cesar.-
>>> >>>>
>>> >>>> On Tue, May 26, 2009 at 11:37 AM, Jeanfrancois Arcand
>>> >>>> <Jeanfrancois.Arcand_at_sun.com> wrote:
>>> >>>>>
>>> >>>>> Salut,
>>> >>>>>
>>> >>>>> Scott Oaks wrote:
>>> >>>>>>
>>> >>>>>> Is there a build howto anywhere? I found a tutorial about building
>>> >>>>>> in
>>> >>>>>> NetBeans, but I'm looking for command-line steps.
>>> >>>>>
>>> >>>>> Hey hey nice to see you here :-)
>>> >>>>>
>>> >>>>>> I tried just running mvn in grizzly/trunk/code/code but get an
>>> >>>>>> unresolved
>>> >>>>>> dependency (org.jvnet.wagon-svn:wagon-svn:jar:1.8)
>>> >>>>>
>>> >>>>> So you checked out the code and did:
>>> >>>>>
>>> >>>>> % grizzly/trunk
>>> >>>>> % mvn clean install
>>> >>>>>
>>> >>>>> and it failed? It seems the repository for java.net is broken (as
>>> >>>>> usual
>>> >>>>> with
>>> >>>>> java.net). Can you cut& paste the stack trace?
>>> >>>>>
>>> >>>>> Thanks!
>>> >>>>>
>>> >>>>> -- Jeanfarcnois
>>> >>>>>
>>> >>>>>
>>> >>>>>> -Scott
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> ---------------------------------------------------------------------
>>> >>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> >>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >>>>>>
>>> >>>>>
>>> >>>>> ---------------------------------------------------------------------
>>> >>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> >>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >>>>>
>>> >>>>>
>>> >>>> ---------------------------------------------------------------------
>>> >>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> >>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >>>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> >>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ------------------------------------------------------------------------
>>> >>>
>>> >>> ---------------------------------------------------------------------
>>> >>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> >>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> > For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>