0 Replies Latest reply on Dec 15, 2009 3:30 PM by luiz.filipe.abrahao

    EAR and seam.properties doubt.

    luiz.filipe.abrahao

      Hello!


      I'm getting the follow exception:



      Caused by: javax.el.PropertyNotFoundException: /layout/header.xhtml @45,97 value="#{newCompany.name}": Target Unreachable, identifier 'newCompany' resolved to null
           at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.java:62)
           at javax.faces.component.ValueBindingValueExpressionAdapter.getType(ValueBindingValueExpressionAdapter.java:83)
           ... 74 more



      I have a feeling that it is related with the seam.properties because everything I've read here in the forum and I confused where I am supposed place it.


      My EAR has got 2 WARs and 3 EJB's, I have the file in the root folder of all EJB's.


      All my Entities, that are Seam components, are packed in a different JAR file that the DAO EJB depends on, and it doen't have the seam.properties in it.


      So I don't know if I should place the properties file in another places, and if the way I'm packing my entities is an issue.


      Thanks!


      Luiz Filipe