avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen McConnell <mcconn...@apache.org>
Subject [issue] TimeScheduler runtime failure
Date Sun, 18 Aug 2002 01:24:36 GMT


A action resulting in the lookup of the Cornerstone TimeScheduler 
service within James (such as a request on the James SMTP server to send 
a message) generates a ClassCastException:

[INFO   ] (root.james.remote): RemoteManager init...
[INFO   ] (root.james.remote): RemoteManager using plain on port 4555 at 
null
[INFO   ] (root.james.remote): RemoteManager ...init end
[WARN   ] (root.connections#6561434): Error handling connection
org.apache.avalon.framework.component.ComponentException: Manager 
returned a non-component for the role: org.apache.avalon.cornerstone.servi
ces.scheduler.TimeScheduler
        at 
org.apache.avalon.cornerstone.services.connection.AdaptingComponentManager.lookup(AdaptingComponentManager.java:48)
        at 
org.apache.james.smtpserver.SMTPHandler.compose(SMTPHandler.java:149)
        at 
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:164)
        at 
org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory.createConnectionHandler(AbstractHandlerFactory.java:64)
        at 
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connection.java:182)
        at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
        at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)
rethrown from
java.lang.ClassCastException
        at 
org.apache.avalon.cornerstone.services.connection.AdaptingComponentManager.lookup(AdaptingComponentManager.java:42)
        at 
org.apache.james.smtpserver.SMTPHandler.compose(SMTPHandler.java:149)
        at 
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:164)
        at 
org.apache.avalon.cornerstone.services.connection.AbstractHandlerFactory.createConnectionHandler(AbstractHandlerFactory.java:64)
        at 
org.apache.avalon.cornerstone.blocks.connection.ConnectionRunner.run(Connection.java:182)
        at 
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:47)
        at 
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:80)


I have updates DefaultTimeScheduler to include implemetation of the 
Component interface in order to elimiate this problem.

Chers, Steve.

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net



--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message