Nope, it's not allowed. See section 18.1.2 of the EJB 1.1 spec which forbids 
loading native libraries from EJBs (amongst other things).

-t




On Wed, Oct 25, 2000 at 02:55:33PM -0700, Luis M Bernardo wrote:
> 
> 
> hello,
> 
> I have no experience calling native code from java applications but I
> managed to write my first stateless seesion bean that uses a java class
> that calls native methods. when use a client to invoke a method in the
> bean I get the following error:
> 
> ----
> C:\orion>java
> -Djava.library.path=u:\bernardo\javaqt\unlic\com\thi\quanttools -j
> ar orion.jar
> Orion/1.3.8 initialized
> #
> # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
> outsi
> de the VM.
> # Program counter=0x10001c48
> #
> #
> # An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code
> outsi
> de the VM.
> # Program counter=0x10001c48
> #
> ----
> 
> can someone suggest what the problem is. can I call native methods from
> ejbs?
> 
> thanks.
> 
> 
> 
> 

-- 

   Tony Abbott                          [EMAIL PROTECTED]


Reply via email to