0 Replies Latest reply on Oct 10, 2003 11:52 AM by fbonsignori

    auto-increment template not found

    fbonsignori Newbie

      Hi to all,
      I have a problem deploying my .jar file on JBoss.

      My environment is composed by:
      JBoss 3.2.1
      MySQL 4.0.13
      MySQL JDBC Connector 3.0.8

      When I go to deploy my .jar file I get the following error:
      java.lang.IllegalStateException: auto-increment template not found

      Follow the significant part of my jbosscmp-jdbc.xml file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN" "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">

      <entity-command name="mysql-get-generated-keys" />




      Does someone know where is the error ?

      Thanks in advance, Filippo.