Re: Problem with MailSession on 5.2
"Hans J. Prueller" <[email protected]> Thu, 10 Feb 2011 18:25:22 +0100
| Newsgroups | gmane.comp.java.objectweb.jonas |
|---|---|
| Organization | LBS logics GmbH |
| Message-ID | <1297358722.13553.2.camel@kodos> |
Sorry, forget this mail -- issue is solved. I configured mail service and mail sessions in JONAS_ROOT/conf directy instead of JONAS_BASE/conf -- somehow I did not recognise this. Now it's working as intended! regards, HANS Am Donnerstag, den 10.02.2011, 10:36 +0100 schrieb Hans J. Prueller: > Hi all, > > unfortunately a thing that was expected to be very easy to migrate is > one of our last problems : sending mails with JOnAS 5.2 Mailservice. > > Even the mailservice is contained in the java-ee-5-earsample, we did > not succeed in getting mail to work. > > Configured mail service in jonas.properties: > > -- added "mail" to the services list > -- included MailSessionLBSIMS name in the mailsession config list (and > there is a MailSessionLBSIMS.properties file in JONAS_BASE conf) > > ---> this is similar/identical to JOnAS 4 > > > in our mail sending SLSB i tried to lookup the mailsession via JNDI > name but we get the following error: > > com.lbslogics.ims.exceptions.IMSApplicationException: You have not > configured the mail factory with the name specified in the > jonas-ejb-jar.xml file for mailSession_lbsims . By default, the > factory's name is mailSession_1 :Cannot perform lookup > at > com.lbslogics.ims.mobility.ejb.MessagingServiceBean.lookupMailsession(MessagingServiceBean.java:1556) > > > but I guess a jonas-ejb-jar.xml should not be needed for that any > more???? > > > hans >