I still have the problem when executing outside the eclipse enviroment
and i don't understand why.

Here is the error:



On Sat, 2009-01-10 at 12:50 +0100, Miguel wrote:

> osgi-dev@mail.osgi.org

Exception in thread "SendMailThread" java.lang.NoClassDefFoundError:
javax/net/ssl/SSLSocket
        at
com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:324)
        at
com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:201)
        at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)
        at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
        at javax.mail.Service.connect(Service.java:310)
        at javax.mail.Service.connect(Service.java:169)
        at javax.mail.Service.connect(Service.java:118)
        at javax.mail.Transport.send0(Transport.java:188)
        at javax.mail.Transport.send(Transport.java:118)
        at com.as.email.impl.MailSender.run(MailSender.java:123)
        at java.lang.Thread.run(Thread.java:619)
Exception in thread "SendMailThread" java.lang.NoClassDefFoundError:
javax/net/ssl/SSLSocket
        at
com.sun.mail.util.SocketFetcher.configureSSLSocket(SocketFetcher.java:324)
        at
com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:201)
        at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)
        at
com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:412)
        at javax.mail.Service.connect(Service.java:310)
        at javax.mail.Service.connect(Service.java:169)
        at javax.mail.Service.connect(Service.java:118)
        at javax.mail.Transport.send0(Transport.java:188)
        at javax.mail.Transport.send(Transport.java:118)
        at com.as.email.impl.MailSender.run(MailSender.java:123)
        at java.lang.Thread.run(Thread.java:619)


and here is my email bundle:

 Exported packages
    com.as.email; version="0.0.0"[exported]
    javax.activation; version="0.0.0"[exported]
    javax.mail; version="0.0.0"[exported]
    javax.mail.internet; version="0.0.0"[exported]
  Imported packages
    javax.activation; version="0.0.0"<System Bundle [0]>
    javax.net; version="0.0.0"<System Bundle [0]>
    javax.net.ssl; version="0.0.0"<System Bundle [0]>
    org.apache.commons.logging;
version="1.0.4"<file:org.apache.commons.logging_1.0.4.v20080605-1930.jar
[6]>
    org.osgi.framework; version="1.4.0"<System Bundle [0]>
    org.osgi.service.cm;
version="1.2.0"<file:org.eclipse.osgi.services_3.1.200.v20071203.jar
[1]>
    org.osgi.service.component;
version="1.0.0"<file:org.eclipse.osgi.services_3.1.200.v20071203.jar
[1]>
    org.osgi.service.event;
version="1.1.0"<file:org.eclipse.osgi.services_3.1.200.v20071203.jar
[1]>


any ideas?
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to