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

Notification

Icon
Error

Options
Go to last post Go to first unread
Dmoney  
#1 Posted : Thursday, September 24, 2009 9:17:38 AM(UTC)
Dmoney

Rank: Newbie

Groups: Member
Joined: 9/24/2009(UTC)
Posts: 2

when I try installing the image uploader code the java symbol appears for a while and then is replaces with an error. the details of the error are here. and the javascript is below it. All the files are in the same directory on the server. Any suggestions?

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.net.SocketException: Permission denied: connect

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.PlainSocketImpl.doConnect(Unknown Source)

at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(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.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

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

///////////////////////////image upload code///////////////////////////

All the files are in the same directory on the server

<script language="javascript" src="iuembed.js"></script>

<script language="javascript">

var iu = new ImageUploaderWriter("ImageUploader", 650, 450);

// If you do not want to use ActiveX or Java version, set the appropriate

// property to false.

iu.activeXControlEnabled = false;

iu.javaAppletEnabled = true;

iu.addParam("LicenseKey", '72060-48D8B-00000-05AE4-57E01');

/*iu.addParam("MaxTotalFileSize", "3");

iu.addParam("UploadThumbnail1FitMode", "Fit");

iu.addParam("UploadThumbnail1Width", "120");

iu.addParam("UploadThumbnail1Height", "96");

*/

iu.activeXControlCodeBase = "ImageUploader6.cab";

iu.javaAppletCodeBase="./";

// ... initialize params as described in the next topic ...

// As soon as you call this method, all necessary HTML code is inserted

// into the page on the current position. Alternatively, you can

// get the string with appropriate HTML code using the getHtml method,

// and write it to the necessary position manually (maybe with some modifications).

iu.writeHtml();

</script>

Tamila  
#2 Posted : Friday, September 25, 2009 2:20:29 AM(UTC)
Tamila

Rank: Advanced Member

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

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

Actually, this exception appears when you pointed incorrect url to Image Uploader6.jar file. According to your description it seems right. In this case I recommend you to set the url as absolute url to ImageUploader6.jar file.

If you still have this problem please let me know.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Dmoney  
#3 Posted : Friday, September 25, 2009 6:17:04 AM(UTC)
Dmoney

Rank: Newbie

Groups: Member
Joined: 9/24/2009(UTC)
Posts: 2

adding the absolute URL does not appear to fix the problem

iu.javaAppletCodeBase="http://www.rjamesfrith.com/";

http://www.rjamesfrith.com/javaUploader.php

Tamila  
#4 Posted : Friday, September 25, 2009 8:51:20 PM(UTC)
Tamila

Rank: Advanced Member

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

Was thanked: 1 time(s) in 1 post(s)
See my answer in case.

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!

Users browsing this topic
Similar Topics
Installation problem (Discussions – Graphics Mill)
by camb 9/17/2007 7:12:53 PM(UTC)
Installation problem with java under vista (Image Uploader)
by far41 5/1/2007 11:42:16 PM(UTC)
PRB: Troubleshooting Image Uploader Installation Problem (Discussions – ActiveX/Java Uploader)
by Fedor 11/25/2004 6:00:00 AM(UTC)
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.