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

Notification

Icon
Error

Options
Go to last post Go to first unread
kennethej3  
#1 Posted : Tuesday, July 7, 2009 10:36:32 PM(UTC)
kennethej3

Rank: Newbie

Groups: Member
Joined: 7/7/2009(UTC)
Posts: 2

I have the ImageUploader5.jar file in an ImageUploader folder right off the root of my website. I am using the code below to set the parameters for the Java version and when viewing in Firefox I get the dump shown below.

Please advise...

Code:

iu.javaAppletJarFileName = "ImageUploader5.jar";
iu.javaAppletCodeBase = "ImageUploader/";
iu.javaAppletCached = true;
iu.javaAppletVersion = "5.1.10.0";


Code:

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
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

Tamila  
#2 Posted : Wednesday, July 8, 2009 5:21:11 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:
I have the ImageUploader5.jar file in an ImageUploader folder right off the root of my website.

In this case you should write the url to ImageUploader5.jar file as follows:
Code:
iu.javaAppletCodeBase = "/ImageUploader/";

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
kennethej3  
#3 Posted : Thursday, July 9, 2009 4:13:55 AM(UTC)
kennethej3

Rank: Newbie

Groups: Member
Joined: 7/7/2009(UTC)
Posts: 2

I tried it but without any luck. What's strange is this happens on a colleague's Firefox but not via my own. Nothing appears different about our versions of Firefox. I'm wondering if the Java runtime versions could cause a difference or something. Also, the dump says something about permission denied. Perhaps there's something else other than path that is causing this.

Thoughts?
Tamila  
#4 Posted : Thursday, July 9, 2009 2:18:23 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,

Try to use the absolute URL in javaAppletCodeBase property:
Code:
iu.javaAppletCodeBase = "http://your_domain_name/ImageUploader/";

I hope it helps you.

Edited by user Thursday, July 9, 2009 2:18:57 PM(UTC)  | Reason: Not specified

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.