UPDATED - (11/19/2012) SAFARI Montage CreationStation uploads fail with a message of: There was an error when uploading your file – ‘filename’. ERROR: Upload to [servername] failed. Connection reset

KB Article ID: DW1

On this page:

SAFARI Montage Version(s)

Any

Symptoms

SAFARI Montage CreationStation utilizes Java to upload files via FTP and, due to a bug in Microsoft’s Windows Firewall, Windows Firewall may prohibit uploads when using Java 7. This only affects Windows users.

When this occurs, users will receive a response of:

There was an error when uploading your file – ‘filename’.
ERROR: Upload to [servername] failed. Connection reset
 

Cause

Windows Firewall is currently incompatible with FTP uploads when using Java 7, and Oracle has concluded through its testing that the issue is with a bug within Windows Firewall.

Users may refer to http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7077696 for details regarding this issue.

Note: This issue currently affects only Windows clients. Microsoft has a hotfix for Windows 7 users only. See Solution below.

Solution

It is imperative to check with your IT department regarding any changes to security or Windows Firewall configuration in order to use Java 7.

Windows 7 Users:

Apply the hotfix from Microsoft (http://support.microsoft.com/kb/2754804)

If you applied the Java runtime parameter, remove that parameter.

If you disabled the stateful FTP filtering, enable the filter from the command prompt, type the following syntax and hit enter:

netsh advfirewall set global StatefulFtp enable

The system will return with Ok.; you can close the command prompt window.

Windows XP and Vista users:

Continue with either of the solutions below:

1. Continue to use Java 6 until Microsoft issues an update to Windows Firewall.

2. Set the runtime parameter in Java 7 to -Djava.net.preferIPv4Stack=true. (Recommended)

Go to Start>Control Panel>Programs and click Java to open the Java Control Panel.

Select the Java tab and click the View... button.

Doubleclick in box under Runtime Parameters and type (without the quotes) "-Djava.net.preferIPv4Stack=true" and click OK. Then click OK again to close the Java Control Panel.

3. Disable stateful FTP filtering so that Windows Firewall will not block FTP traffic. From the command prompt, type the following syntax and hit enter: 

netsh advfirewall set global StatefulFtp disable

The system will return with Ok.; you can close the command prompt window.

To download Java 6, visit:

http://www.java.com/en/download/manual_v6.jsp

 

Additional Information

Java 7 is now available for OSx. However, OSx users who use Chrome will not be able to upgrade to Java 7 since Java 7 is for 64 bit browsers such as Firefox and Safari. Chrome is a 32 bit browser and users will need to remain on Java 6.