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

Notification

Icon
Error

Options
Go to last post Go to first unread
Scott Davis  
#1 Posted : Sunday, July 31, 2011 5:46:09 PM(UTC)
Scott Davis

Rank: Member

Groups: Member
Joined: 2/12/2010(UTC)
Posts: 17

Hello. I am using ImageUploader 7.0.15 in an ASP.NET 4.0 project. I have been developing the application in IE. However, I deployed to my QA server and began doing some testing with IE, Firefox and Chrome.

The ActiveX version of ImageUploader works fine in IE. However, the Java version in Chrome and Firefox are both giving me the below Java error.

The application is deployed in IIS 6.0.

I have looked through many posts here on these forums trying to find a solution to this problem and although I have found others with similar issues the threads never seemed to have a solution that applied. It is my understanding that the only file I need to deploy in this configuration is the Aurigma.ImageUploader.dll file, which is deployed in the bin directory as directed.

Any help would be greatly appreciated!



Java Plug-in 1.6.0_26
Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
User home directory = C:\Users\Scott Davis

c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
o: trigger logging
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
x: clear classloader cache
0-5: set trace level to <n>



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
p.shirykalova  
#2 Posted : Sunday, July 31, 2011 9:50:30 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello Scott,

The error in java console means that java can not download ImageUploader7.jar file. By default this file should be in the Scripts folder.
1. Make sure there is ImageUploader7.jar in the Scripts folder.
2. Check that your server allows to download *.jar files.
3. Make sure you specified the right path to your ImageUploader7.jar file in javaAppletCodeBase property.

If this doesn't help please provide us with the link to your site (login/password if any) where you experience this problem.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Scott Davis  
#3 Posted : Monday, August 1, 2011 2:38:29 AM(UTC)
Scott Davis

Rank: Member

Groups: Member
Joined: 2/12/2010(UTC)
Posts: 17

Is this correct? This is an ASP.NET installation, not PHP. My understanding from the help files is that the only file I need to deploy is the dll.

The sample ASP.NET project that is installed with ImageUploader 7.0.15 does not have any .jar files anywhere or even a scripts folder.
p.shirykalova  
#4 Posted : Monday, August 1, 2011 3:01:28 AM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Hello Scott,

Sorry for my mistake.

Indeed, the problem is that ImageUploader7.jar file could not be found for some reasons, but the solution is different. We had several reports about this issue, unfortunately the reasons are undiscovered as they are different in each case.
Here is the workaround:
  1. create Scripts/ folder in the your project catalog;
  2. place ImageUploader7.jar (please find this file (for v7.0.15) attached) in the Scripts/ folder;
  3. set custom code base like in this code snippet:
    Code:
    
    <JavaControl UseCustomCodeBase = "true" CustomCodeBase = "/Scripts/ImageUploader7.jar"/>
    
  4. press ctrl+F5 buttons to reload the page with Image Uploader.
Please let me know about your results.

Edited by user Tuesday, May 15, 2012 1:09:57 AM(UTC)  | Reason: Not specified

File Attachment(s):
ImageUploader7.zip (795kb) downloaded 73 time(s).
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Scott Davis  
#5 Posted : Monday, August 1, 2011 5:52:31 AM(UTC)
Scott Davis

Rank: Member

Groups: Member
Joined: 2/12/2010(UTC)
Posts: 17

That appears to have fixed the problem.

Is this the long term solution? Are there any problems I may run into with doing it this way?

Thanks!
Scott Davis  
#6 Posted : Monday, August 1, 2011 6:07:04 AM(UTC)
Scott Davis

Rank: Member

Groups: Member
Joined: 2/12/2010(UTC)
Posts: 17

One other question on this. Both in Firefox and Chrome, the Java control is initially displayed with only one pane even though I have set PaneLayout="ThreePanes".

Is that expected behavior?
p.shirykalova  
#7 Posted : Monday, August 1, 2011 7:04:04 PM(UTC)
p.shirykalova

Rank: Advanced Member

Groups:
Joined: 7/13/2011(UTC)
Posts: 286

Thanks: 6 times
Was thanked: 31 time(s) in 31 post(s)
Quote:
the Java control is initially displayed with only one pane even though I have set PaneLayout="ThreePanes".


Please provide me with the link to your Image Uploader page so I can test it myself. If there is any login/password required to access it, please submit new support ticket and post it there.
Best regards,
Pauline Shirykalova
Aurigma Technical Support
Scott Davis  
#8 Posted : Tuesday, August 2, 2011 8:31:18 AM(UTC)
Scott Davis

Rank: Member

Groups: Member
Joined: 2/12/2010(UTC)
Posts: 17

Support ticket submitted.
skinaman322  
#9 Posted : Saturday, September 8, 2012 9:39:05 PM(UTC)
skinaman322

Rank: Newbie

Groups: Member
Joined: 11/27/2010(UTC)
Posts: 2

Hello, I'm having the same problem. My uploader works fine in IE but i'm getting the Class not found error in firefox and chrome.

My .jar file is in my scripts folder and I've tried the custom code base settings as indicated in this thread but still not working

activeXControl: {
codeBase: '@Url.Content("/Scripts/ImageUploader7.cab")'
},
javaControl: {
customCodeBase: '@Url.Content("/Scripts/ImageUploader7.jar")',
useCustomCodeBase: true
}


Please help. I've been having this problem literally for months. I was still developing my app so i simply moved on to do other work since i couldn't get this to work. I'm now planning to push this to production in 2 days but I NEED this to work first.

I'm developing using ASP.NET MVC 3 and IIS 7 in Integrated Mode.
I'm using Razor syntax so i'm not using the user control approach. instead i'm using this approach

var uploader = $au.uploader({ my-settings-here });


PLEASE HELP!
skinaman322  
#10 Posted : Sunday, September 9, 2012 9:24:08 AM(UTC)
skinaman322

Rank: Newbie

Groups: Member
Joined: 11/27/2010(UTC)
Posts: 2

I got it working... as it turns out i had to pass in the ASP.NETSession_Id cookie.. I'm still getting com.aurigma.imageuploader.imageuploader.class ClassNotFound error though. One of my issues was that after upload my session variables were null because a new session was being created when I upload. passing in the session cookie using .addcookie() solved that problem

If anyone can figure out why ASP.NET MVC is trying to Route com.aurigma.imageuploader.imageuploader.class please let me know. I have tried to add in ignoreRoute() but that doesn't work
Dmitry.Obukhov  
#11 Posted : Monday, September 10, 2012 12:05:49 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)
Hello,

Quote:
I got it working... as it turns out i had to pass in the ASP.NETSession_Id cookie.. I'm still getting com.aurigma.imageuploader.imageuploader.class ClassNotFound error though.

I cannot understand your last comment. Did you fix the problem with loading Java applet? Could you please explain it in details?
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.