HI there... I have downloaded the RC2 version and tried on my computer using
the Jar version that comes into the wwwroot directorty. I have changed the
postURL parameter to point to an existing FTP server and when I try to upload
a file to an FTP, the java console shows me the following Java error:
Exception in thread "wjhk.jupload2.JUploadApplet"
java.lang.NoClassDefFoundError:
org/apache/commons/net/ftp/FTPConnectionClosedException
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.createUploadThread(FileUpl
oadManagerThreadImpl.java:461)
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.constructor(FileUploadMana
gerThreadImpl.java:164)
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.<init>(FileUploadManagerTh
readImpl.java:108)
at wjhk.jupload2.gui.JUploadPanelImpl.doStartUpload(JUploadPanelImpl.java:355)
at
wjhk.jupload2.gui.JUploadPanelImpl.actionPerformed(JUploadPanelImpl.java:402) </init>
The issues is that I have compiled the code in eclipse and it works flawlessly
when I copy some files and upload it to my FTP server.
Any advice about it?
Thanks,
Leo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When using an FTP URL, you need to add the jakarta-commons-oro.jar and
jakarta-commons-net.jar jar files in the applet ARCHIVE tag attribute
(Note 4, in the postURL description)
Etienne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Of course you can add the other jar file contents, in the JUpload jar file.
But nothing for this in the JUpload package. You can change the build.xml
file.
But, then, the applet jar file must be fully loaded before it is opened. If
you have several jar files, they will be loaded when needed.
An optimisation I could add, would be to have the core applet (what's needed
to start) on a jar file, and optionnal parts loaded in background just after.
Noted on my TODO list.
Etienne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HI there... I have downloaded the RC2 version and tried on my computer using
the Jar version that comes into the wwwroot directorty. I have changed the
postURL parameter to point to an existing FTP server and when I try to upload
a file to an FTP, the java console shows me the following Java error:
Exception in thread "wjhk.jupload2.JUploadApplet"
java.lang.NoClassDefFoundError:
org/apache/commons/net/ftp/FTPConnectionClosedException
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.createUploadThread(FileUpl
oadManagerThreadImpl.java:461)
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.constructor(FileUploadMana
gerThreadImpl.java:164)
at wjhk.jupload2.upload.FileUploadManagerThreadImpl.<init>(FileUploadManagerTh
readImpl.java:108)
at wjhk.jupload2.gui.JUploadPanelImpl.doStartUpload(JUploadPanelImpl.java:355)
at
wjhk.jupload2.gui.JUploadPanelImpl.actionPerformed(JUploadPanelImpl.java:402) </init>
The issues is that I have compiled the code in eclipse and it works flawlessly
when I copy some files and upload it to my FTP server.
Any advice about it?
Thanks,
Leo
Hi,
When using an FTP URL, you need to add the jakarta-commons-oro.jar and
jakarta-commons-net.jar jar files in the applet ARCHIVE tag attribute
(Note 4, in the postURL description)
Etienne
Than you very much...I appreciate it ..... Is there a way to add this jar
files into the wjhk.juplad.jar if I compile it by myself using eclipse??
Happy to help...
Of course you can add the other jar file contents, in the JUpload jar file.
But nothing for this in the JUpload package. You can change the build.xml
file.
But, then, the applet jar file must be fully loaded before it is opened. If
you have several jar files, they will be loaded when needed.
An optimisation I could add, would be to have the core applet (what's needed
to start) on a jar file, and optionnal parts loaded in background just after.
Noted on my TODO list.
Etienne