[xwiki-users] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-09-23 Thread Kumar, Piyush
Hi All,

I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
MySQL DB.  I am using XWiki clustered 2 based on network events distribution.  
I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
mode") which allows us to have several wikis running on the same XWiki instance 
(i.e. in the same JVM). I also configured Scheduled jobs to empty trash and 
getting it triggered via cron expression.

I am facing serious performance issue as Xwiki application has become very slow 
and  frequently results in timeout.

To resolve the performance issue I would like to migrate my XWiki application 
from version 4.2 to 8.2.1.

Is it a good decision? If now which version can be relatively cater more 
performance? Also if anyone can share the high level steps which must be 
followed while migration, would be great help.

Thanks & Regards,
Piyush


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


[xwiki-users] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-09-28 Thread Kumar, Piyush
Hi All,

I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
MySQL DB.  I am using XWiki clustered 2 based on network events distribution.  
I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
mode") which allows us to have several wikis running on the same XWiki instance 
(i.e. in the same JVM). I also configured Scheduled jobs to empty trash and 
getting it triggered via cron expression.

I am facing serious performance issue as Xwiki application has become very slow 
and  frequently results in timeout.

To resolve the performance issue I would like to migrate my XWiki application 
from version 4.2 to 8.2.1.

Is it a good decision? If now which version can be relatively cater more 
performance? Also if anyone can share the high level steps which must be 
followed while migration, would be great help.

Thanks & Regards,
Piyush


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


[xwiki-users] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-09-28 Thread Kumar, Piyush
Hi All,

I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
MySQL DB.  I am using XWiki clustered 2 based on network events distribution.  
I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
mode") which allows us to have several wikis running on the same XWiki instance 
(i.e. in the same JVM). I also configured Scheduled jobs to empty trash and 
getting it triggered via cron expression.

I am facing serious performance issue as Xwiki application has become very slow 
and  frequently results in timeout.

To resolve the performance issue I would like to migrate my XWiki application 
from version 4.2 to 8.2.1.

Is it a good decision? If now which version can be relatively cater more 
performance? Also if anyone can share the high level steps which must be 
followed while migration, would be great help.

Thanks & Regards,
Piyush


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


Re: [xwiki-users] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-09-28 Thread Kumar, Piyush
Hi Vincent,

Regarding DB indexing I would like to tell you that I already created below 
indexes as per the page 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration to 
deal with performance but could not get any benefit. Sice we are having 4.2 
version at production, we created below mentioned indexes in our MySQL DB.


Indexes for XWiki Enterprise versions after 3.2
create index xwl_value on xwikilargestrings (xwl_value(50));
create index xwd_parent on xwikidoc (xwd_parent(50));
create index xwd_class_xml on xwikidoc (xwd_class_xml(20));
create index xws_number on xwikistatsdoc (XWS_NUMBER);
create index xws_classname on xwikistatsdoc (XWS_CLASSNAME);
create index xwr_number on xwikistatsreferer (XWR_NUMBER);
create index xwr_classname on xwikistatsreferer (XWR_CLASSNAME);
create index xwr_referer on xwikistatsreferer (XWR_REFERER(50));
create index xwv_user_agent on xwikistatsvisit (XWV_USER_AGENT(255));
create index xwv_cookie on xwikistatsvisit (XWV_COOKIE(255));
create index xwv_classname on xwikistatsvisit (XWV_CLASSNAME);
create index xwv_number on xwikistatsvisit (XWV_NUMBER);
create index ase_requestid on  activitystream_events (ase_requestid(200));
create index ase_page_date on  activitystream_events (ase_page, ase_date);
create index xda_docid1 on xwikiattrecyclebin (xda_docid);
create index ase_param1 on activitystream_events (ase_param1(200));
create index ase_param2 on activitystream_events (ase_param2(200));
create index ase_param3 on activitystream_events (ase_param3(200));
create index ase_param4 on activitystream_events (ase_param4(200));
create index ase_param5 on activitystream_events (ase_param5(200));


Thanks & Regards,
Piyush

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: Friday, September 23, 2016 6:33 PM
To: XWiki Users
Subject: Re: [xwiki-users] I would like to migrate my xwiki application from 
4.2 to 8.2.1


> On 23 Sep 2016, at 14:49, Kumar, Piyush  wrote:
>
> Hi All,
>
> I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
> MySQL DB.  I am using XWiki clustered 2 based on network events distribution. 
>  I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
> mode") which allows us to have several wikis running on the same XWiki 
> instance (i.e. in the same JVM). I also configured Scheduled jobs to empty 
> trash and getting it triggered via cron expression.
>
> I am facing serious performance issue as Xwiki application has become very 
> slow and  frequently results in timeout.
>
> To resolve the performance issue I would like to migrate my XWiki application 
> from version 4.2 to 8.2.1.
>
> Is it a good decision?

It is. Actually what you’ve done (stay very long on a very old version is not 
such a good idea ;) (will make the upgrade a lot more complex).

Since you’re using a very old version you may want to export your data, install 
XWiki 8.2.1 and import your data. However see the limitations at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExportfeature

> If now which version can be relatively cater more performance? Also if anyone 
> can share the high level steps which must be followed while migration, would 
> be great help.

Re performance you can get good perf in 4.2 too. If I had to guess I’d say 
you’re missing indexes in the DB, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances

Thanks
-Vincent

PS: Since this is a complex operation, I’d highly suggest that you hire some 
xwiki experts. There are companies offering such expertise and that are 
sponsoring the development of the xwiki project. See 
http://www.xwiki.org/xwiki/bin/view/Main/Support#HProfessionalSupport

> Thanks & Regards,
> Piyush

___
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] I would like to migrate my xwiki application from 4.2 to 8.2.1

2016-10-03 Thread Kumar, Piyush
Hi Vincent,



As per your suggestion in below answer I went through the page 
“http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExportfeature”

For Xwiki  export and database backup to migrate to new version. I still have 
one doubt that we are using virtual wikis and currently we have one DB created 
for one virtual Wiki. So We have one DB for main Wiki as Xwiki and multiple DBs 
for multiple created virtual Wikis. In the above referred page it only talks 
about main Wiki page export and main Xwiki DB backup. I would like to know that 
what should we do for our virtual Wikis and their DBs ?



Do we need to export each virtual Wiki and its created DB separately ?



Also Please suggest on DB indexing part as asked in below email as well.



Thanks a lot Vincent for your help.



Thanks & Regards,

Piyush



-Original Message-
From: Kumar, Piyush
Sent: Wednesday, September 28, 2016 8:04 PM
To: XWiki Users
Subject: RE: [xwiki-users] I would like to migrate my xwiki application from 
4.2 to 8.2.1



Hi Vincent,



Regarding DB indexing I would like to tell you that I already created below 
indexes as per the page 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration to 
deal with performance but could not get any benefit. Sice we are having 4.2 
version at production, we created below mentioned indexes in our MySQL DB.





Indexes for XWiki Enterprise versions after 3.2 create index xwl_value on 
xwikilargestrings (xwl_value(50)); create index xwd_parent on xwikidoc 
(xwd_parent(50)); create index xwd_class_xml on xwikidoc (xwd_class_xml(20)); 
create index xws_number on xwikistatsdoc (XWS_NUMBER); create index 
xws_classname on xwikistatsdoc (XWS_CLASSNAME); create index xwr_number on 
xwikistatsreferer (XWR_NUMBER); create index xwr_classname on xwikistatsreferer 
(XWR_CLASSNAME); create index xwr_referer on xwikistatsreferer 
(XWR_REFERER(50)); create index xwv_user_agent on xwikistatsvisit 
(XWV_USER_AGENT(255)); create index xwv_cookie on xwikistatsvisit 
(XWV_COOKIE(255)); create index xwv_classname on xwikistatsvisit 
(XWV_CLASSNAME); create index xwv_number on xwikistatsvisit (XWV_NUMBER); 
create index ase_requestid on  activitystream_events (ase_requestid(200)); 
create index ase_page_date on  activitystream_events (ase_page, ase_date); 
create index xda_docid1 on xwikiattrecyclebin (xda_docid); create index 
ase_param1 on activitystream_events (ase_param1(200)); create index ase_param2 
on activitystream_events (ase_param2(200)); create index ase_param3 on 
activitystream_events (ase_param3(200)); create index ase_param4 on 
activitystream_events (ase_param4(200)); create index ase_param5 on 
activitystream_events (ase_param5(200));





Thanks & Regards,

Piyush



-Original Message-

From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol

Sent: Friday, September 23, 2016 6:33 PM

To: XWiki Users

Subject: Re: [xwiki-users] I would like to migrate my xwiki application from 
4.2 to 8.2.1





> On 23 Sep 2016, at 14:49, Kumar, Piyush 
> mailto:piyush.ku...@atos.net>> wrote:

>

> Hi All,

>

> I am currently using XWiki 4.2  war deployed on apache-tomcat and also using 
> MySQL DB.  I am using XWiki clustered 2 based on network events distribution. 
>  I am also using A multi-tenant setup ( "virtual mode", "multi-wiki" or "farm 
> mode") which allows us to have several wikis running on the same XWiki 
> instance (i.e. in the same JVM). I also configured Scheduled jobs to empty 
> trash and getting it triggered via cron expression.

>

> I am facing serious performance issue as Xwiki application has become very 
> slow and  frequently results in timeout.

>

> To resolve the performance issue I would like to migrate my XWiki application 
> from version 4.2 to 8.2.1.

>

> Is it a good decision?



Reply from Vincent :  It is. Actually what you’ve done (stay very long on a 
very old version is not such a good idea ;) (will make the upgrade a lot more 
complex).



Since you’re using a very old version you may want to export your data, install 
XWiki 8.2.1 and import your data. However see the limitations at 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup#HUsingtheXWikiExportfeature



> If now which version can be relatively cater more performance? Also if anyone 
> can share the high level steps which must be followed while migration, would 
> be great help.



Reply from Vincent :  Re performance you can get good perf in 4.2 too. If I had 
to guess I’d say you’re missing indexes in the DB, see 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances



Thanks

-Vincent



Reply from Vincent :  PS: Since this is a complex operation, I’d highly suggest 
that you hire some xwiki experts. There are companies offering such expertise 
and that are sponsoring the development of the x

[xwiki-users] Migrated my xwiki from 4.2 to 8.2.1 getting blank page on access

2016-10-06 Thread Kumar, Piyush
Hi All,

I migrated my Xwiki from version 4.2 to 8.2.1 and I am getting blank page while 
accessing http://localhost/xwiki  the app.

In my tomcat I am getting below logs:

[ServiceTools] Starting tomcat : Thu Oct  6 10:59:57 2016
Using classpath: 
:/usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/commons-daemon.jar:/usr/local/tomcat7/bin/tomcat-juli.jar:/usr/local/tomcat7/common/lib/*.jar:/usr/local/tomcat7/lib/annotations-api.jar:/usr/local/tomcat7/lib/catalina-ant.jar:/usr/local/tomcat7/lib/catalina-ha.jar:/usr/local/tomcat7/lib/catalina.jar:/usr/local/tomcat7/lib/catalina-tribes.jar:/usr/local/tomcat7/lib/ecj-4.2.1.jar:/usr/local/tomcat7/lib/el-api.jar:/usr/local/tomcat7/lib/jasper-el.jar:/usr/local/tomcat7/lib/jasper.jar:/usr/local/tomcat7/lib/jsp-api.jar:/usr/local/tomcat7/lib/servlet-api.jar:/usr/local/tomcat7/lib/tomcat-api.jar:/usr/local/tomcat7/lib/tomcat-coyote.jar:/usr/local/tomcat7/lib/tomcat-dbcp.jar:/usr/local/tomcat7/lib/tomcat-i18n-es.jar:/usr/local/tomcat7/lib/tomcat-i18n-fr.jar:/usr/local/tomcat7/lib/tomcat-i18n-ja.jar:/usr/local/tomcat7/lib/tomcat-jdbc.jar:/usr/local/tomcat7/lib/tomcat-util.jar:/usr/local/tomcat7/server/lib/*.jar:/usr/java/jdk-1.7/lib/tools.jar:/usr/local/tomcat7/
 bin/bootstrap.jar::
2016-10-06 11:01:12,724 [localhost-startStop-1] INFO  
o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
2016-10-06 11:01:12,777 [localhost-startStop-1] INFO  
o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: 
[/MIDDLE/kazan-services/xwiki.kazan.priv.atos.fr/permanentdirectory/solr]
2016-10-06 11:01:17,007 [coreLoadExecutor-6-thread-1] WARN  o.a.s.c.SolrCore
   - [xwiki] Solr index directory 
'/MIDDLE/kazan-services/xwiki.kazan.priv.atos.fr/permanentdirectory/solr/xwiki/data/index'
 doesn't exist. Creating new index...
2016-10-06 11:01:17,932 [localhost-startStop-1] INFO  
o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
2016-10-06 11:01:34,375 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,380 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,381 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,382 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,382 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,382 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode
2016-10-06 11:01:34,383 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean  
 - ISPN42: Did not find queried attribute with name coreHashCode


Regards,
Piyush

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


Re: [xwiki-users] Migrated my xwiki from 4.2 to 8.2.1 getting blank page on access

2016-10-06 Thread Kumar, Piyush
Hi ,

Then what can be the cause of blank page if index deletion is not the issue 
currently?

Thanks ,
Piyush

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Thursday, October 06, 2016 8:58 PM
To: XWiki Users
Subject: Re: [xwiki-users] Migrated my xwiki from 4.2 to 8.2.1 getting blank 
page on access

I was about to answer the same things but the log contains:

2016-10-06 11:01:17,007 [coreLoadExecutor-6-thread-1] WARN
o.a.s.c.SolrCore   - [xwiki] Solr index directory
'/MIDDLE/kazan-services/xwiki.kazan.priv.atos.fr/permanentdirectory/solr/xwiki/data/index'
doesn't exist. Creating new index...

On Thu, Oct 6, 2016 at 5:21 PM, Vincent Massol  wrote:
> Hi,
>
> Please remove the solr index files and restart XWiki.
>
> Note: We need to add this info on
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade
>
> Thanks
> -Vincent
>
>> On 06 Oct 2016, at 17:16, Kumar, Piyush  wrote:
>>
>> Hi All,
>>
>> I migrated my Xwiki from version 4.2 to 8.2.1 and I am getting blank page 
>> while accessing http://localhost/xwiki  the app.
>>
>> In my tomcat I am getting below logs:
>>
>> [ServiceTools] Starting tomcat : Thu Oct  6 10:59:57 2016 Using
>> classpath:
>> :/usr/local/tomcat7/bin/bootstrap.jar:/usr/local/tomcat7/bin/commons-
>> daemon.jar:/usr/local/tomcat7/bin/tomcat-juli.jar:/usr/local/tomcat7/
>> common/lib/*.jar:/usr/local/tomcat7/lib/annotations-api.jar:/usr/loca
>> l/tomcat7/lib/catalina-ant.jar:/usr/local/tomcat7/lib/catalina-ha.jar
>> :/usr/local/tomcat7/lib/catalina.jar:/usr/local/tomcat7/lib/catalina-
>> tribes.jar:/usr/local/tomcat7/lib/ecj-4.2.1.jar:/usr/local/tomcat7/li
>> b/el-api.jar:/usr/local/tomcat7/lib/jasper-el.jar:/usr/local/tomcat7/
>> lib/jasper.jar:/usr/local/tomcat7/lib/jsp-api.jar:/usr/local/tomcat7/
>> lib/servlet-api.jar:/usr/local/tomcat7/lib/tomcat-api.jar:/usr/local/
>> tomcat7/lib/tomcat-coyote.jar:/usr/local/tomcat7/lib/tomcat-dbcp.jar:
>> /usr/local/tomcat7/lib/tomcat-i18n-es.jar:/usr/local/tomcat7/lib/tomc
>> at-i18n-fr.jar:/usr/local/tomcat7/lib/tomcat-i18n-ja.jar:/usr/local/t
>> omcat7/lib/tomcat-jdbc.jar:/usr/local/tomcat7/lib/tomcat-util.jar:/us
>> r/local/tomcat7/server/lib/*.jar:/usr/java/jdk-1.7/lib/tools.jar:/usr
>> /local/tomca
 t
>  7/
>> bin/bootstrap.jar::
>> 2016-10-06 11:01:12,724 [localhost-startStop-1] INFO  
>> o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server...
>> 2016-10-06 11:01:12,777 [localhost-startStop-1] INFO  
>> o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: 
>> [/MIDDLE/kazan-services/xwiki.kazan.priv.atos.fr/permanentdirectory/solr]
>> 2016-10-06 11:01:17,007 [coreLoadExecutor-6-thread-1] WARN  o.a.s.c.SolrCore 
>>   - [xwiki] Solr index directory 
>> '/MIDDLE/kazan-services/xwiki.kazan.priv.atos.fr/permanentdirectory/solr/xwiki/data/index'
>>  doesn't exist. Creating new index...
>> 2016-10-06 11:01:17,932 [localhost-startStop-1] INFO  
>> o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server.
>> 2016-10-06 11:01:34,375 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,376 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,380 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,381 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,382 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - ISPN42: Did not find queried attribute with name coreHashCode
>> 2016-10-06 11:01:34,382 [localhost-startStop-1] WARN  o.i.j.ResourceDMBean   
>> - IS

[xwiki-users] XWiki failed to load due to mysql driver error

2016-10-11 Thread Kumar, Piyush
Hi All,

I installed Xwiki 8.2.1 but getting below error in my tomcat :

2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR 
w.k.x.w.ServletContextListener - No suitable driver found for 
jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for 
jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at 
com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at 
com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal One or more listeners 
failed to start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup 
failed due to previous e




I already kept mysql-connector-java-5.1.21.jar files in application library but 
still getting above error while tomcat startup.

Thanks & Regards,
Piyush



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


[xwiki-users] XWiki failed to load due to mysql driver error

2016-10-11 Thread Kumar, Piyush
Hi All,

I installed Xwiki 8.2.1 but getting below error in my tomcat :

2016-10-12 11:47:14,517 [localhost-startStop-1] ERROR 
w.k.x.w.ServletContextListener - No suitable driver found for 
jdbc:mysql://localhost:3306/xw_manager?useUn
icode=true&characterEncoding=utf8
java.sql.SQLException: No suitable driver found for 
jdbc:mysql://localhost:3306/xw_manager?useUnicode=true&characterEncoding=utf8
at java.sql.DriverManager.getConnection(DriverManager.java:689)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at 
com.worldline.kazan.xwiki.webapp.ServletContextListener.initXwikiDB(ServletContextListener.java:64)
at 
com.worldline.kazan.xwiki.webapp.ServletContextListener.contextInitialized(ServletContextListener.java:37)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1101)
at 
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1786)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal One or more listeners 
failed to start. Full detai
ls will be found in the appropriate container log file
12-Oct-2016 11:47:14.533 SEVERE [localhost-startStop-1] 
org.apache.catalina.core.StandardContext.startInternal Context [/xwiki] startup 
failed due to previous e




I already kept mysql-connector-java-5.1.21.jar files in application library but 
still getting above error while tomcat startup.

Thanks & Regards,
Piyush



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


[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



[xwiki-users] How to export a wrokspace from older xwiki and import it to newer xwiki 8.2.1

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


In our existing Xwiki application for each Xwiki a workspace is getting 
created. WE are now migrating to the new version 8.2.1 and wanted to export 
whole workspace of a created xwiki and reimport it to newer version.

While import it displays below directories to select files to import:

AnnotationCode
AppWithinMinutes
Bolg
ColorThemes
Dashboard
Extensions
Faq
Invitation
Main
News
Panels
Sandbox
Scheduler
Stats
Xwiki

I am selecting all the directory and importing it but the pages are not coming 
proper.
Please suggest if in above directories I should unselect some of them which may 
override on the newer xwiki 8.2.1 instance.

Please suggest if some other reason could be the problem.


Thanks & Regards,
Piyush



[xwiki-users] Help needed to distinguish xwiki contents created by user

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

I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While 
import I need to select form available pages in .XAR file. I went through the 
xwiki documents which says that we should only import the content written by 
user.

Can anyone help me to know the way I can differentiate the contents? If I 
import any content created by main xwiki instance then this information may 
override on newer version same content.

Thanks & Regards
Piyush



[xwiki-users] How to enable rights to run velocity macros on Xwiki pages

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

I exported older xwiki contents and imported them back into newer xwiki 8.2.1.
I can see that few pages are breaking asking below issue:

org.xwiki.rendering.macro.MacroExecutionException: The execution of the 
[velocity] script macro is not allowed. Check the rights of its last author or 
the parameters if it's rendered from another script.
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178)
at 
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)



Can anyone tell me that how to enable rights for macro?

Thanks & Regards,
Piyush

_____
From: Kumar, Piyush
Sent: Friday, January 13, 2017 4:45 PM
To: 'users@xwiki.org'
Subject: Help needed to distinguish xwiki contents created by user


Hi All,

I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While 
import I need to select form available pages in .XAR file. I went through the 
xwiki documents which says that we should only import the content written by 
user.

Can anyone help me to know the way I can differentiate the contents? If I 
import any content created by main xwiki instance then this information may 
override on newer version same content.

Thanks & Regards
Piyush



[xwiki-users] Replacement for deprecated Extensions.TreeMenuOptionsClass in newer Xwiki version

2017-02-02 Thread Kumar, Piyush
Hi All,

Since Extensions.TreeMenuOptionsClass  is deprecated now, what is its 
replacement in newer version?

Thanks & Regards,
Piyush



Re: [xwiki-users] Replacement for deprecated Extensions.TreeMenuOptionsClass in newer Xwiki version

2017-02-06 Thread Kumar, Piyush
Hi Vincent,

I have a content in my older Xwiki which keeps ChildrenPagesClass object on the 
page. After import this object giving deprecation issues as below while editing 
this page:

Issue:
===
The following properties where deleted from the class 
Extensions.ChildrenPagesClass and are now deprecated:
ChildrenOrderer:
Extensions.StyleSheet,Extensions.BuildChildrenLinks,Extensions.Links,Extensions.browseJavadoc,Extensions.TextAndImage,Extensions.JiraIssue,Extensions.JQuery


Please suggest on this.

Thanks & Regards,
Piyush

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: Thursday, February 02, 2017 7:40 PM
To: XWiki Users
Subject: Re: [xwiki-users] Replacement for deprecated 
Extensions.TreeMenuOptionsClass in newer Xwiki version

Hi,

> On 2 Feb 2017, at 15:02, Kumar, Piyush  wrote:
>
> Hi All,
>
> Since Extensions.TreeMenuOptionsClass  is deprecated now, what is its 
> replacement in newer version?

I don’t know what you’re talking about. Could you give us a link?

Thanks
-Vincent

>
> Thanks & Regards,
> Piyush
>