Home > Cannot Be > Cannot Be Cast To Javax.portlet.portlet
Cannot Be Cast To Javax.portlet.portlet
All Rights Reserved. Red HatSite Help:FAQReport a problem Home Forum Spring Projects Container This forum is now a read-only archive. Re: cannot be cast to javax.portlet.Portlet Saravanamoorthi Karuppagounder Nov 3, 2009 12:21 PM (in response to Saravanamoorthi Karuppagounder) Figured out that including the portal core jar files in the web archive(war) eXo Platform SAS Sign In Create Account Search among 980,000 solutions Search Your bugs help others We want to create amazing apps without being stopped by crashes. Source
Take a tour to get the most out of Samebug. Sign in Register Home Community Support Developers [Resolved] When I deploying portlet following error exist.what is the solution for that. Isthereanyextraconfigurationtoenablethisscenariotowork? s DanielGazineu --------------------------------------------------------------------- Tounsubscribe,e-mail:[email protected] Currently I am working with IceFaces, but I am frequently running into issues with deploying my portlets. http://stackoverflow.com/questions/2366452/deploying-a-simple-portlet-to-liferay-classcastexception
The class is loaded twice, in two different class loaders and are by consequence considered different. asked 6 years ago viewed 5070 times active 6 years ago Get the weekly newsletter! It was duplicate but problem was your dependency portlet 2.0 that didn't declare scope is provided, therefore it conflicted to portlet api of gatein. Teenage daughter refusing to go to school Is adding the ‘tbl’ prefix to table names really a problem?
Browse other questions tagged portlet liferay or ask your own question. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Cc: [email protected] Can one bake a cake with a cooked egg instead of a raw one?
Probability of All Combinations of Given Events Singular cohomology and birational equivalence Where in the analytic hierarchy is the theory of true set theory? https://vaadin.com/forum/#!/thread/874670/874669 n-dimensional circles! Flag Please sign in to flag this as inappropriate. Can anyone help?
Show 1 reply 1. To turn you verbose classloading pass following parameter to the JVM: -verbose:class share|improve this answer answered Mar 2 '10 at 22:53 Jaromir Hamala 1,540912 1 Ouch. Which movie series are referenced in XKCD comic 1568? have a peek here javax.portlet.Portlet is implemented by GenericPortlet, and all Portlet examples seem to extend GenericPortlet so I assume that's ok.
share|improve this answer answered Mar 2 '10 at 20:31 ewernli 28.6k256101 Excellent, thanks - I have to leave now but I'll check this as soon as I can. can't someone please help me?? Forum Index -> Portals & Portlets Go to: Select a forum General ------------- Using the Forums ICEfaces Forums ------------- News & Announcements General Help Components Tools JBoss Seam Integration
I'mtryingtorunasimpleJSF-Portletapplicationwithmergesthese twotutorials: https://jsfportletbridge.dev.java.net/DeployingJSFPortlet.html http://www.ibm.com/developerworks/library/j-jsf1 ButI'mhavingthefollowingexceptionatloadingtime: java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacadecannotbecastto javax.portlet.PortletContext at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64) atjavax.faces.webapp.FacesServlet.service(FacesServlet.java:239) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:850) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:568) at com.sun.portal.portletcontainer.portlet.impl.RequestDispatcherImpl.include(RequestDispatcherImpl.java:109) at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:136) at com.sun.faces.portlet.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:351) at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:229) at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:680)
Linked 0 Classloader conflict on portlet.jar Related 14Accessing the user from a liferay portlet?11How to deploy portlets to Liferay0Liferay: Can't see the deployed portlet0Liferay - simple portlet issue4Deploying a JSR 286 Subject: Re: org.apache.catalina.core.ApplicationContextFacade cannot be cast to javax.portlet.PortletContext Date: Thu, 24 May 2007 18:58:52 +0530 Mailing-list: contact [email protected]; run by ezmlm HiDaniel, Looks like you are using index.jsp as the INIT_VIEW, I tried your suggestion, and put them in same WAR to see if that made a difference, but I got the same result. 27/Feb/2013 20:12:57 Subject: Re:ClassCastException when attempting to Check This Out Same procedure I used to create a hook in startup service event in which I created custom attributes by using hook.
I have already extend javax.portlet.GenericPortlet. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, Then I realized my mistake and removed it from all future deployments.