*sigh* I almost got it working...

Hello, all,

I read the mailing list archives, the jetspeed FAQ, the turbine mailing list, the docs 
but... nothing. This may be pretty stupid, but can anyone help?

Turbine always says user '@localhost' has access denied:

--- apache/error.log

java.lang.Error: Error in BasePeer.initTableSchema(): General error: Access denied for 
user: '@localhost' to database 'turbine'
   at org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:222)
   at org.apache.turbine.om.user.peer.TurbineUserPeer.<clinit>(TurbineUserPeer.java)
   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)
---

--- turbine.log

[Wed Mar 29 16:56:33 GMT+00:00 2000] --  ERROR  -- 
   Exception:  java.sql.SQLException: General error: Access denied for user: 
'@localhost' to database 'turbine'
   Stack Trace follows:
   java.sql.SQLException: General error: Access denied for user: '@localhost' to 
database 'turbine'
   at org.gjt.mm.mysql.MysqlIO.sendCommand(MysqlIO.java)
   at org.gjt.mm.mysql.Connection.<init>(Connection.java)
   at org.gjt.mm.mysql.Driver.connect(Driver.java)
   at java.sql.DriverManager.getConnection(DriverManager.java:453)
   at java.sql.DriverManager.getConnection(DriverManager.java:155)
   at org.apache.turbine.util.db.pool.DBMM.getConnection(DBMM.java:88)
   at 
org.apache.turbine.util.db.pool.ConnectionPool.getNewConnection(ConnectionPool.java:180)
   at 
org.apache.turbine.util.db.pool.ConnectionPool.getConnection(ConnectionPool.java:141)
   at org.apache.turbine.util.db.pool.DBBroker.getConnection(DBBroker.java:164)
   at org.apache.turbine.util.db.pool.DBBroker.getConnection(DBBroker.java:121)
   at org.apache.turbine.om.peer.BasePeer.initTableSchema(BasePeer.java:207)
   at org.apache.turbine.om.user.peer.TurbineUserPeer.<clinit>(TurbineUserPeer.java)
   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)
___


--- turbineResources.properties

database.default.driver=org.gjt.mm.mysql.Driver
database.default.url=jdbc:mysql://localhost:3306/turbine
database.default.username=root
database.default.password=rootpass_with_non_alphanumeric_chars
___

And I don't get errors from jserv.log (just jetspeed/Turbine: started)

Now, the strange thing is that it doesn't say 'root@localhost': Access denied. It's as 
if no user is being specified. I tried some different users but it never displays a 
name. 

I'm using Jetspeed-1.0, the libraries that come with it, jdk1.2.2, jserv (from Debian 
unstable) and I'm out of ideas. Anyone got any?

  Thanks,

  David


--
--------------------------------------------------------------
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]

Reply via email to