Issue Details (XML | Word | Printable)

Key: GLASSFISH-15680
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Critical Critical
Assignee: marina vatkina
Reporter: sebglon
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
glassfish

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

Created: 25/Jan/11 01:37 AM   Updated: 25/Jan/11 12:23 PM   Resolved: 25/Jan/11 12:23 PM
Component/s: ejb_container
Affects Version/s: 3.1_b38
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File glassfish.log (27 kB) 25/Jan/11 01:37 AM - sebglon
2. Java Archive File Plugin-Content-1.0.0.6-SNAPSHOT.jar (6 kB) 25/Jan/11 01:37 AM - sebglon

Environment:

Glassfish V3.1-B39;
EJB 3.1


Tags: glassfish-3-1 ejb-jar deployment ejb-jar_3_1
Participants: marina vatkina and sebglon


 Description  « Hide

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).



marina vatkina added a comment - 25/Jan/11 12:23 PM

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