You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by mp...@xapsolutions.com on 2003/03/08 00:50:54 UTC

ClassNotFoundException during first run

I have downloaded and unpacked the james 2.1.2 distribution. I have 
jsdk1.4.0_03 installed. When I run 'run.bat', I receive the following errors 
in the phoenix.log file):

INFO    2003-03-07 15:29:03.171 [Phoenix.] (): 17 Blocks to process for 
phase "startup". Order of processing = [dnsserver, objectstorage, database-
connections, mailstore, users-store, thread-manager, connections, sockets, 
scheduler, James, spoolmanager, remotemanager, pop3server, smtpserver, nntp-
repository, nntpserver, fetchpop].
ERROR   2003-03-07 15:29:04.921 [Phoenix.] (): Component named "mailstore" 
failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
ERROR   2003-03-07 15:29:04.921 [Phoenix.] (): There was an error running 
phase "startup" for Block named "mailstore". (Reason: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).).
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
	at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:289)
	at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:159)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
	at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository
	at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:311)
	at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:121)
	at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
	at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
	at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository: 
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
	at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:205)
	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.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
	at $Proxy1.select(Unknown Source)
rethrown from
java.lang.ClassNotFoundException: 
org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
	at java.lang.Class.forName0(Native Method)
INFO    2003-03-07 15:29:04.937 [Phoenix.] (): exception while 
starting:Component named "mailstore" failed to pass through the 
Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).

More follows this, but for brevity of this message it is excluded. I looked 
through the .jar files in the james-2.1.2/lib directory, and the only 
instance of File_Persistent_Stream_Repository is in the avalon cornerstone 
packages. What is going on?

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