We are using 2.7 and its works very well, but som customer that have a proxy can not upload through the applet. Help is appriciated

setup applet for use with proxysetup applet for use with proxyWich parameters should be setup to automatic receive proxy settings in v 2.7/2.8 ?
We are using 2.7 and its works very well, but som customer that have a proxy can not upload through the applet. Help is appriciated ![]() Re: setup applet for use with proxyProxy settings are auto-detected by JFileUpload. It is based on Java network configuration. I think you should ask custom to make sure Java network configuration is "Use browser settings". To check it: Start->Control Panel->Java->Network settings->Use browser settings.
What error does your customer get? Re: setup applet for use with proxy[INFO] MApplet - JFileUpload 2.7 Build FINAL.001
[INFO] F - Auto-detect proxy settings (ps): DIRECT [INFO] F - Auto-detect proxy settings : host = null [INFO] F - Auto-detect proxy settings : port = -1 [INFO] A - Loading regFile : license.txt [INFO] A - Registered to :admincontrol.net [INFO] H - ImagePreview loaded - 140x140 - scaling=subsample Exception in thread "Basic L&F File Loading Thread" java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2.pidlsEqual(Unknown Source) at sun.awt.shell.Win32ShellFolder2.equals(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Unknown Source) at sun.awt.shell.ShellFolder.isFileSystemRoot(Unknown Source) at javax.swing.filechooser.FileSystemView.isFileSystemRoot(Unknown Source) at javax.swing.filechooser.WindowsFileSystemView.isTraversable(Unknown Source) at javax.swing.JFileChooser.isTraversable(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source) [INFO] MApplet - JFileUpload 2.7 Build FINAL.001 [INFO] F - Auto-detect proxy settings (ps): DIRECT [INFO] F - Auto-detect proxy settings : host = null [INFO] F - Auto-detect proxy settings : port = -1 [INFO] A - Loading regFile : license.txt [INFO] A - Registered to :admincontrol.net [INFO] H - ImagePreview loaded - 140x140 - scaling=subsample Exception in thread "Basic L&F File Loading Thread" java.lang.NullPointerException at sun.awt.shell.Win32ShellFolder2.pidlsEqual(Unknown Source) at sun.awt.shell.Win32ShellFolder2.equals(Unknown Source) at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Unknown Source) at sun.awt.shell.ShellFolder.isFileSystemRoot(Unknown Source) at javax.swing.filechooser.FileSystemView.isFileSystemRoot(Unknown Source) at javax.swing.filechooser.WindowsFileSystemView.isTraversable(Unknown Source) at javax.swing.JFileChooser.isTraversable(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(Unknown Source) at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source) [INFO] HTTPUploadTransfer - Upload (POST) started : H:\Group Taxation\Abbot - list.doc [ERROR] HTTPUploadTransfer - java.net.UnknownHostException: app.admincontrol.net [INFO] HTTPUploadTransfer - Upload failed Re: setup applet for use with proxyAs you can see:
[INFO] F - Auto-detect proxy settings (ps): DIRECT [INFO] F - Auto-detect proxy settings : host = null [INFO] F - Auto-detect proxy settings : port = -1 Proxy is not detected. Did you ask customer to check network settings in Java control panel? Re: setup applet for use with proxyThis is mailcorrenspondanse between customer and support. The text is in norwegian/danish,so you may dont understand much off it, but i have attached a couple of screensdumps from user. And you may see something in the log ?
Fra: ,,,,,,,,,,,, Sendt: 17. februar 2011 11:35 Til: ,,,,,,,,,,,,, Emne: VS: Upload - proxy Vedlegg: 07EA336AAF924F478F75BF235AE82404.ashx ,,, phone: ,,,,,,,, e-mail: a,,,, web: http://www.admincontrol.no adress: Dronningens gate 3 - N-0151 Oslo ------------------------------------------------------- Admincontrol AS - simplifying corporate governance Please note: This e-mail is intended for the person(s) named above only, and may contain confidential and privileged information. Please notify the sender if you have received this e-mail in error. Any unauthorised review, distribution or disclosure is strictly prohibited. E-mails are not secure. Admincontrol AS does not accept liability for any loss or damage of any nature which may result directly or indirectly from this e-mail or any file attached. Fra: ,,,,,,, Sendt: 17. februar 2011 09:47 Til: ,,,,,,,,, Emne: SV: Upload - proxy Hej ,,,,, Det virker som om, at det er helt umuligt at få Java til at benytte proxy ?? Har du nogen ideer? Log fra Java: [INFO] MApplet - JFileUpload 2.7 Build FINAL.001 [INFO] F - Auto-detect proxy settings (ps): DIRECT [INFO] F - Auto-detect proxy settings : host = null [INFO] F - Auto-detect proxy settings : port = -1 [INFO] A - Loading regFile : license.txt [INFO] A - Registered to :admincontrol.net [INFO] HTTPUploadTransfer - Upload (POST) started : C:\Documents and Settings\b501313\Skrivebord\Screenie002.jpg [ERROR] HTTPUploadTransfer - java.net.ConnectException: Connection refused: connect [INFO] HTTPUploadTransfer - Upload failed [INFO] HTTPUploadTransfer - Upload (POST) started : C:\Documents and Settings\b501313\Skrivebord\Screenie001.jpg [ERROR] HTTPUploadTransfer - java.net.ConnectException: Connection timed out: connect [INFO] HTTPUploadTransfer - Upload failed Java connection settings: IE connections: Wireshark (Source, Dest, protocol, info) 10.50.1.92 88.87.56.43 TCP 4694 > https [SYN] Seq=0 Win=65535 Len=0 MSS=1460 SACK_PERM=1 Transmission Control Protocol, Src Port: 4694 (4694), Dst Port: https (443), Seq: 0, Len: 0 Venlig hilsen ........... it-konsulent Tlf: ............ Mobil: ............. ............... Fra: ................... Sendt: 24. januar 2011 12:44 Til: ............. Cc: ............. Emne: SV: Upload - proxy Hei, Se pkt 4, proxy settings. Det er anbefalt å bruke ”Browser” settings her. Angående port, så bruker vi helt alminnelig https webtrafikk, port 443 på serveren, men det er samme port som selve AC systemet bruker. Deres IT avdeling kan evt se hva som går galt hvis de ser på reglene og loggene i sin proxy. Jeg mener man bør se på hvilke type data som tillates i denne. Med Vennlig Hilsen, ............ phone: +.............. e-mail: ................... web: ........... adress: Dronningens gate 3 - N-0151 Oslo ------------------------------------------------------- Admincontrol AS - simplifying corporate governance Please note: This e-mail is intended for the person(s) named above only, and may contain confidential and privileged information. Please notify the sender if you have received this e-mail in error. Any unauthorised review, distribution or disclosure is strictly prohibited. E-mails are not secure. Admincontrol AS does not accept liability for any loss or damage of any nature which may result directly or indirectly from this e-mail or any file attached. Fra: .............. Sendt: 24. januar 2011 12:21 Til: .................. Emne: Upload - proxy Hej Christian! Som aftalt en kort mail om mine spørgsmål: Vores netværkstrafik kører næsten uden undtagelse gennem en bluecoat proxy server. (Port 80)... Det er her jeg forestiller mig det går galt, men hvis jeg skal have åbnet for trafikken, er det nødvedigt at vide mere om feks. remote adresse og portnumre. M.v.h. ..... Venlig hilsen ............. it-konsulent Tlf: ............. Mobil: ................
Re: setup applet for use with proxyJava Control panel seems fine as Internet Explorer settings. However, proxy seems not auto detected in applet. Which JRE version does he use?
Also, could you try to: 1 - Fill in proxy info in Java control panel and select "Use proxy server". Close all browser windows (to make sure Java is unloaded) and try again. 2 - If it fails then try to pass proxy info in applet parameters with: <PARAM NAME="param8" VALUE="httpproxyhost"> <PARAM NAME="value8" VALUE="yourproxyhostnamehere"> <PARAM NAME="param9" VALUE="httpproxyport"> <PARAM NAME="value9" VALUE="80"> See: http://www.jfileupload.com/products/jfi ... _http.html Re: setup applet for use with proxyHi
We have found the problem. The problem was that we are changing the url to process the file after pageload (with javascript) We have now updateted the js file that loads at page load to include the correct url so now the proxy setup are auto-detected. |
Sitemap | Privacy Statement | All company and/or product names are the property of their respective owners.