I'm trying to configure a data-source in my struts-config.xml file and I
get the following error:

Parse Error at line 71 column -1: Element "struts-config" allows no
further input; "data-sources" is not allowed.
...(more traceback here)...


The snippet from my struts-config.xml file is as follows:
    <data-sources>
      <data-source>
        <set-property property="autoCommit" value="false" />
        <set-property property="description" value="Postgres Server"/>
        <set-property property="driverClass"
value="org.postgresql.Driver"/>
        <set-property property="maxCount" value="4"/>
        <set-property property="minCount" value="2"/>
        <set-property property="password" value="zsdc980"/>
        <set-property property="url"
value="jdbc:postgresql://localhost/LPC"/>
        <set-property property="user" value="edwardam"/>
      </data-source>
    </data-sources>

What am I doing wrong?

--
Edward Muller
Director of Information Services
LearningPatterns.com Inc.

Direct: 212-487-9064 x 115
Fax: 212-202-3822
Email: [EMAIL PROTECTED]

http://www.learningpatterns.com

Reply via email to