[xwiki-users] How to check that SMTP mailing is working correctly?
Hello. I'm using XWiki Enterprise 2.0. Today I'm trying to get the Watchlist notification work. I've set these settings: host: smtp.gmail.com port: 465 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true Am I right? Now I go to the Sandbox and watch the "Training Zone" page. Then I go to my Watchlist management and set e-mail notification frequency to "1" (i have no idea what does this mean, there are only these values: "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier", "Scheduler.WatchListWeeklyNotifier"). Then I log in as another user and play with the Sandbox. And then wait for the notification e-mail. But nothing is being sent to me... No errors on "mail" or "smtp" in the log either.. Am I doing something wrong? Or should I try it some other way? -- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, On Sat, Oct 10, 2009 at 7:12 PM, kuchumovn <[email protected]> wrote:
Hello. I'm using XWiki Enterprise 2.0. Today I'm trying to get the Watchlist notification work. I've set these settings:
host: smtp.gmail.com port: 465 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true
Am I right?
The simplest way to check if the SMTP configuration is working is to use the following snippet in a wiki page (xwiki/2.0): ----------------------8<---------------------- {{velocity}} $xwiki.mailsender.sendTextMessage("[email protected]", "[email protected]", "Subject", "Content") {{/velocity}} ----------------------8<----------------------
Now I go to the Sandbox and watch the "Training Zone" page. Then I go to my Watchlist management and set e-mail notification frequency to "1" (i have no idea what does this mean, there are only these values: "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier", "Scheduler.WatchListWeeklyNotifier"). Then I log in as another user and play with the Sandbox.
That's the problem, between 1.9 and 2.0 we've modified the way watchlist jobs are handled. The numbers in the list are leftovers of the way it was handled before, I'm afraid you'll have to delete some pages manually, namely: - Scheduler.WatchListJob1 - Scheduler.WatchListJob2 - Scheduler.WatchListJob3 - Scheduler.WatchListJob4 The correct values are "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier" or "Scheduler.WatchListWeeklyNotifier". We're working on improving the watchlist management UI (XE 2.1).
And then wait for the notification e-mail. But nothing is being sent to me...
No errors on "mail" or "smtp" in the log either..
JV.
Thanks! I'll try it out next weekend and write the result here. *btw, I use 2.0 RC 3, not the final 2.0 Jean-Vincent Drean-3 wrote:
Hi,
On Sat, Oct 10, 2009 at 7:12 PM, kuchumovn <[email protected]> wrote:
Hello. I'm using XWiki Enterprise 2.0. Today I'm trying to get the Watchlist notification work. I've set these settings:
host: smtp.gmail.com port: 465 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true
Am I right?
The simplest way to check if the SMTP configuration is working is to use the following snippet in a wiki page (xwiki/2.0):
----------------------8<---------------------- {{velocity}} $xwiki.mailsender.sendTextMessage("[email protected]", "[email protected]", "Subject", "Content") {{/velocity}} ----------------------8<----------------------
Now I go to the Sandbox and watch the "Training Zone" page. Then I go to my Watchlist management and set e-mail notification frequency to "1" (i have no idea what does this mean, there are only these values: "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier", "Scheduler.WatchListWeeklyNotifier"). Then I log in as another user and play with the Sandbox.
That's the problem, between 1.9 and 2.0 we've modified the way watchlist jobs are handled. The numbers in the list are leftovers of the way it was handled before, I'm afraid you'll have to delete some pages manually, namely: - Scheduler.WatchListJob1 - Scheduler.WatchListJob2 - Scheduler.WatchListJob3 - Scheduler.WatchListJob4
The correct values are "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier" or "Scheduler.WatchListWeeklyNotifier". We're working on improving the watchlist management UI (XE 2.1).
And then wait for the notification e-mail. But nothing is being sent to me...
No errors on "mail" or "smtp" in the log either..
JV. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi. The velocity mailsender code works now for host: smtp.gmail.com port: 587 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true But the watchlist notifications still aren't being sent to my mailbox... I even tried triggering the scheduler manually - still no mail in my mailbox. I also tried it on the xwiki.org site - i've added the sandbox to my watchlist: http://playground.xwiki.org/xwiki/bin/view/Sandbox/ and set hourly mail reports on the watchlist management page, and even played with the sandbox a bit, but still no e-mail in my mailbox. kuchumovn wrote:
Thanks! I'll try it out next weekend and write the result here. *btw, I use 2.0 RC 3, not the final 2.0
Jean-Vincent Drean-3 wrote:
Hi,
On Sat, Oct 10, 2009 at 7:12 PM, kuchumovn <[email protected]> wrote:
Hello. I'm using XWiki Enterprise 2.0. Today I'm trying to get the Watchlist notification work. I've set these settings:
host: smtp.gmail.com port: 465 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true
Am I right?
The simplest way to check if the SMTP configuration is working is to use the following snippet in a wiki page (xwiki/2.0):
----------------------8<---------------------- {{velocity}} $xwiki.mailsender.sendTextMessage("[email protected]", "[email protected]", "Subject", "Content") {{/velocity}} ----------------------8<----------------------
Now I go to the Sandbox and watch the "Training Zone" page. Then I go to my Watchlist management and set e-mail notification frequency to "1" (i have no idea what does this mean, there are only these values: "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier", "Scheduler.WatchListWeeklyNotifier"). Then I log in as another user and play with the Sandbox.
That's the problem, between 1.9 and 2.0 we've modified the way watchlist jobs are handled. The numbers in the list are leftovers of the way it was handled before, I'm afraid you'll have to delete some pages manually, namely: - Scheduler.WatchListJob1 - Scheduler.WatchListJob2 - Scheduler.WatchListJob3 - Scheduler.WatchListJob4
The correct values are "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier" or "Scheduler.WatchListWeeklyNotifier". We're working on improving the watchlist management UI (XE 2.1).
And then wait for the notification e-mail. But nothing is being sent to me...
No errors on "mail" or "smtp" in the log either..
JV. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi. Look what i've seen in the log - there is some exception thrown. Should i open a JIRA request for this one? [#|2009-10-23T16:00:00.000+0400|INFO|sun-appserver2.1|com.xpn.xwiki.plugin.scheduler.StatusListener|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;|Task 'xwiki:Scheduler.WatchListHourlyNotifier_0' is about to be executed|#] [#|2009-10-23T16:00:00.001+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.plugin.watchlist.WatchListPlugin|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;|Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#] [#|2009-10-23T16:00:00.002+0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;| java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#] Jean-Vincent Drean-3 wrote:
Hi,
On Sat, Oct 10, 2009 at 7:12 PM, kuchumovn <[email protected]> wrote:
Hello. I'm using XWiki Enterprise 2.0. Today I'm trying to get the Watchlist notification work. I've set these settings:
host: smtp.gmail.com port: 465 user: [email protected] password: *** javaMail props: mail.smtp.starttls.enable=true
Am I right?
The simplest way to check if the SMTP configuration is working is to use the following snippet in a wiki page (xwiki/2.0):
----------------------8<---------------------- {{velocity}} $xwiki.mailsender.sendTextMessage("[email protected]", "[email protected]", "Subject", "Content") {{/velocity}} ----------------------8<----------------------
Now I go to the Sandbox and watch the "Training Zone" page. Then I go to my Watchlist management and set e-mail notification frequency to "1" (i have no idea what does this mean, there are only these values: "0", "1", "2", "3", "4", "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier", "Scheduler.WatchListWeeklyNotifier"). Then I log in as another user and play with the Sandbox.
That's the problem, between 1.9 and 2.0 we've modified the way watchlist jobs are handled. The numbers in the list are leftovers of the way it was handled before, I'm afraid you'll have to delete some pages manually, namely: - Scheduler.WatchListJob1 - Scheduler.WatchListJob2 - Scheduler.WatchListJob3 - Scheduler.WatchListJob4
The correct values are "Scheduler.WatchListDailyNotifier", "Scheduler.WatchListHourlyNotifier" or "Scheduler.WatchListWeeklyNotifier". We're working on improving the watchlist management UI (XE 2.1).
And then wait for the notification e-mail. But nothing is being sent to me...
No errors on "mail" or "smtp" in the log either..
JV. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
On 10/23/2009 02:07 PM, kuchumovn wrote:
Hi. Look what i've seen in the log - there is some exception thrown. Should i open a JIRA request for this one?
[#|2009-10-23T16:00:00.000+0400|INFO|sun-appserver2.1|com.xpn.xwiki.plugin.scheduler.StatusListener|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;|Task 'xwiki:Scheduler.WatchListHourlyNotifier_0' is about to be executed|#]
[#|2009-10-23T16:00:00.001+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.plugin.watchlist.WatchListPlugin|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;|Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
[#|2009-10-23T16:00:00.002+0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;| java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
Did you enable the ActivityStream plugin? -- Sergiu Dumitriu http://purl.org/net/sergiu/
No, i didn't. I've just enabled it following your advice. Now it outputs a lot of similar errors to the log, if i trigger any scheduler: [#|2009-10-23T16:38:33.624+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.objects.BaseCollection|_ThreadID=17;_ThreadName=Statistics storing daemon;_RequestID=80512ece-0a44-49d0-87e4-b7b8482592b6;|Failed to get class [internal] from wiki [xwiki] java.lang.NullPointerException at com.xpn.xwiki.doc.DefaultDocumentNameFactory.getDefaultWikiName(DefaultDocumentNameFactory.java:156) at com.xpn.xwiki.doc.DefaultDocumentNameFactory.createDocumentName(DefaultDocumentNameFactory.java:112) at com.xpn.xwiki.doc.XWikiDocument.setFullName(XWikiDocument.java:3620) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1398) at com.xpn.xwiki.XWiki.getClass(XWiki.java:6039) at com.xpn.xwiki.objects.BaseCollection.getxWikiClass(BaseCollection.java:190) at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:915) at com.xpn.xwiki.stats.impl.xwiki.DocumentStatsStoreItem.store(DocumentStatsStoreItem.java:132) at com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.register(XWikiStatsStoreService.java:165) at com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.runInternal(XWikiStatsStoreService.java:117) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Thread.java:619) |#] and even more of such INFO messages: [#|2009-10-23T16:38:33.439+0400|INFO|sun-appserver2.1|org.hibernate.event.def.DefaultLoadEventListener|_ThreadID=15;_ThreadName=http://vostrets.ru/xwiki/bin/Scheduler/WebHome?do=trigger&which=Scheduler.WatchListWeeklyNotifier;|Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.xpn.xwiki.objects.classes.BaseClass#-742453071] at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:171) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:811) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiClass(XWikiHibernateStore.java:1431) at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:675) at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:288) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1359) at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1399) at com.xpn.xwiki.api.XWiki.getDocument(XWiki.java:122) at sun.reflect.GeneratedMethodAccessor156.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493) at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71) at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:366) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1639) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1639) at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212) at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191) at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156) at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1639) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94) at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579) at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263) at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214) at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265) at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106) |#] Still no email is being sent. Sergiu Dumitriu-2 wrote:
On 10/23/2009 02:07 PM, kuchumovn wrote:
Hi. Look what i've seen in the log - there is some exception thrown. Should i open a JIRA request for this one?
[#|2009-10-23T16:00:00.000+0400|INFO|sun-appserver2.1|com.xpn.xwiki.plugin.scheduler.StatusListener|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;|Task 'xwiki:Scheduler.WatchListHourlyNotifier_0' is about to be executed|#]
[#|2009-10-23T16:00:00.001+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.plugin.watchlist.WatchListPlugin|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;|Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
[#|2009-10-23T16:00:00.002+0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;| java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
Did you enable the ActivityStream plugin?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
I've just updated to XE 2.0.2, and confirm, that the errors are the same: "No row with the given identifier exists" when i visit the Scheduler space, and "NullPointerException"-s when i trigger a scheduler. Sergiu Dumitriu-2 wrote:
On 10/23/2009 02:07 PM, kuchumovn wrote:
Hi. Look what i've seen in the log - there is some exception thrown. Should i open a JIRA request for this one?
[#|2009-10-23T16:00:00.000+0400|INFO|sun-appserver2.1|com.xpn.xwiki.plugin.scheduler.StatusListener|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;|Task 'xwiki:Scheduler.WatchListHourlyNotifier_0' is about to be executed|#]
[#|2009-10-23T16:00:00.001+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.plugin.watchlist.WatchListPlugin|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;|Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
[#|2009-10-23T16:00:00.002+0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;| java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
Did you enable the ActivityStream plugin?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hey, it works! With no errors in the log! I just didn't guess to modify the page i've been watching... Thanks, the plugin trick worked for me. Sergiu Dumitriu-2 wrote:
On 10/23/2009 02:07 PM, kuchumovn wrote:
Hi. Look what i've seen in the log - there is some exception thrown. Should i open a JIRA request for this one?
[#|2009-10-23T16:00:00.000+0400|INFO|sun-appserver2.1|com.xpn.xwiki.plugin.scheduler.StatusListener|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;|Task 'xwiki:Scheduler.WatchListHourlyNotifier_0' is about to be executed|#]
[#|2009-10-23T16:00:00.001+0400|SEVERE|sun-appserver2.1|com.xpn.xwiki.plugin.watchlist.WatchListPlugin|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;|Exception while running job java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
[#|2009-10-23T16:00:00.002+0400|WARNING|sun-appserver2.1|javax.enterprise.system.stream.err|_ThreadID=27;_ThreadName=DefaultQuartzScheduler_Worker-7;_RequestID=dbc4e934-c3ac-45c8-9905-5aa702053fae;| java.lang.NullPointerException at com.xpn.xwiki.plugin.watchlist.WatchListEventMatcher.<init>(WatchListEventMatcher.java:90) at com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:239) at com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) |#]
Did you enable the ActivityStream plugin?
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/How-to-check-that-SMTP-mailing-is-working-correctly-tp3... Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (3)
-
Jean-Vincent Drean -
kuchumovn -
Sergiu Dumitriu