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:webEventMessage:
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]