I cant get my ejbs to work (this problem drives me crazy), everything looks normal to me in jboss.xml as well as in ejb-jar.xml but deploying results in following message:
15:29:57,449 ERROR [XmlFileLoader] failed to load jboss.xml. There could be a syntax error. org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean BusinessLogicControllerBean: found in jboss.xml but not in ejb-jar.xml at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:764) at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:175) Here is my jboss.xml --------------------------------------------------------- <?xml version="1.0"?> <!DOCTYPE jboss PUBLIC '-//JBoss//DTD JBOSS 3.2//EN' 'http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd'> <enterprise-beans> <ejb-name>BusinessLogicControllerBean</ejb-name> <jndi-name>ejb/BusinessLogicControllerBean</jndi-name> <method-attributes> </method-attributes> <ejb-name>PresentationControllerBean</ejb-name> <jndi-name>ejb/PresentationControllerBean</jndi-name> </enterprise-beans> <resource-managers> </resource-managers> an also ejb-jar.xml -------------------------------------------------------- <?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>BusinessLogicControllerBean</ejb-name> com.standardandpoors.framework.controller.IBusinessLogicControllerHome com.standardandpoors.framework.controller.IBusinessLogicController <ejb-class>com.standardandpoors.framework.controller.BusinessLogicControllerBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> <ejb-name>PresentationControllerBean</ejb-name> com.standardandpoors.framework.controller.IPresentationControllerHome com.standardandpoors.framework.controller.IPresentationController <ejb-class>com.standardandpoors.framework.controller.PresentationControllerBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> </enterprise-beans> </ejb-jar> Any help is much appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3830221#3830221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3830221 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user