I included portlet-api-lib.jar then javax.portlet.PortletException: class not found was solved
but again I have another problem While deploying I have following exception. ClasscastException in PortalcontainerImpl.start() During org.apache.portals.bridges.struts.PortletServlet init Can any one help to solve the error. -----Original Message----- From: JayaKarteek Vasana Rao [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 5:36 PM To: [email protected] Subject: Jboss portal bridge error I have jboss-portal-2.6.5.GA. I am trying to convert simple struts application to portlet but I am getting errors to display the portlet while deploying. I did necessary modification that are required in portlet.xml, struts-config.xml, web.xml , struts-portlet-config.xml , jboss-portlet.xml. At first I got error NoclassFoundException for JBossServletContextProvider then I imported portal-bridge-lib.jar and it solved Now if I deploy the .war file this time it shows following error. 2008-06-04 16:39:49,608 DEBUG [org.jboss.portal.portlet.container.org_apache_portals_bridges_struts_St rutsPortlet] Creating portlet object org.apache.portals.bridges.struts.StrutsPortlet 2008-06-04 16:39:49,624 DEBUG [org.jboss.portal.portlet.container.org_apache_portals_bridges_struts_St rutsPortlet] Created portlet object org.apache.portals.bridges.struts.StrutsPortlet 2008-06-04 16:39:49,639 ERROR [STDERR] org.jboss.portal.portlet.container.PortletInitializationException: The portlet TestStrutsPortlet threw a portlet exception during init 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletC ontainerImpl.java:260) 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.portlet.impl.container.PortletApplicationContextImpl.st artPortletApplication(PortletApplicationContextImpl.java:135) 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(Por tletAppDeployment.java:151) 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(Portle tAppDeployment.java:96) 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(Deploym entContext.java:99) 2008-06-04 16:39:49,639 ERROR [STDERR] at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfoContext.sta rt(PortalDeploymentInfoContext.java:211) 2008-06-04 16:39:49,655 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 2008-06-04 16:39:49,655 ERROR [STDERR] Caused by: javax.portlet.PortletException: class not found 2008-06-04 16:39:49,655 ERROR [STDERR] at org.apache.portals.bridges.struts.StrutsPortlet.init(StrutsPortlet.java: 148) iGATE is Ranked No. 3 in DQ-IDC best IT employer survey and Ranked No.6 by Business Today-Mercer Human Resource Consulting-TNS in a cross industry survey of Best Companies to work for in India ----------------------------------------------------------------DISCLAIM ER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [EMAIL PROTECTED] and delete this EMAIL including any attachments iGATE is Ranked No. 3 in DQ-IDC best IT employer survey and Ranked No.6 by Business Today-Mercer Human Resource Consulting-TNS in a cross industry survey of Best Companies to work for in India ----------------------------------------------------------------DISCLAIMER--------------------------------------------------------- Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and is intended for use only by the individual or entity to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient of this EMAIL immediately notify the sender at iGATE or [EMAIL PROTECTED] and delete this EMAIL including any attachments --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
