In your postgresql-default-service.xml what do you have as the JnDIname 
and the name of the Mbean?

Hunter Hillegas wrote:

> 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