[xwiki-users] [myxwiki] new wiki request

2017-01-06 Thread zichong wang
   - *description*: for documenting researches
   - *owner name*: zichong wang
   - *wiki name*: iwga


Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
Ha-HA  :-)  Thank you again sir!  I am past the errors and on to the 
Distribution Wizard.

Fantastic.

> It looks like I did copy the MySQL-connector jar to 
> tomcat/webapps/xwiki/WEB_INF.

It’s WEB-INF/lib. Could you check that?


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
>This means that you’ve modified hibernate.cfg.xml but you’re added elements at 
>the wrong place in the XML, not following the DTD at 
>http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd.
...
>I think that'd the error is here and those mappings need to be commented out 
>too since they’re defined in the mysql section but you made them be out of 
>order and come before properties…

Thanks, Vincent!!  I commented out the mappings and am no longer getting the 
error at line 244.
I don't see a specific line number in hibernate.cfg.xml this time.  I see this 
at line 80: (of catalina.err):

Caused by: org.hibernate.HibernateException: Could not create a DBCP pool. 
There is an error in the Hibernate configuration file, please review it.

...and I see this at line 92:
Caused by: java.sql.SQLException: Cannot load JDBC driver class 
'com.mysql.jdbc.Driver'

It looks like I did copy the MySQL-connector jar to 
tomcat/webapps/xwiki/WEB_INF.

I don't know what to make of either msg, and am going back to the archives 
looking for those.  I guess even before those I don't know what to make of this:
org.xwiki.query.QueryException: Exception while executing query. Query 
statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as 
panel WHERE 1=1  and doc.fullName=panel.name and 
panel.className='Panels.PanelClass' ]



--
[root@dwiki01 ~]# cd /opt
[root@dwiki01 opt]# find . | grep mysql-connector-java-5.1.40-bin.jar
./apache-tomcat-9.0.0.M15/webapps/xwiki/WEB-INF/mysql-connector-java-5.1.40-bin.jar

[root@dwiki01 opt]# cat catalina.err
06-Jan-2017 12:33:01.915 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server version:
Apache Tomcat/9.0.0.M15
06-Jan-2017 12:33:01.916 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server built:  
Dec 5 2016 13:44:25 UTC
06-Jan-2017 12:33:01.916 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Server number: 
9.0.0.0
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Name:   
Linux
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
3.10.0-327.36.3.el7.x86_64
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Architecture:  
amd64
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Java Home: 
/usr/java/jdk1.8.0_25/jre
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:   
1.8.0_25-b17
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Oracle Corporation
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: 
/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: 
/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.home=/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcatalina.base=/opt/apache-tomcat-9.0.0.M15
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
06-Jan-2017 12:33:01.917 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Djava.util.logging.config.file=/opt/apache-tomcat-9.0.0.M15/conf/logging.properties
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.id=3733
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.process.parent=3732
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
-Dcommons.daemon.version=1.0.15-dev
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.startup.VersionLoggerListener.log Command line argument: 
abort
06-Jan-2017 12:33:01.918 INFO [main] 
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based 
Apache Tomcat Native library which allows optimal performance in production 
environments was not found on the java.library.path: 
/usr/java/jdk1.8.0_25/jre/lib/amd64/server:/usr/java/jdk1.8.0_25/jre/lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
06-Jan-2017 12:33:02.163 INFO [main] org.apache.coyote.AbstractProtocol.init 
Initializing ProtocolHandler ["http-nio-8080"]
06-Jan-2017 12:33:02.194 INFO [main] 
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a 

Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Vincent Massol

> On 6 Jan 2017, at 22:00, Douglas Landau  wrote:
> 
>> This means that you’ve modified hibernate.cfg.xml but you’re added elements 
>> at the wrong place in the XML, not following the DTD at 
>> http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd.
> ...
>> I think that'd the error is here and those mappings need to be commented out 
>> too since they’re defined in the mysql section but you made them be out of 
>> order and come before properties…
> 
> Thanks, Vincent!!  I commented out the mappings and am no longer getting the 
> error at line 244.
> I don't see a specific line number in hibernate.cfg.xml this time.  I see 
> this at line 80: (of catalina.err):
> 
> Caused by: org.hibernate.HibernateException: Could not create a DBCP pool. 
> There is an error in the Hibernate configuration file, please review it.
> 
> ...and I see this at line 92:
> Caused by: java.sql.SQLException: Cannot load JDBC driver class 
> 'com.mysql.jdbc.Driver'
> 
> It looks like I did copy the MySQL-connector jar to 
> tomcat/webapps/xwiki/WEB_INF.

It’s WEB-INF/lib. Could you check that?

Thanks
-Vincent

> 
> I don't know what to make of either msg, and am going back to the archives 
> looking for those.  I guess even before those I don't know what to make of 
> this:
> org.xwiki.query.QueryException: Exception while executing query. Query 
> statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as 
> panel WHERE 1=1  and doc.fullName=panel.name and 
> panel.className='Panels.PanelClass’ ]

[snip]



Re: [xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Vincent Massol
Hi Douglas,

> On 6 Jan 2017, at 20:49, Douglas Landau  wrote:
> 
> Greetings,
> 
> Another one of these.  A Java stacktrace looking very very much like the one 
> reported Aug 10 2016 by Tom Neumann on the Forum, 
> http://dev.xwiki.org/xwiki/bin/view/Community/Forum
> 
> However, his error was at line 233 of hibernate.cfg.xml, whereas mine is at 
> line 244:
> 
> Caused by: org.xml.sax.SAXParseException; lineNumber: 244; columnNumber: 21; 
> The content of element type "session-factory" must match 
> "(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)”.

This means that you’ve modified hibernate.cfg.xml but you’re added elements at 
the wrong place in the XML, not following the DTD at 
http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd.

> The thing is, the file is only 245 lines long.  I don't see the error.  I 
> have commented out the hsqldb section at line 90.  I have uncommented the 
> MySQL section by moving the closing comment from line 138 to line 124.
> 
> Can anyone see what I've done wrong?  Many thanks-

> 
> #cat hibernate.cfg.xml
> 
> 
> 
> 
>
>
>
>
>
> 
> name="connection.url">jdbc:mysql://localhost/xwiki?useSSL=false
>xwiki
>xwiki
>com.mysql.jdbc.Driver
> name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect
>true
>20
>
>
>
>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>  
> 
> 



Re: [xwiki-users] xwiki mysql user password complexity

2017-01-06 Thread Vincent Massol

> On 6 Jan 2017, at 20:20, Douglas Landau  wrote:
> 
> Greetings,
> 
> I am trying to install XWiki 8.4.3 in Tomcat 9.0.0.M15.
> The instructions at 
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL say :
> mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified 
> by 'xwiki'"
> 
> This was failing for me with a message about password complexity until I 
> said, in mysql, "uninstall plugin validate_password;”

Interesting. Maybe Tomcat 9.x has a new feature to ensure that passwords are 
not too easy to guess. You’re the first one to report this but I guess not many 
users have moved to Tomcat 9 yet since it’s not final yet.

It would be interesting if you could add that info to the xwiki page about 
Tomcat:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat

In any case, thanks for reporting.

> Apologies if this has already been raised here; I don't see a way to search 
> the archives yet.

You can search archives here for example:
http://xwiki.markmail.org/

Thanks
-Vincent

> 
> Thanks
> Doug
> 
> 
> The information contained in this transmission may contain West Marine 
> proprietary, confidential and/or privileged 
> information.  It is intended only for the use of the person(s) named above. 
> If you are not the intended recipient, you are 
> hereby notified that any review, dissemination, distribution or duplication 
> of this communication is strictly prohibited. 
> If you are not the intended recipient, please contact the sender by reply 
> email and destroy all copies of the original 
> message. To reply to our email administrator directly, please send an email 
> to netad...@westmarine.com.



[xwiki-users] Another Error number 11007 in 0: Failed to extract Entity blah blah from [http://localhost:8080/xwiki/bin/view/Main]

2017-01-06 Thread Douglas Landau
Greetings,

Another one of these.  A Java stacktrace looking very very much like the one 
reported Aug 10 2016 by Tom Neumann on the Forum, 
http://dev.xwiki.org/xwiki/bin/view/Community/Forum

However, his error was at line 233 of hibernate.cfg.xml, whereas mine is at 
line 244:

Caused by: org.xml.sax.SAXParseException; lineNumber: 244; columnNumber: 21; 
The content of element type "session-factory" must match 
"(property*,mapping*,(class-cache|collection-cache)*,event*,listener*)".

The thing is, the file is only 245 lines long.  I don't see the error.  I have 
commented out the hsqldb section at line 90.  I have uncommented the MySQL 
section by moving the closing comment from line 138 to line 124.

Can anyone see what I've done wrong?  Many thanks-

#cat hibernate.cfg.xml




http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd;>

  





false
true


false


false
50
5
3
com.xpn.xwiki.store.DBCPConnectionProvider


















jdbc:mysql://localhost/xwiki?useSSL=false
xwiki
xwiki
com.mysql.jdbc.Driver
org.hibernate.dialect.MySQL5InnoDBDialect
true
20
















  






The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


[xwiki-users] xwiki mysql user password complexity

2017-01-06 Thread Douglas Landau
Greetings,

I am trying to install XWiki 8.4.3 in Tomcat 9.0.0.M15.
The instructions at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL say :
mysql -u root -e "grant all privileges on *.* to xwiki@localhost identified by 
'xwiki'"

This was failing for me with a message about password complexity until I said, 
in mysql, "uninstall plugin validate_password;"

Apologies if this has already been raised here; I don't see a way to search the 
archives yet.

Thanks
Doug


The information contained in this transmission may contain West Marine 
proprietary, confidential and/or privileged 
information.  It is intended only for the use of the person(s) named above. If 
you are not the intended recipient, you are 
hereby notified that any review, dissemination, distribution or duplication of 
this communication is strictly prohibited. 
If you are not the intended recipient, please contact the sender by reply email 
and destroy all copies of the original 
message. To reply to our email administrator directly, please send an email to 
netad...@westmarine.com.


Re: [xwiki-users] Getting error on importing big .XAR file

2017-01-06 Thread Thomas Mortagne
The limitation of the standard import UI is the fact that you have to
attach the XAR to the page which is not great for big XAR with default
setup.

To workaround this you can:

* enable file system attachments so that you can attach your file. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments#HFilesystemAttachmentStore
* use Filter Stream Application which allows you to get the XAR from
somewhere else (a URL or a file on the XWiki instance server).
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filter+Application
(select XAR as input filter and XWiki Instance as output filter).

On Fri, Jan 6, 2017 at 2:46 PM, Kumar, Piyush  wrote:
> Hi All,
>
> I am importing .XAR file which has exported from my older xwiki version. I am 
> importing it to Xwiki 8.2.1 and it is breaking for >XAR size more than 
> specified limit.
>
> Please help.
>
> Thanks & Regards,
> Piyush
>



-- 
Thomas Mortagne


[xwiki-users] Getting error on importing big .XAR file

2017-01-06 Thread Kumar, Piyush
Hi All,

I am importing .XAR file which has exported from my older xwiki version. I am 
importing it to Xwiki 8.2.1 and it is breaking for >XAR size more than 
specified limit.

Please help.

Thanks & Regards,
Piyush



Re: [xwiki-users] Lots of questions and issues

2017-01-06 Thread Vincent Massol

> On 5 Jan 2017, at 22:43, Vincent Massol  wrote:
> 
> Hi Mario,
> 
>> On 5 Jan 2017, at 20:25, Ecaterina Moraru (Valica)  wrote:
>> 
>> Hi Mario,
>> 
>> So each problem should be reported as an individual issue in the
>> appropriate component.
>> 
>> You should first check if there are not already opened issues with that
>> particular problem (use the search with keywords). For example, these are
>> the issues related to PDF Export
>> http://jira.xwiki.org/issues/?jql=project%20%3D%20XWIKI%20AND%20component%20%3D%20%22Old%20Core%20-%20PDF%20export%22%20AND%20status%20%3D%20Open%20ORDER%20BY%20priority%20DESC
>> 
>> Regarding questions, it's the same: each topic should have a separate mail
>> thread. This way we can assure we stay on subject and the mail can be
>> referenced to other users, in case they have the same questions.
>> 
>> The only problem is the quantity of questions you ask and the availability
>> of the committers and contributors to answer them, since this is a
>> community support. Sometimes it can take a while, especially if there are
>> complicated aspects.
> 
> About this last point you should also know that there are some companies 
> offering professional services around the XWiki open source project. So for 
> example if your company is interested in a particular feature and needs it in 
> a given timeframe it’s possible to sponsor the dev of such feature, or get 
> some professional support (guaranteed response time, etc).
> 
> In case you’re interested see 
> http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport

Mario, I wonder if you had noticed that the XWiki project offers both community 
support but also professional support. I’d like to make sure that our users 
notice the 2 options and thus to make sure they’re visible enough. Could you 
let me know if you knew that you could contact, for example, XWiki SAS 
(http://xwiki.com) for paying services around the XWiki open source project?

Thanks!
-Vincent

> Thanks
> -Vincent
> 
>> Thanks,
>> Caty
>> 
>> On Thu, Jan 5, 2017 at 8:47 PM, Hofstätter Mario <
>> mario.hofstaet...@automationx.com> wrote:
>> 
>>> Dear devs,
>>> 
>>> over the past few months we have moved over to using xwiki as a
>>> replacement for your old sharepoint and mediawiki servers. Meanwhile we
>>> have accumulated a list of problems and questions we are unable to solve.
>>> Some of which open JIRA bugs might already exist.
>>> 
>>> In my opinion this mailinglist is not suitable for this many questions
>>> (needs attachments, screenshots). How may we proceed? Should we create a
>>> jira entry for every issue?
>>> 
>>> An extract of some problems (now running 8.4.3):
>>> - PDF Export: The pdf misses some elements of the page, for example
>>> display of info/warn/error marcros (see your sandbox page info and warning
>>> macro examples) and other stuff. Layout has big issues (images cut off,
>>> Tables cut off)
>>> - Multipage PDF Export: Pdf export collection extension is broken,
>>> MultipagePdfExport Space Export extension too.
>>> - No image lightbox by default, unclear how to implement it in the wysiwyg
>>> editor
>>> - Document tree is really cumbersome for normal users (we use currently
>>> use some velocity to show children), new children macro insufficient (shows
>>> translations and attachment)
>>> - DocumentTree Macro "finder" does not work correctly (finds only some
>>> pages?)
>>> 
>>> As for just "questions", should be ask each one of them in an separate
>>> mail here on the list?
>>> 
>>> Thank you very much,
>>> Mario



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

2017-01-06 Thread Thomas Mortagne
You can access your new wiki on http://francais-langue-daccueil.myxwiki.org.

Enjoy !

Note: the technical id of your wiki is "francaislanguedaccueil" since
we don't allow "-" in it.

On Fri, Jan 6, 2017 at 10:17 AM, Thibault Rihet
 wrote:
> Hello all,
>
> I'm coming from this page 
> with a wiki request. I initially wanted to install XWiki myself, but it
> appears the hosting I have is not sufficient for XWiki. Here's the
> requested information:
>
>- *description*: I am a volunteer in a NGO
> working with migrants in France
>to help them learn the French language and recover their lives and jobs in
>France. I would like your help to design a knowledge management platform.
>- *owner name*: ttehir (username on xwiki.org)
>- *wiki name*: francais-langue-daccueil
>
> Thank you for your help and have a great day!



-- 
Thomas Mortagne


[xwiki-users] [myxwiki] new wiki request

2017-01-06 Thread Thibault Rihet
Hello all,

I'm coming from this page 
with a wiki request. I initially wanted to install XWiki myself, but it
appears the hosting I have is not sufficient for XWiki. Here's the
requested information:

   - *description*: I am a volunteer in a NGO
    working with migrants in France
   to help them learn the French language and recover their lives and jobs in
   France. I would like your help to design a knowledge management platform.
   - *owner name*: ttehir (username on xwiki.org)
   - *wiki name*: francais-langue-daccueil

Thank you for your help and have a great day!