Add "default-data-source" to orion/config/application.xml like this: 
<orion-application autocreate-tables="true" 
default-data-source="jdbc/OracleDS">, if that dosn't work try to add your DS 
at the top of the data-sources.xml, like <data-sorce>myDS</data-source>
....<data-sorce>myOther</data-source>....

/Fredrik


>From: "Ashok Banerjee" <[EMAIL PROTECTED]>
>Reply-To: Orion-Interest <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Subject: CMP default datasource
>Date: Thu, 05 Apr 2001 15:12:14 -0700
>MIME-Version: 1.0
>X-Originating-IP: [205.227.43.13]
>Received: from [195.58.126.196] by hotmail.com (3.2) with ESMTP id 
>MHotMailBC965A0F005240043121C33A7EC40F670; Thu Apr 05 17:34:28 2001
>Received: from druid.evermind.net (IDENT:[EMAIL PROTECTED] 
>[195.58.126.196])by druid.evermind.net (8.9.3/8.9.3) with SMTP id 
>AAA29296;Fri, 6 Apr 2001 00:18:02 -0100
>Received: from hotmail.com (f304.law7.hotmail.com [216.33.236.182])by 
>paladin.evermind.net (8.9.3/8.9.3) with ESMTP id CAA16023for 
><[EMAIL PROTECTED]>; Fri, 6 Apr 2001 02:10:13 -0400
>Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; 
>Thu, 5 Apr 2001 15:12:15 -0700
>Received: from 205.227.43.13 by lw7fd.law7.hotmail.msn.com with HTTP;  Thu, 
>05 Apr 2001 22:12:14 GMT
>From [EMAIL PROTECTED] Thu Apr 05 17:34:36 2001
>Message-ID: <[EMAIL PROTECTED]>
>X-OriginalArrivalTime: 05 Apr 2001 22:12:15.0000 (UTC) 
>FILETIME=[786B4980:01C0BE1D]
>X-Mailer: Orion ListServer
>Sender: [EMAIL PROTECTED]
>
>I could change the cmt datasource (from HyperSonic to mySql) by changing in
>the application-deployments directory (thanks to pointer from UnicMan).
>
>But does anyone know what one can do in ones own ejbs to have the CMP bean
>persisted to mySql by default.
>
>Cheers,
>Ash
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Reply via email to