glassfish
  1. glassfish
  2. GLASSFISH-15680

Invalid content was found starting with element 'description' with http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 3.1_b38
    • Fix Version/s: None
    • Component/s: ejb_container
    • Labels:
      None
    • Environment:

      Glassfish V3.1-B39;
      EJB 3.1

      Description

      With this ejb-jar.xml,

      <?xml version="1.0" encoding="UTF-8"?>
      <ejb-jar xmlns = "http://java.sun.com/xml/ns/javaee"
      version = "3.1"
      xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation = "http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd">
      <display-name>$

      {project.artifactId}</display-name>
      <description>${project.description}</description>
      <module-name>${project.artifactId}

      </module-name>
      </ejb-jar>

      When i deploy my ejb jar, Glassvish V3.1-b39 send an error (see on attachement).

        Activity

        Hide
        marina vatkina added a comment -

        There is no resolution option "User error". The ejb-jar.xml is incorrect - check http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd and e.g. http://schemas.stylusstudio.com/j2ee50/n7e2eaf6a/group_descriptionGroup.html

        The order of elements should be

        • module-name
        • description
        • display-name
        Show
        marina vatkina added a comment - There is no resolution option "User error". The ejb-jar.xml is incorrect - check http://java.sun.com/xml/ns/javaee/ejb-jar_3_1.xsd and e.g. http://schemas.stylusstudio.com/j2ee50/n7e2eaf6a/group_descriptionGroup.html The order of elements should be module-name description display-name

          People

          • Assignee:
            marina vatkina
            Reporter:
            sebglon
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: