portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Ukor" <rol...@rolandukor.com>
Subject Help! Not able to setup Jetspeed2 properly
Date Tue, 04 Jan 2005 22:00:35 GMT
Hi everyone,

Kudos for the work you're all doing.
I had successfully experimented with Jetspeed 1.5. I download Jetpseed2
M1 and unzipped it on top of my existing tomcat 5.0.27 folder. 

I started tomcat but it reported the following exception which could not
allow the application to initialize. 

004-12-23 16:16:04 StandardContext[/jetspeed] Velocity  [error] Problem
loading toolbox '/WEB-INF/toolbox.xml' : java.lang.NullPointerException
2004-12-23 16:16:04 StandardContext[/jetspeed] Velocity  [error]
java.lang.NullPointerException
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
40)
	at
org.apache.commons.digester.Digester.createSAXException(Digester.java:25
66)
	at
org.apache.commons.digester.Digester.endElement(Digester.java:1061)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown
Source)
	at org.apache.xerces.parsers.DTDConfiguration.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.velocity.tools.view.XMLToolboxManager.load(Unknown
Source)
	at
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getInstance
(Unknown Source)
	at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.initToolbox(U
nknown Source)
	at
org.apache.velocity.tools.view.servlet.VelocityViewServlet.init(Unknown
Source)
	at
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.init(JetspeedVe
locityViewServlet.java:132)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

2004-12-23 16:16:04 StandardContext[/jetspeed] Velocity   [info]
VelocityViewServlet: Default content-type is: text/html
2004-12-23 16:16:04 StandardContext[/jetspeed]StandardWrapper.Throwable
java.lang.NullPointerException
	at
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.init(JetspeedVe
locityViewServlet.java:136)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

2004-12-23 16:16:04 StandardContext[/jetspeed]Servlet /jetspeed threw
load() exception
javax.servlet.ServletException: Servlet.init() for servlet velocity
threw exception
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1071)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
----- Root Cause -----
java.lang.NullPointerException
	at
org.apache.jetspeed.velocity.JetspeedVelocityViewServlet.init(JetspeedVe
locityViewServlet.java:136)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)

2004-12-23 16:17:21 StandardContext[/jsp-examples]ContextListener:
contextInitialized()
2004-12-23 16:17:21 StandardContext[/jsp-examples]SessionListener:
contextInitialized()
2004-12-23 16:17:22 StandardContext[/servlets-examples]ContextListener:
contextInitialized()
2004-12-23 16:17:22 StandardContext[/servlets-examples]SessionListener:
contextInitialized()
2004-12-23 16:17:26 ApplicationDispatcher[/jetspeed] Servlet.service()
for servlet jetspeed threw exception
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:135
)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Caused by: org.apache.jetspeed.exception.JetspeedException: Jetspeed
Initialization exception!
	at
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:155)
	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
	... 47 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'java.util.prefs.PreferencesFactory'
defined in URL
[file:/C:/tomcat/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]:
Initialization of bean failed; nested exception is
org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
prefs api.  java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:300)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:205)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:204)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:136)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:236)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:284)
	at
org.springframework.context.support.FileSystemXmlApplicationContext.<ini
t>(FileSystemXmlApplicationContext.java:114)
	at
org.springframework.context.support.FileSystemXmlApplicationContext.<ini
t>(FileSystemXmlApplicationContext.java:96)
	at
org.apache.jetspeed.components.SpringComponentManager.<init>(SpringCompo
nentManager.java:44)
	at
org.apache.jetspeed.engine.SpringEngine.initComponents(SpringEngine.java
:108)
	at
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:135)
	... 48 more
Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to
initialize prefs api.  java.lang.InternalError: Can't instantiate
Preferences factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
	at
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFa
ctoryImpl.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087
)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:287)
	... 58 more

2004-12-23 16:17:26 StandardWrapperValve[jsp]: Servlet.service() for
servlet jsp threw exception
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:135
)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:1029)
	at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.j
ava:4013)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4357
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:823)
	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(StandardHostDeplo
yer.java:903)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:2
52)
	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.ja
va:76)
	at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unk
nown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn 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(StandardHostDeploy
er.java:488)
	at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
	at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java
:482)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:968)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:34
9)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.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.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284)
	at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422)
Caused by: org.apache.jetspeed.exception.JetspeedException: Jetspeed
Initialization exception!
	at
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:155)
	at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
	... 47 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'java.util.prefs.PreferencesFactory'
defined in URL
[file:/C:/tomcat/webapps/jetspeed/WEB-INF/assembly/jetspeed-spring.xml]:
Initialization of bean failed; nested exception is
org.apache.jetspeed.prefs.PreferencesException: Failed to initialize
prefs api.  java.lang.InternalError: Can't instantiate Preferences
factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:300)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:205)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:204)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(Ab
stractBeanFactory.java:136)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.pre
InstantiateSingletons(DefaultListableBeanFactory.java:236)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(A
bstractApplicationContext.java:284)
	at
org.springframework.context.support.FileSystemXmlApplicationContext.<ini
t>(FileSystemXmlApplicationContext.java:114)
	at
org.springframework.context.support.FileSystemXmlApplicationContext.<ini
t>(FileSystemXmlApplicationContext.java:96)
	at
org.apache.jetspeed.components.SpringComponentManager.<init>(SpringCompo
nentManager.java:44)
	at
org.apache.jetspeed.engine.SpringEngine.initComponents(SpringEngine.java
:108)
	at
org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:135)
	... 48 more
Caused by: org.apache.jetspeed.prefs.PreferencesException: Failed to
initialize prefs api.  java.lang.InternalError: Can't instantiate
Preferences factory java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl
	at
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl.init(PreferencesFa
ctoryImpl.java:69)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1087
)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1061)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.createBean(AbstractAutowireCapableBeanFactory.java:287)
	... 58 more

I attempted to comment out the following from the jetspeed-spring.xml
file and it started. But when I attempt to login, it emits a JAASRealm
exception:

Please help

Roland Ukor





---------------------------------------------------------------------
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