I haven't dug around in the source yet. If you can give me a pointer where
to look, I'll check it out...

If I remove DefaultDS (remove the Hypersonic service XML file), my beans
don't deploy at all, complaining that DefaultDS is missing... So it's
definitely not picking up my request for a different datasource to be used.


Hunter

> From: Dain Sundstrom <[EMAIL PROTECTED]>
> Date: Mon, 19 Nov 2001 15:40:42 -0600
> To: "'Hunter Hillegas'" <[EMAIL PROTECTED]>, JBoss Dev
> <[EMAIL PROTECTED]>
> Subject: RE: [JBoss-dev] 2.0 jar Really Likes DefaultDS?
> 
> Looks right to me.  Did you try tracking this down in the source?  I'll look
> at it later but I'm a little busy right now.
> 
> -dain
> 
>> -----Original Message-----
>> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
>> Sent: Monday, November 19, 2001 1:48 PM
>> To: JBoss Dev
>> Subject: [JBoss-dev] 2.0 jar Really Likes DefaultDS?
>> 
>> 
>> I am deploying a 2.0EJB jar into RH3.
>> 
>> Here's my jbosscmp-jdbc.xml file:
>> 
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!DOCTYPE jbosscmp-jdbc>
>> 
>> <jbosscmp-jdbc>
>>    <defaults>
>>       <datasource>java:/Groundswell</datasource>
>>       <type-mapping>PostgreSQL</type-mapping>
>>       <debug>true</debug>
>>       <create-table>true</create-table>
>>       <remove-table>false</remove-table>
>>       <read-only>false</read-only>
>>       <time-out>300</time-out>
>>       <select-for-update>false</select-for-update>
>>       
>> <preferred-relation-mapping>foreign-key</preferred-relation-mapping>
>>    </defaults>
>> </jbosscmp-jdbc>
>> 
>> No matter what, the jar tries to run against DefaultDS when I
>> want it to run
>> against 'Groundswell' as the datasource.
>> 
>> What am I doing wrong?
>> 
>> Hunter
>> 
>> 
>> _______________________________________________
>> Jboss-development mailing list
>> [EMAIL PROTECTED]
>> https://lists.sourceforge.net/lists/listinfo/jboss-development
>> 


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to