Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12160

Seam 2 component.properties is not generated correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Final
    • 3.3.0.CR1
    • seam2
    • None
    • fixed

      Seam 2 EAR application is generated with components.properties in app1-ejb/ejbModule/components.properties and wrong jndiPattern

      jndiPattern=app1-ear/\#{ejbName}/local
      

      there should be instead

      jndiPattern=java:app/app1-ejb/\#{ejbName}
      

      Seam-gen this does as replacing token @ejbJndiPattern@ in time of build with java:app/${project.name}-ejb/#

      {ejbName}

              alexeykazakov Alexey Kazakov
              mnovotny@redhat.com Marek Novotny
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: