I believe this is going to impact lots of our JBOSS users.
Would be great to document it on
I find it strange that JBoss doesn't do isolation. Maybe there are config params to
change this.
Thanks
-Vincent
On Jan 12, 2010, at 2:41 PM, antonio.da-silva(a)cegelec.com wrote:
Hi,
Finally there was a jboss-cache-jdk50.jar in the JBOSS lib directory.
I replaced it with the jbosscache-core-3.2.1.GA.jar found in xwiki war, and
the error has changed !
Now it seems to be related to lucene.
Once again, I looked for lucene in jboss and xwiki lib directories, and I
found lucene-core-2.3.1.jar in jboss tree and lucene-core-2.9.1.jar in
xwiki tree.
Did again the replacement, and now it works! I get the xWiki main page :-))
Thanks again for your help,
Antonio DA SILVA
Antonio
DA-SILVA/SUDEST/F
R/CEGELEC A
XWiki Users <users(a)xwiki.org>
12/01/2010 14:00 cc
Objet
Re: [xwiki-users] Error at
installing Xwiki with JBOSS and
MySQL(Document link: Antonio
DA-SILVA)
Hi,
The only "jbosscache" files I found in the JBOSS tree are:
jbosscache-core-3.2.1.GA.jar
xwiki-core-cache-jbosscache-2.1.1.jar
Both are in the xwiki war subtree (WEB-INF\lib)
Antonio DA SILVA
Thomas Mortagne
<thomas.mortagne@
xwiki.com> A
Envoyé par : XWiki Users <users(a)xwiki.org>
users-bounces@xwi cc
ki.org
Objet
Re: [xwiki-users] Error at
12/01/2010 13:54 installing Xwiki with JBOSS and
MySQL
Veuillez répondre
à
XWiki Users
<users(a)xwiki.org>
On Tue, Jan 12, 2010 at 13:53, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
On Tue, Jan 12, 2010 at 13:40,
<antonio.da-silva(a)cegelec.com> wrote:
> Hi,
>
> I downloaded the current Xwiki version : xwiki-enterprise-web-2.1.1.war
>
> Thanks a lot for the clue on beanutils. I replaced the file
> commons-beanutils-1.7.0.jar in jboss-4.2.2.GA\server\default\lib by
> commons-beanutils-1.8.0.jar found in xwiki.war\WEB-INF\lib,
> and now the JBOSS server starts with no error.
>
> But now when I try to access the xwiki main page from my browser
> (localhost:8080/xwiki/), I get another error:
>
> Etat HTTP 500 -
>
>
>
> type Rapport d'exception
>
>
> message
>
>
> description Le serveur a rencontré une erreur interne () qui l'a empêché
de
> satisfaire la requête.
>
>
> exception
>
>
> javax.servlet.ServletException: L'exécution de la servlet a lancé une
> exception
>
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter
> (ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter
(ActionFilter.java:117)
>
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter
> (XWikiDavFilter.java:68)
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter
> (SavedRequestRestorerFilter.java:295)
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
> (SetCharacterEncodingFilter.java:112)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
> (ReplyHeaderFilter.java:96)
>
>
>
> cause mère
>
>
> java.lang.VerifyError: (class: org/jboss/cache/config/Configuration,
> method: setCacheLoaderConfig signature:
> (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to
> function
> org.jboss.cache.config.parsing.XmlConfigurationParser.<init>
> (XmlConfigurationParser.java:66)
>
>
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.loadConfig
> (JBossCacheCacheConfiguration.java:237)
>
>
org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.getDefaultConfig
> (JBossCacheCacheConfiguration.java:205)
>
> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.load
> (JBossCacheCacheConfiguration.java:117)
>
> org.xwiki.cache.jbosscache.internal.JBossCacheCacheConfiguration.<init>
> (JBossCacheCacheConfiguration.java:97)
>
>
org.xwiki.cache.jbosscache.internal.AbstractJBossCacheCacheFactory.newCache
> (AbstractJBossCacheCacheFactory.java:60)
> com.xpn.xwiki.store.XWikiCacheStore.initCache
> (XWikiCacheStore.java:145)
> com.xpn.xwiki.store.XWikiCacheStore.initCache
> (XWikiCacheStore.java:130)
> com.xpn.xwiki.store.XWikiCacheStore.<init>
> (XWikiCacheStore.java:85)
> com.xpn.xwiki.XWiki.initXWiki(XWiki.java:707)
> com.xpn.xwiki.XWiki.<init>(XWiki.java:684)
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:321)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>
org.apache.struts.action.RequestProcessor.processActionPerform
> (RequestProcessor.java:431)
> org.apache.struts.action.RequestProcessor.process
> (RequestProcessor.java:236)
> org.apache.struts.action.ActionServlet.process
> (ActionServlet.java:1196)
> org.apache.struts.action.ActionServlet.doGet
> (ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter
> (ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter
(ActionFilter.java:117)
>
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter
> (XWikiDavFilter.java:68)
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter
> (SavedRequestRestorerFilter.java:295)
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
> (SetCharacterEncodingFilter.java:112)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
> (ReplyHeaderFilter.java:96)
>
>
>
> note La trace complète de la cause mère de cette erreur est disponible
dans
les
fichiers journaux de JBossWeb/2.0.1.GA.
Could you help ?
If think it's the same issue but with jbosscache this time, XWiki
depends on jbosscache 3.2.1, i guess your application server has
jbosscache 2.x or something. Problem is that it will maybe be more
complex this time since i don't know if you can simply do the same
thing here since you are using JBoss application server.
Seems weird that JBoss application server is unable to properly
isolate application.
>
>
> Thanks in advance,
> Antonio DA SILVA
>
>
>
>
> Thomas Mortagne
> <thomas.mortagne@
> xwiki.com>
A
> Envoyé par : XWiki
Users <users(a)xwiki.org>
> users-bounces@xwi
cc
Objet
> Re:
[xwiki-users] Error at
> 11/01/2010 20:37 installing Xwiki with JBOSS and
> MySQL
>
> Veuillez répondre
> à
> XWiki Users
> <users(a)xwiki.org>
>
>
>
>
>
>
> 2010/1/11 <antonio.da-silva(a)cegelec.com>om>:
>>
>> Hi,
>>
>> I'm trying to install Xwiki on a W2003 server, using a JBOSS container
>> (4.2.2GA), and a MySQL database (5.0.67).
>
> Which version of XWiki are you using ?
>
>>
>> I followed the steps described in the Xwiki Admin Doc (without the DS
>> reference in xwiki.xml)
>>
>> I'm getting an error when starting the JBOSS server.
>>
>> 11:21:48,406 INFO [TomcatDeployer] deploy, ctxPath=/xwiki,
>> warUrl=.../deploy/xwiki.war/
>> 11:21:53,718 ERROR [[/xwiki]] Exception lors de l'envoi de l'ΘvΦnement
>> contexte initialisΘ (context initialized) α l'instance de classe
d'Θcoute
>> (list
>> ener) org.xwiki.container.servlet.XWikiServletContextListener
>> java.lang.NoSuchMethodError:
>> org.apache.commons.beanutils.ConvertUtilsBean.register(ZZI)V
>
> Looks like the wrong version of BeanUtil is loaded or BeanUtil is not
here.
>
> You check that your have commons-beanutils-1.8.0.jar file in
> WEB-INF/lib and no other "beanutils" related file.
>
> If it's not that then it probably mean that your application server is
> using an older version of beanutils I guess, in that case you should
> try to find where this jar is and replace it with the 1.8.0 version.
>
>> at
>>
org.xwiki.properties.internal.converter.ConvertUtilsConverter.initialize
>> (ConvertUtilsConverter.java:48)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:409)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>> (EmbeddableComponentManager.java:111)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:383)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>> (EmbeddableComponentManager.java:111)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:383)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>> (EmbeddableComponentManager.java:111)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:383)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>> (EmbeddableComponentManager.java:111)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:383)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.lookupList
>> (EmbeddableComponentManager.java:128)
>> at
org.xwiki.component.internal.DefaultComponentManager.lookupList
>> (DefaultComponentManager.java:105)
>> at
>> org.xwiki.observation.internal.DefaultObservationManager.initialize
>> (DefaultObservationManager.java:129)
>> at
>> org.xwiki.component.embed.EmbeddableComponentManager.createInstance
>> (EmbeddableComponentManager.java:409)
>> at
org.xwiki.component.embed.EmbeddableComponentManager.initialize
>> (EmbeddableComponentManager.java:343)
>> at org.xwiki.component.embed.EmbeddableComponentManager.lookup
>> (EmbeddableComponentManager.java:101)
>> at
>>
>
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized
>>> (XWikiServletContextListener.java:75)
>>> at org.apache.catalina.core.StandardContext.listenerStart
>>> (StandardContext.java:3856)
>>> at org.apache.catalina.core.StandardContext.start
>>> (StandardContext.java:4361)
>>> at org.apache.catalina.core.ContainerBase.addChildInternal
>>> (ContainerBase.java:790)
>>> at org.apache.catalina.core.ContainerBase.addChild
>>> (ContainerBase.java:770)
>>>
>>> Can you help ?
>>>
>>> Thanks in advance
>>>
>>> Antonio DA SILVA