[xwiki-devs] exo all in one integration
Hello, I am trying to use the xwiki portlet with exo portal (and a mysql database). I have configured the hibernate.cfg.xml file as needed and included my jdbc driver. However I still get an error, here is my log: <code> GRAVE: Erreur lors de la configuration de la classe d'�coute de l'application (application listener) com.xpn.xwiki.web.InitializationServletContextListener java.lang.ClassNotFoundException: com.xpn.xwiki.web.InitializationServletContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:934) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:897) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1157) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:315) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 6 nov. 2008 18:02:16 org.apache.catalina.core.StandardContext listenerStart GRAVE: L'installation des �couteurs (listeners) de l'application a �t� saut�e suite aux erreurs pr�c�dentes </code> -- View this message in context: http://n2.nabble.com/exo-all-in-one-integration-tp1466118p1466118.html Sent from the XWiki- Dev mailing list archive at Nabble.com.
Which version of XWiki are you using to try to run the portlet. I suspect the XWikiPortlet entry point is slightly outdated versus the recent versions of XWiki. It could also be the web.xml in the portlet app. Are you able to rebuild XWiki to help us solve the issue ? Ludovic avsee wrote:
Hello, I am trying to use the xwiki portlet with exo portal (and a mysql database). I have configured the hibernate.cfg.xml file as needed and included my jdbc driver. However I still get an error, here is my log:
<code> GRAVE: Erreur lors de la configuration de la classe d'�coute de l'application (application listener) com.xpn.xwiki.web.InitializationServletContextListener java.lang.ClassNotFoundException: com.xpn.xwiki.web.InitializationServletContextListener at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1206) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:934) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:897) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1157) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:315) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 6 nov. 2008 18:02:16 org.apache.catalina.core.StandardContext listenerStart GRAVE: L'installation des �couteurs (listeners) de l'application a �t� saut�e suite aux erreurs pr�c�dentes </code>
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
Hello, sorry to answer that late but I was not available until today. First of all thanks for answering my request. I will try to answer your questions inline:
Which version of XWiki are you using to try to run the portlet.
I downloaded xwiki-web-exo-1.6-20081104.111810-908.war on exo website and also xwiki-web-exo-1.7-20081106.072729-506.war.
I suspect the XWikiPortlet entry point is slightly outdated versus the recent versions of XWiki. It could also be the web.xml in the portlet app.
I did not modified my web.xml file I took the one included in the war file. I tried to remove the part that triggered the error: <listener> <listener-class>com.xpn.xwiki.web.InitializationServletContextListener</listener-class> </listener> but new problem occured. For information I tried to find this class (InitializationServletContextListener) inside the different jars included in the war file but it is not in it.
Are you able to rebuild XWiki to help us solve the issue ?
Unfortunately I cannot build xWiki from sources because I am behind a proxy (at work) and then I cannot use maven 2 to build the file I also had some problems to find out which jar to delete from xwiki.war because some of them are both in exo and in this war and it can trigger some error (for example commons-logging-1.1.1.jar). Thank you for your help Antoine -- View this message in context: http://n2.nabble.com/xwiki-%2B-exo-portal-listener-issue-tp1466118p1488805.h... Sent from the XWiki- Dev mailing list archive at Nabble.com.
avsee wrote:
Hello,
sorry to answer that late but I was not available until today. First of all thanks for answering my request. I will try to answer your questions inline:
Which version of XWiki are you using to try to run the portlet.
I downloaded xwiki-web-exo-1.6-20081104.111810-908.war on exo website and also xwiki-web-exo-1.7-20081106.072729-506.war.
I suspect the XWikiPortlet entry point is slightly outdated versus the recent versions of XWiki. It could also be the web.xml in the portlet app.
I did not modified my web.xml file I took the one included in the war file. I tried to remove the part that triggered the error:
<listener>
<listener-class>com.xpn.xwiki.web.InitializationServletContextListener</listener-class> </listener>
but new problem occured. For information I tried to find this class (InitializationServletContextListener) inside the different jars included in the war file but it is not in it.
The web.xml file distributed in that package is much too outdated. Since we're not actively maintaining it, changes done to the default web.xml are usually not merged into the exo web.xml. The build process should be changed to inject the exo specific settings in the default web.xml. I'll try to provide you with a correct web.xml later today.
Are you able to rebuild XWiki to help us solve the issue ?
Unfortunately I cannot build xWiki from sources because I am behind a proxy (at work) and then I cannot use maven 2 to build the file
I also had some problems to find out which jar to delete from xwiki.war because some of them are both in exo and in this war and it can trigger some error (for example commons-logging-1.1.1.jar).
Thank you for your help
Antoine
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Yes, we haven't maintained the Exo distribution for a long time so we should either 1) remove it from our download area, 2) put a warning sign in the download page or 3) fix it. Thanks -Vincent On Nov 7, 2008, at 10:54 PM, Ludovic Dubost wrote:
Which version of XWiki are you using to try to run the portlet. I suspect the XWikiPortlet entry point is slightly outdated versus the recent versions of XWiki. It could also be the web.xml in the portlet app.
Are you able to rebuild XWiki to help us solve the issue ?
Ludovic
avsee wrote:
Hello, I am trying to use the xwiki portlet with exo portal (and a mysql database). I have configured the hibernate.cfg.xml file as needed and included my jdbc driver. However I still get an error, here is my log:
<code> GRAVE: Erreur lors de la configuration de la classe d'�coute de l'application (application listener) com.xpn.xwiki.web.InitializationServletContextListener java.lang.ClassNotFoundException: com.xpn.xwiki.web.InitializationServletContextListener at org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1360) at org .apache .catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java: 1206) at org .apache .catalina.core.StandardContext.listenerStart(StandardContext.java: 3786) at org.apache.catalina.core.StandardContext.start(StandardContext.java: 4350) at org .apache .catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java: 771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org .apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java: 934) at org .apache .catalina.startup.HostConfig.deployDirectories(HostConfig.java:897) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java: 496) at org.apache.catalina.startup.HostConfig.start(HostConfig.java: 1157) at org .apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java: 315) at org .apache .catalina .util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java: 719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java: 1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java: 443) at org.apache.catalina.core.StandardService.start(StandardService.java: 516) at org.apache.catalina.core.StandardServer.start(StandardServer.java: 710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 6 nov. 2008 18:02:16 org.apache.catalina.core.StandardContext listenerStart GRAVE: L'installation des �couteurs (listeners) de l'application a �t� saut�e suite aux erreurs pr�c�dentes </code>
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (4)
-
avsee -
Ludovic Dubost -
Sergiu Dumitriu -
Vincent Massol