[xwiki-users] Data too long for column 'XWV_IP'

2011-09-14 Thread jerem
Hi all,

After migrating my XE from 2.x to 3.1, I get a bunch of these errors in my
logs : [Statistics storing daemon] ERROR o.h.u.JDBCExceptionReporter-
Data truncation: Data too long for column 'XWV_IP' at row 1

I suppose it's a change in the statistics related tables ...

What should I do to remove these errors ?

Full stack trace :

2011-09-14 16:11:50,551 [Statistics storing daemon] ERROR
o.h.u.JDBCExceptionReporter- Data truncation: Data too long for column
'XWV_IP' at row 1
2011-09-14 16:11:50,551 [Statistics storing daemon] ERROR
.AbstractFlushingEventListener - Could not synchronize database state with
session
org.hibernate.exception.DataException: Could not execute JDBC batch update
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:77)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:253)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:266)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:167)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:871)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:842)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiCollection(XWikiHibernateStore.java:1054)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.VisitStatsStoreItem.storeInternal(VisitStatsStoreItem.java:112)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.AbstractStatsStoreItem.store(AbstractStatsStoreItem.java:99)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.register(XWikiStatsStoreService.java:167)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.stats.impl.xwiki.XWikiStatsStoreService.runInternal(XWikiStatsStoreService.java:119)
[xwiki-platform-oldcore-3.1.jar:na]
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99)
[xwiki-platform-oldcore-3.1.jar:na]
at java.lang.Thread.run(Thread.java:619) [na:1.6.0_11]
Caused by: java.sql.BatchUpdateException: Data truncation: Data too long for
column 'XWV_IP' at row 1
at
com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2007)
~[mysql-connector-java-5.1.10-bin.jar:na]
at
com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1443)
~[mysql-connector-java-5.1.10-bin.jar:na]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:297)
~[commons-dbcp-1.3.jar:1.3]
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:246)
~[hibernate-3.2.6.ga.jar:3.2.6.ga]
... 16 common frames omitted


Thanks !
Jeremie.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Data-too-long-for-column-XWV-IP-tp6792700p6792700.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] Template for Blog

2011-09-14 Thread Arnaud bourree
Hello,

Does someone made Template for Blog?
I'm surprise that is not part of XWiki 3.1

Regards,

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


[xwiki-users] Tag/baseline for wiki or space

2011-09-14 Thread Crowd Covered
Hi xwiki people,

Is there a possibility to have something like tags or baselines for complete
wiki or particular space? What I mean is possibility to use the power of
navigation between pages as usual with condition that all pages revision in
this mode would belong to this tag or just have modification date not
later than specified.

I have noticed SVN Integration (make it possible to store and edit wiki
pages in SVN) in Survey on XWiki Features (
http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures), but this
topic looks obsolete as last modification was done in January 2010.

Background is that my team currently uses xwiki for requirements management
on a software project and it is vital to have baselines. Alternatively
export to PDF/RTF could be used, but firstly it refuses to handle some of
pages as is (we've created several classes with customized sheets), and
secondly it would require intensive tailoring of output to get nice laconic
document (exclude pages that are not relevant, make headers correct
relevantly to hierarchy, etc.)

Greetz,
Andrey Stoliarov
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Tag/baseline for wiki or space

2011-09-14 Thread Vincent Massol
Hi Andrey,

On Sep 14, 2011, at 10:09 PM, Crowd Covered wrote:

 Hi xwiki people,
 
 Is there a possibility to have something like tags or baselines for complete
 wiki or particular space? What I mean is possibility to use the power of
 navigation between pages as usual with condition that all pages revision in
 this mode would belong to this tag or just have modification date not
 later than specified.
 
 I have noticed SVN Integration (make it possible to store and edit wiki
 pages in SVN) in Survey on XWiki Features (
 http://www.xwiki.org/xwiki/bin/view/Main/SurveyXWikiFeatures), but this
 topic looks obsolete as last modification was done in January 2010.
 
 Background is that my team currently uses xwiki for requirements management
 on a software project and it is vital to have baselines. Alternatively
 export to PDF/RTF could be used, but firstly it refuses to handle some of
 pages as is (we've created several classes with customized sheets), and
 secondly it would require intensive tailoring of output to get nice laconic
 document (exclude pages that are not relevant, make headers correct
 relevantly to hierarchy, etc.)

I see 2 options:

* Use the existing SVN integration: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/SVN+Application
* Export the wiki as a XAR export (it''ll you one XAR file which is a zip file 
containing the full wiki which can be imported in a XWiki instance at any time 
to have a running tagged documentation) when you need to tag.

Hope it helps,
-Vincent

 Greetz,
 Andrey Stoliarov

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


Re: [xwiki-users] Template for Blog

2011-09-14 Thread Sergiu Dumitriu
On 09/14/2011 03:56 PM, Arnaud bourree wrote:
 Hello,

 Does someone made Template for Blog?
 I'm surprise that is not part of XWiki 3.1

You mean a document template for blog posts? No, it's not in the 
sources, but it should be easy to create one.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users