Re: CacheJdbcStoreSessionListener - setting in config xml file, postgrs

classic Classic list List threaded Threaded
1 message Options
Vladimir Ozerov Vladimir Ozerov
Reply | Threaded
Open this post in threaded view
|

Re: CacheJdbcStoreSessionListener - setting in config xml file, postgrs

Hi,

Could you please attach error stack trace?

On Sat, Apr 16, 2016 at 3:56 PM, tomk <[hidden email]> wrote:
Hi,
This config (only piece) can't be parsed by ./ignite.sh.  I don't know how
to set this connection. Can you help me please?
 <bean class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
                     <constructor-arg>
                         <bean
class="org.apache.ignite.cache.store.jdbc.CacheJdbcStoreSessionListener">

                             <property name="dataSource">
                              <bean
class="org.postgresql.ds.PGPoolingDataSource" factory-method="create">
                                <property name="serverName"
value="localhost"/>
                                <property name="portNumber" value="5432"/>
                                <property name="databaseName" value="testdb"
/>
                                <property name="user" value="ignite"/>
                                <property name="password" value="ignite"/>
                              </bean>
                            </property>
                         </bean>
                     </constructor-arg>
                 </bean>



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/CacheJdbcStoreSessionListener-setting-in-config-xml-file-postgrs-tp4251.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.