The best place to ask programming/development questions, imo. UPDATE: stackoverflow is the *worst* place to *ask* questions (if your first question/comment doesn't get any up-rating/response, then u can't ask anymore questions--ridiculously unrealistic), but a great reference for finding answers.

My Music (Nickleus)

20121128

jboss seam components.xml mail-session jndi path ejb2. content "injected" into html head title tag

we were trying configure jboss seam's mail session in components.xml to use an ejb2 bean's local interface and finally found out that the jndi path was simply the local interface's full qualified package name:
<components xmlns="http://jboss.com/products/seam/components"
            xmlns:core="http://jboss.com/products/seam/core"
            xmlns:mail="http://jboss.com/products/seam/mail">
      <mail:mail-session session-jndi-name="com.myapp.x.MyBeanLocal" />
</components>


but after further configuration we settled on the following configuration:
<components xmlns="http://jboss.com/products/seam/components"
            xmlns:core="http://jboss.com/products/seam/core"
            xmlns:mail="http://jboss.com/products/seam/mail">
      <mail:mail-session host="smtp.mailserver.no" port="25" username="myUser" password="myPassword" />
</components>

No comments:

Post a Comment