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-tp3800490p3878342.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users