On 2 Sep 2007, at 21:57, Vincent Dutat wrote:
I developed a listener which is triggered by an event generated by
a scheduler component and I get exceptions when my listener access
a directory. Here is the exception :
No classloader is found for DirectoryClientImpl which is in nuxeo-
plaftorm-directory-api, which is strange.
How does ExpirationDateCheckListener#notifyEvent reconnect to the
platform ?
Florent
2007-09-02 21:46:00,406 DEBUG
[org.nuxeo.ecm.directory.sql.SQLHelper] policy='on_missing_columns'
and all column matched, skipping sql setup script
2007-09-02 21:46:00,421 ERROR [STDERR]
java.lang.reflect.UndeclaredThrowableException
2007-09-02 21:46:00,421 ERROR [STDERR] at $Proxy104.open(Unknown
Source)
2007-09-02 21:46:00,421 ERROR [STDERR] at
be.microresearch.ecm.zpn.listeners.expirationdatechecklistener.Expirat
ionDateCheckListener.notifyEvent(ExpirationDateCheckListener.java:66)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.nuxeo.ecm.core.listener.impl.CoreEventListenerServiceImpl.notifyEv
entListeners(CoreEventListenerServiceImpl.java:84)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.nuxeo.ecm.platform.scheduler.core.EventJob.execute
(EventJob.java:68)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.quartz.core.JobRunShell.run(JobRunShell.java:203)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run
(SimpleThreadPool.java:520)
2007-09-02 21:46:00,421 ERROR [STDERR] Caused by:
java.io.IOException: No ClassLoaders found for:
org.nuxeo.ecm.directory.impl.DirectoryClientImpl
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData
(ClassMetamodelFactory.java:317)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.classmetamodel.StreamingClass.readStream
(StreamingClass.java:72)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDes
criptionFromStreaming(ObjectDescriptorFactory.java:380)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDes
cription(ObjectDescriptorFactory.java:81)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.objectmetamodel.DataContainer
$DataContainerInput.readObject(DataContainer.java:841)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.io.MarshalledObjectForLocalCalls.get
(MarshalledObjectForLocalCalls.java:60)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke
(IsLocalInterceptor.java:74)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.aop.joinpoint.MethodInvocation.invokeNext
(MethodInvocation.java:101)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke
(StatefulRemoteProxy.java:133)
2007-09-02 21:46:00,421 ERROR [STDERR] ... 6 more
2007-09-02 21:46:00,421 ERROR [STDERR] Caused by:
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.nuxeo.ecm.directory.impl.DirectoryClientImpl
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl
(RepositoryClassLoader.java:511)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.mx.loading.RepositoryClassLoader.loadClass
(RepositoryClassLoader.java:405)
2007-09-02 21:46:00,421 ERROR [STDERR] at
java.lang.ClassLoader.loadClass(ClassLoader.java:251)
2007-09-02 21:46:00,421 ERROR [STDERR] at
org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaData
(ClassMetamodelFactory.java:273)
2007-09-02 21:46:00,421 ERROR [STDERR] ... 14 more
2007-09-02 21:46:00,421 DEBUG
[org.nuxeo.ecm.platform.events.listener.JMSEventListener] notifyEvent
2007-09-02 21:46:00,437 DEBUG
[org.nuxeo.ecm.platform.events.service.JMSDocumentMessageProducerServi
ce] Producing message..............................
200
--
Vincent Dutat
for any given software, the moment you manage to master it, a new
version appears.
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm