Question to the example "protected", Error: java.sql.SQLException: No suitable driver

2002-04-30 Thread Christian SCHRÖTER

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:


  db-test
  


  


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. 

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




Example protected

2002-04-26 Thread Christian SCHRÖTER

Hi,

i got a cvs snapshoot of cocoon from today (2002-04-26). 
The i wanted to test the protected example, but i get this errormessage:

Type 'wildcard' is not defined for 'match' at 
file:/home/stsdc/Jakarta/jakarta-tomcat-4.0.1/webapps/cocoon/protected/ 
sitemap.xmap:43:29

If i replace in the subsitemap 



with:





i get the "next" error:

Type 'file' is not defined for 'generate' at 
file:/home/stsdc/Jakarta/jakarta-tomcat-4.0.1/webapps/cocoon/protected/ 
sitemap.xmap:51:45


Well i think that the subsitemap do not inharit the defenitions of its 
parentsitemap...also if i try to access any other subsite (eg sub/) it also 
wount work.

What do i have to do to change this...beside to add all map:components to 
every subsitemap...?

Cu,
Christian


-- 

Schröter, Christian
Siemens Business Services GmbH & Co. OHG
SBS D BS ECS 3
Tel.: +49 911 654 2355
Fax: +49 911 654 2108
Mobil: +49 160 97843762
eMail: [EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. 

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