Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Faces Portlet on WebSphere 6.0

 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm trying to deploy an application devleoped using JSF-Portal combitaion intially developed for WebSphere Application Sever (WAS) 5.1 on WAS 6.0.

For JSF we are using MyFaces-Tomahawk implemention version 1.1.5.

Also now I'm using RAD 7.0 for development. Initially I got exceptions related conflict between to JSF RI and My Faces implementation.

Then I followed the steps here http://wiki.apache.org/myfaces/Websphere_Installation and remvoed jar files from WAS.

My Portlet class is like as below

public class MyPortlet extends MyFacesGenericPortlet { /// }

Now I'm getting ClassCastException.



Please help me to resolve this issue.

Thanks
Chandra
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The post is confusing in the matter that it is mentioned that you are deploying to a WAS 6.1. What is the version of portal server that you are using?

The exception you posted is quite generic. It just says that it was not able to load the portlet. This could be due the fact that you might have deleted some necessary JARs earlier. Scanning all the exceptions logged can be a good way to diagnose the problem.

Hope I was of some help.
 
Chandra Sekhar
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Version of Portal Server is 6.0

I'm getting ClassCastException. Thats where i'm stuck.




Anyway i'll check the logs again.

Thanks
[ July 08, 2008: Message edited by: Chandra Sekhar ]
 
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic