I also saw the similar question at http://jboss.org/?module=bb&op=viewtopic&t=74636. The difference is only in using DTD instead of XML Schema.
I created an EJB module in NetBeans - it automatically generated ejb-jar.xml with the same header as for you - and then deployed it on the JBoss4.0.3SP1 without any problem. I also looked at the source code of the class throwing the deployment exception. There is nothing what could indicate where the problem is, it looks like you deployment descriptor is logically fine. The XML parsing is now the only thing I wouldn't believe, the structure looks good. Don't you use any special enconding or couldn't the file contain some special 'invisible' characters which could cause that the header is not parsed well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915297#3915297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915297 ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
