I found the problem. I changed the driver.
I used the mm_sql_jdbc_2.0pre4 : problems
Now I use the mm_sql_jdbc_1.2c. I works.
Herv�
----- Original Message -----
From: Herv� Guidetti <[EMAIL PROTECTED]>
To: JetSpeed <[EMAIL PROTECTED]>
Sent: Thursday, April 27, 2000 5:12 PM
Subject: Problem connecting with JetSpeed with a mySQL database
> Hello, I am new on the mailing-list and a new user of JetSpeed.
>
> I am developping an application to access to distributed document in an
> Intranet with user authentification, ...
>
> I installed JetSpeed and a mySQL database (for Turbine). Everything works
> fine except the login of Turbine. In the classpath of Jserv, I put the
mySQL
> JDBC Driver. When I try to login, this error message appears in the log
file
> :
>
> java.lang.Error: Error in BasePeer.initTableSchema(): Cannot load
connection
> class 'java.sql.SQLException: Communication link failure: Bad handshake'.
> at org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:222)
> at
>
org.apache.turbine.om.user.peer.TurbineUserPeer.<clinit>(TurbineUserPeer.jav
> a)
> at
>
org.apache.turbine.om.user.TurbineUser.retrieveFromStorage(TurbineUser.java:
> 309)
> at
org.apache.turbine.om.user.peer.UserFactory.getUser(UserFactory.java:109)
> at org.apache.turbine.om.user.peer.UserFactory.getUser(UserFactory.java:84
> at org.apache.turbine.modules.actions.LoginUser.build(LoginUser.java:96)
> at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:111)
> at Turbine.doGet(Turbine.java:263)
> at Turbine.doPost(Turbine.java:392)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:277)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
> at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:314)
> at org.apache.jserv.JServConnection.run(JServConnection.java:188)
> at java.lang.Thread.run(Thread.java:475)
>
> >From where would it come from ?
> Any suggestions would be welcome.
>
> regards,
>
> Herv�
>
>
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]