Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
some_coder  
#1 Posted : Thursday, December 11, 2008 6:49:47 AM(UTC)
some_coder

Rank: Member

Groups: Member
Joined: 3/14/2008(UTC)
Posts: 16

We get this java.security.PrivilegedActionException sun.plugin.liveconnect.OriginNotAllowedException: Javascript is not from the same origin as the Java code, caller= , callee only on Mac - safari.

We are using ImageUploader 4.7 version and we have the jar file and the javascript on different domains. Is that the problem ?

Dmitry  
#2 Posted : Thursday, December 11, 2008 2:07:18 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

Yes, it can be security mechanism if LiveConnect. If you put jar and JavaScript on the same domain is it working?

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

some_coder  
#3 Posted : Friday, December 12, 2008 1:39:08 AM(UTC)
some_coder

Rank: Member

Groups: Member
Joined: 3/14/2008(UTC)
Posts: 16

Yes it works if it is on the same domain. But is there any other way ? It would be hard for us to have it in the same domain.
Alex Kon  
#4 Posted : Monday, December 15, 2008 3:02:10 AM(UTC)
Alex Kon

Rank: Advanced Member

Groups: Member
Joined: 1/31/2005(UTC)
Posts: 458

Was thanked: 5 time(s) in 5 post(s)
Hello,

I don't know the way to convince browser to allow cross-scripting. All these security checks are performed in browser's code - it seems that Mac/Safari has different realization of security checks.

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.