yes of course.
I wanted add some CSS class in blog code.
Anyway I will PR today and I'm pretty sure than xwiki commiters will make attention with this. :-)
--------------------------------------------
En date de : Ven 21.10.16, Jan-Paul Kleijn <email(a)biggee.nl> a écrit :
Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?
À: "XWiki Users" <users(a)xwiki.org>
Date: Vendredi 21 octobre 2016, 0h06
Pascal,
I advise you not to use the
style tag in HTML (or WIKI code for that
matter) - only as a last resort. It is good
practice to separate
structure from
presentation. W3C made a rather comprehensive explanation
on this, see link below.
https://www.w3.org/2001/tag/doc/contentPresentation-26.html
It may seem like a little
cumbersome now, but it will help you in the end.
Greetings,
Jan-Paul
Here you are:
https://github.com/xwiki/xwiki-platform/pull/543/files
Thxs Vincent and Jan-Paul
--------------------------------------------
En date de : Jeu 20.10.16, Vincent Massol <vincent(a)massol.net> a écrit :
Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>
Cc: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 20 octobre 2016, 11h10
>
On 20 Oct 2016, at 11:08, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
wrote:
>
>
>>>
>>> Yes
it is correct,
>> but what I want to
add in syntax guide (if you agree) is
>> these 2 way:
>>> - to close style with
>> (%%)
>>
>> only for inline
>> content and only needed if you need to
style only a potion
>> of the inlined
content.
>
> yes it
was my intention :-)
>
>>
>>> -
(((…))) construct generates a DIV
>>
>> already documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1§io…
>
> hum IMO we must add
an exemple with style too. Why? because on syntax page
I'm pretty sur everyone use Ctrl+F: "style"
(search feature in web browser) and next to find the correct
syntax.
> WDYT?
Sounds good.
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--- En date de : Jeu 20.10.16, Vincent Massol <vincent(a)massol.net> a écrit :
> De: Vincent Massol <vincent(a)massol.net>
> Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?
> À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>
> Cc: "XWiki Users" <users(a)xwiki.org>
> Date: Jeudi 20 octobre 2016, 10h35
>
> > On
> 20 Oct 2016, at 10:32, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> wrote:
> >
> > Ok I will
> send a PR.
> > (I didn't knew doc was
> modified through git though)
> >
> > IMO it is better here, no?:
> > http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters
>
> The example there is
> correct.
Yes it is correct, but what I want to add in syntax guide (if you agree) is these 2 way:
- to close style with (%%)
- (((…))) construct generates a DIV
>
> You need to close
> only for span, ie only in inline content.
>
> Thanks
> -Vincent
>
> >
> > (%
> class="plainmessage publish-message" %)((((%
> class="glyphicon glyphicon-globe" %)$message)))
>
> First this is not fully
> correct. You need to close the span with (%%).
haaaaa!
It's like manage to scratch my back! so pleasurable!
I need to add that here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
>
> > <div
> class="plainmessage publish-message">
> > <p>
> > <span
> class="glyphicon glyphicon-globe">This article
> was published on 17/10/2016 16:47:06</span>
> > </p>
> >
> </div>
> >
> >
> => span inserted BUT I don't want end of span at the
> end of the $message
>
> Normally you should have tried this:
>
> (% class="plainmessage
> publish-message" %)((((% class="glyphicon
> glyphicon-globe" %)(%%)$message)))
>
> But it won’t work because the span is
> empty.
>
> So you have 2
> options:
> - option 1: you insert some
> character in the space like a space (you’ll get
> in the output though)
yes I confirm this. I have in html output) with
(% class="plainmessage publish-message" %)((((% class="glyphicon glyphicon-globe" %) (%%)$message)))
> - option 2: you use
> the html macro.
>
> It seems
> from your need that you’re trying to output some specific
> custom HTML so best is to use the html macro for that.
> You’ll have better control with it.
yes but I "improved" blog macro: I will commit it this week i think
ty
Ok thxs but my problem is that I can not insert a <span>anything</span> in front of $message :-/
There are <p> inserted I wonder why when it is a div (a bug?) or </spam> is at the wrong place.
I didn't manage to have this simple result:
<div class="plainmessage publish-message">
<p><span class="glyphicon glyphicon-globe"></span> This article was published on 17/10/2016 16:47:06</p>
</div>
(% class="plainmessage publish-message" %)((((% class="glyphicon glyphicon-globe" %)$message)))
<div class="plainmessage publish-message">
<p>
<span class="glyphicon glyphicon-globe">This article was published on 17/10/2016 16:47:06</span>
</p>
</div>
=> span inserted BUT I don't want end of span at the end of the $message
(% class="glyphicon glyphicon-globe" %) (% class="plainmessage publish-message" %)((($message)))
<span class="glyphicon glyphicon-globe"> </span>
</p>
<div class="plainmessage publish-message">
<p>This article was published on 20/10/2016 08:18:06</p>
</div>
=> span inserted BUT I don't want </p> between span and div . publish-message
I upgraded from 8.1 to 8.2.1 this afternoon and the WYSIWYG editor just spins and never loads. I ran into this issue earlier and it was an issue using NGINX as an SSL reverse proxy which was resolved by changing the NGINX config (http://lists.xwiki.org/pipermail/users/2016-July/033360.html). The NGINX config wasn't changed during the upgrade so this seems to be something else. I've checked the logs and nothing stands out as being related.
I do get this in my JavaScript console:
[Autosave feature] Required class missing: XWiki.actionButtons.AjaxSaveAndContinue
require.min.js?r=1:34
GET https://wiki.sprague.local/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/…
g.load @ require.min.js?r=1:34
load @ require.min.js?r=1:29
load @ require.min.js?r=1:17
fetch @ require.min.js?r=1:17
check @ require.min.js?r=1:17
enable @ require.min.js?r=1:23
enable @ require.min.js?r=1:27
(anonymous function) @ require.min.js?r=1:22
(anonymous function) @ require.min.js?r=1:7
y @ require.min.js?r=1:6
enable @ require.min.js?r=1:21
init @ require.min.js?r=1:16
(anonymous function) @ require.min.js?r=1:26
require.min.js?r=1:7
Uncaught Error: Script error for "/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8.1/require-config.min.js?evaluate=true"
http://requirejs.org/docs/errors.html#scripterror
F @ require.min.js?r=1:7
onScriptError @ require.min.js?r=1:30
Is this a known issue or are there any recommendations for resolving this?
Thanks,
Jared
(I resend my previous message: it seem xwiki users list didn't receive it or silent reject it)
sorry maybe spaming?
--- En date de : Mar 18.10.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
> De: Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
> Objet: riddle: howto insert a simple span with xwiki syntax?
> À: "XWiki Users" <users(a)xwiki.org>
> Date: Mardi 18 octobre 2016, 9h07
> Hello,
>
> With wiki syntax I failed to insert a simple span in a
> velocity macro (Blog./BlogCode):
>
> #macro(publishMessageBox $message)
> (% class="plainmessage publish-message" %)((($message)))
> #end
>
> display:
> <div class="plainmessage publish-message">
> <p>This article was published on 17/10/2016
> 16:47:06</p>
> </div>
>
> and I want a span in front of $message like this:
> <div class="plainmessage publish-message">
> <p><span class="glyphicon
> glyphicon-globe"></span> This article was published
> on 17/10/2016 16:47:06</p>
> </div>
>
> Is it possible (I can not use {{html}} because code is
> escaped)?
>
> Here my test and what is displayed:
> (% class="plainmessage publish-message" %)((((%
> class="glyphicon glyphicon-globe" %)((( )))$message)))
> display
> <div class="plainmessage publish-message">
> <div class="glyphicon glyphicon-globe"></div>
> <p>This article was published on 17/10/2016
> 16:47:06</p>
> </div>
>
> => With div instead span it is ok BUT there are <p>
> inserted :-( !
>
> (% class="plainmessage publish-message" %)((((%
> class="glyphicon glyphicon-globe" %)$message)))
>
> <div class="plainmessage publish-message">
> <p>
> <span class="glyphicon glyphicon-globe">This article
> was published on 17/10/2016 16:47:06</span>
> </p>
> </div>
>
> => span inserted BUT I don't want end of span at the end
> of the $message
>
> (% class="plainmessage publish-message" %)((((%
> class="glyphicon glyphicon-globe" %)((())) $message)))
>
> <div class="plainmessage publish-message">
> <div class="glyphicon glyphicon-globe"></div>
> <p>This article was published on 17/10/2016
> 16:47:06</p>
> </div>
>
> => With div instead span it is ok BUT there are <p>
> inserted :-( !
>
> Have you got a solution?
> Thxs
>
> Pascal B
>
Hi XWiki community,
Last year the XWiki community had a booth at FOSDEM with the Tiki and DokuWiki communities. It was really fun:
* http://www.xwiki.com/en/Blog/fosdem-2016-from-behind-the-stand-table
* https://www.xwiki.org/xwiki/bin/view/Blog/XWikiatFOSDEM2016
We’d like to reiterate this for FOSDEM 2017 (4 & 5 February 2017).
It’s a great chance to meet some XWiki users and developers.
We also need some volunteers to help man the XWiki community booth, if some of you are interested!
See https://tiki.org/TikiFestFosdem2017 for details and organisation.
So who’s going to FOSDEM 2017? And who would be interested in manning the XWiki booth with other xwikiers?
Thanks
-Vincent
Hello!
I have successfully installed xwiki on Ubuntu 16.06 Server as a deb
package using Java JDK instead of JRE. It seemed to be working fine.
I've been able to open xwiki without any problems.
Then I want to put /manager app for tomcat7 engine. I used apt-get for
this task. Now I can use /manager app, but when I'm trying to open xwiki
I get this error:
XWiki initialization failed!
*
Can't find descriptor for the component [role = [interface
com.xpn.xwiki.store.XWikiVersioningStoreInterface] hint = [file]]
class java.lang.RuntimeException: Failed to load component for type
[interface com.xpn.xwiki.store.XWikiVersioningStoreInterface] for
hint [file] at com.xpn.xwiki.web.Utils.getComponent(Utils.java:758)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:719) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1014) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:965) at
com.xpn.xwiki.XWiki.<init>(XWiki.java:954) at
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205) at
org.xwiki.job.AbstractJob.run(AbstractJob.java:188) at
java.lang.Thread.run(Thread.java:745) Caused by: class
org.xwiki.component.manager.ComponentLookupException: Can't find
descriptor for the component [role = [interface
com.xpn.xwiki.store.XWikiVersioningStoreInterface] hint = [file]] at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:401)
at
org.xwiki.component.embed.EmbeddableComponentManager.getInstance(EmbeddableComponentManager.java:190)
at
org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at
org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at
org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at
org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at
org.xwiki.component.internal.multi.DelegateComponentManager.getInstance(DelegateComponentManager.java:83)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:756) at
com.xpn.xwiki.web.Utils.getComponent(Utils.java:719) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:1014) at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:965) at
com.xpn.xwiki.XWiki.<init>(XWiki.java:954) at
com.xpn.xwiki.internal.XWikiInitializerJob.runInternal(XWikiInitializerJob.java:117)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205) at
org.xwiki.job.AbstractJob.run(AbstractJob.java:188) at
java.lang.Thread.run(Thread.java:745)
Since I'm completely new to java and servlet system I can't figure it
out. Google doesn't give much information about this.
Hello,
With wiki syntax I failed to insert a simple span in a velocity macro (Blog./BlogCode):
#macro(publishMessageBox $message)
(% class="plainmessage publish-message" %)((($message)))
#end
display:
<div class="plainmessage publish-message">
<p>This article was published on 17/10/2016 16:47:06</p>
</div>
and I want a span in front of $message like this:
<div class="plainmessage publish-message">
<p><span class="glyphicon glyphicon-globe"></span> This article was published on 17/10/2016 16:47:06</p>
</div>
Is it possible (I can not use {{html}} because code is escaped)?
Here my test and what is displayed:
(% class="plainmessage publish-message" %)((((% class="glyphicon glyphicon-globe" %)((( )))$message)))
display
<div class="plainmessage publish-message">
<div class="glyphicon glyphicon-globe"></div>
<p>This article was published on 17/10/2016 16:47:06</p>
</div>
=> With div instead span it is ok BUT there are <p> inserted :-( !
(% class="plainmessage publish-message" %)((((% class="glyphicon glyphicon-globe" %)$message)))
<div class="plainmessage publish-message">
<p>
<span class="glyphicon glyphicon-globe">This article was published on 17/10/2016 16:47:06</span>
</p>
</div>
=> span inserted BUT I don't want end of span at the end of the $message
(% class="plainmessage publish-message" %)((((% class="glyphicon glyphicon-globe" %)((())) $message)))
<div class="plainmessage publish-message">
<div class="glyphicon glyphicon-globe"></div>
<p>This article was published on 17/10/2016 16:47:06</p>
</div>
=> With div instead span it is ok BUT there are <p> inserted :-( !
Have you got a solution?
Thxs
Pascal B
I'm the only one that knows how to update it, so I know it can't be the former, but the latter, I'm not sure what I could have made a mistake on. Since the DW did not launch initially, plus this latest symptom, I guess something did go wrong. My process is pretty simple, and the only thing we modify is the config files in the WEB-INF folder (plus add the MySQL driver). Would this be a config file mistake or something else?
On Mon, Oct 17, 2016 at 2:41 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com> wrote:
If you did not get default UI step then it means you already have the
default UI installed. It's defined in
<xwiki>/META-INF/maven/org.xwiki.enterprise/xwiki-enterprise-web/pom.xml.
Either someone else already upgraded the UI or you made a mistake when
you upgraded the WAR and it think you still have 8.2.1 WAR.
The Extension update step is displayed when it find invalid extension
in your wiki (and yes it's not very clear since it won't tell you
anything if it cannot find valid upgrade to that invalid extension).
On Sun, Oct 16, 2016 at 2:31 PM, Keith Davis <laurinkeithdavis(a)gmail.com> wrote:
> Ok, so I removed this file and that triggered it:
> C:\opt\tomcat7\data\jobs\status\distribution\status.xml
>
> However, there were no updates - it basically jumped from the main screen
> to #4 (Extension updates, and there were none of those either). Is that
> normal?
>
> On Sun, Oct 16, 2016 at 5:58 AM, Keith Davis <laurinkeithdavis(a)gmail.com>
> wrote:
>
>> I figured as much. Is there a way to start that manually? If not, how do I
>> figure out why it did not trigger?
>>
>> Keith Davis - (214) 906-5183 <tel:%28214%29%20906-5183>
>> http://laurinkeithdavis.com
>>
>> > On Oct 16, 2016, at 1:18 AM, Thomas Mortagne <thomas.mortagne(a)xwiki.com>
>> wrote:
>> >
>> > Yes you should have and I did several upgrades and got the DW.
>> >
>> > On Sun, Oct 16, 2016 at 12:04 AM, Keith Davis
>> > <laurinkeithdavis(a)gmail.com> wrote:
>> >> Shouldn't I have gotten the Distribution Wizard? I didn't this time.
>> >> _______________________________________________
>> >> users mailing list
>> >> users(a)xwiki.org
>> >> http://lists.xwiki.org/mailman/listinfo/users
>> >
>> >
>> >
>> > --
>> > Thomas Mortagne
>> > _______________________________________________
>> > users mailing list
>> > users(a)xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Keith Davis
> 214-906-5183
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Keith Davis - (214) 906-5183 - http://laurinkeithdavis.com <http://laurinkeithdavis.com/>
Our documentation subwiki is multilingual, english and german.
Unfortunately, at the moment only some pages are translated, some exist in
german only, some in english only (doh!).
If a user is using german (default) as interface language, and searches for
a page what only exists in english, the page is not found. You have to
selected "english" unter language in the advanced search options.
We noticed that deleting the language setting of a page results in the page
beeing found in either language, it is listet as "No Language" in the search
results.
Is this the recommanded approach?
Thanks.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-search-on-missing-page-translations…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWiki users,
Recently (in XWiki 8.2) we’ve changed the home page content to try to make it a nicer introduction to XWiki and to make it simpler for users to edit it and change it to their liking.
Right now it’s translated only in 3 languages: English, French and Catalan.
We need your help to translate it all other languages!
To do so, you need to register an account on http://l10n.xwiki.org/ and then you can go to http://l10n.xwiki.org/xwiki/bin/view/Platform/MainWebHome and select the language you wish to translate the page in.
For example in Danish that will generate the following URL:
http://l10n.xwiki.org/xwiki/bin/view/Platform/MainWebHome?language=da
Once on that page you can click “View all” for example and start translating. For ex for the Danish language you’ll get to http://l10n.xwiki.org/xwiki/bin/view/Platform/MainWebHome?action=viewall&la…
Don’t forget to translate both the Content and the Title.
Thanks a lot for your help! We’ll credit you in the next release notes if you provide a translation.
Let us know in reply to this message whenever you’ve added a new language for the home page!
Thanks
-Vincent
XWiki committer
Hello! I'm trying to integrate bpmn-js into my xWiki application.
I istalled bpmn-js via bower into xWiki resource folder and then i created a
page with this content:
When the page loads (and the javascript libs are imported) I get some errors
about prototype.js and requirejs (http://pastie.org/9946255). How can I fix
this problem??
--
View this message in context: http://xwiki.475771.n2.nabble.com/Integrate-bpmn-js-into-xWiki-tp7593969.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm trying to use the macro from the Attachment Application.
{{attachmentSelector classname="$campaignClass" property="picture1" buttontext="$escapetool.xml($doc.displayPrettyName('campaignUIString', false, false))" savemode="direct"
displayImage="true" width="120" link="true" targetdocname="Photos.CdLSnl"/}}
Issue is that the image file name; selected by the picker, is stored in the property picture1 without the page reference.
Because we have provided a targetdocname.
The documentation:
targetdocname: An optional reference to a document to use as the source (and target) for the attachments to display. By default the current document is used.
So we want stored in picture1 a string
Photos.CdLSnl(a)picture.jpg
But it stores:
picture.jpg
We need the complete document and filename since our application is using multiple displayers, not only the macro version
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi,
We have this javascript function
function getStats(event) {
var url = "$xwiki.getURL('cdlsDashboard.statsGlobal', 'view')?xpage=plain&outputSyntax=plain";
request(url, setStats, event);
}
Since migration to version 8 the browser console shows a strange get function and resulting error:
cdlsworld.devxwiki.com/xwiki/bin/view/cdlsDashboard/$xwiki.getURL('cdlsDashboard.statsGlobal',%20'view')
It looks like the velocity is not based before creating a javascript?
I've had similar in a stylesheet extension
Is something changed in version XWiki 8 (we came from 6.4.x)?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
With xwiki 8.3 the new children marcro is available, something we were
waiting for. Unfortunately the macro does not have any configuration
parameters at the moment.
Currently we use the following snippet in a huge number of ours pages to
display child-documents:
because translations and attachments are unnecessary for our navigation. But
inserting this code requires switching to sourcecode in ckeditor, which does
not work correctly in Internet Explorer.
Are there plans to extend the children macro to enable hiding translations
and attachments? This would make it possible for our users to use this macro
instead via macro GUI of ckeditor.
Otherwise maybe we need to start looking into extension development and do
it ourselves.
Thank you
Mario
--
View this message in context: http://xwiki.475771.n2.nabble.com/Parameters-for-children-macro-tp7601545.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Long time user, very infrequent poster...
I'm looking for something for users of our xwiki to create checklists
as something akin to a template, and then use the created checklist
template, saving the completed checklist as a page.
Any suggestions would be welcomed.
Cheers
When in Velocity generating HTML
{{velocity}}
{{html}}
#foreaech()
#if(display instead of include is required)
{{display reference ='page that only works when using display'/}}
#else
#includeInContext(page that does not require display)
#end
{{/html}}
{{/velocity}}
What is the velocity macro (or code snippet) to make it work?
As documented the {{display}} or {{include}} does not work from within the velocity and/or html macro. Documentation could maybe be improved by adding what to do when this calling from within Velocity/html is required
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
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
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