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

Notification

Icon
Error

Options
Go to last post Go to first unread
var int  
#1 Posted : Friday, May 27, 2011 11:33:12 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

I'm not sure what to do. I have the demo of the file downloader, it was just our first time trying it out at the office. We want to know if it will work for a client that's requesting this sort of functionality.

1. I unpacked the zip.
2. placed all the files inside of scripts in a local web server folder.
3. made an index.html and pasted the inline javascript suggested

What I get back is..

1. Chrome asks if I want to run java, i say "allow this time"
2. Java asks if it's okay for the applet to access my computer. I say yes.
3. a few seconds later the box reads "Error. Click for details"

So naturally, I click on the text, but nothing happens. Then it turns grey with the java logo like it wants to load something, but can't.

Also, in Chrome's inspector console, I'm getting the following:
GET com.aurigma.filedownloader.FileDownloader.class http://lab/file_downloader/com.aurigma.filedownloader.FileDownloader.class 404 (Not Found)

If I can't get it to work in this most basic way, then we might consider looking in to other options. So far, I'm not impressed, but I'd be delighted to be corrected. Am I missing something?


Code:
<html>
<head>
<script type="text/javascript" src="iuembed.js"></script>
</head>

<body>

<script type="text/javascript">
// Create an instance of FileDownloaderWriter
var fd = new FileDownloaderWriter("FileDownloader", 200, 44);

// A path to the CAB file (including the file name)
fd.activeXControlCodeBase = "FileDownloader7.cab";
// A path to the x64 CAB file (including the file name)
fd.activeXControlCodeBase64 = "FileDownloader7_x64.cab";
// Version of the CAB file
fd.activeXControlVersion = "7,0,10,0";

// A path to the JAR file
fd.javaAppletCodeBase = "./";
// A file name of the JAR file
fd.javaAppletJarFileName = "FileDownloader7.jar";
// Version of the JAR file
fd.javaAppletVersion = "7.0.10.0";

// ... Initialize parameters as described in the 'Configuring File Downloader'
// section below ...

// As soon as you call this method, all necessary HTML code is inserted into
// the page at 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). 
fd.writeHtml();
</script>

</body>
</html>

var int attached the following image(s):
Picture 4.png
Dmitry.Obukhov  
#2 Posted : Monday, May 30, 2011 1:07:40 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:
http://lab/file_downloader/com.aurigma.filedownloader.FileDownloader.class 404 (Not Found)

It means that FileDownloader7.jar file could not be found. Please check whether you specify url to this file correctly:
Code:

// A path to the JAR file
fd.javaAppletCodeBase = "./";

Then please check whether JAR file is located there. If not, please place it there. According to the code above, this file should be put in the folder next index.html file.

Also, check the same for FileDownloader7.cab and FileDownloader7_x64.cab files.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
var int  
#3 Posted : Tuesday, May 31, 2011 7:22:57 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

I started from scratch. This time I dropped the whole file downloader directory in to my local testing environment. I'm getting the idea that the demo refuses to work unless my local host address is explicitly "localhost"? Brick wall

This time it's not a configuration of my own design. This is one of the demos that comes with the package, showing the same error.

So, I have looked through the page about the domain address rules as they apply to using the demo, or a registered version. In the demo, they ask that you use "localhost", and in a registered version, you register basically anything except that. My thinking has me believing that because I called my test environment "lab" that the demo isn't allowing me to use it?

I'm going to test that theory. Other theories are welcome.

Edited by user Tuesday, May 31, 2011 8:14:27 AM(UTC)  | Reason: Not specified

var int attached the following image(s):
Picture 2.png
var int  
#4 Posted : Tuesday, May 31, 2011 9:05:20 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

No.. That didn't seem to help in the slightest.
var int attached the following image(s):
Picture 7.png
Dmitry.Obukhov  
#5 Posted : Wednesday, June 1, 2011 1:36:51 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,

Please open Java Preferences, and set “Run application” to “In their own process”. Also, please clear Java cache: Java Preferences -> Network tab -> Delete files…

Once you open page with File Downloader, you should get pop up window. You need to click “Ok” button to run File Downloader applet.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
var int  
#6 Posted : Wednesday, June 1, 2011 6:44:48 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

I have now tried that too with the same result. I am going to try it on a different server entirely.
var int  
#7 Posted : Wednesday, June 1, 2011 10:08:55 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

The plot thickens. I wish I had known about this java preferences panel sooner. Now I have the console turned on and can see what's going on. There's definitely a real error.

Code:

Java Plug-in 1.6.0_24
Using JRE version 1.5.0_28-b04-382-9M3326 Java HotSpot(TM) Client VM
User home directory = /Users/x

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

java.lang.UnsupportedClassVersionError: Bad version number in .class file
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:592)
	at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Plugin2ClassLoader.java:1014)
	at sun.plugin2.applet.Plugin2ClassLoader.access$100(Plugin2ClassLoader.java:69)
	at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:991)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:955)
	at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
	at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:675)
	at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
	at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
	at java.lang.Thread.run(Thread.java:655)
Exception: java.lang.UnsupportedClassVersionError: Bad version number in .class file



In future postings, I'll lay out the less verbose readouts. But I never skimp out on the first one. Is it my java version? That can't be right because the demo here:

http://demo.aurigma.com/...7/BasicDemo/Default.aspx

...wait. what? it doesn't work. It works on my boss's machine with snow leopard. I have OS 10.5.8.

After going to java.com, i've hit another wall. because...

http://www.java.com/en/d...ple_manual.jsp?locale=en

... my java is as up to date as my mac has allowed.

I'm going to go switch Java back to its original factory settings and expect that most any other user that comes to our site (also probably with factory defaults) could potentially run in to the same problem. Is there a better solution?

Edited by user Wednesday, June 1, 2011 10:19:53 AM(UTC)  | Reason: Not specified

Dmitry.Obukhov  
#8 Posted : Thursday, June 2, 2011 12:46:59 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)
Thanks for your Java console output. Unfortunately, I do not have possibility to replicate it in our testing lab since we have Macs with Snow Leopard (Mac OS 10.6.7) only.

Also, we have no got any similar complaints before. Could you please try to update your Mac OS to Snow Leopard and test File Downloader demo site again? Please keep me informed about your results.

Edited by user Thursday, June 2, 2011 12:47:34 AM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
var int  
#9 Posted : Thursday, June 2, 2011 12:32:04 PM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

I found someone else who has Leopard (not that hard to do), gave him instructions to try the demo and to use a page to tell me what version of java he has. He's running 10.5.8 just like me, and this is what he mailed me back:

"I went to the site and it prompted me to run java. I clicked allow and it gave me a white box with a red x in it below the selector.
my version of java is Java Version: 1.5.0_22 from Apple Inc."

He also attached this photo.
var int attached the following image(s):
Picture9.png
Dmitry.Obukhov  
#10 Posted : Thursday, June 2, 2011 11:45:37 PM(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

I looked through your Java console once again. Your Mac uses JRE (Java machine) 1.5:
Code:
 Using JRE version 1.5.0_28-b04-382-9M3326 Java HotSpot(TM) Client VM

However, File Downloader was implemented for JRE 1.6 as most of our clients use this Java machine release.

Your Mac OS allows you to install 1.5 version of Java machine only. In this case, you should update your version of Mac OS to 10.6.X, and make upgrade of Java to version 1.6.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
var int  
#11 Posted : Friday, June 3, 2011 6:30:53 AM(UTC)
var int

Rank: Newbie

Groups: Member
Joined: 5/27/2011(UTC)
Posts: 7

You're missing the point entirely. d'oh!

We were planning on deploying File Downloader on a site that is used by thousands of college professors every day. Lots of professionals in the education field don't bother to update their operating systems, so we can't trust that this is a good solution. I can't tell people who come to the site to upgrade their operating system. I just can't. You have to consider that some people who do research start projects on machines with 10.5, work on those projects for years, and get afraid to change anything about the computer -- especially the OS -- so that they don't risk damaging their data.

I'm fully aware that I'm running Java 1.5, and that File Downloader was written in 1.6. I'm suggesting Aurigma rewrites File Downloader for 1.5, or even 1.4, or 1.3. You can't assume people will have the newest version of java installed. You just can't. That's arrogant development.

We've already decided not to purchase the software. I've done my part in finding this flaw. I think it would be a good idea to go back to your team of developers and suggest they rethink these accessibility aspects.
Dmitry.Obukhov  
#12 Posted : Sunday, June 5, 2011 11:17:12 PM(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,

Thank you for your detailed explanation.

I discussed this problem with our developers again. They are working on resolution now. File Downloader, which supports Java 1.5.x will be prepared during this week. I assume in two business days.

I will leave this forum post open, and let you know about results soon.

Edited by user Sunday, June 5, 2011 11:18:10 PM(UTC)  | Reason: Not specified

Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Dmitry.Obukhov  
#13 Posted : Thursday, June 9, 2011 4:42:26 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,

Our developer has fixed File Downloader. We are planning to release new File Downloader update, which supports Java 1.5.x during next week. I keep you informed. Sorry for the inconvenience.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Dmitry.Obukhov  
#14 Posted : Monday, June 13, 2011 10:56:04 PM(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,

File Downloader 7.0.2 which support JRE 1.5.x has been released. It is available to download from our website. Please download, and try it out.

If you have any additional questions or problems, please feel free to let me know.
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.