Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-1861

Deadlock when generating JSF portlet project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.1.1.M1
    • 4.0.0.GA, 4.1.0.GA
    • None
    • None
    • Hide
      1. Launch JBDS, go to File > New > Other.
      2. Choose Dynamic Web Project, click Next.
      3. Type the name of the project, select the runtime of your EPP. Modify its default configuration to include JBoss Core Portlet 2.0, JBoss JSF Portlet 1.0, JavaServer Faces 1.2, Java 1.6 and Dynamic Web Module 2.5 facets. Next.
      4. Leave the configuration for building as it is. Next.
      5. In the next step, leave everything as it is, make sure Generating web.xml deployment descriptor is checked. Next.
      6. Under Portlet Implementation Library, set the Type to Portlet Target Runtime Provider. Next.
      7. Under JSF Implementation Library, set the Type to Library Provided by Target Runtime. Nothing else needs to be changed. Next.
      8. Under JSFPortlet Implementation Library, set the Type to JSF Portletbridge Runtime Provider. Click Finish. JBDS starts generating the project and freezes after a while.
      Show
      Launch JBDS, go to File > New > Other . Choose Dynamic Web Project , click Next . Type the name of the project, select the runtime of your EPP. Modify its default configuration to include JBoss Core Portlet 2.0 , JBoss JSF Portlet 1.0 , JavaServer Faces 1.2 , Java 1.6 and Dynamic Web Module 2.5 facets. Next . Leave the configuration for building as it is. Next . In the next step, leave everything as it is, make sure Generating web.xml deployment descriptor is checked. Next . Under Portlet Implementation Library , set the Type to Portlet Target Runtime Provider . Next . Under JSF Implementation Library , set the Type to Library Provided by Target Runtime . Nothing else needs to be changed. Next . Under JSFPortlet Implementation Library , set the Type to JSF Portletbridge Runtime Provider . Click Finish . JBDS starts generating the project and freezes after a while.

      JBDS freezes when I try to create a Dynamic Web Project with JBoss Core Portlet 2.0, JBoss JSF Portlet 1.0, JavaServer Faces 1.2, Java 1.6 and Dynamic Web Module 2.5 facets to deploy on EPP. By that I mean the process stops responding, thus leaving you no other option than to kill it. Java stack trace shows a deadlock.

      This happens if I try to create a project with the New Dynamic Web Project wizard, target runtime set to EPP and configuration modified to include all the facets described above. When I created a project with the default configuration (Java and Dynamic Web Module facets) and added the other facets after the project was created, I didn't encounter any deadlock.

        1. jbdevstudio.log
          32 kB
        2. jbds.png
          jbds.png
          92 kB

            snjeza_jira Snjezana Peco (Inactive)
            mcupak Miroslav Cupak (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: