[ http://issues.apache.org/jira/browse/JS2-505?page=all ]
     
Ate Douma closed JS2-505:
-------------------------

    Resolution: Invalid

The answer is right there at the bottom of the jetspeed.log:

Caused by: org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver 
class 'org.hsqldb.jdbcDriver'
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:766)
        at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at 
org.apache.ojb.broker.metadata.JdbcMetadataUtils.fillJCDFromDataSource(JdbcMetadataUtils.java:261)
        ... 58 more
Caused by: java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:760)
        ... 60 more

You seem to have build jetspeed for using hsqldb but didn't provide the jar.

Note: Jetspeed doesn't magically "know" which db you want to use, so you need 
to provide the corresponding jdbc jar
yourself in jetspeed/WEB-INF/lib, $TOMCAT_HOME/shared/lib or 
$TOMCAT_HOME/common/endorsed.
Only for the default Derby db (that used to be hsqldb in the past) this *is* 
done by the maven-plugin.


> javax.servlet.ServletException: Failed to initalize jetspeed.   jetspeed 
> init() failed
> --------------------------------------------------------------------------------------
>
>          Key: JS2-505
>          URL: http://issues.apache.org/jira/browse/JS2-505
>      Project: Jetspeed 2
>         Type: Bug

>  Environment: win xp sp2
>     Reporter: Marco
>     Priority: Critical
>  Attachments: jetspeed.log, localhost_log.2006-03-04.txt
>
> hi, 
> i have a problem when starting jetspeed 2.0 with tomcat . i compiled jetspeed 
> 2.0 src without problems. tomcat starts but give me an exception : jetspeed 
> init() failed
> javax.servlet.ServletException: Failed to initalize jetspeed. 
> org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization 
> exception!
> org.apache.jetspeed.engine.JetspeedServlet.doGet(JetspeedServlet.java:207)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>       
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:691)
> and others things.
> what is the problem? help me!!!
> ps ( i'm using java jdk 1.5 and tomcat 5.5.8 , i use also tomcat 5.0.28 and 
> tomcat 5.0.30.
> maven is 1.0.2)
> thanks
> thewall

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to