0 Replies Latest reply on Dec 11, 2013 10:45 AM by Oliver Kraeft

    Problem using org.apache.commons.net.ftp.FTPClient in MDB

    Oliver Kraeft Newbie

      Hi,

       

      i have a problem using the class org.apache.commons.net.ftp.FTPClient in a message driven bean deployed on jboss 7.1.1.

      When the mdb receives a message i got the error

       

      java.lang.ClassNotFoundException: javax.net.SocketFactory from [Module "org.apache.commons.net:main"

       

      javax.net.SocketFactory is part of the jdk, so why it isn't there? If i use SocketFactory directly in the mdb, everything is fine. So i think the real problem is anywhere else.

       

      Any ideas what might be the problem?

       

      Oliver