Hi,

I want to use this login-function which is offered in the 
protected-Subdirectory of cocoon.

I want to store/read the logininformations in a database. I created a 
jdbc-connection in the cocoon.xconf File, which i can use successfully with 
esql in xsp-pages.
Now i rewrite the auth.xml like this:

<auth-descriptor>
  <connection>db-test</connection>
  <table name="test_user">
    <select dbcol="pk_Kennung" request-param="username" 
to-session="username"/>
    <select dbcol="fk_woanders" to-session="department_id" type="long"/>
  </table>
</auth-descriptor>

Unfortunatly it do not want to work. 
In core.logs i get this errormessage:

java.sql.SQLException: No suitable driver

And then, i am redirected to login.

I do not understand why i cant the same connectionpool here as i 
successfully use in the xsp-pages.
Can somebody tell me  what i must change, so that it will work?


cu,
Christian

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to