|
|
java deployment for web: UnsatisfiedLinkError
Hi everybody
I am deploying a web-oriented application with Builder JA, my target AS is JBoss 5.1
I have created a test servlet which invokes a function deployed as a jar placed in the web-inf/lib war folder.
Javabuilder.jar file from the MCR folder is in the same folder as well (is this correct?)
Upon execution I get this error
java.lang.UnsatisfiedLinkError: com.mathworks.toolbox.javabuilder.internal.MWMCR.mclIsStandaloneMode()Z
I have read that this error is caused by JNI being unable to locate the native executable/dll. However on my pc I have both matlab w/ builder ja and MCR installed.
From dos the command mcc -m works ok and the execution of the resulting exe as well.
What may be the problem?
Thanks, regards
Vincenzo
|
|
0
|
|
|
|
Reply
|
vincenzo
|
11/17/2010 1:08:03 AM |
|
found solution, just add the runtime dll from MCR installation to windows PATH
regards
Vincenzo
"vincenzo " <vinc.turco@gmail.com> wrote in message <ibv9tj$fai$1@fred.mathworks.com>...
> Hi everybody
> I am deploying a web-oriented application with Builder JA, my target AS is JBoss 5.1
> I have created a test servlet which invokes a function deployed as a jar placed in the web-inf/lib war folder.
> Javabuilder.jar file from the MCR folder is in the same folder as well (is this correct?)
>
> Upon execution I get this error
> java.lang.UnsatisfiedLinkError: com.mathworks.toolbox.javabuilder.internal.MWMCR.mclIsStandaloneMode()Z
>
> I have read that this error is caused by JNI being unable to locate the native executable/dll. However on my pc I have both matlab w/ builder ja and MCR installed.
> From dos the command mcc -m works ok and the execution of the resulting exe as well.
>
> What may be the problem?
> Thanks, regards
> Vincenzo
|
|
0
|
|
|
|
Reply
|
vincenzo
|
11/17/2010 1:19:03 AM
|
|
|
1 Replies
553 Views
(page loaded in 0.017 seconds)
|
|
|
|
|
|
|
|
|