Jump to content


AccessControlException on Firefox


  • You cannot reply to this topic
9 replies to this topic

#1 mickeygoup

    Member

  • Members
  • PipPip
  • 12 posts

Posted 13 November 2007 - 11:51 AM

Hi there,

I have received the following java exception when uploading the MP3. Do you have any idea what might be causing it? It was working fine before, and we have not made any changes to the codes since then. By the way, the error only occurs on Firefox version 2.0.0.9. It works fine in IE 6.

Any help would be greatly appreciated.

Thanks!

Mickey

QUOTE
Exception at uploadingjava.security.AccessControlException: access denied (java.net.SocketPermission 64.15.136.233:80 connect,resolve)
java.security.AccessControlException: access denied (java.net.SocketPermission 64.15.136.233:80 connect,resolve)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkConnect(Unknown Source)
at java.net.Socket.connect (Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient .<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream (Unknown Source)
at ba.b(ba.java)
at ba.a(ba.java)
at ba.d(ba.java)
at ba.b(ba.java)
at ba.a(ba.java)
at ba.run(ba.java)
at java.lang.Thread.run(Unknown Source)


#2 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 14 November 2007 - 08:05 AM

Hi Mickey,
this problem happens with new Java plug-in 1.6.0_03.
We already fixed it. Download last version of mp3 applet from http://www.vimas.com/MP3_RecApplet.zip
Update the .jar and .tar files.
I hope it will help you. In case if problem will not fixed, contact me.

#3 mickeygoup

    Member

  • Members
  • PipPip
  • 12 posts

Posted 14 November 2007 - 06:07 PM

QUOTE(Sergey @ Nov 14 2007, 01:05 PM) View Post
Hi Mickey,
this problem happens with new Java plug-in 1.6.0_03.
We already fixed it. Download last version of mp3 applet from http://www.vimas.com/MP3_RecApplet.zip
Update the .jar and .tar files.
I hope it will help you. In case if problem will not fixed, contact me.


Thanks Sergey! I will download the new updates and give it a try. If you don't hear from me, that means it works. smile.gif

#4 mickeygoup

    Member

  • Members
  • PipPip
  • 12 posts

Posted 16 November 2007 - 02:39 AM

Hi Sergey,

After copying the following files (overwrote the previous version):

jaudioMp3Mac.tar
jaudioMp3Win.tar
RPAppletMp3.cab
RPAppletMp3.jar

I received a FileNotFoundException when the library was loaded. And received an ArrayIndexOutOfBound exception when I tried to upload a MP3. And that happens in both Firefox and IE. Are there any javascript changes required after upgrading the library to version 4?

CODE
OS: Windows XP
VERSION:1.3.17.1
Mp3 Dll version
Test Key file= mp3_kkkkkk_net.txt  Tesing host name: www.kkkkkk.net...
Key host name: kkkkkk.net
Host accepted!
2007-10-15 is before 2099-0-1
keyfile mp3_kkkkkk_net.txt accepted
Maximal time of record is 0:7:0
FileOutputStream.priviliges :( java.security.PrivilegedActionException: java.io.FileNotFoundException: null\mp3buf.tmp (The system cannot find the path specified)
Loading library C:\DOCUME~1\xxxxxxx\LOCALS~1\Temp\\Vimas\\jaudioMp3Win.tar...
Library loaded...
Library version : 4
Stopped
Start Record
Stopped
uploadVoiceMsg: voiceBuffer size = 11598
count of block is 1
sending block is 0
ANSWER = "ACCEPTED"
sending ended block
ANSWER = "ACCEPTED"
Sending confirmation block
ANSWER = ""
Exception at uploading java.lang.ArrayIndexOutOfBoundsException: 0
java.lang.ArrayIndexOutOfBoundsException: 0
    at bh.run(bh.java)
    at java.security.AccessController.doPrivileged(Native Method)
    at bg.d(bg.java)
    at bg.b(bg.java)
    at bg.a(bg.java)
    at bg.run(bg.java)
    at java.lang.Thread.run(Unknown Source)


#5 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 16 November 2007 - 08:54 AM

Hi Mickey,

we did some modification of applet. Download SDK package from http://www.vimas.com/MP3_RecApplet.zip
and update again
jaudioMp3Mac.tar
jaudioMp3Win.tar
RPAppletMp3.cab
RPAppletMp3.jar

I hope, this time, problem will be fixed rolleyes.gif

#6 mickeygoup

    Member

  • Members
  • PipPip
  • 12 posts

Posted 17 November 2007 - 02:38 AM

QUOTE(Sergey @ Nov 16 2007, 01:54 PM) View Post
Hi Mickey,

we did some modification of applet. Download SDK package from http://www.vimas.com/MP3_RecApplet.zip
and update again
jaudioMp3Mac.tar
jaudioMp3Win.tar
RPAppletMp3.cab
RPAppletMp3.jar

I hope, this time, problem will be fixed rolleyes.gif


Thanks! Will try it and let you know. smile.gif

#7 mickeygoup

    Member

  • Members
  • PipPip
  • 12 posts

Posted 17 November 2007 - 03:06 AM

Hi Sergey,

It works now in both IE and Firefox! Thanks for fixing it! I am still getting the following exception when the library was being loaded, but everything else seems to work normally. Should I just ignore the exception?

CODE
FileOutputStream.priviliges :( java.security.PrivilegedActionException: java.io.FileNotFoundException: null\mp3buf.tmp (The system cannot find
the path specified)


#8 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 19 November 2007 - 03:52 PM

Please, ignore it.

#9 Sergey

    Advanced Member

  • Moderators
  • PipPipPip
  • 298 posts
  • Gender:Male
  • Location:Kyiv, Ukraine

Posted 10 December 2010 - 11:13 AM

QUOTE (jack_loranger @ Nov 28 2010, 09:32 AM) <{POST_SNAPBACK}>
I am having the same problem only with the wav applet. do you have a fix for it?
Thanks,
Jack



Please, use new Audio Recording Applet SDK www.vimas.com/audio.php.
It can record audio in many audio formats including WAV format. If you will have the same problem, please inform us.

#10 Rost

    Member

  • Moderators
  • PipPip
  • 27 posts

Posted 11 January 2011 - 04:02 PM

Hi,

Did you check your http://96.53.44.150/crossdomain.xml file? Is it exist?

Rost.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users