0 Replies Latest reply on Oct 17, 2007 8:22 PM by Rojer Joe

    Jboss error when loading java class file

    Rojer Joe Newbie

      The file /usr/java/jdk1.5.0_12/jre/lib/javamail.providers exists. But still when starting JBOSS, seeing the following error in the log file. Also the application which is using Javamail is not able to send the emails out.

      Looking for some quick help. Thanks in advance.


      07:08:26,736 INFO [STDOUT] DEBUG: JavaMail version 1.3
      07:08:26,738 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_12/jre/lib/javamail.providers (No such file or directory)
      07:08:26,745 INFO [STDOUT] DEBUG: !anyLoaded
      07:08:26,748 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.providers
      07:08:26,775 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
      07:08:26,775 INFO [STDOUT] DEBUG: Tables of loaded providers
      07:08:26,776 INFO [STDOUT] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]}
      07:08:26,776 INFO [STDOUT] DEBUG: Providers Listed By Protocol: {imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]}
      07:08:26,777 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
      07:08:26,778 INFO [STDOUT] DEBUG: !anyLoaded
      07:08:26,780 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map
      07:08:26,780 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: /usr/java/jdk1.5.0_12/jre/lib/javamail.address.map (No such file or directory)

      07:08:26,782 INFO [MailService] Mail Service bound to java:/Mail
      07:08:27,118 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS'