Following the jdni howto (
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/jndi-resources-howto.html );
I setup the following in my web.xml, and made sure it's in the right place
according to the dtd, but I still get the following error:

PARSE error at line 121 column 23
org.xml.sax.SAXParseException: Element type "res-env-ref-name" must be
declared.

What am I doing wrong?


--web.xml--
<!DOCTYPE web-app
        PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
        "http://java.sun.com/dtd/web-app_2_3.dtd";>
.
.
</taglib>
.
.
  <resource-env-ref>
    <res-env-ref-name>
      jdo/sajdo
    </res-env-ref-name>
    <res-env-ref-type>
      com.sun.forte4j.persistence.PersistenceManagerFactoryImpl
    </res-env-ref-type>
  </resource-env-ref>
.
.
<resource-ref>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to