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

Notification

Icon
Error

Options
Go to last post Go to first unread
whereskris  
#1 Posted : Monday, December 12, 2005 8:58:38 PM(UTC)
whereskris

Rank: Member

Groups: Member
Joined: 12/12/2005(UTC)
Posts: 3

Hi

When I try to upload multiple files, everything seems to start working correctly ie. the Sent field on the upload files dialog box counts correctly and the preview image changes to the current image being uploaded, but when it gets to the last image the following text occurs:

"waiting for response from the server"

"waiting for retry"

The image uploader then starts uploading all of the images again, most of the time when it gets to the end of the images it says “Image uploader encountered some problem. If you see this message, contact web master” and sometimes it says image complete and it works OK.

Has anyone had any similar problems ?

Help on this one would be greatly appreciated.

Thanks Kris Flanagan

Alex Makhov  
#2 Posted : Tuesday, December 13, 2005 12:05:27 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Kris,

Try to enlarge the TimeOut property value to something about 300000 (300 seconds). It looks like upload request processing is too slow to finish until default timeout (30000=30 seconds) expires.

Also try to set the ShowDebugWindow property value to true to enable the ability to view the response page from server in case of any server error. Don’t forget to set it back to false after problem solved.

Edited by user Saturday, February 23, 2008 1:15:30 AM(UTC)  | Reason: Not specified

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

whereskris  
#3 Posted : Thursday, December 15, 2005 1:50:39 PM(UTC)
whereskris

Rank: Member

Groups: Member
Joined: 12/12/2005(UTC)
Posts: 3

Thanks I have changed the iu.addParam("TimeOut", "3600000"); 1 hour and i still get the same problem except now it happerns well before it gets to the last image.

I am trying to upload 150 images which is a total of 8MB.

Here is my code can you see anything obviously wrong ?

Code:
<script language="javascript">
function ImageUploader_Progress(Status, Progress, ValueMax, Value, StatusText){
    if (Status=="COMPLETE"){
	   // When upload is finished, we are redirecting to the photovaultmaster page
	   window.location = '<cfoutput>#Application.PathToSmallworld#site.cfm?p=photovaultmaster</cfoutput>'; 
    }
} 
</script>

<script language="javascript">
var iu = new ImageUploaderWriter("ImageUploader", 770, 500);
iu.activeXControlEnabled = false;
iu.javaAppletEnabled = true;

//For ActiveX control we specify full path for CAB file
iu.activeXControlCodeBase = "./ImageUploader3.cab";
iu.activeXControlVersion = "3,5,133,0";

//For Java applet we specify only directory with JAR files
iu.javaAppletCodeBase = "./";
iu.javaAppletCached = true;
iu.javaAppletVersion = "1.1.02.0";

iu.addParam("Layout","TwoPanes");
iu.addParam("UploadThumbnail1FitMode","Fit");
iu.addParam("UploadThumbnail1Width","120");
iu.addParam("UploadThumbnail1Height","120");
iu.addParam("UploadThumbnail1JpegQuality","80");
iu.addParam("ShowDebugWindow","True");
iu.addParam("AdditionalFormName","Form1");
iu.addParam("EnableRotate","False");
iu.addParam("BackgroundColor", "Red"); 
iu.addParam("TimeOut", "3600000"); // This equals 1 hour

iu.addParam("MaxFileCount", "150");
iu.addParam("MessageMaxFileCountExceededText", "You can select not more then 150 files.");


iu.addParam("FileIsTooLargeText", "Larger then 200 kb");
iu.addParam("MessageMaxFileSizeExceededText", "You can select files not larger then 200 kb.");



iu.addParam("Action","PhotovaultAddMultiJavaUpload.cfm")

iu.addEventListener("Progress", "ImageUploader_Progress");
iu.addParam("ShowDebugWindow","True");
iu.addParam("LicenseKey", "8730-7141-8600-9416");


iu.writeHtml();
</script>

is there any way for me to get an automatic email when someone replies to this forum?

Thanks Kris

Edited by user Saturday, February 23, 2008 1:13:20 AM(UTC)  | Reason: Not specified

whereskris  
#4 Posted : Thursday, December 15, 2005 2:39:28 PM(UTC)
whereskris

Rank: Member

Groups: Member
Joined: 12/12/2005(UTC)
Posts: 3

Hi I just found this in my sun java window console it may give you some more ideas,

Code:
Java Plug-in 1.5.0_05
Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\Kris


----------------------------------------------------
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
p:   reload proxy configuration
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>
----------------------------------------------------

ImageUploader version: 1.1.02
Current document URL: http://www.moorephotography.com.au/Smallworld/site.cfm?p=PhotovaultAddMultiJava
Uploading to http://www.moorephotography.com.au/Smallworld/PhotovaultAddMultiJavaUpload.cfm
Setting HTTP params: Host=www.moorephotography.com.au
Starting upload
Abort
IOException occured
Socket closed
-----
java.net.SocketException: Socket closed
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at java.io.BufferedOutputStream.write(Unknown Source)
	at com.aurigma.imageuploader.upload.httpclient.b.sendData(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.send(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at com.aurigma.imageuploader.upload.d.a(Unknown Source)
	at com.aurigma.imageuploader.upload.d.b(Unknown Source)
	at com.aurigma.imageuploader.upload.d.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
-----
Throwing AbortedException
AbortedException catched
###Error occured###
Status=[CANCEL]
Progress=[0]
ValueMax=[0]
Value=[0]
[ErrorPage]
statusText
[EndOfErrorPage]
Uploading to http://www.moorephotography.com.au/Smallworld/PhotovaultAddMultiJavaUpload.cfm
Setting HTTP params: Host=www.moorephotography.com.au
Starting upload
IOException occured
Software caused connection abort: socket write error
-----
java.net.SocketException: Software caused connection abort: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(Unknown Source)
	at java.net.SocketOutputStream.write(Unknown Source)
	at java.io.BufferedOutputStream.write(Unknown Source)
	at com.aurigma.imageuploader.upload.httpclient.b.sendData(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.send(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Unknown Source)
	at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.writeRequest(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodBase.execute(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
	at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
	at com.aurigma.imageuploader.upload.d.a(Unknown Source)
	at com.aurigma.imageuploader.upload.d.b(Unknown Source)
	at com.aurigma.imageuploader.upload.d.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
-----
###Error occured###
Status=[ERROR]
Progress=[0]
ValueMax=[0]
Value=[0]
[ErrorPage]
null
[EndOfErrorPage]

Thanks Kris Flanagan

Edited by user Monday, December 17, 2007 7:35:33 PM(UTC)  | Reason: Not specified

Alex Makhov  
#5 Posted : Friday, December 23, 2005 1:51:40 PM(UTC)
Alex Makhov

Rank: Advanced Member

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

Hello Kris,

As I see by Java console dump the reason of the problem is still in timeout. There are two different timeouts: Image Uploader TimeOut property value and your server timeout value. So try to check your server timeout value.

Sincerely yours,

Alex Makhov

UserPostedImage Follow Aurigma on Twitter!

frankly  
#6 Posted : Tuesday, July 24, 2007 6:19:01 AM(UTC)
frankly

Rank: Member

Groups: Member
Joined: 7/24/2007(UTC)
Posts: 9

Hello Alex.

I'm having the same sort of issue. I had the image uploader working for months but recently it just stopped working and when I try to upload even one image it would initially upload the image and then get stuck with a "Waiting for retry..." response. It's not even getting to my code to process the image. This is only an issue with the Java version of the uploader. The ActiveX version still works fine. I looked into the Java console and found the following dump:

Code:
ImageUploader version: 1.1.02
Current document URL: http://xxx.xxx.com/UploadImage.aspx
Uploading to http://xxx.xxx.com/processImageUpload.aspx
Setting HTTP params: Host=xxx.xxx.com
Starting upload
Jul 24, 2007 1:52:12 PM org.apache.commons.httpclient.HttpMethodBase readResponse
INFO: Discarding unexpected response: HTTP/1.1 100 Continue
Jul 24, 2007 1:52:12 PM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Status =[302]
UploadException occured
Uploading to http://xxx.xxx.com/processImageUpload.aspx
Setting HTTP params: Host= xxx.xxx.com
Starting upload
Jul 24, 2007 2:01:15 PM org.apache.commons.httpclient.HttpMethodBase readResponse
INFO: Discarding unexpected response: HTTP/1.1 100 Continue
Jul 24, 2007 2:01:15 PM org.apache.commons.httpclient.HttpMethodDirector isRedirectNeeded
INFO: Redirect requested but followRedirects is disabled
Status =[302]
UploadException occured

I don't know what this redirect is. This is running version 1.1.02.0 of the Java uploader. I've recently upgraded to the current version of the uploader and I'm experiencing the same issue. I've tried this across different computers as well and always end up with the same result. Have you found a solution for this issue yet?

Edited by user Monday, December 17, 2007 7:36:25 PM(UTC)  | Reason: Not specified

frankly  
#7 Posted : Thursday, July 26, 2007 7:01:51 AM(UTC)
frankly

Rank: Member

Groups: Member
Joined: 7/24/2007(UTC)
Posts: 9

Actually it looks like the issue may lie within the browser. When I use the java image uploader with Firefox 2.0.0.5 I will get a "waiting for reply..." message and it would be stuck there. I've tried it with earlier versions of Firefox and it works fine. It also works fine with Opera and Safari. Does anybody know what it could be with this particular build of Firefox that would be causing the problem? Thanks.
MOZ  
#8 Posted : Saturday, July 28, 2007 9:26:47 PM(UTC)
MOZ

Rank: Member

Groups: Member
Joined: 6/15/2006(UTC)
Posts: 9

have you tried the latest Sun JAVA update.
MMOZ
Users browsing this topic
Guest
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.