Re: [xwiki-users] How to check that SMTP mailing is working correctly?

2009-10-23 Thread kuchumovn

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 kuchum...@gmail.com 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: vostr...@gmail.com
 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(y...@mail.com, y...@mail.com,
 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
 users@xwiki.org
 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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to check that SMTP mailing is working correctly?

2009-10-23 Thread Sergiu Dumitriu
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
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to check that SMTP mailing is working correctly?

2009-10-23 Thread kuchumovn

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=triggerwhich=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

Re: [xwiki-users] How to check that SMTP mailing is working correctly?

2009-10-23 Thread kuchumovn

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
 users@xwiki.org
 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-tp3800490p3878569.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How Plugable is Data Model?

2009-10-23 Thread Eric Domeshek
This one's for the hard-core XWiki gurus...

My group is interested in going heavily into using XWiki to manage 
(semi) structured information that will be partially shared with other 
applications (non-wikis, possibly desktop apps).  We figured since XWiki 
has an extensible object-model and accompanying persistence layer, we 
might let it be the authoritative keeper of all data in the distributed 
system.

After playing with XWiki for a couple of weeks and prototyping some 
pages/objects plus a component to package and exchange data with another 
Java application, we're starting to wonder if there couldn't be a more 
efficient way to access/distribute object data, and even to define a 
common data model across applications and wiki:

 - Regarding access/distribution:  As an example, we're prototyping a 
graphical tool that would want to get a whole graph of objects at 
start-up to build a node/link picture of some situation (where each node 
or link would also be a page/object in the wiki).  Given the existing DB 
schema, we feel like we're struggling at this point to imagine a DB 
query that would pull all relevant object data for a given graph at one 
go, and even if we could pull the data efficiently, we're not sure how 
best to package it up for transmission.

 - Regarding more efficient object class definition: We're imagining a 
system with maybe 25 classes (and growing), and it would be nice to 
define them once and have them exist both as Java POJOs (for the other 
application bits) and XWiki classes (for XWiki to generate page views).  
We've been using the Eclipse Modeling Framework (EMF) quite a bit lately 
to do that kind of thing--e.g. to define a model in a UML-ish way, and 
generate different artifacts, including Java class code.  I drag EMF 
into this because I like the idea of having one modeling point for all 
parts of the system, and because its native generated POJO object 
implementations are pretty efficient (it also provides freebie 
object-graph serialization to XML, which we've used successfully for the 
distribution issue above in other systems, and it even allows for 
dynamic runtime class definitions).

One thought we had was to create modified EMF generator templates to 
generate code that would invoke XWiki APIs to build needed XWiki object 
class structures, as well as packer/unpacker routines to convert between 
XWiki objects and EMF-POJO objects.  This approach has some challenges:  
(1) I don't know if there's an exposed XWiki API for defining object 
classes, (2) if there is, I don't know how tricky it might be to use it 
correctly, and (3) hacking the EMF generator would be a pretty daunting 
task too.

Another thought we had was to totally replace the underlying XWiki 
object model.  This approach is likely even more challenging, but could 
produce a better (more efficient) overall implementation.  We checked 
out the XWiki source from the public SVN and on first glance it appear 
com/xpn/xwiki/objects and com/xpn/xwiki/objects/classes are the packages 
to look at.  It seems like it might be possible to use EMF-POJOs as our 
data model, by either wrapping or extending them to satisfy 
ObjectInterface and ClassInterface.  If we could do that, it might also 
make sense to also replace the persistence layer (com/xpn/xwiki/store ?) 
by using EMF's ability to generate DB-persistence through Teneo and 
Hibernate (if we do our own persistence, we can perhaps set up 
schema/indexing that better supports key high-volume queries in our 
application).

So here's the question part of this question:

1- Do the overall goals of using XWiki in this kind of 
distributed/multi-application system make sense and fit within the 
envisioned envelope of what XWiki is reasonably intended to support?

2- Has anyone worked on pulling large sets of objects from the XWiki DB 
in one go, and packaging them for transmission over the wire to some 
other Java application?

3- Is there a programmatic/API way to drive XWiki to define new object 
classes, and if so, is there any documentation on how to use it?

4- Is replacing the data and/or persistence models underlying XWiki 
something that is supposed to be doable?  How hard/complicated should we 
expect it to be?  Is that the kind of thing we could get help with on 
this list?

5- Do you have any other comments or advice on how to think about this 
kind of problem?

Hope this strikes someone as interesting and worthy of comment.  Thanks 
for any guidance you can offer.

--Eric

=
Eric Domeshek Phone: 617-902-2223
AI Project Manager  Fax: 617-902-2225
Stottler Henke Associates, Inc.   EMail: domes...@stottlerhenke.com
86 Sherman St., Cambridge, MA 02140 Web: www.stottlerhenke.com
=

___
users mailing list

[xwiki-users] Error in Xwiki 2.0 when searching.

2009-10-23 Thread Mike Ruocco

When we try to search this is what we get. What am I missing?


Thanks for any help!

org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate
Velocity Macro for content [$xwiki.jsfx.use(uicomponents/search/search.js,
false)##
$xwiki.ssfx.use(uicomponents/search/search.css, true)##
## Disable the document extra data: comments, attachments, history...
#set($docextras = [])
#set ($rssmode = ($!request.xpage == 'plain'))
## ---
## Space filtering
## ---
#set($spaces = $xwiki.spaces)
#set($selectedSpace = $!request.space)
## ---
## Space macros
## ---
#macro(spaceoption $space $selectedSpace)
  option value=${space} #if($selectedSpace ==
$space)selected=selected#end$space/option
#end
#macro(spaceselect $selectedSpace $spaces)
  select name=space title=$msg.get('xe.search.bar.spaces.title')
option value= #if($selectedSpace ==
'')selected=selected#end$msg.get('xe.search.bar.spaces.all')/option
#foreach($space in $spaces)
  #if (!$blacklistedSpaces.contains($space))
#spaceoption($space $selectedSpace)
  #end
#end
  /select
#end
##
##
#set($text = $!request.getParameter('text'))
#set($utext = $util.encodeURI($text))
##
{{html}}
form action= id=searchBar
div class=centered
  input type=text name=text class=searchQuery #if($text == '')
defaultText#end #if($text == '')
value=$msg.get('xe.search.bar.query.tip') #else
value=$xwiki.getXMLEncoded(${text}) #end
title=$msg.get('xe.search.bar.query.title')/
  #spaceselect($selectedSpace $spaces)
  input type=submit class=searchButton
value=$msg.get('xe.search.bar.submit')
title=$msg.get('xe.search.bar.submit.title')/
/div
/form
{{/html}}
##
#set($space = $selectedSpace)
#set($datedlist = $util.arrayList)
#if($!text == '')
  ## No search
#else
  #set($text = $text.replaceAll(', '').replaceAll(%, \\%))
  #set($nbitems = 50)
  ## --
  ## Exclude Blacklisted spaces ($blacklistedSpaces is set in xwikivars.vm)
  ## Also exclude WebPreferences.
  ## --
  #set ($webClause = '')
  #foreach ($blacklistedSpace in $blacklistedSpaces)
#set ($webClause = ${webClause} doc.space  '$blacklistedSpace' and)
  #end
  #if(!$hasAdmin  !$isAdvancedUser)
#set ($webClause = ${webClause} doc.name'WebPreferences' and)
  #end
  ## ---
  ## Display only a given space if $request.space is defined
  ## ---
  #if($!space != '')
#set ($webClause = ${webClause} doc.space='$space' and)
  #end
  #macro(addelement $item $list)
#if($xwiki.hasAccessLevel('view', $context.user,
${context.database}:${item}))
  #set($itemdoc = $xwiki.getDocument($item))
  ## All items will be sorted by the date; since the list is obtained
from several queries, we can't order in the HQL.
  ## Prefix all item names with the date for sorting the combined
results.
  #set($sdate = $xwiki.formatDate($itemdoc.date, 'MMddHHmmss'))
  #set($sitem = ${sdate}${item})
  #if(!$list.contains($sitem))
#set($discard = $list.add($sitem))
  #end
#end
  #end
  ## ---
  ## Search in the page names
  ## ---
  #set ($sql = where $webClause upper(doc.fullName) like upper('%$!text%')
order by doc.date desc)
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in page content
  ## ---
  #set ($sql = where $webClause upper(doc.content) like upper('%$!text%')
order by doc.date desc)
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in text fields (simple String properties)
  ## ---
  #set($sql= , BaseObject as obj, StringProperty as prop where $webClause
obj.name=doc.fullName and prop.id.id = obj.id and upper(prop.value) like
upper('%$!text%'))
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
  ## ---
  ## Search in big text fields (textarea properties)
  ## ---
  #set($sql= , BaseObject as obj, LargeStringProperty as prop where
$webClause obj.name=doc.fullName and prop.id.id = obj.id and
upper(prop.value) like upper('%$!text%'))
  #foreach ($item in $xwiki.searchDocuments($sql , $nbitems, 0))
#addelement($item $datedlist)
  #end
#end
#set($list = $util.arrayList)
#foreach($item in 

[xwiki-users] Viewing User avatars across multiple virtual wikis

2009-10-23 Thread Kelly Lakas
Hi - 

 

I am using XEM 1.7.1/XE 2.0 milestone 1

 

I am managing my users and groups in one main wiki, and they have access
to one or more virtual wikis.  However, the user image/avatar does not
appear in the virtual wikis if uploaded in the main wiki.  Instead of
the default avatar image or the image that was uploaded to the main
wiki, all that is displayed is: xwiki:XWiki.klakas

 

Is there any way to have the user images work across virtual wikis?

 

Kelly

 

Kelly Lakas

Project Manager

 

next wave logistics inc.

28377 davis parkway, suite 607a

warrenville, il 60555



 

[office]  847.798.8897

[mobile]312.307.2079

[web] www.nwlinc.com http://www.nwlinc.com 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Viewing User avatars across multiple virtual wikis

2009-10-23 Thread Thomas Mortagne
On Fri, Oct 23, 2009 at 18:21, Kelly Lakas kla...@nwlinc.com wrote:
 Hi -



 I am using XEM 1.7.1/XE 2.0 milestone 1



 I am managing my users and groups in one main wiki, and they have access
 to one or more virtual wikis.  However, the user image/avatar does not
 appear in the virtual wikis if uploaded in the main wiki.  Instead of
 the default avatar image or the image that was uploaded to the main
 wiki, all that is displayed is: xwiki:XWiki.klakas



 Is there any way to have the user images work across virtual wikis?

This looks like a bug, could you create an issue in http://jira.xwiki.org ?




 Kelly



 Kelly Lakas

 Project Manager



 next wave logistics inc.

 28377 davis parkway, suite 607a

 warrenville, il 60555

 



 [office]          847.798.8897

 [mobile]        312.307.2079

 [web]     www.nwlinc.com http://www.nwlinc.com



 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xoffice XWord issue

2009-10-23 Thread Kelly Lakas
Hi - 

 

I am trying to use XWord with Office 2007 and XEM 1.7.1/XE 2.0 milestone
1.

 

I've installed Xword on my computer, I have Office 2007 sp2 installed,
and I've imported the xar with the Admin user, which has programming
rights.

 

I can only connect via Velocity Services, and when I do, the spaces do
not appear correctly.  Instead I see in the Wiki explorer: ) else
eraseCookie, {type:Keypress, disable_in_input, and other non-space
things.  

 

I cannot connect via XML-RPC at all, despite using the same
url/login/password that I use for Velocity Services.  

 

I've tried this on the master wiki and on one of the virtual wikis, and
the same issue with both

 

I've dug through the bugs, but can't seem to find anything relating to
this specific issue.  

 

Can anyone help?

 

Kelly

 

Kelly Lakas

Project Manager

 

next wave logistics inc.

28377 davis parkway, suite 607a

warrenville, il 60555



 

[office]  847.798.8897

[mobile]312.307.2079

[web] www.nwlinc.com http://www.nwlinc.com 

 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] newbie question: How change 'Welcome to your Wiki' text?

2009-10-23 Thread Mark_Marziale
Hi,

Like to change 'Welcome to your Wiki' on WebHome to something else.

Sorry, just can't see how to do it. Editing the page doesn't bring up 
anything obvious. Poked around in header.vm and other templates. Not 
seeing it.

Do I have to wade into building or modifying the skin for this sort of a 
change?

Thanks,
Mark




HCSC Company Disclaimer

The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at (312)
653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
Oklahoma; or (972)766-6900 in Texas.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] newbie question: How change 'Welcome to your Wiki' text?

2009-10-23 Thread Marius Dumitru Florea
Hi Mark,

mark_marzi...@bcbsil.com wrote:
 Hi,
 
 Like to change 'Welcome to your Wiki' on WebHome to something else.
 
 Sorry, just can't see how to do it. Editing the page doesn't bring up 
 anything obvious. Poked around in header.vm and other templates. Not 
 seeing it.

In edit mode there is a Title input above the text area. Replace the 
current text:

$msg.get(xe.home.title)

with your own title. The current title (Welcome to your Wiki) is not 
used directly because it's translated in many languages and 
$msg.get(key) retrieves the translation for the current language.

Hope this helps,
Marius

 
 Do I have to wade into building or modifying the skin for this sort of a 
 change?
 
 Thanks,
 Mark
 
 
 
 
 HCSC Company Disclaimer
 
 The information contained in this communication is confidential, private,
 proprietary, or otherwise privileged and is intended only for the use of
 the addressee.  Unauthorized use, disclosure, distribution or copying is
 strictly prohibited and may be unlawful.  If you have received this
 communication in error, please notify the sender immediately at (312)
 653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
 Oklahoma; or (972)766-6900 in Texas.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to check that SMTP mailing is working correctly?

2009-10-23 Thread kuchumovn

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
 users@xwiki.org
 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-tp3800490p3880677.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] newbie question: How change 'Welcome to your Wiki' text?

2009-10-23 Thread Mark_Marziale
Hi Marius,

Thanks very much! I did see $msg.get(xe.home.title) but I was reluctant 
to plug a literal in, I figured it would be used as a key and I couldn't 
(can't) see where the key is resolved. I guess if the literal doesn't work 
as a key, it's used raw.

Thanks again,
Mark





Marius Dumitru Florea mariusdumitru.flo...@xwiki.com 
Sent by: users-boun...@xwiki.org
10/23/2009 02:04 PM
Please respond to
XWiki Users users@xwiki.org


To
XWiki Users users@xwiki.org
cc

Subject
Re: [xwiki-users] newbie question: How change 'Welcome to your Wiki' text?






Hi Mark,

mark_marzi...@bcbsil.com wrote:
 Hi,
 
 Like to change 'Welcome to your Wiki' on WebHome to something else.
 
 Sorry, just can't see how to do it. Editing the page doesn't bring up 
 anything obvious. Poked around in header.vm and other templates. Not 
 seeing it.

In edit mode there is a Title input above the text area. Replace the 
current text:

$msg.get(xe.home.title)

with your own title. The current title (Welcome to your Wiki) is not 
used directly because it's translated in many languages and 
$msg.get(key) retrieves the translation for the current language.

Hope this helps,
Marius

 
 Do I have to wade into building or modifying the skin for this sort of a 

 change?
 
 Thanks,
 Mark
 
 
 
 
 HCSC Company Disclaimer
 
 The information contained in this communication is confidential, 
private,
 proprietary, or otherwise privileged and is intended only for the use of
 the addressee.  Unauthorized use, disclosure, distribution or copying is
 strictly prohibited and may be unlawful.  If you have received this
 communication in error, please notify the sender immediately at (312)
 653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
 Oklahoma; or (972)766-6900 in Texas.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] newbie question: How change 'Welcome to your Wiki' text?

2009-10-23 Thread Rieken, Joshua
Hi Mark,

What you call a key:

$msg.get(xe.home.title)

is actually a Velocity variable. See here:

http://velocity.apache.org/engine/devel/vtl-reference-guide.html


Good luck,
-Joshua-

 -Original Message-
 From: users-boun...@xwiki.org
 [mailto:users-boun...@xwiki.org] On Behalf Of mark_marzi...@bcbsil.com
 Sent: Friday, October 23, 2009 2:14 PM
 To: XWiki Users
 Subject: Re: [xwiki-users] newbie question: How change
 'Welcome to your Wiki' text?

 Hi Marius,

 Thanks very much! I did see $msg.get(xe.home.title) but I
 was reluctant to plug a literal in, I figured it would be
 used as a key and I couldn't
 (can't) see where the key is resolved. I guess if the literal
 doesn't work as a key, it's used raw.

 Thanks again,
 Mark





 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com Sent
 by: users-boun...@xwiki.org
 10/23/2009 02:04 PM
 Please respond to
 XWiki Users users@xwiki.org


 To
 XWiki Users users@xwiki.org
 cc

 Subject
 Re: [xwiki-users] newbie question: How change 'Welcome to
 your Wiki' text?






 Hi Mark,

 mark_marzi...@bcbsil.com wrote:
  Hi,
 
  Like to change 'Welcome to your Wiki' on WebHome to something else.
 
  Sorry, just can't see how to do it. Editing the page
 doesn't bring up
  anything obvious. Poked around in header.vm and other
 templates. Not
  seeing it.

 In edit mode there is a Title input above the text area.
 Replace the
 current text:

 $msg.get(xe.home.title)

 with your own title. The current title (Welcome to your
 Wiki) is not
 used directly because it's translated in many languages and
 $msg.get(key) retrieves the translation for the current language.

 Hope this helps,
 Marius

 
  Do I have to wade into building or modifying the skin for
 this sort of a

  change?
 
  Thanks,
  Mark
 
 
 
 
  HCSC Company Disclaimer
 
  The information contained in this communication is confidential,
 private,
  proprietary, or otherwise privileged and is intended only
 for the use of
  the addressee.  Unauthorized use, disclosure, distribution
 or copying is
  strictly prohibited and may be unlawful.  If you have received this
  communication in error, please notify the sender
 immediately at (312)
  653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
  Oklahoma; or (972)766-6900 in Texas.
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users