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

Notification

Icon
Error

Options
Go to last post Go to first unread
JonEllis  
#1 Posted : Monday, March 7, 2011 1:42:16 AM(UTC)
JonEllis

Rank: Newbie

Groups: Member
Joined: 8/26/2010(UTC)
Posts: 8

Hello,

I am trying to integrate Aurigma 7 into a website.
I am using the PHP library supplied.
I have got so far as to add the applet to the page, specifying the directory of the applet using setScriptsDirectory(<path>) - where path is '/js/aurigma'.

On loading of the page, the applet displays the standard java loading image, but then goes to a white (or sometimes black) area (the size of the applet).

Looking at the java console, I read the following exception message:

Code:

exception: Permission denied: null.
java.lang.SecurityException: Permission denied: null
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception: java.lang.SecurityException: Permission denied: null
java.net.MalformedURLException: no protocol: ImageUploader7.jar
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
java.net.MalformedURLException: no protocol: ImageUploader7.jar
	at java.net.URL.<init>(Unknown Source)
	at java.net.URL.<init>(Unknown Source)
	at sun.plugin.util.GrayBoxPainter.setProgressFilter(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.setupGrayBoxPainter(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.showAppletException(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

I guess that this means that something is not being found where it is expected to be?

Could you tell me what setting(s) I might need to change to make this work?
JonEllis  
#2 Posted : Monday, March 7, 2011 6:05:49 AM(UTC)
JonEllis

Rank: Newbie

Groups: Member
Joined: 8/26/2010(UTC)
Posts: 8

Update:

I have set the code base for the java and both activex controls.
This gets me passed the above exception.

I am now getting:

Code:

load: class com.aurigma.imageuploader.ImageUploader not found.
java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader


This was then solved by putting the full path to the java and activex items using the setCodeBase functions.

I had assumed that the path would be relative to the scripts directory (as set using setScriptsDirectory()).

Perhaps this thread will prove useful for someone else?
Dmitry.Obukhov  
#3 Posted : Wednesday, March 9, 2011 1:48:09 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups:
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
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.