I think the problem could be that ND service runs under System account,
which doesn't have any access to network drives. Network drive is something
only appering when a user logs into NT, but you don't really have to log in
to run ND app server service. Try using local drive instead, see if the
problem still occurs.
HTH
Boris

> -----Original Message-----
> From: John Muncey [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, August 20, 1999 10:44 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [ND] Receiving NoClassDefFoundError When Calling
> External Class
> 
> 
> I have this problem ONLY when there is a static section within the
> external class
> like
> 
> static
> {
>    System.loadLibrary("somefile");
> }
> 
> This is particularly painful as I believe that you need a static section
> within an
> external class to implement native methods.
> 
> Has anyone got a work-around for this??
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> >I receive the following error when I attempt to reference an external
> class.  The
>        external class was not created using>NetDynamics and resides on a
> different workstation.
>         I have attached a virtual drive to the appropriate shared
> directory
> >and added the virtual drive to the CLASSPATH and NETDYN_CLASSPATH
> environment variables.  My ND page that
> >references this class has the needed 'import' statements and compiles
> successfully.  
> >
> >This is from the ND log:
> >
> >
> netdyn.services.cp.worker.CNdCPWorkerImpl:c:913048772516:w:913048772888:we
> bEventMessage:
>        error thrown: : Unexpected Exception
> (java.lang.NoClassDefFoundError) caught. Top
>        of stack: |java.lang.NoClassDefFoundError
> >     CNdServiceProxy:1:handleSystemException exception:CORBA::UNKNOWN:0 2
> :IDL:omg.org/CORBA/UNKNOWN:1.0
> >              CNdWebHit:1:processRequest
> exception:CORBA::SystemException:0 2
> :IDL:omg.org/CORBA/SystemException:1.0
> >
> >I have uninstalled and reinstalled ND (version 4.1.2.4) and still
> received this error.  I am calling the external class from
> >a ND HTML page.  I receive this error when I attempt to display the page
> via the browser.  I never see the page displayed.
> >This external class call is not referenced until a button on the page is
> pressed. 
> >
> >On the browser, I receive:
> >
> >     Could not connect to the NetDynamics Application Server. Please make
> sure the NetDynamics Application Server services are running. 
> >
> >I have verified that all of the ND services are started.  Any
> suggestions?
> >
> >Thanks,
> >
> >Alan N. Turner
> >Frito-Lay, Inc.
> 
> _________________________________________________________________________
> 
> 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]
_________________________________________________________________________

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