> Hi, folks!
>
> A question about java and jwsgi!
>
> Right now I can start the jvm correctly,  but when I request on the jwsgi
> method and the java code will retrieve other io resouces, and then the
> execution blocked. But if the java code do not retrieve other io
> resources,
> the response is OK.
>
> I write same code for retrieving other io resouces in the main method, it
> works. So I guess it is not a problem on jni calling.
>
> It seems that uwsgi disable the multi-threading functionality. While I
> tried enable the *enable-threads* option for uwsgi, but still can not
> work.
>
> Any advise?
>
>

I am not sure to understand (it is a bit of time i do not look at jni),
you mean that spawning java threads does not bring cpu back to the main
thread ?

Or you mean that spawning multiple threads (with --threads N) does not
allow java requests to be served in parallel ?


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to