Well, speaking of the CM JNDI hack ... that's exactly what is breaking for
me currently in B1 (it can't load my preferences from M6, I guess):
[INFO] conf.RuntimeLoadDelegate using factory:
org.apache.cayenne.conf.JNDIDataSourceFactory
[INFO] access.QueryLogger Connecting. JNDI path: jdbc/techipedia_public
[INFO] conf.*JNDIDataSourceFactory failed JNDI lookup, attempt to load from
local preferences*. Location key:jdbc/techipedia_public
[INFO] conf.RuntimeLoadDelegate started configuration loading.
[INFO] conf.RuntimeLoadDelegate loaded domain: CayenneModelerPreferences
[INFO] conf.RuntimeLoadDelegate loaded <map name='Preferences'
location='Preferences.map.xml'>.
[INFO] conf.RuntimeLoadDelegate loaded <map name='ModelerPreferences'
location='ModelerPreferences.map.xml'>.
[INFO] conf.RuntimeLoadDelegate loading <node name='HSQLNode'
datasource='HSQLNode.driver.xml'
factory='org.apache.cayenne.conf.DriverDataSourceFactory'
schema-update-strategy='org.apache.cayenne.access.dbsync.SkipSchemaUpdateStrategy'>.
[INFO] conf.RuntimeLoadDelegate using factory:
org.apache.cayenne.pref.HSQLEmbeddedPreferenceService$HSQLDataSourceFactory
[INFO] access.QueryLogger *** *Connecting: FAILURE*.
[INFO] conf.RuntimeLoadDelegate *Error: DataSource load failed*
[INFO] conf.RuntimeLoadDelegate no adapter set, using automatic adapter.
[INFO] conf.RuntimeLoadDelegate loaded map-ref: Preferences.
[INFO] conf.RuntimeLoadDelegate loaded map-ref: ModelerPreferences.
[INFO] conf.JNDIDataSourceFactory failed loading from local preferences
[INFO] access.QueryLogger *** *Connecting: FAILURE*.
[INFO] conf.RuntimeLoadDelegate *Error: DataSource load failed*
Perhaps I need to recreate the preferences settings for B1?
Thanks,
mrg
On Mon, Oct 26, 2009 at 12:10 PM, Andrus Adamchik <andru..bjectstyle.org>
wrote:
>
> On Oct 26, 2009, at 6:03 PM, Michael Gentry wrote:
>
>> PS. I'm going to vote for 3.1 that H2 is dumped in CM. I just had to
>> use Time Machine to restore my preferences...again. (Not the B1 CM,
>> but I don't think it'll be better in that department.)
>
> In fact since I am actively using CM JNDI hack, I'd love us start using
java
> standard preferences store. This way I won't have to create optional
> profiles to include cayenne-modeler.jar for local work.
>
> Andrus
>
>
This archive was generated by hypermail 2.0.0 : Mon Oct 26 2009 - 12:37:17 EDT