Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

sudhakarcbe

Posts

4

Joined

Mon Dec 24, 2012 7:33 pm

Location

India

do not match signers of other classes in package

by sudhakarcbe » Mon Dec 24, 2012 9:22 pm

Dear All,

Am getting the below error while connecting FTP thru SSL/TLS mode. Can anyone please help me in this regard is much helpful.
Thanks in advance..

java.lang.SecurityException: Signers of 'com.enterprisedt.net.ftp.RecursiveOperations' do not match signers of other classes in package
at java.lang.ClassLoader.checkPackageSigners(ClassLoader.java:305)
at java.lang.ClassLoader.defineClass(ClassLoader.java:247)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:151)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:589)
at java.net.URLClassLoader.access$400(URLClassLoader.java:123)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1034)
at java.security.AccessController.doPrivileged(AccessController.java:279)
at java.net.URLClassLoader.findClass(URLClassLoader.java:491)
at java.lang.ClassLoader.loadClass(ClassLoader.java:631)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:597)
at com.enterprisedt.net.ftp.pro.ProFTPClient.<init>(ProFTPClient.java:133)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.<init>(SSLFTPClient.java:600)
at com.kgisl.kclaims.motor.commonutils.actions.FTPMultiTaskScheduler.main(FTPMultiTaskScheduler.java:60)
17:02:52,155 INFO [] Exception : java.lang.SecurityException: Signers of 'com.enterprisedt.net.ftp.RecursiveOperations' do not match signers of other classes in package
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: do not match signers of other classes in package

by support2 » Mon Dec 24, 2012 10:37 pm

Do you have two versions of the jar file in the CLASSPATH? Could you post your log file at the DEBUG level?
no avatar
User

sudhakarcbe

Posts

4

Joined

Mon Dec 24, 2012 7:33 pm

Location

India

Re: do not match signers of other classes in package

by sudhakarcbe » Mon Dec 24, 2012 10:46 pm

yes i have edtftpj-pro.jar and edtftpj.jar in my library path... need to remove any one of them???
no avatar
User

sudhakarcbe

Posts

4

Joined

Mon Dec 24, 2012 7:33 pm

Location

India

Re: do not match signers of other classes in package

by sudhakarcbe » Mon Dec 24, 2012 11:30 pm

i removed 1 jar file from my library path now am able to connect.. but, after connected to server am listing the directory as

client.dir(fileNameExtn+"*")

this get time out exception. Can you please help....

java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:391)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:252)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:239)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
at java.net.Socket.connect(Socket.java:543)
at com.enterprisedt.util.proxy.PlainSocket.createPlainSocket(PlainSocket.java:112)
at com.enterprisedt.util.proxy.StreamSocketFactory.getConnectedSocket(StreamSocketFactory.java:68)
at com.enterprisedt.net.ftp.ssl.SSLFTPControlSocket.newPassiveDataSocket(SSLFTPControlSocket.java:467)
at com.enterprisedt.net.ftp.FTPControlSocket.createDataSocketPASV(FTPControlSocket.java:878)
at com.enterprisedt.net.ftp.FTPControlSocket.a(FTPControlSocket.java:598)
at com.enterprisedt.net.ftp.FTPClient.setupDataSocket(FTPClient.java:2737)
at com.enterprisedt.net.ftp.FTPClient.a(FTPClient.java:3775)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3867)
at com.enterprisedt.net.ftp.FTPClient.dir(FTPClient.java:3757)
at com.commonutils.actions.FTPMultiTaskScheduler.main(FTPMultiTaskScheduler.java:139)
21:16:34,622 INFO [] Exception : java.net.SocketTimeoutException: connect timed out
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: do not match signers of other classes in package

by support2 » Tue Dec 25, 2012 6:26 am

You don't need edtftpj.jar in your CLASSPATH if you are using edtftpj-pro.jar.

If you can connect but have listing or transfer problems, it is most likely a firewall. Try changing to active mode or check your firewalls.
no avatar
User

sudhakarcbe

Posts

4

Joined

Mon Dec 24, 2012 7:33 pm

Location

India

RE do not match signers of other classes in package

by sudhakarcbe » Wed Dec 26, 2012 2:13 pm


Who is online

Users browsing this forum: No registered users and 0 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron