Luke, On 6/9/05, Luke Chambers <[EMAIL PROTECTED]> wrote: > I am trying to use Inline Java under mod_perl. > > The code that I am running forks right before it executes the Inline > Java sub. It is a very expensive sub... a web services call.. so I > want it to run asynchronously.
How exactly does this work? The user sgets a HTTP response before the web services call is over? How do provide him with the answer? Because if you fork and wait for the child to finish, you don't need to fork... > > I am having a hard time getting it to run properly. It seems to > execute the first request and ignore all others until the first has > completed. If you do that you must have the new child re-connect to the JVM server or else it will share the same connection as the parent and mess things up. Check the docs for Inline::Java::reconnect_JVM. Can you send some code so that I can understand the login better? > > Are there any special precautions that I need to take when doing this > sort of thing with Inline Java? Besides what is stated above I don't think so. > > Thanks > Luke > -- ===================== Patrick LeBoutillier Laval, Québec, Canada