portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beni <b...@asbero.com>
Subject Re: Jetspeed 2 - Failed to initialize prefs api. org.apache.ojb. broker.metadata.ClassNotPersistenceCapableException:
Date Wed, 27 Oct 2004 08:37:00 GMT
her comes the solution for the described error:

http://www.mail-archive.com/jetspeed-dev@jakarta.apache.org/msg16644.html

now it works thanx to all and good work !

Beni
----- Original Message ----- 
From: "Beni" <beni@asbero.com>
To: <jakarta-jetspeed-2-cvs@apache.org>
Sent: Tuesday, October 26, 2004 4:54 PM
Subject: Jetspeed 2 - Failed to initialize prefs api. 
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException:


Hello,

please help me i don`t know where i´m going wrong, i followed the steps on
GettingStarted ??

Building and deploying with maven works fine but when i start Tomcat i get
this Error:

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:10
29)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4013)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
23)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:903)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
 at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7
6)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.commons.digester.Digester.parse(Digester.java:1567)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:488)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
 at org.apache.catalina.core.StandardService.start(StandardService.java:480)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
----- 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)
 at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:10
29)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
4013)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
23)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
 at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.
java:903)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
 at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
 at org.apache.commons.digester.Rule.end(Rule.java:276)
 at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
 at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:7
6)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.dispatch(Unknown Source)
 at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.commons.digester.Digester.parse(Digester.java:1567)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:488)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
 at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483
)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
 at org.apache.catalina.core.StandardService.start(StandardService.java:480)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
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)
 ... 47 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.jetspeed.prefs.PreferencesProvider'
defined in URL [file:/C:/Programme/Apache Software Foundation/Tomcat
5.0/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]: Initialization
of bean failed; 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
.createBean(AbstractAutowireCapableBeanFactory.java:300)
 at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:205)
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:204)
 at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Abstra
ctBeanFactory.java:136)
 at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInst
antiateSingletons(DefaultListableBeanFactory.java:236)
 at
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
actApplicationContext.java:284)
 at
org.springframework.context.support.FileSystemXmlApplicationContext.<init>(F
ileSystemXmlApplicationContext.java:114)
 at
org.springframework.context.support.FileSystemXmlApplicationContext.<init>(F
ileSystemXmlApplicationContext.java:96)
 at
org.apache.jetspeed.components.SpringComponentManager.<init>(SpringComponent
Manager.java:44)
 at
org.apache.jetspeed.engine.SpringEngine.initComponents(SpringEngine.java:108
)
 at org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:134)
 ... 48 more
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(PreferencesProv
iderImpl.java:113)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087)
 at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
 at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory
.createBean(AbstractAutowireCapableBeanFactory.java:287)
 ... 58 more


i´m using jsdk.j2sdk1.4.2_06 and Tomcat 5.028


thanx in advance

Beni




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


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


Mime
View raw message