I am trying to deploy petstore eg. of Sun J2ee in JBoss. I got the patch file from JBoss, to make changes to some build.xml files etc.
I have built the petstore example from scratch by modiying the build.xml and a lot of other tweaks. Finally I managed to build the petstore.ear file. Now when I DEPLOY the petsore.ear, I get the following error.
org.jboss.deployment.DeploymentException: ejb-jar.xml must define a valid DOCTYPE!
The error source is from:
If I try again, the source of the jar mentioned above changes , but the error is always: define valid DOCTYPE!.
Have any of you guys come across this problem. Let me know what you did to solve.