incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Melfing <robert.melf...@gmail.com>
Subject ExternalProcesses issue
Date Thu, 16 Sep 2010 21:00:24 GMT
Hi all,

[and thanks for the great job!]

Quick one about External Processes:
I've done a dummy java program to test this feature.
An infinite loop on readline() to printout what's passed in.

But when I either stop or restart couchdb, my java process is never killed
and keeps running.

Should the external process exit() after each request? Or can it stay 
running,
waiting for the next request?

env:
Ubuntu Karmic, couch 1.0.1

local.ini:
[external]
test=java -jar /TestExtrernalProcesses/dist/TestExtrernalProcesses.jar

[httpd_db_handlers]
_test = {couch_httpd_external, handle_external_req, <<"test">>}


cheers,
Robert

Mime
View raw message