4 Replies Latest reply on Mar 15, 2006 2:32 AM by Scott McNab

    Mail service doesn't work in JBoss 4.0.4RC1

    Jan Bares Newbie

      Hi,

      mail service works in 4.0.3sp1 but doesn't work in 4.0.4RC1. The log is strange:

      [org.jboss.system.ServiceCreator] Created bean: jboss:service=Mail
      [org.jboss.system.ServiceConfigurator] JNDIName set to java:/Mail in jboss:service=Mail

      ...

      In EJB stateless bean ctx.lookup("java:/Mail") returns null

      ...
      (shutdown)
      [org.jboss.deployment.SARDeployer] stopping mbean jboss:service=Mail
      [org.jboss.system.ServiceController] stopping service: jboss:service=Mail
      [org.jboss.system.ServiceController] stopping dependent services for: jboss:service=Mail dependent services are: []
      [org.jboss.mail.MailService] Stopping jboss:service=Mail
      [org.jboss.mail.MailService] Mail service 'java:/Mail' removed from JNDI
      [org.jboss.mail.MailService] Stopped jboss:service=Mail
      [org.jboss.deployment.SARDeployer] destroying mbean jboss:service=Mail
      [org.jboss.system.ServiceController] destroying service: jboss:service=Mail
      [org.jboss.system.ServiceController] destroying dependent services for: jboss:service=Mail dependent services are: []
      [org.jboss.mail.MailService] Destroying jboss:service=Mail
      [org.jboss.mail.MailService] Destroyed jboss:service=Mail
      [org.jboss.deployment.SARDeployer] removing mbean jboss:service=Mail
      [org.jboss.system.ServiceController] removing service: jboss:service=Mail
      [org.jboss.system.ServiceController] removing jboss:service=Mail from server
      [org.jboss.system.ServiceController] Ignoring request to remove nonexistent service: jboss:service=Mail

      Any idea what is wrong?

      Thanks Jan