Hi,
Java was 5.0 now changed to 1.4 the jsp runs but can't send any mail with following console messages:
08/01/09 18.55.07:109 CET 0000002b SystemOut O DEBUG: JavaMail version 1.3.1
08/01/09 18.55.07:109 CET 0000002b SystemOut O DEBUG:
java.io.FileNotFoundException: E:\ProgrammiIBM\Rational\SDP70\runtimes\base_v6\java\jre\lib\javamail.providers (Impossibile trovare il file specificato)
08/01/09 18.55.07:125 CET 0000002b SystemOut O DEBUG: !anyLoaded
08/01/09 18.55.07:125 CET 0000002b SystemOut O DEBUG: not loading resource: /META-INF/javamail.providers
08/01/09 18.55.07:125 CET 0000002b SystemOut O DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
08/01/09 18.55.07:125 CET 0000002b SystemOut O DEBUG: Tables of loaded providers
08/01/09 18.55.07:141 CET 0000002b SystemOut O DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider
http://TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc, com.sun.mail.imap.IMAPStore=javax.mail.Provider
http://STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc, com.sun.mail.pop3.POP3Store=javax.mail.Provider
http://STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc}
08/01/09 18.55.07:141 CET 0000002b SystemOut O DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider
http://STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc, pop3=javax.mail.Provider
http://STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc, smtp=javax.mail.Provider
http://TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc}
08/01/09 18.55.07:141 CET 0000002b SystemOut O DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
08/01/09 18.55.07:156 CET 0000002b SystemOut O DEBUG: !anyLoaded
08/01/09 18.55.07:156 CET 0000002b SystemOut O DEBUG: not loading resource: /META-INF/javamail.address.map
08/01/09 18.55.07:156 CET 0000002b SystemOut O DEBUG:
java.io.FileNotFoundException: E:\ProgrammiIBM\Rational\SDP70\runtimes\base_v6\java\jre\lib\javamail.address.map (Impossibile trovare il file specificato)
08/01/09 18.55.07:156 CET 0000002b SystemOut O *** In SessionFactory.getObjectInstance,
08/01/09 18.55.07:156 CET 0000002b SystemOut O The default SessionAuthenticator is based on:
08/01/09 18.55.07:156 CET 0000002b SystemOut O store_user = casemie
08/01/09 18.55.07:156 CET 0000002b SystemOut O store_pw = ****
08/01/09 18.55.07:156 CET 0000002b SystemOut O *** In SessionFactory.getObjectInstance, PasswordAuthentication is set for transport, with
08/01/09 18.55.07:156 CET 0000002b SystemOut O trans_user = casemie
08/01/09 18.55.07:156 CET 0000002b SystemOut O trans_pw = ****
08/01/09 18.55.07:156 CET 0000002b SystemOut O trans_url = smtp://
casemie@smtp.gmail.com 08/01/09 18.55.07:156 CET 0000002b SystemOut O *** In SessionFactory.getObjectInstance, parameters in the new session:
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.store.protocol="pop3"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.transport.protocol="smtp"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.pop3.user="casemie"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.smtp.host="smtp.gmail.com"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.debug="true"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.from="casemie@gmail.com"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.smtp.class="com.sun.mail.smtp.SMTPTransport"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.smtp.user="casemie"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.imap.class="com.sun.mail.imap.IMAPStore"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.pop3.host="gmail.com"
08/01/09 18.55.07:156 CET 0000002b SystemOut O mail.pop3.class="com.sun.mail.pop3.POP3Store"
08/01/09 18.55.07:172 CET 0000002b SystemOut O DEBUG: mail.smtp.class property exists and points to com.sun.mail.smtp.SMTPTransport
08/01/09 18.55.07:172 CET 0000002b SystemOut O DEBUG SMTP: useEhlo true, useAuth false
08/01/09 18.55.07:172 CET 0000002b SystemOut O DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 25
08/01/09 18.55.07:297 CET 0000002b SystemOut O 220 mx.google.com ESMTP 3sm42200fge.37
08/01/09 18.55.07:297 CET 0000002b SystemOut O DEBUG SMTP: connected to host "smtp.gmail.com", port: 25
08/01/09 18.55.07:297 CET 0000002b SystemOut O EHLO server226
08/01/09 18.55.07:359 CET 0000002b SystemOut O 250-mx.google.com at your service,
http://87.22.34.4 250-SIZE 35651584
250-8BITMIME
250-STARTTLS
250 ENHANCEDSTATUSCODES
08/01/09 18.55.07:359 CET 0000002b SystemOut O DEBUG SMTP: Found extension "SIZE", arg "35651584"
08/01/09 18.55.07:359 CET 0000002b SystemOut O DEBUG SMTP: Found extension "8BITMIME", arg ""
08/01/09 18.55.07:359 CET 0000002b SystemOut O DEBUG SMTP: Found extension "STARTTLS", arg ""
08/01/09 18.55.07:359 CET 0000002b SystemOut O DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
08/01/09 18.55.07:359 CET 0000002b SystemOut O DEBUG SMTP: use8bit false
08/01/09 18.55.07:359 CET 0000002b SystemOut O MAIL FROM:<
casemie@gmail.com>
08/01/09 18.55.07:422 CET 0000002b SystemOut O 530 5.7.0 Must issue a STARTTLS command first. 3sm42200fge.37
08/01/09 18.55.07:422 CET 0000002b SystemOut O QUIT
08/01/09 18.55.07:422 CET 0000002b jsf E com.sun.faces.context.FacesContextImpl addMessage Adding Message[sourceId=<<NONE>>,summary=Unable to send email message : Sending failed;
nested exception is:
class
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. 3sm42200fge.37
paoloc