Hi,
I had a look in the logs for something else and noticed this:
2010-12-08 16:29:50,190 [Lucene Index Updater] WARN
lucene.AttachmentData - error getting content of attachment
[cat2.jpg] for document [xwiki:XWiki.LightboxMacro]
org.apache.tika.exception.TikaException: Can't read JPEG metadata
at
org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:60)
at org.apache.tika.parser.jpeg.JpegParser.parse(JpegParser.java:55)
at
org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:132)
at
org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:99)
at org.apache.tika.Tika.parseToString(Tika.java:267)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:161)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:136)
at
com.xpn.xwiki.plugin.lucene.IndexData.getFullText(IndexData.java:190)
at
com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:146)
at
com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:65)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171)
at
com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.drew.metadata.MetadataException: Tag '9' cannot be cast to
int. It is of type 'class [I'.
at com.drew.metadata.Directory.getInt(Unknown Source)
at
com.drew.metadata.exif.CasioType2MakernoteDescriptor.getImageSizeDescription(Unknown
Source)
at
com.drew.metadata.exif.CasioType2MakernoteDescriptor.getDescription(Unknown
Source)
at com.drew.metadata.Directory.getDescription(Unknown Source)
at com.drew.metadata.Tag.getDescription(Unknown Source)
at
org.apache.tika.parser.jpeg.JpegExtractor.parse(JpegExtractor.java:54)
... 15 more
something to be fixed?
cheers
Paul
Hi!
Please, what how could I set XWiki to log Lucene messages at debug
level? Thanks!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
How can I change Tomcat to use port 80 instead of 8180? I tried changing the
connector port in the xml file then restarted but with no avail..
Also is there a benefit from using Nginx to proxy into Tomcat? If so how
would one do that?
Thanks :)
- Eric
In case you guys didn't know the site is _crawling_ slow today. Almost like you guys are getting DDOS'd or something.
BTW thanks for your help Vincent.
Hi
I'd like to integrate the DisqUs javascript widget to an existing XWiki blog
section.
The site is www.parisjug.org. We deactivated the comment section
cause there's no captcha. Howerver I'd like to propose a solution
for our visitors, so one can comment easily our blogs posts.
DisqUs is an open solution that is based on a javascript widget.
Here is what I need to integrate in each page :
<div id="disqus_thread"></div>
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'parisjug';
// Question pour XWiki : ici il faut que je configure un identifier
// c'est comme un sujet de Mail. Il faudrait que je mette par exemple
// l'url de la page XWiki afin que les commentaires soient regroupes
// ensemble par article. Bref est ce que vous pouvez me mettre un ID ?
// var disqus_identifier = 'unique_dynamic_id_1234';
// var disqus_url = 'http://example.com/permalink-to-page.html';
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type =
'text/javascript'; dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a
href="http://disqus.com/?ref_noscript">comments powered by
Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">blog comments powered
by <span class="logo-disqus">Disqus</span></a>
I am a beginner at XWiki, so I don't know how to add this Javascript
section. Plus, it requires some sort of unique URL so that each comment
stream on DisqUs is attached to a page on XWiki
Does anybody tried already to integrate it with XWiki ?
Thanks for your help
Nicolas Martignole
Hi,
I'm looking to build a script that will delete all registered users from our XWiki
that did not complete the registration by replying to the email and look like SPAM registration (firstname = lastname)
The property of the object of XWiki.XWikiUsers -> active (of type boolean) is false
Now this is my first attempt to HQL and i need some help
#foreach($result in $xwiki.search("
select distinct doc.fullName,
prop.value
from XWikiDocument as doc,
BaseObject as obj,
StringProperty as prop,
BooleanProperty as acti
where obj.className='XWiki.XWikiUsers'
and obj.name=doc.fullName
and prop.id.id=obj.id
and prop.name='first_name'
and prop.value is not empty
and prop.value in (
select prop.value
from StringProperty as prop2
where prop2.id.id=obj.id
and prop2.name='last_name'
and prop2.value=prop.value)
and acti.id.id=obj.id
and acti.name='active'
and acti.value=false
"))
* $result.get(0) - $result.get(1)
#end
BooleanProperty is a wild guess of me looking at StringProperty as a example
The query should look for users where first-name = last-name and active is false
If possible I would like to check if the document creation date/time is more then 8 hours old
Gerritjan
Hello all.
I was wondering how one edits an FAQ entry after is been created? When on the FAQ.WebHome page (which contains all the FAQs I've created) how can I edit one of the existing FAQs to correct, for instance, a spelling error?
I see that you can click on Edit > Objects and choose the text of the FAQ. I would like the whole XWiki editing bar too.
Thanks!
Hello all.
1) Can we get the installer to run on 64-bit Windows?
2) Can we get the FAQ tutorial updated to reflect that
a) You need to be logged in with administrative privileges
b) What the default admin username/password are
Thanks
Hi all,
I want to change the primary space name from "Main" to "Public" to make it
clear to wiki users who is going to have access to the info in that space.
I've tried changing every mention of "Main" to "Public" in the WEB-INF
directory, restarting jetty and refreshing the webbrowser, and STILL it
redirects to "Main".
I've adjusted web.xml, portlet.xml, struts-config.xml, xwiki.cfg
is this hard-coded into XWiki?
thanks
Paul