You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Marco (JIRA)" <je...@portals.apache.org> on 2006/03/03 10:43:53 UTC

[jira] Created: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

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


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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Closed: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

Posted by "Ate Douma (JIRA)" <je...@portals.apache.org>.
     [ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-505?page=comments#action_12368719 ] 

Randy Watler commented on JS2-505:
----------------------------------

please attach jetspeed.log and tomcat logs that include errors to this issue

cant do much without more data!


> 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

>
> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

Posted by "Marco (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-505?page=all ]

Marco updated JS2-505:
----------------------

    Attachment: localhost_log.2006-03-04.txt

> 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: 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Updated: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

Posted by "Marco (JIRA)" <je...@portals.apache.org>.
     [ http://issues.apache.org/jira/browse/JS2-505?page=all ]

Marco updated JS2-505:
----------------------

    Attachment: jetspeed.log

i also attach jetspeed.log

> 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Commented: (JS2-505) javax.servlet.ServletException: Failed to initalize jetspeed. jetspeed init() failed

Posted by "Marco (JIRA)" <je...@portals.apache.org>.
    [ http://issues.apache.org/jira/browse/JS2-505?page=comments#action_12368847 ] 

Marco commented on JS2-505:
---------------------------

i compile jetspeed with eclipse i attach tomcat's log but i don't know where is log of jetspeed

> 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: 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org