Hi,
I am new to java and I am attempting to use your recorder on a site I am developing. I am using ASP.net 2.0. I have several different pages that I call the same recorder page from. It works fine from from one group of pages but not the other group. It appears to be trying to load a seperate class for the different groups of pages. Here is my console text:
VERSION:2.3
Wav Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
loading library E:Program FilesjaudioWav.tar...
library loaded...
Stopped
Start Record
Stopped
uploadVoiceMsg: voiceBuffer size = 18480
http://xxxxxx.com/recorder/retrive.php
ACCEPTED
http://xxxxxx.com/recorder/retrive.php
ACCEPTED
VERSION:2.3
Wav Dll version
DEMO_VERSION
Maximal time of record is 0:0:20
loading library E:Program FilesjaudioWav.tar...
ERROR: Can't load library
java.lang.UnsatisfiedLinkError: Native Library E:Program FilesjaudioWav.tar already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at x.d(x.java)
at x.run(x.java)
at java.lang.Thread.run(Unknown Source)
Can you give me a clue on how to fix this?
As soon as we get it working we plan to purchase your product.
Thanks
UnsatisfiedLinkError
Started by jackl, May 30 2006 10:24 PM
3 replies to this topic
#1
Posted 30 May 2006 - 10:24 PM
#2
Posted 31 May 2006 - 01:33 AM
I found the solution.... For anyone else that may experience this, it is a Java 1.2 bug and here is the workaround:
To make sure all applets are loaded by the same classloader put the jar archive in a common place on the server and in all applet tags set the codebase attibute to point to this location. E.g.
<applet name="myApplet"
code="com.xxx.MyApplet"
codebase="http://localhost:9080/Common/myapplets"
archive="http://localhost:9080/Common/myapplets/myarchive.jar"
width="350" height="150"
mayscript>
<param name="cabbase" value="/Common/myapplets/myarchive.cab">
</applet>
To make sure all applets are loaded by the same classloader put the jar archive in a common place on the server and in all applet tags set the codebase attibute to point to this location. E.g.
<applet name="myApplet"
code="com.xxx.MyApplet"
codebase="http://localhost:9080/Common/myapplets"
archive="http://localhost:9080/Common/myapplets/myarchive.jar"
width="350" height="150"
mayscript>
<param name="cabbase" value="/Common/myapplets/myarchive.cab">
</applet>
#3
Posted 13 June 2008 - 03:39 PM
Jack1,
it seems you use Java 1.2. Isn't it ? Please use Java 1.3 and up.
it seems you use Java 1.2. Isn't it ? Please use Java 1.3 and up.
#4
Posted 13 June 2008 - 03:41 PM
Matheus,
please give me more details how you use the applet.
Sergey
please give me more details how you use the applet.
Sergey
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











