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

julien@jboss.com do-not-reply at jboss.com
Tue Jun 5 06:18:42 EDT 2007


Other thing you should do rather is to remove the portlet.jar that must be in the xwiki war file.

"advaittrivedi" wrote : 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=4051254#4051254

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



More information about the jboss-user mailing list