portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beni <b...@asbero.com>
Subject Can´t get J2 running
Date Thu, 22 Jul 2004 06:39:01 GMT
Hallo,

fresh CVS-checkout, Maven RC3, allClean allBuld --> works fine
maven quickStart --> works fine

I'm having problems running J2 again after initial deployment.
If I stop Tomcat and start again I'm presented with the following stack
trace (in jetspeed.log):

(Caused by: java.lang.RuntimeException: Failed to initialize prefs api.
java.lang.InternalError: Can't instantiate Preferences factory
java.lang.ClassNotFoundException:
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl)


2004-07-22 08:32:34 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:10
44)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3959)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
66)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:320)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
 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:297)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
----- 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
44)
 at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:887)
 at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3959)
 at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4284)
 at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:8
66)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:850)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)
 at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.j
ava:320)
 at org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
 at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:657)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:476)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
 at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:394)
 at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521)
 at org.apache.catalina.core.StandardService.start(StandardService.java:519)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2345)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
 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:297)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)
Caused by: org.apache.jetspeed.exception.JetspeedException: Jetspeed
Initialization exception!
 at org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:170)
 at org.apache.jetspeed.Jetspeed.createEngine(Jetspeed.java:64)
 ... 28 more
Caused by: java.lang.RuntimeException: 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.PreferencesProviderImpl.start(PreferencesProv
iderImpl.java:113)
 at
org.picocontainer.defaults.DefaultPicoContainer.start(DefaultPicoContainer.j
ava:348)
 at
org.nanocontainer.integrationkit.LifecycleContainerBuilder.buildContainer(Li
fecycleContainerBuilder.java:41)
 at
org.apache.jetspeed.components.PicoComponentManager.<init>(PicoComponentMana
ger.java:66)
 at org.apache.jetspeed.engine.PicoEngine.initComponents(PicoEngine.java:53)
 at org.apache.jetspeed.engine.AbstractEngine.init(AbstractEngine.java:144)
 ... 29 more

it would be great if you can help.

thanx

Beni


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