Jeff Schnitzer wrote:
>>From: Dain Sundstrom [mailto:[EMAIL PROTECTED]]
>>
>>Here is the defatults element:
>>
>><!ELEMENT defaults ((datasource, datasource-mapping)?, create-table?,
>> remove-table?, read-only?, read-time-out?, row-locking?,
>> pk-constraint?, fk-constraint?, preferred-relation-mapping?,
>> read-ahead?, list-cache-max?)>
>>
>>Did you define datasource and not datasource-mapping (or visa versa)?
>>
>
> Yep, defined the datasource. Interesting, that DTD is a little
> different from the one I downloaded two days ago. But it still doesn't
> explain my problem. Here is my jbosscmp-jdbc.xml:
>
> -----
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE jbosscmp-jdbc PUBLIC "-//JBoss//DTD JBOSSCMP-JDBC 3.0//EN"
> "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_0.dtd">
>
> <jbosscmp-jdbc>
> <defaults>
> <datasource>java:/DefaultDS</datasource>
> </defaults>
(datasource, datasource-mapping)?,
Means that you must have both or neither.
-dain
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user