|
So this is the best I can find right now setupNewJNDIInfo(); for (Object o:Configuration.getSharedConfiguration().getDomains()) { DataDomain d=(DataDomain)o; for (Object no : d.getDataNodes()) { DataNode n = (DataNode) no; DataSourceFactory f = (DataSourceFactory) Class.forName(n.getDataSourceFactory()).newInstance(); DataSource ds = f.getDataSource(n.getDataSourceLocation()); n.setDataSource(ds); } } This will recreate all datasources for all nodes in all domains. Is there an easier/better way? HPI On 3/21/11 3:12 PM, Hans Pikkemaat wrote: Hi, So this is what I do now right after repopulating the jndi information: --
10 jaar TSi Solutions
... marktleider in het automatiseren en outsourcen van werkprocessen in de reisbranche ... toonaangevende partij voor het verzamelen, structureren en beschikbaarstellen van reiscontent ... Reisrevue Innovatieveer 2008 - Veervolle vermelding ... Winnaar Reisrevue Innovatieveer 2009 ... Winnaar Reisrevue Innovatieveer 2010 ... Top 20 positie in 2008 Deloitte Technology Fast50 Nederland ... Top 10 positie in 2009 Deloitte Technology Fast50 Benelux ... Top 100 positie in 2009 Deloitte Technology Fast500 EMEA ... Top 50 positie in 2010 Deloitte Technology Fast50 Benelux TSi Solutions is de handelsnaam van
Travel Service International b.v.[KvK 06091935]
DISCLAIMER: De informatie opgenomen in dit
bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor
de geadresseerde.
Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. The information contained in this message
may be confidential and is intended to be exclusively for the
addressee.
Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. |
Title: html versie van handtekening
- flush cayenne config and connections Hans Pikkemaat
- Re: flush cayenne config and connections Andrus Adamchik
- Re: flush cayenne config and connections Michael Gentry
- Re: flush cayenne config and connections Andrus Adamchik
- Re: flush cayenne config and connections Michael Gentry
- Re: flush cayenne config and connections Hans Pikkemaat
- Re: flush cayenne config and connections Hans Pikkemaat
- Re: flush cayenne config and connections Hans Pikkemaat
- Re: flush cayenne config and connect... Andrus Adamchik


