[jboss-user] [JBoss Seam] - Re: Mail example error used Seam2.0.0GA and JBoss AS 4.2.2GA
Try a clean install of JBoss AS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4121763#4121763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4121763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MAIL thanks to templating language
Chloe wrote : I want to send the message bellow but a can't use #{mb.firstName} #{mb.lastName} in m:from tag This should work just fine. Post the actual template you are using. anonymous wrote : I have an other question on this subject ! Is it possible to hide email addresses !? Because each email of the mailSetcollection is display in an email ! Don't understand the question - perhaps you want to use a bcc? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4108414#4108414 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4108414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: mail unsupported
Did any1 tried it? Is there any chance that Seam2 + Icefaces1.6.1 will allow to use Seam emailing capabilities? Cheers, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4099663#4099663 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4099663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail Internationalization
This works for me View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4083832#4083832 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4083832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail Internationalization
Just a precision, Quartz send the mails. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082522#4082522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Morning Pete, Thanks for your reply. anonymous wrote : Firstly, your problem deploying the mail example. I can't reproduce this using current CVS and a clean install of JBoss AS 4.2.1.GA. Is this your setup? My setup is JBossAS 4.2.0.GA upgraded to Hibernate 3.2.5.GA and JBossWS 2.0.GA. I rolled back to a pre-Hibernate snapshot and the mail component works. I reapplied the Hibernate upgrade and I get the issue. http://jira.jboss.com/jira/browse/JBSEAM-1830 Surprisingly, Hibernate 3.2.4.SP1 also errors despite working for you in JBossAS 4.2.1.GA. Maybe there is something iffy about the way I upgraded Hibernate (detailed in the JIRA). anonymous wrote : Please raise a JIRA issue as I'm going to need to talk to the JBoss AS guys about how they package mail-ra now. Done: http://jira.jboss.com/jira/browse/JBSEAM-1828 anonymous wrote : anonymous wrote : The doc refers the reader to http://wiki.jboss.org/wiki/Wiki.jsp?page=InboundJavaMail for more information on mail-ra.rar. The wiki currently does not have any information on this file. | | | Do you mean the page doesn't work or isn't very clear about what to do? I just mean that the docs direct me to the link to get more info on mail-ra.rar, but the wiki makes no reference to this file. anonymous wrote : Please raise a JIRA issue re seam-gen not adding in those files to the eclipse .classpath. Done: http://jira.jboss.com/jira/browse/JBSEAM-1829 anonymous wrote : IIRC this is a limitation of EJB3. You need to inject an SFSB/SLSB into the MDB (or Seam component) and do your persistence work in them. I was panicking over nothing - my first reaction on reading the docs what that persistence would not be usable at all during a MDB callback, including in a SxSB. SxSBs will do the job nicely. I really should know better, however could you add some clarification to the doc? anonymous wrote : Specific information on mail-ra should be on the wiki not in the Seam manual (as its not part of the Seam project at the moment, but part of the JBoss AS project). So please add/edit that wiki page linked above as you see fit :) Will do. This is the first time I've raised a JIRA, so if I have missed anything or not properly observed convention then please let me know and I'll go back and make any required edits. Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076128#4076128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Sigh, I'm really not having any luck with receiving e-mail. Using JBossAS 4.2.0.GA (with default Hibernate installation), I now get the following problem from Meldware. Since this is a Hibernate error, I'll try upgrading to JBoss 4.2.1.GA and see how I get on. Cheers, C. 10:37:37,633 INFO [STDOUT] DEBUG: JavaMail version 1.4ea | 10:37:37,633 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\bin\Java\jdk1.6.0_02\jre\lib\javamail.providers (The system cannot find the file specified) | 10:37:37,633 INFO [STDOUT] DEBUG: !anyLoaded | 10:37:37,633 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.providers | 10:37:37,633 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.providers | 10:37:37,633 INFO [STDOUT] DEBUG: Tables of loaded providers | 10:37:37,633 INFO [STDOUT] DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} | 10:37:37,633 INFO [STDOUT] DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]} | 10:37:37,633 INFO [STDOUT] DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map | 10:37:37,633 INFO [STDOUT] DEBUG: !anyLoaded | 10:37:37,633 INFO [STDOUT] DEBUG: not loading resource: /META-INF/javamail.address.map | 10:37:37,633 INFO [STDOUT] DEBUG: java.io.FileNotFoundException: C:\bin\Java\jdk1.6.0_02\jre\lib\javamail.address.map (The system cannot find the file specified) | 10:37:37,633 INFO [STDOUT] DEBUG: setDebug: JavaMail version 1.4ea | 10:37:37,633 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc] | 10:37:37,633 INFO [STDOUT] DEBUG POP3: connecting to host localhost, port 11011, isSSL false | 10:37:37,633 INFO [ConnectionHandler] connected: /127.0.0.1 to: /127.0.0.1 until: 1187689177633 | 10:37:37,633 INFO [STDOUT] S: +OK POP3 Server (Meldware Mail POP3 Server version 0.7) ready [EMAIL PROTECTED] | 10:37:37,633 INFO [STDOUT] C: USER myname | 10:37:37,633 WARN [CmdUSER] pop username set to myname | 10:37:37,633 INFO [STDOUT] S: +OK | 10:37:37,633 INFO [STDOUT] C: PASS mypass | 10:37:37,696 ERROR [CmdPASS] Error getting MailboxMBean: java.lang.IllegalArgumentException: org.hibernate.QueryException: illegal attempt to dereference collection [mailbox0_.id.aliases] with element property reference [name] [from org.buni.meldware.mail.mailbox.Mailbox as mbox join fetch mbox.defaultInFolder where mbox.aliases.name=:alias] | java.lang.IllegalArgumentException: org.hibernate.QueryException: illegal attempt to dereference collection [mailbox0_.id.aliases] with element property reference [name] [from org.buni.meldware.mail.mailbox.Mailbox as mbox join fetch mbox.defaultInFolder where mbox.aliases.name=:alias] | at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:616) | at org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:95) | at org.jboss.ejb3.entity.TransactionScopedEntityManager.createQuery(TransactionScopedEntityManager.java:134) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl.org$buni$meldware$mail$mailbox$MailboxServiceImpl$getMailboxByAlias$aop(MailboxServiceImpl.java:134) | at org.buni.meldware.mail.mailbox.MailboxServiceImpl$getMailboxByAlias_2156355474417312895.invokeNext(MailboxServiceImpl$getMailboxByAlias_2156355474417312895.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) | at
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
anonymous wrote : | anonymous wrote : | | The docs states that Most seam annotations will work inside a MDB but you musn't access the persistence context. - Why is this? Isn't that quite a severe limitation? Can anything be done to get around this? | IIRC this is a limitation of EJB3. You need to inject an SFSB/SLSB into the | MDB (or Seam component) and do your persistence work in them. | I haven't looked at the code but I think the reason behind it is that the entitymanager is not thread-safe. You can still inject (or do a JNDI-Lookup for) the EntityManagerFactory and use a new a new EntityManager for ervery mail processed. (For more infomation see http://weblogs.java.net/blog/ss141213/archive/2005/12/dont_use_persis_1.html) Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076180#4076180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Yes, there are problems with using Meldware for more than SMTP on JBoss AS 4.2 (its targeted at 4.0.5). There is a issue open in the Meldware bugzilla for this (Hibernate tightened up what was acceptable hql at some point), I never got around to creating a patch. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076188#4076188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
@Felix Thanks for the info, that makes perfect sense. @Pete I still get the same Hibernate issue even after upgrading to JBossAS 4.2.1.GA. Next, I shall try upgrading the Meldware component to 1.0 M8... Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076190#4076190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Pete, I think our last messages crossed in the post. Do you know about the status of this bug on the latest available release, 1.0 M8? Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076192#4076192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Okay, I just upgraded to 1.0 M8 and the issue persists. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076207#4076207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
http://buni.org/bugzilla/show_bug.cgi?id=162 http://buni.org/bugzilla/show_bug.cgi?id=163 If you seriously want to use Meldware then I would suggest grabbing the latest milestone from them and installing it yourself. The one with Seam is a little hacked to make it work nicely for examples. I've updated the wiki page, hopefully it is a little more verbose now :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076214#4076214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Pete, I have tried the 1.0 M8 release which I believe is the latest version. I just copied mail.ear and meldwarebase.sar over to my server's deploy directory (after removing _mail.ear and the file meldwarebase.sar previously deployed by Seam mail example). I get the same issue, even though the bug link (id 163) suggests a fix target of version M7. The Wiki's much more helpful now, thanks. Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076255#4076255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
I think its still open but I don't really know (eugh, I don't like bugzilla's interface). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076260#4076260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
JavaMail (and hence mail-ra.rar) should work with any standards compliant IMAP or POP3 implementation (SSL support is missing, TLS support is there). I've used it with some free POP3/IMAP accounts you can sign up for on the net. POP3 with flush=true is probably the easiest option as then it just pulls all mail from the mailbox and deletes after the MDB has run without an exception being thrown. If you have problems with the connector, post back here and I'll try to help (or post in another forum and tell me about the topic). We distribute Meldware as its good for examples/dev, not because we recommend using it in your production environment (I'm guessing most places have some email infrastructure existing). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076299#4076299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
Yes, it's a far cry from JIRA. So the long and short of it is that Meldware is not really an option on 4.2.x (for now)? Can you recommend any other servers? Have you tried receiving e-mails from, say, an Exchange account? I really need to be able to give my Seam app a prod using e-mail. Cheers, Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076287#4076287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
After reading the Seam reference for 2.0.0.b1 I think I've found some niggles (which you're probably well aware of, but I'll raise them anyway ;) I believe the deployment instructions for mail-ra.rar need revising since the file mail-ra.rar is no longer part of JBoss 4.2.x - this is implied when the doc states replacing the default rar with the one distributed with Seam. To resolve, I copied the Seam mail-ra.rar to default/deploy. Is this still correct? Or should I be removing/replacing any other mail files? The doc refers the reader to http://wiki.jboss.org/wiki/Wiki.jsp?page=InboundJavaMail for more information on mail-ra.rar. The wiki currently does not have any information on this file. To a vanilla seam-gen project, the Eclipse build path needs updating to add lib/mail.jar and lib/mail-ra.jar (note: JAR and not RAR) - it would be useful to get this from the docs rather than having to work it out. The docs states that Most seam annotations will work inside a MDB but you musn't access the persistence context. - Why is this? Isn't that quite a severe limitation? Can anything be done to get around this? Some very useful information comes to light in this thread: http://www.jboss.com/index.html?module=bbop=viewtopict=115420 Particularly later on when the OP is talking about ports. I would like to see that in the docs. Finally, the takeaway example needs tweaking before it will build from CVS: the build.xml contains an import to ../../build.xml which should be ../build.xml? Also the references to jboss-el.jar and jbpm-jpdl.jar in application.xml should be relative to lib/. After these changes the example builds but I just get a completely blank page when I run it. It would be great if this sample used the Meldware server. Cheers, Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075993#4075993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail examples broken in CVS?
lowecg2004 wrote : After reading the Seam reference for 2.0.0.b1 I think I've found some niggles (which you're probably well aware of, but I'll raise them anyway ;) Probably not ;) Firstly, your problem deploying the mail example. I can't reproduce this using current CVS and a clean install of JBoss AS 4.2.1.GA. Is this your setup? anonymous wrote : I believe the deployment instructions for mail-ra.rar need revising since the file mail-ra.rar is no longer part of JBoss 4.2.x - this is implied when the doc states replacing the default rar with the one distributed with Seam. To resolve, I copied the Seam mail-ra.rar to default/deploy. Is this still correct? Or should I be removing/replacing any other mail files? Please raise a JIRA issue as I'm going to need to talk to the JBoss AS guys about how they package mail-ra now. anonymous wrote : The doc refers the reader to http://wiki.jboss.org/wiki/Wiki.jsp?page=InboundJavaMail for more information on mail-ra.rar. The wiki currently does not have any information on this file. Do you mean the page doesn't work or isn't very clear about what to do? anonymous wrote : To a vanilla seam-gen project, the Eclipse build path needs updating to add lib/mail.jar and lib/mail-ra.jar (note: JAR and not RAR) - it would be useful to get this from the docs rather than having to work it out. Please raise a JIRA issue re seam-gen not adding in those files to the eclipse .classpath. anonymous wrote : The docs states that Most seam annotations will work inside a MDB but you musn't access the persistence context. - Why is this? Isn't that quite a severe limitation? Can anything be done to get around this? IIRC this is a limitation of EJB3. You need to inject an SFSB/SLSB into the MDB (or Seam component) and do your persistence work in them. anonymous wrote : Some very useful information comes to light in this thread: | | http://www.jboss.com/index.html?module=bbop=viewtopict=115420 | | Particularly later on when the OP is talking about ports. I would like to see that in the docs. Specific information on mail-ra should be on the wiki not in the Seam manual (as its not part of the Seam project at the moment, but part of the JBoss AS project). So please add/edit that wiki page linked above as you see fit :) anonymous wrote : Finally, the takeaway example needs tweaking before it will build from CVS: the build.xml contains an import to ../../build.xml which should be ../build.xml? Also the references to jboss-el.jar and jbpm-jpdl.jar in application.xml should be relative to lib/. After these changes the example builds but I just get a completely blank page when I run it. It would be great if this sample used the Meldware server. This example is definitely work in progress which I intend to get back to soon :p View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076042#4076042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: mail unsupported
Seam mail and icefaces have not played well together in the past. I'm happy to try to work around the problems in Seam Mail, but I need help doing so. Any fixes made will be against CVS (so Seam2) therefore I suggest upgrading and reporting bugs against Seam2 beta or CVS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4074167#4074167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4074167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi! I also tried that but that the output debug: | 11:56:22,968 INFO [MailSession] Creating JavaMail Session (out.virgilio.it:25) | 11:56:22,968 INFO [STDOUT] DEBUG: setDebug: JavaMail version 1.4ea | 11:56:22,968 INFO [MailSession] connected to mail server | btw I don't think it is a JavaMail problem...I also use JavaMail in another Java program and it works from my workstation with the same settings... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047489#4047489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi, I also have this issue. It used to work with seam 1.6, but now I always have the exception. I don't know what to do to resolve it and I cannot return back to 1.6. Patrick View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047749#4047749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Have you configured mail-service.xml in /jboss/.../deploy ? Set debug = true in mail-service.xml and you will get some more debugging logs to help you. Have you included jboss-seam-mail.jar in both war-module /lib and ejb-module /lib ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047406#4047406 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Do you have listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class in your web.xml ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046938#4046938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi, thanks for the answer! Yes I have it, I generated the project using seam-gen and I'm using JBoss AS, this is my web.xml: | ?xml version=1.0? | web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; | context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value | /context-param | context-param | param-nameorg.ajax4jsf.SKIN/param-name | param-valueblack/param-value | /context-param | !-- Facelets development mode (disable in production) -- | context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuetrue/param-value | /context-param | !-- JSF -- | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueclient/param-value | /context-param | context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.xhtml/param-value | /context-param | !-- Ajax4jsf (must come first!) -- | filter | display-nameAjax4jsf Filter/display-name | filter-nameajax4jsf/filter-name | filter-classorg.ajax4jsf.Filter/filter-class | /filter | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.web.SeamFilter/filter-class | /filter | filter-mapping | filter-nameajax4jsf/filter-name | url-pattern*.seam/url-pattern | /filter-mapping | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | !-- Seam -- | listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class | /listener | !-- MyFaces -- | listener | listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class | /listener | servlet | servlet-nameSeam Resource Servlet/servlet-name | servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class | /servlet | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet-mapping | servlet-nameSeam Resource Servlet/servlet-name | url-pattern/seam/resource/*/url-pattern | /servlet-mapping | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern*.seam/url-pattern | /servlet-mapping | security-constraint | display-nameRestrict raw XHTML Documents/display-name | web-resource-collection |web-resource-nameXHTML/web-resource-name |url-pattern*.xhtml/url-pattern | /web-resource-collection | auth-constraint |role-nameNONE/role-name | /auth-constraint | /security-constraint | login-config | auth-methodBASIC/auth-method | /login-config | /web-app | Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046944#4046944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending through Seam
anonymous wrote : | But if i call it as a seam component i.e if the class does not implement ActionHandler and i call the method, #{mail.sendmail} from a .xhtml file directly Renderer object gets assigned. | I might be wrong, but I think you need to have a component in order to inject a component. That should explain the behavior you're seeing. If you want to do it the first way you've outlined, you might try getting a handle to it using http://docs.jboss.com/seam/1.2.0.PATCH1/api/org/jboss/seam/core/Renderer.html#instance() and see if that works. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4045558#4045558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4045558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail
By default the dispatcher isn't in installed - add the entry to components.xml (you need as you are using an async method) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038844#4038844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Christian, this is on the wiki example in CVS? Can you talk me through how to reproduce this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029251#4029251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Check it out, edit build.properties with your JBoss location, start the HSQL DB as described in README.txt, call 'ant deploy' and try to register an account on http://localhost:8080/wiki View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029260#4029260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Again, the mail sending is working fine for me in the wiki example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029415#4029415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Works fine for me too (well, I get an error connecting to that host but...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029423#4029423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
Are you using a standard JBoss 4.0.5.GA install with myfaces under jsf-libs/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029436#4029436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
| m:message xmlns=http://www.w3.org/1999/xhtml; | xmlns:m=http://jboss.com/products/seam/mail; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | m:header name=X-Sent-From value=JBoss Seam / | m:from name=Wikii address=[EMAIL PROTECTED] / | m:to name=#{userHome.instance.firstname} #{userHome.instance.lastname}#{userHome.instance.email}/m:to | m:subject[Wiki] Registration Confirmation/m:subject | m:body | html | body | pHello #{userHome.instance.firstname} #{userHome.instance.lastname},/p | | p | you registered an account. You need to click the following link to confirm the validity of your e-mail address and to activate your account:/p | | h:outputLink value=#{globalPrefs.baseURL}/confirmRegistration.seam?activationCode=#{userHome.instance.activationCode}Click this link to activate the account '#{userHome.instance.username}'/h:outputLink | | /body | /html | f:facet name=alternative | h:outputText | Hello #{userHome.instance.firstname} #{userHome.instance.lastname}, | | you registered an account. You need to use the following link to confirm the validity of your e-mail address and to activate your account: | | #{globalPrefs.baseURL}/confirmRegistration.seam?activationCode=#{userHome.instance.activationCode} | | | /h:outputText | /f:facet | /m:body | /m:message | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029099#4029099 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
I dunno. I guess Pete will need to take a look. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029107#4029107 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029107 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
I just tested the wiki registration process, it all works for me, including the email. But diff seems to be broken: SEVERE: Error Rendering View[/docHistory.xhtml] | javax.faces.el.EvaluationException: Exception while invoking expression #{wikiLinkResolver.resolveWikiLink} | at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153) | at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58) | at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75) | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:106) | at org.jboss.seam.wiki.core.ui.WikiTextParser.linkTag(WikiTextParser.java:43) | at org.jboss.seam.text.SeamTextParser.link(SeamTextParser.java:1338) | at org.jboss.seam.text.SeamTextParser.plain(SeamTextParser.java:753) | at org.jboss.seam.text.SeamTextParser.line(SeamTextParser.java:684) | at org.jboss.seam.text.SeamTextParser.paragraph(SeamTextParser.java:341) | at org.jboss.seam.text.SeamTextParser.text(SeamTextParser.java:282) | at org.jboss.seam.text.SeamTextParser.startRule(SeamTextParser.java:169) | at org.jboss.seam.wiki.core.ui.UIWikiFormattedText.encodeBegin(UIWikiFormattedText.java:43) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573) | at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108) | at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:130) | at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:107) | at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:78) | at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:383) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) |
[jboss-user] [JBoss Seam] - Re: Mail rendering fails with MyFaces exception
What does your template look like? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4029086#4029086 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029086 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user