Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Mahout, mail # user - MySQLjDBCDataModel with JNDI


Copy link to this message
-
MySQLjDBCDataModel with JNDI
Amrhal Lelasm 2012-04-22, 13:29

Hi,
I've been playing with Mahout for a while and I'm now trying to use a preference data from a database. So far I've been running Mahout using ant as a normal java application outside of any web container. My question is, if  I can use JNDI to connect to the database in this scenario?  From what I've read so far, it seems I should run my application inside a web container like tomcat to use JNDI. Is this right?
Thanks.    
+
Sean Owen 2012-04-22, 14:11
+
Lance Norskog 2012-04-22, 22:17
+
Sean Owen 2012-04-22, 22:27
+
Lance Norskog 2012-04-23, 21:38