Apparently bodgeit doesnt deploy in Glassfish.
Need to investigate why.
Comment #1
Posted on Aug 9, 2012 by Grumpy RhinoThe error is:
[#|2012-08-09T16:41:34.812+0200|INFO|glassfish3.1.1|org.glassfish.admingui|_ThreadID=25;_ThreadName=admin-thread-pool-4848(4);|uploadFileName=bodgeit.war|#]
[#|2012-08-09T16:41:35.347+0200|SEVERE|glassfish3.1.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=17;_ThreadName=admin-thread-pool-4848(1);|DPL8015: Invalid Deployment Descriptors in Deployment descriptor file WEB-INF/web.xml in archive [bodgeit]. Line 10 Column 23 -- cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-class, "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.|#]
[#|2012-08-09T16:41:35.351+0200|SEVERE|glassfish3.1.1|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=17;_ThreadName=admin-thread-pool-4848(1);|DPL8005: Deployment Descriptor parsing failure : cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-class, "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected.|#]
[#|2012-08-09T16:41:35.352+0200|SEVERE|glassfish3.1.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=17;_ThreadName=admin-thread-pool-4848(1);|Exception while deploying the app [bodgeit]|#]
[#|2012-08-09T16:41:35.352+0200|SEVERE|glassfish3.1.1|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=17;_ThreadName=admin-thread-pool-4848(1);|org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-class, "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected. java.io.IOException: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'display-name'. One of '{"http://java.sun.com/xml/ns/j2ee":servlet-class, "http://java.sun.com/xml/ns/j2ee":jsp-file}' is expected. at org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:189)
Status: Accepted
Labels:
Type-Defect
Priority-Medium