users@glassfish.java.net

Re: native error

From: Alexis Moussine-Pouchkine <alexis.mp_at_sun.com>
Date: Fri, 26 Dec 2008 16:20:35 +0100

try adding the mathlab native library in the GlassFish Native Library
Path Suffix.
In the admin console: Application Server > JVM Settings > Path
Settings > Native Library Path Suffix
-Alexis

On Dec 26, 2008, at 16:00, glassfish_at_javadesktop.org wrote:

> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>