1 Reply Latest reply on Apr 8, 2002 4:05 PM by Marcus Brito

    JBoss3-beta  - CMP2 - deployment problem

    Axel Muench Newbie

      On my way to solve the 'expected one strategy tag' error I came across a message about a new 'jbosscmp-jdbc_3_0.dtd'.
      1.) Don't I need to reference this file in the '<!DOCTYPE' element in my 'jbosscmp-jdbc.xml'?

      I'm getting this error when using the CMP2 workbook example. ( The docs say the example was written for JBoss 3 Alpha...) Any ideas?

      Thanks.


      2002-04-09 11:03:31,393 ERROR [org.jboss.ejb.EntityContainer] Exception in service lifecyle operation: create
      org.jboss.deployment.DeploymentException: expected one strategy tag
      at org.jboss.metadata.MetaData.getUniqueChild(MetaData.java:95)
      at org.jboss.metadata.MetaData.getUniqueChildContent(MetaData.java:202)
      at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCReadAheadMetaData.(JDBCReadAheadMetaData.java:91)