Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-17 Thread Thomas Mortagne
Yes the exact error looks more like jdbc issue but the first thing is
to move to Java 7 instead of Java 6 in any case. I'm even surprised it
went as far as trying to initialize the DB.

On Mon, Aug 17, 2015 at 10:57 AM, Clemens Klein-Robbenhaar
c.robbenh...@espresto.com wrote:

 Alternatively it might have something to do with the JDBC driver.

 XWiki wants a JDBC-4 driver for the 7.x series
 (This information can be found somewhere in the release notes for 7.0:
   
 http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0
  )

 Maybe you have a somewhat older Oracle JDBC driver?

 (Somehow your tomcat must have found a new java version, btw, or it would 
 fail to start up with a different error message than what you got:
   
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUnsupportedmajor.minorversion51.0
  )


 just a guess
 Clemens


 But this issue does not seems to be related to java 6/7. Looking at logs
 looks like its an issue related to database. Isn't it ?

 On Mon, Aug 17, 2015 at 11:52 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:

 XWiki require Java 7 since 6.0.

 On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta motgu...@gmail.com wrote:
 I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2
 with
 db as Oracle.

 Here the configuration in hibernate.cfg.file

 property name=connection.urljdbc:oracle:thin:@localhost
 :1521:orcl/property
 property name=connection.usernamexwiki/property
 property name=connection.passwordxwiki/property
 property
 name=connection.driver_classoracle.jdbc.driver.OracleDriver/property
 property
 name=dialectorg.hibernate.dialect.Oracle10gDialect/property
 property name=connection.SetBigStringTryClobtrue/property
 property name=jdbc.batch_size0/property
 property name=jdbc.use_streams_for_binaryfalse/property
 property name=dbcp.poolPreparedStatementstrue/property
 property name=dbcp.maxOpenPreparedStatements20/property
 mapping resource=xwiki.oracle.hbm.xml/
 mapping resource=feeds.oracle.hbm.xml/
 mapping resource=activitystream.hbm.xml/
 mapping resource=instance.hbm.xml/
 mapping resource=mailsender.oracle.hbm.xml/

 But when i hit the url in browser i get below error




 XWiki initialization failed!

 Exception thrown during job execution
 class java.lang.AbstractMethodError: null
 at

 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at

 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at

 org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
 at

 org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
 at

 org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
 at

 org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
 at

 org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
 at

 org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
 at

 com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
 at

 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
 at

 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
 at

 org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
 at
 org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
 at

 org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
 at
 org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
 at

 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
 at

 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
 at

 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
 at

 com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
 at

 com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
 

Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-17 Thread Clemens Klein-Robbenhaar

Alternatively it might have something to do with the JDBC driver.

XWiki wants a JDBC-4 driver for the 7.x series
(This information can be found somewhere in the release notes for 7.0:
  
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki70#HIssuesspecifictoXWiki7.0
 )

Maybe you have a somewhat older Oracle JDBC driver?

(Somehow your tomcat must have found a new java version, btw, or it would fail 
to start up with a different error message than what you got:
  
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HUnsupportedmajor.minorversion51.0
 )


just a guess
Clemens


 But this issue does not seems to be related to java 6/7. Looking at logs
 looks like its an issue related to database. Isn't it ?
 
 On Mon, Aug 17, 2015 at 11:52 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:
 
 XWiki require Java 7 since 6.0.

 On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta motgu...@gmail.com wrote:
 I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2
 with
 db as Oracle.

 Here the configuration in hibernate.cfg.file

 property name=connection.urljdbc:oracle:thin:@localhost
 :1521:orcl/property
 property name=connection.usernamexwiki/property
 property name=connection.passwordxwiki/property
 property
 name=connection.driver_classoracle.jdbc.driver.OracleDriver/property
 property
 name=dialectorg.hibernate.dialect.Oracle10gDialect/property
 property name=connection.SetBigStringTryClobtrue/property
 property name=jdbc.batch_size0/property
 property name=jdbc.use_streams_for_binaryfalse/property
 property name=dbcp.poolPreparedStatementstrue/property
 property name=dbcp.maxOpenPreparedStatements20/property
 mapping resource=xwiki.oracle.hbm.xml/
 mapping resource=feeds.oracle.hbm.xml/
 mapping resource=activitystream.hbm.xml/
 mapping resource=instance.hbm.xml/
 mapping resource=mailsender.oracle.hbm.xml/

 But when i hit the url in browser i get below error




 XWiki initialization failed!

 Exception thrown during job execution
 class java.lang.AbstractMethodError: null
 at

 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at

 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at

 org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
 at

 org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
 at

 org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
 at

 org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
 at

 org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
 at

 org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
 at

 com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
 at

 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
 at

 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
 at

 org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
 at
 org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
 at

 org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
 at
 org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
 at

 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
 at

 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
 at

 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
 at

 com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
 at

 com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
 at

 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:272)
 at

 org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120)
 

Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Could you copy the full error.

On Mon, Aug 17, 2015 at 3:21 PM, Paul Libbrecht p...@hoplahup.net wrote:
 I've reached as deep as:
 tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace
 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
 with either entities.xml or the path of the zip or the entities.xml.

 Any way to go deeper?

 paul


 Thomas Mortagne mailto:thomas.morta...@xwiki.com
 17 août 2015 14:53
 You should get a detailed log of what happen somewhere in
 jobs/status/filter/converter/.


 ___
 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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht


Thomas Mortagne wrote:
 You can look at
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module
 for the technical how to import a Confluence export file.
 Right now there is no general migrate from Confluence documentation I
 can think of.
This was potentially a good start, with a very basic tutorial that could
have been sufficient, but nothing seems to happen beyond Conversion
started.

What parameter should I change to get some logging from this?
Is this filter supposed to take care of attachments?

thanks

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
Thomas Mortagne wrote:
 Could you copy the full error.
complete file at:
http://direct.hoplahup.net/tmp/status.xml
Interesting bit:
throwable class=org.xwiki.filter.FilterException
  detailMessageFailed to read package/detailMessage
  cause class=java.lang.NullPointerException
stackTrace
 
tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)/trace
 
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace
 
traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace
 
traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace
 
traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace
 
traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace
 
traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace
 
tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace
 
tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
  tracejava.lang.Thread.run(Thread.java:745)/trace
/stackTrace
suppressedExceptions
class=java.util.Collections$UnmodifiableRandomAccessList
resolves-to=java.util.Collections$UnmodifiableList
  c class=list/
  list reference=../c/
/suppressedExceptions
  /cause
  stackTrace
   
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)/trace
   
traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace
   
traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace
   
traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace
   
traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace
   
traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace
   
traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace
   
tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace
   
tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
tracejava.lang.Thread.run(Thread.java:745)/trace
  /stackTrace
  suppressedExceptions
class=java.util.Collections$UnmodifiableRandomAccessList
reference=../cause/suppressedExceptions/
/throwable


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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
I've reached as deep as:
tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace   
  
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace
traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace
with either entities.xml or the path of the zip or the entities.xml.

Any way to go deeper?

paul


 Thomas Mortagne mailto:thomas.morta...@xwiki.com
 17 août 2015 14:53
 You should get a detailed log of what happen somewhere in
 jobs/status/filter/converter/.


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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Did you indicated a path to the Confluence XML package to load in the
target property ?

On Mon, Aug 17, 2015 at 3:28 PM, Paul Libbrecht p...@hoplahup.net wrote:
 Thomas Mortagne wrote:
 Could you copy the full error.
 complete file at:
 http://direct.hoplahup.net/tmp/status.xml
 Interesting bit:
 throwable class=org.xwiki.filter.FilterException
   detailMessageFailed to read package/detailMessage
   cause class=java.lang.NullPointerException
 stackTrace

 tracejava.io.FileInputStream.lt;initgt;(FileInputStream.java:130)/trace

 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.createTree(ConfluenceXMLPackage.java:313)/trace

 traceorg.xwiki.filter.confluence.xml.internal.ConfluenceXMLPackage.lt;initgt;(ConfluenceXMLPackage.java:223)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:88)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace

 traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace

 traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace

 traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace

 traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace

 traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace

 tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace

 tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
   tracejava.lang.Thread.run(Thread.java:745)/trace
 /stackTrace
 suppressedExceptions
 class=java.util.Collections$UnmodifiableRandomAccessList
 resolves-to=java.util.Collections$UnmodifiableList
   c class=list/
   list reference=../c/
 /suppressedExceptions
   /cause
   stackTrace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:90)/trace

 traceorg.xwiki.filter.confluence.xml.internal.input.ConfluenceInputFilterStream.read(ConfluenceInputFilterStream.java:59)/trace

 traceorg.xwiki.filter.input.AbstractBeanInputFilterStream.read(AbstractBeanInputFilterStream.java:80)/trace

 traceorg.xwiki.filter.internal.job.FilterStreamConverterJob.runInternal(FilterStreamConverterJob.java:100)/trace

 traceorg.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)/trace

 traceorg.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)/trace

 traceorg.xwiki.filter.script.internal.ScriptFilterStreamConverterJob.run(ScriptFilterStreamConverterJob.java:75)/trace

 tracejava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)/trace

 tracejava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)/trace
 tracejava.lang.Thread.run(Thread.java:745)/trace
   /stackTrace
   suppressedExceptions
 class=java.util.Collections$UnmodifiableRandomAccessList
 reference=../cause/suppressedExceptions/
 /throwable


 paul
 ___
 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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 3:44 PM, Paul Libbrecht p...@hoplahup.net wrote:
 I have indicated the following in the the latest The source field:

Yes source not target sorry.


 file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
 which I think is the target.

However this filter expect an unzipped Confluence package and not the
entities.xml file.

 The output-type, however, is XWiki instance output stream
 (xwiki+instance).
 paul

 Thomas Mortagne wrote:
 Did you indicated a path to the Confluence XML package to load in the
 target property ?

 ___
 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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
You should get a detailed log of what happen somewhere in
jobs/status/filter/converter/.

On Mon, Aug 17, 2015 at 2:29 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 You can look at
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Confluence+XML+module
 for the technical how to import a Confluence export file.
 Right now there is no general migrate from Confluence documentation I
 can think of.
 This was potentially a good start, with a very basic tutorial that could
 have been sufficient, but nothing seems to happen beyond Conversion
 started.

 What parameter should I change to get some logging from this?
 Is this filter supposed to take care of attachments?

 thanks

 paul
 ___
 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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
I have indicated the following in the the latest The source field:
   
file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
which I think is the target.
The output-type, however, is XWiki instance output stream
(xwiki+instance).
paul

Thomas Mortagne wrote:
 Did you indicated a path to the Confluence XML package to load in the
 target property ?

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht
Erm. That confluence is version 3.0.
So... I should just try to follow that with a debugger?

paul

Thomas Mortagne wrote:
 Hmm looks like something changed in 5.7,
 https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+and+Spaces+to+XML
 documentation exist only until 5.6.x.

 We might have to look at whatever is the new format.

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Paul Libbrecht


Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
A folder?
I tried it and it complained it's a folder (maybe it's a difference
between a trailing /?)
The entities.xml is part of the folder.

A zip?

I see no constructor in
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
But that's the object being built, right?

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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
Hmm looks like something changed in 5.7,
https://confluence.atlassian.com/display/CONF56/Exporting+Confluence+Pages+and+Spaces+to+XML
documentation exist only until 5.6.x.

We might have to look at whatever is the new format.

On Mon, Aug 17, 2015 at 5:07 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

 Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

 ConfluenceInputFilterStream is a component so it only have default 
 constructor.


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



 --
 Thomas Mortagne



 --
 Thomas Mortagne



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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

 paul
 ___
 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


Re: [xwiki-users] Transfer from Confluence

2015-08-17 Thread Thomas Mortagne
On Mon, Aug 17, 2015 at 5:06 PM, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 On Mon, Aug 17, 2015 at 5:04 PM, Paul Libbrecht p...@hoplahup.net wrote:


 Thomas Mortagne wrote:
 
  file:/Users/paul/projects/Notations-Census/move/ntns-141744-48/entities.xml
  which I think is the target.

 However this filter expect an unzipped Confluence package and not the
 entities.xml file.
 A folder?
 I tried it and it complained it's a folder (maybe it's a difference
 between a trailing /?)
 The entities.xml is part of the folder.

 A zip?

 Yes Confluence give you a zip when you do an export.


 I see no constructor in
 https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-filter/xwiki-platform-filter-streams/xwiki-platform-filter-stream-confluencexml/src/main/java/org/xwiki/filter/confluence/xml/internal/input/ConfluenceInputFilterStream.java
 But that's the object being built, right?

ConfluenceInputFilterStream is a component so it only have default constructor.


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



 --
 Thomas Mortagne



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


Re: [xwiki-users] [myxwiki] new wiki request

2015-08-17 Thread Thomas Mortagne
You can login with the user you gave me in the first mail.

On Mon, Aug 17, 2015 at 5:49 PM, Andrew Roberts
roberts.andre...@gmail.com wrote:
 Hi Thomas,

 Very cool, thanks for your efforts.  However, did I miss how to login
 administratively?

 Best,
 Andy

 On Mon, Aug 17, 2015 at 1:29 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:

 Sorry for the delay, August is not the best month to ask stuff :)

 You can access your new wiki on http://fabfarm.myxwiki.org. Enjoy !

 On Mon, Aug 10, 2015 at 6:45 AM,  roberts.andre...@gmail.com wrote:
  description: forking opensource hardware project (opensourceecology.org
 - “fabfarm”)
  owner name: AndrewRoberts
  wiki name: fabfarm.myxwiki.org
 
 
 
 
 
 
  Sent from Windows Mail
  ___
  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

 ___
 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


Re: [xwiki-users] [myxwiki] new wiki request

2015-08-17 Thread Andrew Roberts
Hmmm,

The *AndrewRoberts* user does not exist


Correct me if I'm wrong but that's the name I submitted?

A

On Mon, Aug 17, 2015 at 10:55 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:

 You can login with the user you gave me in the first mail.

 On Mon, Aug 17, 2015 at 5:49 PM, Andrew Roberts
 roberts.andre...@gmail.com wrote:
  Hi Thomas,
 
  Very cool, thanks for your efforts.  However, did I miss how to login
  administratively?
 
  Best,
  Andy
 
  On Mon, Aug 17, 2015 at 1:29 AM, Thomas Mortagne 
 thomas.morta...@xwiki.com
  wrote:
 
  Sorry for the delay, August is not the best month to ask stuff :)
 
  You can access your new wiki on http://fabfarm.myxwiki.org. Enjoy !
 
  On Mon, Aug 10, 2015 at 6:45 AM,  roberts.andre...@gmail.com wrote:
   description: forking opensource hardware project (
 opensourceecology.org
  - “fabfarm”)
   owner name: AndrewRoberts
   wiki name: fabfarm.myxwiki.org
  
  
  
  
  
  
   Sent from Windows Mail
   ___
   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
 
  ___
  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

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


[xwiki-users] [ANN] XWiki 7.1.2 released

2015-08-17 Thread Thomas Mortagne
The XWiki development team is proud to announce the availability of XWiki 7.1.2.
 This is a stabilization release that fixes important bugs discovered
in the previous 7.1.1 version.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki712

The following people have contributed code to this release:

Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Jean SIMARD
Thomas Mortagne
Vincent Massol

Thanks for your support
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [myxwiki] new wiki request

2015-08-17 Thread Andrew Roberts
Hi Thomas,

Very cool, thanks for your efforts.  However, did I miss how to login
administratively?

Best,
Andy

On Mon, Aug 17, 2015 at 1:29 AM, Thomas Mortagne thomas.morta...@xwiki.com
wrote:

 Sorry for the delay, August is not the best month to ask stuff :)

 You can access your new wiki on http://fabfarm.myxwiki.org. Enjoy !

 On Mon, Aug 10, 2015 at 6:45 AM,  roberts.andre...@gmail.com wrote:
  description: forking opensource hardware project (opensourceecology.org
 - “fabfarm”)
  owner name: AndrewRoberts
  wiki name: fabfarm.myxwiki.org
 
 
 
 
 
 
  Sent from Windows Mail
  ___
  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

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


Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-17 Thread Thomas Mortagne
XWiki require Java 7 since 6.0.

On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta motgu...@gmail.com wrote:
 I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2 with
 db as Oracle.

 Here the configuration in hibernate.cfg.file

 property name=connection.urljdbc:oracle:thin:@localhost
 :1521:orcl/property
 property name=connection.usernamexwiki/property
 property name=connection.passwordxwiki/property
 property
 name=connection.driver_classoracle.jdbc.driver.OracleDriver/property
 property
 name=dialectorg.hibernate.dialect.Oracle10gDialect/property
 property name=connection.SetBigStringTryClobtrue/property
 property name=jdbc.batch_size0/property
 property name=jdbc.use_streams_for_binaryfalse/property
 property name=dbcp.poolPreparedStatementstrue/property
 property name=dbcp.maxOpenPreparedStatements20/property
 mapping resource=xwiki.oracle.hbm.xml/
 mapping resource=feeds.oracle.hbm.xml/
 mapping resource=activitystream.hbm.xml/
 mapping resource=instance.hbm.xml/
 mapping resource=mailsender.oracle.hbm.xml/

 But when i hit the url in browser i get below error




 XWiki initialization failed!

 Exception thrown during job execution
 class java.lang.AbstractMethodError: null
 at
 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at
 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
 at
 org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
 at
 org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
 at
 org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
 at
 org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
 at
 org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
 at
 org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
 at
 com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
 at
 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
 at
 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
 at
 org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
 at
 org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
 at
 org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
 at
 org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
 at
 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
 at
 com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
 at
 com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
 at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
 at
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
 at
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
 at
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
 at
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:272)
 at
 org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120)
 at
 org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:67)
 at com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1042)
 at com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1021)
 at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:966)
 at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:887)
 at com.xpn.xwiki.XWiki.init(XWiki.java:876)
 at
 com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
 at
 org.xwiki.job.internal.AbstractJob.runInContext(AbstractJob.java:209)
 at org.xwiki.job.internal.AbstractJob.run(AbstractJob.java:192)
 at java.lang.Thread.run(Thread.java:724)


 I am using jdk 6, tomcat 7


 I am not sure what is missing here ?

 Thanks and Regards
 Mohit
 

Re: [xwiki-users] [myxwiki] new wiki request

2015-08-17 Thread Thomas Mortagne
Sorry for the delay, August is not the best month to ask stuff :)

You can access your new wiki on http://fabfarm.myxwiki.org. Enjoy !

On Mon, Aug 10, 2015 at 6:45 AM,  roberts.andre...@gmail.com wrote:
 description: forking opensource hardware project (opensourceecology.org - 
 “fabfarm”)
 owner name: AndrewRoberts
 wiki name: fabfarm.myxwiki.org






 Sent from Windows Mail
 ___
 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


Re: [xwiki-users] XWiki initialization failed! with xwiki-enterprise-web-7.2 ?

2015-08-17 Thread Mohit Gupta
But this issue does not seems to be related to java 6/7. Looking at logs
looks like its an issue related to database. Isn't it ?

On Mon, Aug 17, 2015 at 11:52 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:

 XWiki require Java 7 since 6.0.

 On Sun, Aug 16, 2015 at 3:11 PM, Mohit Gupta motgu...@gmail.com wrote:
  I download the xwiki war file i.e xwiki-enterprise-web-7.2-milestone-2
 with
  db as Oracle.
 
  Here the configuration in hibernate.cfg.file
 
  property name=connection.urljdbc:oracle:thin:@localhost
  :1521:orcl/property
  property name=connection.usernamexwiki/property
  property name=connection.passwordxwiki/property
  property
  name=connection.driver_classoracle.jdbc.driver.OracleDriver/property
  property
  name=dialectorg.hibernate.dialect.Oracle10gDialect/property
  property name=connection.SetBigStringTryClobtrue/property
  property name=jdbc.batch_size0/property
  property name=jdbc.use_streams_for_binaryfalse/property
  property name=dbcp.poolPreparedStatementstrue/property
  property name=dbcp.maxOpenPreparedStatements20/property
  mapping resource=xwiki.oracle.hbm.xml/
  mapping resource=feeds.oracle.hbm.xml/
  mapping resource=activitystream.hbm.xml/
  mapping resource=instance.hbm.xml/
  mapping resource=mailsender.oracle.hbm.xml/
 
  But when i hit the url in browser i get below error
 
 
 
 
  XWiki initialization failed!
 
  Exception thrown during job execution
  class java.lang.AbstractMethodError: null
  at
 
 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
  at
 
 org.apache.commons.dbcp2.DelegatingConnection.isValid(DelegatingConnection.java:914)
  at
 
 org.apache.commons.dbcp2.PoolableConnection.validate(PoolableConnection.java:283)
  at
 
 org.apache.commons.dbcp2.PoolableConnectionFactory.validateConnection(PoolableConnectionFactory.java:357)
  at
 
 org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory(BasicDataSource.java:2304)
  at
 
 org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:2287)
  at
 
 org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2038)
  at
 
 org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
  at
 
 com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
  at
 
 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
  at
 
 org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
  at
 
 org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
  at
  org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
  at
 
 org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
  at
  org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
  at
 
 org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
  at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:253)
  at
 
 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:681)
  at
 
 com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:842)
  at
 
 com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:299)
  at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1562)
  at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1609)
  at
 
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseObject(AbstractDocumentConfigurationSource.java:209)
  at
 
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getBaseProperty(AbstractDocumentConfigurationSource.java:219)
  at
 
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getPropertyValue(AbstractDocumentConfigurationSource.java:315)
  at
 
 org.xwiki.configuration.internal.AbstractDocumentConfigurationSource.getProperty(AbstractDocumentConfigurationSource.java:272)
  at
 
 org.xwiki.annotation.internal.DefaultAnnotationConfiguration.getAnnotationClassReference(DefaultAnnotationConfiguration.java:120)
  at
 
 org.xwiki.annotation.internal.AnnotationClassDocumentInitializer.getDocumentReference(AnnotationClassDocumentInitializer.java:67)
  at
 com.xpn.xwiki.XWiki.initializeMandatoryDocument(XWiki.java:1042)
  at
 com.xpn.xwiki.XWiki.initializeMandatoryDocuments(XWiki.java:1021)
  at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:966)
  at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:887)
  at com.xpn.xwiki.XWiki.init(XWiki.java:876)
  at