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

Notification

Icon
Error

Options
Go to last post Go to first unread
chris@pixelle  
#1 Posted : Wednesday, May 25, 2005 10:10:00 AM(UTC)
chris@pixelle

Rank: Member

Groups: Member
Joined: 5/25/2005(UTC)
Posts: 5

Hi,

I am trying to setup a java version of the imageuploader and I am having troubles running it on my webserver.

I have got the java uplaod tool working in the web browser, but when I click on the start button to upload the images, nothing happens.

If I run the file index.htm opening it with a browser on the file system it appears to work fine (I get the uploading progress bar etc), but if I try and run it via my website eg http://localhost/upload/index.htm, which is the same physical page when I click the start button, the start button becomes disabled and nothing else happens.

I have used the code exactly as the cold fusion demo in the documentation, but yet it will not run when run from the web, only when run from the file system.

Any tips/help would be much appreciated.

Thanks
Chris
Alex Makhov  
#2 Posted : Wednesday, May 25, 2005 1:18:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello Chris,

Could you please post the content of Java console. Image Uploader for Java uses Java console to output service information while you are trying to upload files.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris@pixelle  
#3 Posted : Tuesday, May 31, 2005 6:27:00 AM(UTC)
chris@pixelle

Rank: Member

Groups: Member
Joined: 5/25/2005(UTC)
Posts: 5

Hi Alex,

Thanks for the reply, I had a play on a few other computers it was something wrong with the Java on that computer, so that issue is fixed.

But now I have another issue, this time with a individual PC.

It is working fine on all others I have tested.
Starts uploading fine.
Shows demo warning, click OK to that
Java locks up, and unable to do anything more from here, have to close browser.

Attached is the code from the java console. The machine is running XP SP1.


Code:
Java(TM) Plug-in: Version 1.4.1_02
Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM

java.lang.IllegalArgumentException: null source
  at java.util.EventObject.<init>(Unknown Source)
  at java.awt.AWTEvent.<init>(Unknown Source)
  at java.awt.event.ComponentEvent.<init>(Unknown Source)
  at java.awt.event.WindowEvent.<init>(Unknown Source)
  at java.awt.event.WindowEvent.<init>(Unknown Source)
  at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
  at java.awt.Component.dispatchEventImpl(Unknown Source)
  at java.awt.Container.dispatchEventImpl(Unknown Source)
  at java.awt.Window.dispatchEventImpl(Unknown Source)
  at java.awt.Component.dispatchEvent(Unknown Source)
  at java.awt.EventQueue.dispatchEvent(Unknown Source)
  at java.awt.SequencedEvent.dispatch(Unknown Source)
  at java.awt.EventQueue.dispatchEvent(Unknown Source)
  at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  at java.awt.EventDispatchThread.run(Unknown Source)
 Uploading to http://dev.frogprints.co.nz/order/iustep1post.cfm
 IOException
 Uploading to http://dev.frogprints.co.nz/order/iustep1post.cfm

Edited by user Sunday, December 23, 2007 6:15:52 PM(UTC)  | Reason: Not specified

Alex Makhov  
#4 Posted : Tuesday, May 31, 2005 1:25:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello Chris,

Using JRE version 1.4.1_02 Java HotSpot(TM) Client VM

Image Uploader for Java must be runned on JRE ver. 1.4.2 or newer.
Try to update your JRE.

Uploading to http://dev.frogprints.co.nz/order/iustep1post.cfm
IOException


There seem to be some problems with your upload script page availability. Image Uploader tried to find the page and failed.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris@pixelle  
#5 Posted : Wednesday, June 01, 2005 10:41:00 AM(UTC)
chris@pixelle

Rank: Member

Groups: Member
Joined: 5/25/2005(UTC)
Posts: 5

Hi Alex

Seems strnage that 90% of the upload controls works with that version of java.

Are there any plans to include checking of the java versions to ensure it will work with that particular version?

Thanks
Chris.
Alex Makhov  
#6 Posted : Wednesday, June 01, 2005 7:39:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello Chris,

We advise to use JRE 1.4.2 or higher because of two reasons:
  • Some features on different platforms have been realised in this particular version. For example Live Connect which is used to fire Image Uploader events and to add custom buttons is available on Macs only beginning from this version.
  • We are developing Image Uploader for Java under this version.
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris@pixelle  
#7 Posted : Thursday, June 02, 2005 8:14:00 AM(UTC)
chris@pixelle

Rank: Member

Groups: Member
Joined: 5/25/2005(UTC)
Posts: 5

Hi Alex,

Thanks, I understand your reasons for using that version of java, but my question was.

Are you going to add any detection code to the applet to inform people of thier version of java is not fully compatable with the uploader?

Thanks
Chris
Alex Makhov  
#8 Posted : Thursday, June 02, 2005 1:36:00 PM(UTC)
Alex Makhov

Rank: Advanced Member

Groups:
Joined: 8/3/2003(UTC)
Posts: 998

Hello Chris,

Are you going to add any detection code to the applet to inform people of thier version of java is not fully compatable with the uploader?

Sure we can write such sample. Which behavior would you want to see in it?
Sincerely yours,
Alex Makhov

UserPostedImage Follow Aurigma on Twitter!
chris@pixelle  
#9 Posted : Thursday, June 02, 2005 1:45:00 PM(UTC)
chris@pixelle

Rank: Member

Groups: Member
Joined: 5/25/2005(UTC)
Posts: 5

Hi Alex

I was thinking something within the java control which if the java version is too old then provide them wiith details of how to update/links etc.

As currently it appears to work fine but when the upload happens that is when issues occur which is a little mis-leading. I think it would be better to stop them even seeing the upload control if their java version is not compatable.

Thanks
Chris.

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.