EasyBeans is an open source implementation by ObjectWeb of the EJB3 container specification.

Project

Developer

Wiki

About

|
If you were logged in you would be able to see more operations.
|
|
|
EasyBeans
Created: 30/Jan/08 12:08 PM
Updated: 04/Feb/08 09:58 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
EasyBeans 1.0 RC2
|
| Fix Version/s: |
EasyBeans 1.0 RC3
|
|
|
I d'like to setup only a session mail factory (no mimepart)
I add in my easybeans.xml
<mail>
<session name="javax.mail.Session" jndiName="MailSession">
<!-- Example of properties -->
<property name="mail.debug" value="true" />
</session>
</mail>
And I got an NPE, until I add mimepart factory
/**
* @return list of factories.
*/
public List<MailItf> getAllFactories() {
List<MailItf> factories = new ArrayList<MailItf>();
factories.addAll(sessionFactories);
factories.addAll(mimePartFactories);
return factories;
}
but mimePartFactories is null so I got an NPE.
Thx
|
|
Description
|
I d'like to setup only a session mail factory (no mimepart)
I add in my easybeans.xml
<mail>
<session name="javax.mail.Session" jndiName="MailSession">
<!-- Example of properties -->
<property name="mail.debug" value="true" />
</session>
</mail>
And I got an NPE, until I add mimepart factory
/**
* @return list of factories.
*/
public List<MailItf> getAllFactories() {
List<MailItf> factories = new ArrayList<MailItf>();
factories.addAll(sessionFactories);
factories.addAll(mimePartFactories);
return factories;
}
but mimePartFactories is null so I got an NPE.
Thx |
Show » |
|
Fixed in the current SVN tree