- Look in the cocoon logs in WEB-INF\logs for messages regarding your
datasource during startup. Also check the tomcat logs.
- Send the snippets of web.xml and cocoon.xconf that you edited here.
- Where did you put the oracle driver jar? What is it called?
- How did you get your version of Cocoon
Thorsten Bökenkamp dijo:
>
> Description:org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.RuntimeException: Error
> loading driver: oracle.jdbc.driver.OracleDriver
>
>
>
> Was kann ich tun ???
??? I dont understand, but I guess you are asking, "why?"
You need to have the driver in /cocoon/WEB-INF/lib, declared in web.xml
under classes to load at runtime, and you need to set up the datasource in
cocoon.xconf. Sounds like you got step one wrong. See:
http://outerthought.net/wiki/Wiki.jsp?page=SpecificDatabaseConnection
Geoff Howard
-Origi
What Database are you using?
Antonio Gallardo
Lars Müller dijo:
>
> Description:org.apache.cocoon.ProcessingException: Exception in
> ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not
> get the datasource
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No