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 Böhringer Jochen <Jo...@tcc-products.de> on 2004/10/12 13:54:48 UTC

Exception starting tomcat

Hi,

I'm completely new to jetspeed and tried to install it in a local tomcat.
First at all I did not find any download link to get a release. The download links on the apache.portal.org site redirect me to one of the apache mirrors but there are only Pluto files in the portal folder.

So I checked out the head f the Jakarta-jetspeed-2 project from CVS.

Then I executed the allBuild Maven Task as described in the Getting Started documentation. This build was successful and also the quickStart build returned without any errors.

But when I start the tomcat server I get several exceptions. The environment: JDK1.4.2_06, Tomcat 5.0.28, Windows 2000 Server SP4

Any help would be greatly appreciated.

Jochen

2004-10-12 13:41:31 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
2004-10-12 13:41:36 StandardContext[/jetspeed]Servlet /jetspeed threw load() exception
javax.servlet.ServletException: Jetspeed: init() failed
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:158)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
[...]
----- Root Cause -----
org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:137)
[...]
Caused by: org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
	at org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:154)
	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
[...]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.jetspeed.prefs.PreferencesProvider' defined in URL [file:/C:/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]: Initialization method 'start' threw exception; nested exception is java.lang.RuntimeException: Failed to initialize prefs api.  org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: org.apache.jetspeed.prefs.om.impl.NodeImpl not found in OJB Repository
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:813)
[...]
Caused by: java.lang.RuntimeException: Failed to initialize prefs api.  org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: org.apache.jetspeed.prefs.om.impl.NodeImpl not found in OJB Repository
	at org.apache.jetspeed.prefs.impl.PreferencesProviderImpl.start(PreferencesProviderImpl.java:114)
[...]


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Re: Exception starting tomcat

Posted by "Scott T. Weaver" <sc...@binary-designs.net>.
It looks like you might be missing some of the OJB repository files in 
your classpath. 

1. verify that these files are present under 
"webapps/jetspeed/WEB-INF/classes" in you tomcat install:
OJB-logging.properties
OJB.properties
repository_database.xml
repository.dtd
repository_internal.xml
repository.xml
TEMP.xml

2. verify that the 
webapps/jetspeed/WEB-INF/lib/jetspeed-prefs-2.0-a1-dev.jar contains 
META-INF/ojb_repository.xml.

hth,

Böhringer Jochen wrote:

>Hi,
>
>I'm completely new to jetspeed and tried to install it in a local tomcat.
>First at all I did not find any download link to get a release. The download links on the apache.portal.org site redirect me to one of the apache mirrors but there are only Pluto files in the portal folder.
>
>So I checked out the head f the Jakarta-jetspeed-2 project from CVS.
>
>Then I executed the allBuild Maven Task as described in the Getting Started documentation. This build was successful and also the quickStart build returned without any errors.
>
>But when I start the tomcat server I get several exceptions. The environment: JDK1.4.2_06, Tomcat 5.0.28, Windows 2000 Server SP4
>
>Any help would be greatly appreciated.
>
>Jochen
>
>2004-10-12 13:41:31 StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
>2004-10-12 13:41:36 StandardContext[/jetspeed]Servlet /jetspeed threw load() exception
>javax.servlet.ServletException: Jetspeed: init() failed
>	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:158)
>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
>[...]
>----- Root Cause -----
>org.apache.jetspeed.exception.JetspeedException: Unable to create Engine
>	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:76)
>	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:137)
>[...]
>Caused by: org.apache.jetspeed.exception.JetspeedException: Jetspeed Initialization exception!
>	at org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:154)
>	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
>[...]
>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.jetspeed.prefs.PreferencesProvider' defined in URL [file:/C:/jakarta-tomcat-5.0.28/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]: Initialization method 'start' threw exception; nested exception is java.lang.RuntimeException: Failed to initialize prefs api.  org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: org.apache.jetspeed.prefs.om.impl.NodeImpl not found in OJB Repository
>	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:813)
>[...]
>Caused by: java.lang.RuntimeException: Failed to initialize prefs api.  org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: org.apache.jetspeed.prefs.om.impl.NodeImpl not found in OJB Repository
>	at org.apache.jetspeed.prefs.impl.PreferencesProviderImpl.start(PreferencesProviderImpl.java:114)
>[...]
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org
>
>
>
>  
>


-- 
"Great minds discuss ideas. Average minds discuss events. Small minds discuss people."  - Admiral Hyman Rickover

*******************************************
*           Scott T. Weaver               *
*         <we...@apache.org>             *
*     <http://www.einnovation.com>        *
* --------------------------------------  *
*   Apache Jetspeed Enterprise Portal     *
*     Apache Pluto Portlet Container      *
*                                         *
* OpenEditPro, Website Content Management *
*     <http://www.openedit.org>           *
*******************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org