I want to deploy my project and jar files with JBoss, bat is dos't do, it writes error :
14:57:07,512 ERROR [MainDeployer] Could not create deployment: file:/E:/jboss/jboss-4.0.3SP1/server/default/deploy/EnterpriseApplication4-EJBModule.jar
org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE!
what can i correct this ejb-jar.xml file to deploy normally.
first you should deploy it in profile named ALL,
second name the jar file with extension .ejb3