My components.xml is in ear/war/WEB-INF. The debug="true" doesn't help
because the componenet has not been read. I have changed the source of seam
MailSender.java
private String sessionJndiName = "java:/Mail";
|
| @Create
| public void create() throws NamingException
| {
| if ( getSessionJndiName()==null )
| {
| createSession();
| } else {
| session = (Session) Naming.getInitialContext().lookup( getSessionJndiName() );
| }
| }
and now the email is send.
This is quite Hack, but I have run out of correct ideas.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080457#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...