[Installation, Configuration & Deployment] - Jboss mail-service.xml localhost, port 25
by koriel
I change the mail-service.xml to
| <server>
|
| <!-- ==================================================================== -->
| <!-- Mail Connection Factory -->
| <!-- ==================================================================== -->
|
| <mbean code="org.jboss.mail.MailService"
| name="jboss:service=Mail">
| <attribute name="JNDIName">java:/Mail</attribute>
| <attribute name="User">some</attribute>
| <attribute name="Password">some1</attribute>
| <attribute name="Configuration">
| <!-- Test -->
| <configuration>
| <!-- Change to your mail server prototocol -->
| <property name="mail.store.protocol" value="pop3"/>
| <property name="mail.transport.protocol" value="smtp"/>
|
| <!-- Change to the user who will receive mail -->
| <property name="mail.user" value="myname(a)test.com"/>
|
| <!-- Change to the mail server -->
| <property name="mail.pop3.host" value="pop.test.com"/>
|
| <!-- Change to the SMTP gateway server -->
| <property name="mail.smtp.host" value="smtp.test.com"/>
|
| <!-- Change to the address mail will be from -->
| <property name="mail.from" value="me(a)test.com"/>
|
| <!-- Enable debugging output from the javamail classes -->
| <property name="mail.debug" value="false"/>
| </configuration>
| <depends>jboss:service=Naming</depends>
| </attribute>
| </mbean>
|
| </server>
|
but when I'm trying to send an email through seam I get the exception
| javax.mail.SendFailedException: Sending failed;
| nested exception is:
| class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;
| nested exception is:
| java.net.ConnectException: Connection refused
|
|
the pop3 and smtp server are in a different machine than the machine I'm running the app and in this machine there is no sendmail running. Is this the problem?should I run sendmail to this machine as well?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968332#3968332
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968332
19 years, 7 months
[JBoss Seam] - Error messages from application created with seam-gen
by appendix
Hi,
an application created with the seam-gen http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen script throws some errors when invoked after being deployed to the jboss server. I'm just curious if this is the desired behavior? I mean, I wouldn't care too much if these were just INFO or DEBUG messages, but they are thrown with severity ERROR.
In detail, I'm interested in the two errors:
1)
com.sun.facelets.compiler.TagLibraryConfig loadImplicit
and
2)
com.sun.facelets.tag.jsf.ComponentRule warnAttr
| WARNUNG: /WEB-INF/layout/header.xhtml @5,60 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: javax.faces.component.UINamingContainer
Can they be ignored safely?
Thanks for explaining!
Regards, Kurt
The interesting part of server.log:
| 11:44:17,242 INFO [org.jboss.deployment.EARDeployer] Started J2EE application: file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/deploy/scaffold.ear
| 11:45:02,219 INFO [org.jboss.seam.core.Pages] no pages.xml file found
| 11:45:02,686 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jboss
| -seam-ui.jar!/META-INF/seam.taglib.xml
| 11:45:02,702 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jsf-f
| acelets.jar!/META-INF/jstl-core.taglib.xml
| 11:45:02,718 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jsf-f
| acelets.jar!/META-INF/jstl-fn.taglib.xml
| 11:45:02,733 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jsf-f
| acelets.jar!/META-INF/jsf-ui.taglib.xml
| 11:45:02,749 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jsf-f
| acelets.jar!/META-INF/jsf-html.taglib.xml
| 11:45:02,764 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
| INFO: Added Library from: jar:file:/D:/Internet/Server/jboss-4.0.4.GA/server/default/tmp/deploy/tmp56227scaffold.ear-contents/scaffold-exp.war/WEB-INF/lib/jsf-f
| acelets.jar!/META-INF/jsf-core.taglib.xml
| 11:45:02,873 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.tag.jsf.ComponentRule warnAttr
| WARNUNG: /WEB-INF/layout/header.xhtml @5,60 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: javax.faces.component.UINamingContainer
| 11:45:02,935 ERROR [STDERR] 30.08.2006 11:45:02 com.sun.facelets.tag.jsf.ComponentRule warnAttr
| WARNUNG: /WEB-INF/layout/footer.xhtml @5,60 xmlns="http://www.w3.org/1999/xhtml" Property '' is not on type: javax.faces.component.UINamingContainer
| 11:45:02,935 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
| 11:45:02,935 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
| 11:45:02,935 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
| 11:45:02,935 INFO [org.apache.myfaces.config.MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968327#3968327
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3968327
19 years, 7 months