This is most likely an access right issue between Tomcat and MySQL: Jetspeed doesn't seem to be able to connect to MySQL.
Check your MySQL access rights and tests with the command line utility to makje sure that the user Jetspeed is configured with can indeed connect to the database. > -----Message d'origine----- > De : BARDE, CEDRIC [mailto:[EMAIL PROTECTED]] > Envoyé : mercredi 27 novembre 2002 14:15 > À : 'Jetspeed Users' > Objet : Getting crazy with MySQL!!! > > > Hi all, > > I still cannot make Jetspeed work properly with MySQL... I am > using MySQL > 3.23.51 for Windows, the mm.mysql-2.0.4 driver and Jetspeed 1.4b1. > My database is populated (I have used the scripts given with Jetspeed > sources) and I have modified TurbineResources.props... > > First, I run MySQL Server, then Tomcat and finally, I try to hit > http://localhost:8080/jetspeed. But I get this error : > > Horrible Exception: > org.apache.jetspeed.services.security.LoginException: > Failed to get anonymous user: > org.apache.jetspeed.services.security.UserException: Failed > to retrieve user > 'anon': Connection object is null! at > org.apache.jetspeed.services.security.turbine.TurbineAuthentic > ation.getAnony > mousUser(TurbineAuthentication.java:194) at > org.apache.jetspeed.services.JetspeedAuthentication.getAnonymo > usUser(Jetspee > dAuthentication.java:107) at > org.apache.jetspeed.services.JetspeedSecurity.getAnonymousUser > (JetspeedSecur > ity.java:157) at > org.apache.jetspeed.modules.actions.TemplateSessionValidator.d > oPerform(Templ > ateSessionValidator.java:97) at > org.apache.jetspeed.modules.actions.JetspeedSessionValidator.d > oPerform(Jetsp > eedSessionValidator.java:103) at > org.apache.turbine.modules.Action.perform(Action.java:87) at > org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122) at > org.apache.turbine.Turbine.doGet(Turbine.java:468) at > javax.servlet.http.HttpServlet.service(HttpServlet.java) at > javax.servlet.http.HttpServlet.service(HttpServlet.java) at > org.apache.tomcat.facade.ServletHandler.doService(ServletHandl > er.java:574) > at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at > org.apache.tomcat.core.Handler.service(Handler.java:235) at > org.apache.tomcat.facade.ServletHandler.service(ServletHandler > .java:485) at > org.apache.tomcat.facade.RequestDispatcherImpl.doForward(Reque > stDispatcherIm > pl.java:272) at > org.apache.tomcat.facade.RequestDispatcherImpl.forward(Request > DispatcherImpl > .java:174) at > org.apache.jasper.runtime.PageContextImpl.forward(PageContextI > mpl.java:423) > at index_1._jspService(index_1.java:51) at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at > javax.servlet.http.HttpServlet.service(HttpServlet.java) at > org.apache.tomcat.facade.ServletHandler.doService(ServletHandl > er.java:574) > at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at > org.apache.tomcat.core.Handler.service(Handler.java:235) at > org.apache.tomcat.facade.ServletHandler.service(ServletHandler > .java:485) at > org.apache.tomcat.core.ContextManager.internalService(ContextM > anager.java:91 > 7) at > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > at > org.apache.tomcat.modules.server.Http10Interceptor.processConn > ection(Http10I > nterceptor.java:176) at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi > nt.java:494) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > ThreadPool.jav > a:516) at java.lang.Thread.run(Thread.java:479) > > I cannot figure out what I am doing wrong. > If anyone could point me to the right direction, I would > appreciate it a > lot! > > Thanx in advance. > Ced > > __________________________________ > Cédric BARDE > Disneyland Resort Paris - Information Services > Bâtiment Robin Hood - BP 100 > 77777 Marne-La-Vallée > Tél : 01 64 74 65 49 > Fax : 01 64 74 65 65 > Email : [EMAIL PROTECTED] > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>