|
Re: [enhydra] InvocationTargetException: msg#00049java.enhydra.general
Hi, For multiple database instances you should use: <env-entry> <env-entry-name>DatabaseManager/Databases[]</env-entry-name> <env-entry-value>setnet_host, setnet_stage</env-entry-value> <env-entry-type>java.lang.String</env-entry-type> </env-entry> Database driver must be loaded by the same class loader as DODS binaries. Therefore if you have DODS binaries loaded by 'Shared Class Loader' (loads binaries from <enhydra_root>/multiserver/shared/lib) you should place your driver binary here also (to be loaded by the same class loader). This way DODS will be able to see your driver implementation. Additionally, when you are using DataSource DatabaseManager configuration your DataSource object is actually initialized by Tomcat itself. Therefore, in this case your DB driver implementation is not obligate to be placed together with DODS binaries (but Tomcat requires driver implementation to be placed either in '<enhydra_root>/multiserver/common/lib' or in '<enhydra_root>/multiserver/shared/lib'). Hope this clears things up! Regards, Slobodan Vujasinovic Enhydra Development Team Phoebe Whitefield wrote: Hi, -- You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list. To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [enhydra] InvocationTargetException, Phoebe Whitefield |
|---|---|
| Next by Date: | Re: [enhydra] Would someone please tell me how to set those DB parameters, Slobodan Vujasinovic |
| Previous by Thread: | Re: [enhydra] InvocationTargetException, Phoebe Whitefield |
| Next by Thread: | Re: [enhydra] InvocationTargetException, Phoebe Whitefield |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |