Hi, I am trying to deploy a simple hello bean ejb on jboss4.03 sp1 I am getting following exception
17:26:30,281 ERROR [MainDeployer] Could not create deployment: file:/C:/software s/jboss-4.0.3SP1/server/default/deploy/hellobean.jar org.jboss.deployment.DeploymentException: ejb-jar.xml must either obey the right xml schema or define a valid DOCTYPE! --------------------------------------------------------------------- The ejb-jar.xml is given below <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"> <ejb-jar> <enterprise-beans> <ejb-name>HelloBean</ejb-name> HelloHome Hello <ejb-class>HelloBean</ejb-class> <session-type> Stateless</session-type> <transaction-type>Bean</transaction-type> </enterprise-beans> </ejb-jar> =========================================== Please suggest how can the error be removed. Any help will be highly appreciated. Thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914611#3914611 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914611 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user