users@glassfish.java.net

native error

From: <glassfish_at_javadesktop.org>
Date: Fri, 26 Dec 2008 07:00:04 PST

I am developing an application in matlab, and I want to use the developed functions in a web application. I am using glass fish, I have converted the matlab files into jar file. I am able use the jar files in a simple java application.

But when I use the jar files in a web application, the glassfish server shows the following error.
java.lang.UnsatisfiedLinkError: no nativemcl76 in java.library.path

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
        at java.lang.Runtime.loadLibrary0(Runtime.java:823)
        at java.lang.System.loadLibrary(System.java:1030)
        at com.mathworks.toolbox.javabuilder.MWMCR.<clinit>(MWMCR.java:25)
        at cff_net.cff_netclass.main(cff_netclass.java:106)
[u] at newweb.NewWebService.image_process(NewWebService.java:28)
[/u] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[b][/b]


I think the glassfish is not able to access javabuilder.java which is a part of matlab.
Please reply
[Message sent by forum member 'rajeshkalra86' (rajeshkalra86)]

http://forums.java.net/jive/thread.jspa?messageID=323338