0 Replies Latest reply on Jan 27, 2003 3:50 PM by Deepak

    CMP error: expected only one data source tag(during deployme

    Deepak Newbie

      I am using Xdoclet to try out the first example in the J2EE Oreilly book (Chapter 4, ex.1)-- All the files I need get properly generated (ejb-jar.xml, jboss.xml, jbosscmp-jdbc.xml, CabinRemote and CabinHome.java files). Once I deploy the jar file, I get the following error messages:

      Problem starting service jboss.j2ee:jndiName=ejb/Cabin,service=EJB
      org.jbiss.deployment.DeploymentException:expected only one datasource tag

      I am running JBoss 3.0.4 w/ Tomcat, Xdoclet 1.2b2

      Thanks for any help.