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

Notification

Icon
Error

Options
Go to last post Go to first unread
Ublo  
#1 Posted : Friday, January 22, 2010 1:37:59 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

Hello,

I'm having a problem because my "ImageUploader6.jar" file is hosted on http://static.mydomain.com
And my web page calling Image Uploader is hosted on http://admin.mydomain.com

So, when trying to start upload, I get this error in Java console :

Code:

Ignored exception: sun.plugin.liveconnect.OriginNotAllowedException: JavaScript is not from the same origin as the Java code, caller=http://admin.mydomain.com/photos, callee=http://static.mydomain.com/ImageUploader6.jar


And upload does not start... d'oh!

Can anyone help me ?

I only occurs with Safari 4, Mac OS X Snow Leopard.

Thanks for your help !
Tamila  
#2 Posted : Friday, January 22, 2010 3:06:36 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

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

You have this problem due to security issue on Mac. You cannot host ImageUploader6.jar file on one domain and use it on another one.
To resolve the problem you should host ImageUploader6.jar on admin.mydomain.com domain.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Ublo  
#3 Posted : Friday, January 22, 2010 5:15:04 AM(UTC)
Ublo

Rank: Member

Groups: Member
Joined: 7/29/2009(UTC)
Posts: 21

all right, but it's the same domain (mydomain.com)...
only the sub-domain changes (admin / static).

Is there really no other solution ?

I read articles about a "crossdomain.xml" file, but still have the same problem...

Edited by user Friday, January 22, 2010 5:15:37 AM(UTC)  | Reason: Not specified

Tamila  
#4 Posted : Sunday, January 24, 2010 2:02:43 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

From the point of view of Image Uploader static.mydomain.com and admin.mydomain.com are different. So, there are no other solutions except of moving the .jar file on admin.mydomain.com.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
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.