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

Notification

Icon
Error

Options
Go to last post Go to first unread
nottidaleon  
#1 Posted : Thursday, July 23, 2009 12:16:50 AM(UTC)
nottidaleon

Rank: Newbie

Groups: Member
Joined: 7/22/2009(UTC)
Posts: 3

Hi everyone,

I'm new to ImageUploader. Unfortunately I can't run it because I get this error:

Code:

java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.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)
Caused by: java.io.IOException: open HTTP connection failed:http://localhost/imageUploader/Samples/PHP_IUEmbed/Scripts/com/aurigma/imageuploader/ImageUploader/class.class
	at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
	at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	... 7 more

It seems that it tryes to load the class from an internet address and not from a local one.

Can you help me?

Thanks

Tamila  
#2 Posted : Thursday, July 23, 2009 1:48:46 PM(UTC)
Tamila

Rank: Advanced Member

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

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

Please check the url to ImageUploader6.jar in javaAppletCodeBase property.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

nottidaleon  
#3 Posted : Thursday, July 23, 2009 10:26:42 PM(UTC)
nottidaleon

Rank: Newbie

Groups: Member
Joined: 7/22/2009(UTC)
Posts: 3

great!!! it works now.

thanks a lot

prakum  
#4 Posted : Wednesday, September 2, 2009 11:56:07 PM(UTC)
prakum

Rank: Newbie

Groups: Member
Joined: 7/12/2009(UTC)
Posts: 5

I am having similar problem. Could anyone say where to make changes in javaAppletCodeBase?

My error report :

load: class com.aurigma.imageuploader.ImageUploader.class not found.

java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class

at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.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)

Caused by: java.io.IOException: open HTTP connection failed:http://www.mypartygenie.com/imageupload/ImageUploaderPHP/Scripts/com/aurigma/imageuploader/ImageUploader/class.class

at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)

at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)

at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 7 more

Exception: java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class

Thanx.

Tamila  
#5 Posted : Thursday, September 3, 2009 1:11:18 PM(UTC)
Tamila

Rank: Advanced Member

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

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

Quote:
Could anyone say where to make changes in javaAppletCodeBase?

Open the source code of the page where Image Uploader is located. Here you can find something like this:

iu.javaAppletCodeBase = "../Scripts";

Here you should point the correct url to ImageUploader6.jar file.

By the way, according to the console dump ImageUploader6.jar should be here:

http://www.mypartygenie....ripts/ImageUploader6.jar

Please put the .jar file here or correct the url.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

chrisva  
#6 Posted : Tuesday, September 29, 2009 11:00:16 PM(UTC)
chrisva

Rank: Newbie

Groups: Member
Joined: 9/28/2009(UTC)
Posts: 1

Hi, I develop in ASP.NET using image Uploader 6.1, I can't seem to fire up the java applet. The error is as follows:

_________________

load: class com.aurigma.imageuploader.ImageUploader.class not found.

java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class

at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.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)

Caused by: java.io.IOException: open HTTP connection failed:http://localhost:64874/com/aurigma/imageuploader/ImageUploader/class.class

at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)

at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)

at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

... 7 more

Exception: java.lang.ClassNotFoundException: com.aurigma.imageuploader.ImageUploader.class

______

I develop a Web Site project in Visual Studio. I have included the Aurigma.ImageUploader.dll in the bin folder and the Active X control seems to work. When I look at the HTML code generated by ASP.NET it generates the following:

________________________________

<script type="text/javascript">

//<![CDATA[

var ctl00_ContentPlaceHolder1_iuUploader_w = new ImageUploaderWriter("ctl00_ContentPlaceHolder1_iuUploader", 650, 400);

ctl00_ContentPlaceHolder1_iuUploader_w.activeXControlCodeBase = "/Hedmarktoppen web files/WebResource.axd?d=WpcdMMZI6KZhuSKZ7CJuJxbzs1nkpfABn0CV5yFCRvePlMUTNbEKjHvoY6P8LxNwQXO30OHUkcyJpbIxpc8832lB5G0ghpz8DyUISfjUzi01&t=633888709160000000";

ctl00_ContentPlaceHolder1_iuUploader_w.activeXControlVersion = "6,1,4,0";

ctl00_ContentPlaceHolder1_iuUploader_w.javaAppletJarFileName = "/Hedmarktoppen web files/WebResource.axd?d=WpcdMMZI6KZhuSKZ7CJuJxbzs1nkpfABn0CV5yFCRvePlMUTNbEKjHvoY6P8LxNwQXO30OHUkcyJpbIxpc883zsOyfYP3cwTqK6WbQbd9ZI1&t=633888709160000000";

ctl00_ContentPlaceHolder1_iuUploader_w.javaAppletCodeBase = "/";

ctl00_ContentPlaceHolder1_iuUploader_w.javaAppletVersion = "6.1.4.0";

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("AllowAutoRotate", "True");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("AuthenticationRequestBasicText", "[Name] requires authentication.");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("AuthenticationRequestNtlmText", "[Name] requires authentication.");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("BackgroundColor", "White");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("FileMask", "*.jpeg;*.jpg;*.jpe");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("LicenseKey", "71060-4E58B-00000-09516-47F10;72060-4E58B-00000-08D04-58799");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("MinImageHeight", "360");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("MinImageWidth", "360");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("PaneLayout", "1");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("ProgressDialogSentText", "Sent: [Current] of [Total]");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("ShowDebugWindow", "True");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("ShowDescriptions", "False");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadSourceFile", "False");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail1CopyExif", "True");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail1FitMode", "1");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail1Height", "1200");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail1JpegQuality", "60");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail1Width", "1200");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail2FitMode", "1");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail2Height", "120");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail2JpegQuality", "60");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("UploadThumbnail2Width", "120");

ctl00_ContentPlaceHolder1_iuUploader_w.addParam("Action", ".");

ctl00_ContentPlaceHolder1_iuUploader_w.addEventListener("FullPageLoad", "ctl00_ContentPlaceHolder1_iuUploader_PreserveHttpCookies");

var ctl00_ContentPlaceHolder1_iuUploader_ip = new InstallationProgressExtender(ctl00_ContentPlaceHolder1_iuUploader_w);

ctl00_ContentPlaceHolder1_iuUploader_ip.setProgressCssClass("ScreenStyle");

ctl00_ContentPlaceHolder1_iuUploader_ip.setInstructionsCssClass("ScreenStyle");

ctl00_ContentPlaceHolder1_iuUploader_ip.setProgressImageUrl("/Hedmarktoppen web files/WebResource.axd?d=WpcdMMZI6KZhuSKZ7CJuJxbzs1nkpfABn0CV5yFCRvePlMUTNbEKjHvoY6P8LxNwoz28cs6JoD55DMqWcIrKh2xASAfP633qZ7Jiut6V5bI1&t=633888709160000000");

window.ctl00_ContentPlaceHolder1_iuUploader_w = ctl00_ContentPlaceHolder1_iuUploader_w;

var wrapper = document.getElementById("ctl00_ContentPlaceHolder1_iuUploader_aspnetcontrol_wrapper")

wrapper.innerHTML=ctl00_ContentPlaceHolder1_iuUploader_w.getHtml();

//]]>

</script>

_________________________________

From there I find the URL to the jar file which is encoded and is added as a webresource. This doesn't work and the applet cannot fire the uploader class as the error on the top describes.

What do I have to do to make this work?

Best regards,

Christer V. Aas

Tamila  
#7 Posted : Wednesday, September 30, 2009 6:04:49 PM(UTC)
Tamila

Rank: Advanced Member

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

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

I looked through your code and found that you use the following folder /Hedmarktoppen web files. This folder name has spaces, try to replace it by "_" or "%20".

If it does not help, please post the case.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Guest
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.