Topic
  • 2 replies
  • Latest Post - ‏2013-03-21T07:18:39Z by b69
b69
b69
5 Posts

Pinned topic MethodNotFounExceptions thrown after replacing mojarra with MyFaces

‏2012-03-22T15:14:04Z |
I have a JEE application running well on Glassfish using JSF2 based on Mojarra. This application shall run on WebSphere8, hence must be prorted. WAS does support MyFaces, but support of mojarra is very poor. So, Mojarra has been kicked out and the application references the ibm myFaces jar. On running the application and calling managedBean methods, MethodNotFounExceptions are thrown. e.g.
javax.el.MethodNotFoundException: /resources/utils/formEditingMenu.xhtml at line 39 and column 39 action="#{cc.attrs.handler.generateDocument('HTML')}": Method not found: ch.commcity.monterosa.web.ProjectHandler@43bda4c.generateDocument()
at org.apache.myfaces.view.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:91)
Of course the method exist, as it works perfectly with Glassfish and Mojarra!
Strange is the number between handler and Method ch.commcity.monterosa.web.ProjectHandler@43bda4c.generateDocument() of course the existing method is rather ch.commcity.monterosa.web.ProjectHandler.generateDocument()!
From where this @number is comming?
What configuration may be missing to make it work?
Are the differencies between the 2 JSF2 Implementations really so big?
What could be the reason of the MethodNotFoundExceptio?
Any hint is very apreciated.
Updated on 2013-03-21T07:18:39Z at 2013-03-21T07:18:39Z by b69
  • bpulito
    bpulito
    23 Posts

    Re: MethodNotFounExceptions thrown after replacing mojarra with MyFaces

    ‏2012-03-22T16:52:03Z  
    This is not a SIP or CEA related issue and is posted to the wrong forum. Not sure where you should go with this but I would look for a more general purpose WAS forum. Here is a good place to start:
    http://www.ibm.com/developerworks/forums/wsdd_forums.jspa
  • b69
    b69
    5 Posts

    Re: MethodNotFounExceptions thrown after replacing mojarra with MyFaces

    ‏2013-03-21T07:18:39Z  
    • bpulito
    • ‏2012-03-22T16:52:03Z
    This is not a SIP or CEA related issue and is posted to the wrong forum. Not sure where you should go with this but I would look for a more general purpose WAS forum. Here is a good place to start:
    http://www.ibm.com/developerworks/forums/wsdd_forums.jspa
    This is answer is very bad and not useful at all. MyFaces is the preferred jsf implementation of WAS. Hence related issues are part of WAS issues!