Hi,
I found that the problem came from Rails 2.0's cookie session store,
which requires openssl at startup time. Now I'm working on how to
resolve it...
Cheers,
ias
2007. 11. 28, 오전 11:00, Jeanfrancois Arcand 작성:
> Salut
>
> Changshin Lee wrote:
>> 2007. 11. 28, 오전 10:40, Jeanfrancois Arcand 작성:
>>> Hi,
>>>
>>> Changshin Lee wrote:
>>>> Hi,
>>>> Yeah! Now it works fine on Mac OS X 10.5 (jdk 1.5.0_13).
>>>> Meanwhile, building with Java 6 port from
>>>> http://landonf.bikemonkey.org/code/macosx/
>>>> works incredibly well ;-)
>>>
>>> Great! I also tested this JDK and the performance, and this is
>>> quite good :-)
>> Probably I won't report build problems any more :-)
>> BTW, how's "Rails 2.0" support going? I'd like to run SpringBook
>> 3.0 (http://springbook.playmaru.net) on Rails 2.0 on Grizzly. Is
>> there anything I can help for that?
>
> Can you extend a day to more than 24 hours :-) :-) Seriously, I will
> take a look as soon as possible. Should have something before the
> end of the day tomorrow.
>
> Thanks!
>
> -- Jeanfrancois
>
>> Cheers,
>> ias
>>>
>>>
>>> Thanks!
>>>
>>> -- Jeanfrancois
>>>
>>>> Thanks,
>>>> ias
>>>> 2007. 11. 27, 오후 11:08, Oleksiy Stashok 작성:
>>>>> Hello,
>>>>>
>>>>> could you be so kind to build framework one more time with new
>>>>> implementation? :)
>>>>>
>>>>> Thank you!
>>>>>
>>>>> WBR,
>>>>> Alexey.
>>>>>
>>>>> Changshin Lee wrote:
>>>>>> Hi,
>>>>>>
>>>>>> 2007. 11. 24, 오후 6:26, Oleksiy Stashok 작성:
>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> can you pls. make sure test class SSLAsyncQueueWriterTest was
>>>>>>> updated from CVS...
>>>>>>> Pls. let me know once you will check it.
>>>>>>
>>>>>> I checked Grizzly trunk out cleanly just right before by
>>>>>>
>>>>>> *svn checkout https://www.dev.java.net/svn/grizzly/trunk*
>>>>>> *
>>>>>> *
>>>>>> *(revision 632)*
>>>>>> *
>>>>>> *
>>>>>> *and ran "mvn" but got the following error.*
>>>>>> *
>>>>>> *
>>>>>> *Thanks,*
>>>>>> *
>>>>>> *
>>>>>> *ias*
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> WBR,
>>>>>>> Alexey.
>>>>>>>
>>>>>>> Changshin Lee wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I tried again and got the following message:
>>>>>>>>
>>>>>>>> Running com.sun.grizzly.SSLAsyncQueueWriterTest
>>>>>>>> 2007. 11. 24 ???? 11:25:18
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest setUp
>>>>>>>> ????: SSL certs path: /Volumes/FLASHBACK/workspace/grizzly/
>>>>>>>> modules/grizzly/target/test-classes/ssltest-cacerts.jks
>>>>>>>> 2007. 11. 24 ???? 11:25:19
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest setUp
>>>>>>>> ????: SSL keystore path: /Volumes/FLASHBACK/workspace/grizzly/
>>>>>>>> modules/grizzly/target/test-classes/ssltest-keystore.jks
>>>>>>>> java.io.IOException: Connection reset by peer
>>>>>>>> at sun.nio.ch.FileDispatcher.read0(Native Method)
>>>>>>>> at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
>>>>>>>> at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
>>>>>>>> at sun.nio.ch.IOUtil.read(IOUtil.java:206)
>>>>>>>> at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:
>>>>>>>> 207)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .SSLConnectorHandler.doReadAsync(SSLConnectorHandler.java:867)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly.SSLConnectorHandler.read(SSLConnectorHandler.java:466)
>>>>>>>> at com.sun.grizzly.SSLAsyncQueueWriterTest
>>>>>>>> $3.onRead(SSLAsyncQueueWriterTest.java:266)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly.SSLConnectorHandler.onRead(SSLConnectorHandler.java:
>>>>>>>> 828)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .CallbackHandlerContextTask
>>>>>>>> .call(CallbackHandlerContextTask.java:62)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:
>>>>>>>> 179)
>>>>>>>> 2007. 11. 24 ???? 11:25:21
>>>>>>>> com.sun.grizzly.async.TCPAsyncQueueWriter onWrite
>>>>>>>> ?ɰ?: Exception occured when executing asynchronous queue
>>>>>>>> writing
>>>>>>>> java.nio.channels.AsynchronousCloseException
>>>>>>>> at
>>>>>>>> java
>>>>>>>> .nio
>>>>>>>> .channels
>>>>>>>> .spi
>>>>>>>> .AbstractInterruptibleChannel
>>>>>>>> .end(AbstractInterruptibleChannel.java:185)
>>>>>>>> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:
>>>>>>>> 309)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>> 303)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>> 292)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:
>>>>>>>> 178)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun
>>>>>>>> .grizzly
>>>>>>>> .async
>>>>>>>> .AsyncQueueWriterContextTask
>>>>>>>> .call(AsyncQueueWriterContextTask.java:65)
>>>>>>>> at
>>>>>>>> com
>>>>>>>> .sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:
>>>>>>>> 179)
>>>>>>>> 2007. 11. 24 ???? 11:25:51
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest testSeveralPackets
>>>>>>>> ????: EXPECTED SIZE: 26000
>>>>>>>> 2007. 11. 24 ???? 11:25:51
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest testSeveralPackets
>>>>>>>>
>>>>>>>> ..
>>>>>>>>
>>>>>>>> 2007. 11. 24 ???? 11:25:51
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest testSeveralPackets
>>>>>>>> ????: READBB: java.nio.HeapByteBuffer[pos=22646 lim=22646
>>>>>>>> cap=42660]
>>>>>>>> 2007. 11. 24 ???? 11:25:51
>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest testSeveralPackets
>>>>>>>> ????: LATCH: 1
>>>>>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time
>>>>>>>> elapsed: 32.509 sec <<< FAILURE!
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>>
>>>>>>>> ias
>>>>>>>>
>>>>>>>> 2007. 11. 23, 오후 10:11, Oleksiy Stashok 작성:
>>>>>>>>
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> please try it again.
>>>>>>>>>
>>>>>>>>> WBR,
>>>>>>>>> Alexey.
>>>>>>>>>
>>>>>>>>> Changshin Lee wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Thanks for the fix, but "mvn" still fails on Mac with the
>>>>>>>>>> following message:
>>>>>>>>>>
>>>>>>>>>> 007. 11. 23 ???? 12:43:06
>>>>>>>>>> com.sun.grizzly.async.TCPAsyncQueueWriter onWrite
>>>>>>>>>> ?ɰ?: Exception occured when executing asynchronous queue
>>>>>>>>>> writing
>>>>>>>>>> java.nio.channels.ClosedChannelException
>>>>>>>>>> at
>>>>>>>>>> sun
>>>>>>>>>> .nio
>>>>>>>>>> .ch
>>>>>>>>>> .SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:
>>>>>>>>>> 125)
>>>>>>>>>> at
>>>>>>>>>> sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:
>>>>>>>>>> 294)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 301)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 290)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 178)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async
>>>>>>>>>> .AsyncQueueWriterContextTask
>>>>>>>>>> .call(AsyncQueueWriterContextTask.java:65)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>>>>>>>>>> 2007. 11. 23 ???? 12:43:36
>>>>>>>>>> com.sun.grizzly.SSLAsyncQueueWriterTest testSeveralPackets
>>>>>>>>>> ????: EXPECTED SIZE: 26000
>>>>>>>>>>
>>>>>>>>>> ...
>>>>>>>>>>
>>>>>>>>>> 007. 11. 23 ???? 12:43:36
>>>>>>>>>> com.sun.grizzly.async.TCPAsyncQueueWriter onWrite
>>>>>>>>>> ?ɰ?: Exception occured when executing asynchronous queue
>>>>>>>>>> writing
>>>>>>>>>> java.nio.channels.AsynchronousCloseException
>>>>>>>>>> at
>>>>>>>>>> sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:
>>>>>>>>>> 312)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 301)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 290)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:
>>>>>>>>>> 178)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly
>>>>>>>>>> .async
>>>>>>>>>> .AsyncQueueWriterContextTask
>>>>>>>>>> .call(AsyncQueueWriterContextTask.java:65)
>>>>>>>>>> at
>>>>>>>>>> com
>>>>>>>>>> .sun
>>>>>>>>>> .grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>>>>>>>>>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time
>>>>>>>>>> elapsed: 31.651 sec <<< FAILURE!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>>
>>>>>>>>>> ias
>>>>>>>>>> 2007. 11. 23, 오전 2:56, Oleksiy Stashok 작성:
>>>>>>>>>>
>>>>>>>>>>> This was a bug in Unit tests.
>>>>>>>>>>> Fixed.
>>>>>>>>>>>
>>>>>>>>>>> WBR,
>>>>>>>>>>> Alexey.
>>>>>>>>>>>
>>>>>>>>>>> Oleksiy Stashok wrote:
>>>>>>>>>>>> I see this happened also on local Hudson.
>>>>>>>>>>>> Need to investigate...
>>>>>>>>>>>>
>>>>>>>>>>>> WBR,
>>>>>>>>>>>> Alexey.
>>>>>>>>>>>>
>>>>>>>>>>>> Jeanfrancois Arcand wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Changshin Lee wrote:
>>>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tried to build the trunk on Mac OS X 10.5 JDK
>>>>>>>>>>>>>> 1.5.0_13 and got the following error:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ...
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Running com.sun.grizzly.DefaultControllerTest
>>>>>>>>>>>>>> Exception in thread "Thread-56"
>>>>>>>>>>>>>> java.lang.OutOfMemoryError: unable to create new native
>>>>>>>>>>>>>> thread
>>>>>>>>>>>>>> at java.lang.Thread.start0(Native Method)
>>>>>>>>>>>>>> at java.lang.Thread.start(Thread.java:592)
>>>>>>>>>>>>>> at
>>>>>>>>>>>>>> com
>>>>>>>>>>>>>> .sun.grizzly.Controller.initReadThreads(Controller.java:
>>>>>>>>>>>>>> 933)
>>>>>>>>>>>>>> at com.sun.grizzly.Controller.start(Controller.java:825)
>>>>>>>>>>>>>> at com.sun.grizzly.Controller.run(Controller.java:696)
>>>>>>>>>>>>>> at java.lang.Thread.run(Thread.java:613)
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I adjusted MAVEN_OPTS with -Xmx1g but didn't work either.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I don't get that exception. Which platform are you using?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> -- Jeanfrancois
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks for your help in advance,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ias
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>>>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>>>>>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>>>>>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>>>>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>>>>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>>>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>>>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>> To unsubscribe, e-mail: dev-
>>>>>>>>>>> unsubscribe_at_grizzly.dev.java.net <mailto:dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>>>> >
>>>>>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> To unsubscribe, e-mail: dev-
>>>>>>>>>> unsubscribe_at_grizzly.dev.java.net <mailto:dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>>> >
>>>>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>>> help_at_grizzly.dev.java.net <mailto:dev-help_at_grizzly.dev.java.net
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net <mailto:dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>>> >
>>>>>>>> For additional commands, e-mail: dev-
>>>>>>>> help_at_grizzly.dev.java.net <mailto:dev-
>>>>>>>> help_at_grizzly.dev.java.net>
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net <mailto:dev-unsubscribe_at_grizzly.dev.java.net
>>>>>>> >
>>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>> <mailto: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
>