[jboss-user] [JBoss Portal] - xwiki-1.0.war on JBoss Portal as a portlet

advaittrivedi do-not-reply at jboss.com
Mon Jun 4 09:00:40 EDT 2007


Hi All,

I am required to run xwiki as portlet on JBoss Portal. I have deployed xwiki-1.0.war in JBoss Portal's server/default/deploy/xwiki directory as specified in http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationJBoss. I have also configured MySQL as specified in http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL. But when in start JBoss Portal I get: 

18:06:49,573 ERROR [AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=/xwiki-1.0.xwiki state=Createorg.jboss.portal.portlet.container.PortletInitializationException: The portlet xwiki threw a runtime exception during init
        at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:285)
        at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:72)
        at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
Caused by: java.lang.ClassCastException: com.xpn.xwiki.web.XWikiPortlet
        at org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:247)
        ... 147 more

My JBoss AS is v4.0.5.GA. Cant figure out the reason behind ClassCastException. I have also got jspwiki configured and it is running OK as a portlet.

Thanks & Regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050938#4050938

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050938



More information about the jboss-user mailing list