Try to run the PE service out of process with the -nojit option. Sometimes this helps.

Florin Herinean

[EMAIL PROTECTED] wrote:
>I get the same problem and I have overridden onSessionExpiring event.  Does anybody 
>have a solution for this.
>
>Srini
>
>
>[EMAIL PROTECTED] wrote:
>>>Gregory Bohmer <[EMAIL PROTECTED]> wrote:
>>>Hi NetD'ers - get a load of this one....
>>>
>>>If I override the below method in my CSpProject instance, then when
>>>it fires (after the timeout, say 5 minutes), a dialog box pops up and
>>>says error in java.exe for the ServiceManager. My NetD server is
>>>then officially crashed (all services are stopped) and is only fixed by
>>>an NT reboot. What gives? Is this a known bug in NetD 4.1.3? Am
>>>I overriding this event wrong? Should I not touch this event? If so,
>>>then why is it there?
>>>
>>>Regards,
>>>Gregory, HHMI
>>>
>>>
>>>
>>> //[[SPIDER_EVENT<this_onSessionExpiringEvent>
>>> public int this_onSessionExpiringEvent(CSpProjectSessionEvent event)
>>> {
>>>  Trace.println("\nbegin: webermNetD.this_onSessionExpiringEvent()");
>>>
>>>  // update the global session counter
>>>  try
>>>  {
>>>   CSpider.lockGlobalSession();
>>>
>>>   int currentCount =
>>>    CSpider.getGlobalSessionObject("SessionCounter").intValue() - 1;
>>>
>>>   CSpider.putGlobalSessionObject("SessionCounter",
>>>    new CSpInteger(currentCount));
>>>
>>>   CSpLog.send(this, CSpLog.USER_DEBUG, "Successful decrement of
>>>SessionCounter " +
>>>    " global session object to: " + currentCount);
>>>  }
>>>  catch(NullPointerException e)
>>>  {
>>>   Trace.println("unable to decrement the SessionCounter global session
>>>object");
>>>   CSpLog.send(this, CSpLog.ERROR, "Unable to decrement the
>>>SessionCounter " +
>>>    " global session object");
>>>  }
>>>  finally
>>>  {
>>>   CSpider.unlockGlobalSession();
>>>  }
>>>
>>>  Trace.println("end: webermNetD.this_onSessionExpiringEvent()");
>>>
>>>  return (PROCEED);
>>> }
>>> //]]SPIDER_EVENT<this_onSessionExpiringEvent>
>>>
>>>
>>
>

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to