Hi Richard,
On Feb 15, 2009, at 6:15 AM, Richard Corsale wrote:
> So, I was trying to use, sendfile with grizzly embeded 1.9.5.
grizzly-sendfile currently works only with grizzly 1.0.x (which is
part of glassfish v2). I plan to make it compatible with grizzly
1.9.5. In fact I created a patch already, but got stuck on some
classloading issues with gf3 and didn't have time to resolve those yet.
I'm currently primarily interested in using grizzly-sendfile with
glassfish and that's how I develop and test it, but since I'm using
only the grizzly apis, there isn't a reason why it shouldn't work with
standalone grizzly.
> I noticed that I couldnt find the api to configure it.
As explained on the wiki, I use glassfish domain.xml to configure JVM
parameters for grizzly. My guess is that setting up the same JVM
parameters for standalone grizzly would have the same effect. In
glassfish I set up grizzly-sendfile jar via the classpath prefix,
because it contains a patched version of grizzly, which is currently
needed to get grizzly-sendfile to work properly with non-keep-alive
http connections. In the standalone grizzly, it should be enough to
put the jar on the classpath before grizzly's jar.
> Then I downloaded the src and I sae that it contains
> the glassfish comet adapters and a few tomcat libs.
Hmm.. I'm not sure what you are referring to. grizzly-sendfile doesn't
contain or depend on the comet adapter and it depends only on tomcat
classes that grizzly 1.0.x contains.
> I've tinkered with it for a few hours now and.. well, is there any
> current documentation on getting it to run with grizzly standalone?
nope, only the glassfish docs that I created[1], but as I said it
transplanting the instructions from glassfish to grizzly standalone
should be trivial if you know how to use grizzly already.
> I think I can do... but it would save some time if its allready
> done, (I have very little time) :-).
I'll try to look into it, but if you put some instructions together
before I do, I'll be happy to publish them on the wiki.
Let me know if this info helps a bit.
/i
[1]
http://kenai.com/projects/grizzly-sendfile/pages/SettingUp
>
>
>
> --Richard
>
>
>
> ----- Original Message ----
> From: Igor Minar <iiminar_at_gmail.com>
> To: users_at_grizzly.dev.java.net
> Sent: Friday, February 6, 2009 2:37:15 PM
> Subject: Re: Announcing grizzly-sendfile!
>
> On Feb 6, 2009, at 11:24 AM, Justin Lee wrote:
>
>> Yes, I'd love to move to kenai.com and off of java.net. It doesn't
>> count for much, I suppose, but there's my vote. We'd get to use
>> jira. And we could migrate to mercurial! Thought that's probably
>> not the most exciting option for most people. Mercurial >> svn,
>> though, so it's worth the momentary hiccup.
>
> Yay for mercurial! That's what I use for grizzly-senfile. ;-)
>
> /i
>
>>
>>
>> Igor Minar wrote:
>>>
>>> On Feb 6, 2009, at 9:10 AM, Jeanfrancois Arcand wrote:
>>>
>>>> Salut,
>>>>
>>>> Igor Minar wrote:
>>>>> Hi folks,
>>>>> Here is my shameless pitch for grizzly-sendfile!
>>>>> http://blog.igorminar.com/2009/02/announcing-grizzly-sendfile.html
>>>>
>>>> Congratulation! We want a donation to
>>>> grizzly.dev.java.net :-) :-) :-)
>>>
>>> It would make sense to become an official grizzly sub-project if
>>> there is interest in that. I chose a pretty liberal license to
>>> make it easy for people to contribute or for the project to become
>>> an official part of grizzly.
>>>
>>> Do other folks on the alias think that this would make sense and
>>> would like to see it happen?
>>>
>>> The only gripe I have is that dev.java.net is terribly slow to
>>> work with :-/ Don't you want to move to kenai.com? ;-) While it
>>> is not perfect yet, it is being actively developed based on users
>>> feedback.
>>>
>>> /i
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>