I have a .war file that contains four.xml files. When I deploy it to my glassfish server I received this Error
Error occurred during application loading phase. The application will not run properly. Please fix your application and redeploy.
WARNING: com.sun.enterprise.deployment.backend.IASDeploymentException: ContainerBase.addChild: start: LifecycleException: org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
The XML you presents in your question is a Spring bean configuration file.
From what I can see, the </bean> end tag is missing a "<".
As an additional suggestion, I would recommend using the Spring XML schemas instead of DTDs.