Thank you for your help!!
I have tried it as you suggested and also on a different system (Ubuntu instead 
of Windows), but I can't get it work. Before I have started Tomcat always 
through Eclipse, now I tried it directly and now I get the following exception 
by accessing it through the browser:

javax.servlet.ServletException: org.apache.tomcat.dbcp.dbcp.SQLNestedException: 
Cannot create JDBC driver of class '' for connect URL 'null'
        
org.apache.mahout.cf.taste.web.RecommenderServlet.init(RecommenderServlet.java:76)
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
        
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        java.lang.Thread.run(Unknown Source)

That is really strange to me, since I can see the JNDI Name in the admin 
webapplication. I am already quite frustrated :(

--- Sean Owen <[email protected]> schrieb am Di, 9.11.2010:

> Von: Sean Owen <[email protected]>
> Betreff: Re: Usage of MySQL as DataSource with connection pooling
> An: [email protected]
> Datum: Dienstag, 9. November, 2010 14:19 Uhr
> I take it back -- I think the way you
> are configuring it is also valid.
> However the problem is that for whatever reason it is not
> configuring
> and deploying JNDI correctly. You should look in the server
> logs for a
> clue to the problem.
> 
> On Tue, Nov 9, 2010 at 11:03 AM, Sean Owen <[email protected]>
> wrote:
> > This really isn't a question about Mahout itself, but
> I believe I can
> > still help.
> >
> > I don't see anywhere that you've actually configured
> the DataSource!
> > You need something like this in server.xml; this is my
> standard
> > "recipe":
> 


Reply via email to