ICEfaces
  1. ICEfaces
  2. ICE-3360

EJBs Do Not Get Injected When Deploying to Glassfish After Adding ICEFaces Capabilities to Project

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      MyEclipse 6.0.1
      Glassfish v2 (Sun Application Server 9.1)
      Windows XP Pro

      Description

      I have a simple EAR with an EJB-Jar with one session bean, and a WAR with one page and one managed session bean that uses injection to get an instance of the session EJB.

      When I add ICEFaces capabilities to my web project, and deploy the EAR, EJB injection stops working. There are no error messages in the server's log related to this, it just simply stops injecting.

      Here are the following configurations I have tried and the results:

      JSF Capabilities Only: Injection Works
      JSF and Facelets Capabilities: Injection Works
      JSF and ICEFaces Capabilities (no Facelets): Injection Fails
      JSF and ICEFaces and ICEFaces Facelets Capabilities: Injection Fails

        Activity

        Hide
        Ryan Daniels added a comment -

        This is the JSF only project files and EAR in which EJB injection DOES work. Access the test page with:

        http://localhost:8080/TestInjectWeb/inject.faces

        Click Get Injection Result and the text box will indicate whether it succeeded or failed.

        Show
        Ryan Daniels added a comment - This is the JSF only project files and EAR in which EJB injection DOES work. Access the test page with: http://localhost:8080/TestInjectWeb/inject.faces Click Get Injection Result and the text box will indicate whether it succeeded or failed.
        Hide
        Ryan Daniels added a comment -

        This is the JSF project files and EAR after ICEFaces capabilities were added in which EJB injection does NOT work. Access the test page with:

        http://localhost:8080/TestInjectWeb/inject.faces

        Click Get Injection Result and the text box will indicate whether is succeeded or failed.

        Show
        Ryan Daniels added a comment - This is the JSF project files and EAR after ICEFaces capabilities were added in which EJB injection does NOT work. Access the test page with: http://localhost:8080/TestInjectWeb/inject.faces Click Get Injection Result and the text box will indicate whether is succeeded or failed.
        Hide
        Philip Breau added a comment -

        actually due to ICE-3372

        Show
        Philip Breau added a comment - actually due to ICE-3372

          People

          • Assignee:
            Unassigned
            Reporter:
            Ryan Daniels
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: