>Does it have something to do with the "project graph". (I admit to being very
>ignorant of that aspect of ND4 architecture).
>
>Thanks for any light you can shed.
>
>Janet
My guess would be that you are trying to do
this in this_onBefore/AfterInitEvent?
If so, it's too early for dynamic anything.
Since dynamic criteria is kept on a session
by session basis, a session needs to exist
prior to dynamic criteria methods being called.
If you need this behavior on just a few pages
I'd put the code in this_onBeforeDataObjectExecuteEvent
of the pages using the dataobject.
If you need this behavior on several dataobjects,
I suggest creating your own page listener and
implementing onBeforeDataObjectExecuteEvent,
then add that listener to the page in an
overridden init() method. You want to do it
in init because when the page get's cloned
into a new thread you need to re-add the
listener.
-Chip
Team NetDynamics
[EMAIL PROTECTED] wrote:
>
>
>
>Here's a strange ND4.1.3.8 error, I hope some one can explain.
>
>We have a ND app under development that's been working fine. After making some
>code changes, when attempt to run the app, we don't get the start page, instead
>we get a white page with this error message:
>"Could not connect to the NetDynamics Application Server. Please make sure the
>NetDynamics Application Server services are running. "
>
>looking in the log, I see these errors:
>
>21 Aug 02, 1999 at 16:03:30.203 Terse Debug Thread-7 DSRdbmsService
>netdyn.cosi.common.CNdTimer:c:933358391096:w:933358392546:unregisterTimer: entry
>netdyn.cosi.common.CNdTimerObject@3f99db is not present in registry
>
>22 Aug 02, 1999 at 16:04:03.734 Error Thread-27 CPService
>netdyn.services.cp.worker.CNdCPWorkerImpl:c:933358428585:w:933358428656:webEventMessage:
>
>error thrown: : Unexpected Exception (java.lang.VerifyError) caught. Top of
>stack: |java.lang.VerifyError
>|
>23 Aug 02, 1999 at 16:04:03.750 Warning 485 ndCGI
>CNdServiceProxy:1:handleSystemException exception:CORBA::UNKNOWN:0 2
>:IDL:omg.org/CORBA/UNKNOWN:1.0
>
>24 Aug 02, 1999 at 16:04:03.781 Error 485 ndCGI
>CNdWebHit:1:processRequest exception:CORBA::SystemException:0 2
>
>In attempt to fix this, we went back to the page where the last changes were
>made, and found that if we simply comment out a the dynamic criteria lines:
>
>doXXX.clearDynamicCriteria();
>doXXX.addDynamicStrCriterion("iproj_id = '" + sProj + "'");
>
>the start page appears nicely. At the moment, it makes no sense that these lines
>would be causing the problem, as we use them with the same data object another
>page in a very similar way with no problems.
>
>It also seems odd that this problematic page with the dyn criteria code is NOT
>the start page. So why would ND be complaining about it so soon?
>
>Does it have something to do with the "project graph". (I admit to being very
>ignorant of that aspect of ND4 architecture).
>
>Thanks for any light you can shed.
>
>Janet
>
>
_________________________________________________________________________
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]