[jboss-user] [JBoss Seam] - Re: Seam email problem
martin.krajci
do-not-reply at jboss.com
Sun Sep 2 05:06:43 EDT 2007
I dont't think the problem is in mail-service.xml. I have changed the values there many times. The problem is that seam somehow doesn't load the configuration from components.xml and set the host, port to default values that are in MailSession.java (localhost, null).
Does enybody have idea why is this happening?
<?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:framework="http://jboss.com/products/seam/framework"
| xmlns:mail="http://jboss.com/products/seam/mail"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd
| http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-1.2.xsd
| http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-1.2.xsd">
|
| <core:init jndi-pattern="@jndiPattern@"/>
| <core:ejb installed="@embeddedEjb@"/>
| <core:dispatcher />
|
|
| <!--
| <mail:mail-session host="localhost" port="2525" username="test" password="test" />
| -->
|
| <mail:mail-session session-jndi-name="java:/CechieMailService"/>
|
| </components>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080275#4080275
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080275
More information about the jboss-user
mailing list