Okay, I am no novice, so I must be blind. I have the following simple 
jboss.jar

<!DOCTYPE jboss PUBLIC
          "-//JBoss//DTD JBOSS 4.0//EN"
          "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";>

<enterprise-beans>
    
        <ejb-name>MDS6ClaimValidation</ejb-name>       
            <resource-ref>
                <res-ref-name>jdbc/BankDB</res-ref-name>
                <jndi-name>java:/DefaultDS</jndi-name>
            </resource-ref>
        <jndi-name>com.carescience.ods.ejb.MDS6ClaimValidationHome</jndi-name>
    

</enterprise-beans>



and ejb-xml.jar

<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"; version="2.1"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd";>
    <display-name>CMSDM</display-name>
  <enterprise-beans>

        
        <ejb-name>MDS6ClaimValidation</ejb-name>
        com.carescience.ods.ejb.MDS6ClaimValidationHome
        com.carescience.ods.ejb.MDS6ClaimValidation
        <ejb-class>com.carescience.ods.ejb.MDS6ClaimValidationBean</ejb-class>
        <session-type>Stateless</session-type>
        <transaction-type>Bean</transaction-type>
        

  </enterprise-beans>

</ejb-jar>

inside the meta-inf and I get  the error below. Please be gentle, can someone 
tell me what I have screwed up
 

13:57:08,694 ERROR [XmlFileLoader] failed to load jboss.xml.  There could be a 
syntax error.
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean 
MDS6ClaimValidation: found in jboss.xml but not in ejb-jar.xml

        at 
org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:869)
        at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:185)
        at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:484)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:918)
        at org.jboss.deployment.MainDeployer.create(MainDeployer.java:910)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
        at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
        at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885761#3885761

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885761


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to