[prev in list] [next in list] [prev in thread] [next in thread]
List: activemq-users
Subject: Re: How to get DataSouce from JNDI ?
From: mlus <mlus () 39596 ! com>
Date: 2010-01-28 20:10:16
Message-ID: 46c1ba7c1001281210y2a3f73c5hba3b430f69eaf34 () mail ! gmail ! com
[Download RAW message or body]
Thank you for reply
> that definition of postgres-ds is not defined in jndi, but Spring. So you
> need to use Spring application context to obtain it (or register it in some
> kind of jndi store).
configure jndi.properties below.
java.naming.factory.initial=org.apache.xbean.spring.jndi.SpringInitialContextFactory
java.naming.provider.url=jndi.xml
in jndi.xml define ds-postgres DataSouce.
now, module can get datasouce!!.
Regards
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic