Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
==========
Error “java.lang.ClassNotFoundException” when TIBCO BusinessEvents receives an Input Event.
Environment:
===========
TIBCO BusinessEvents 5.x
All Operating Systems
Symptoms:
=========
When BusinessEvents receives an Input Event, the following error is thrown:
java.lang.ClassNotFoundException
at com.tibco.cep.runtime.service.loader.BEClassLoader.createEntity(BEClassLoader.java:1087)
at com.tibco.cep.runtime.service.loader.BEClassLoader.createEntity(BEClassLoader.java:1098)
at com.tibco.cep.driver.jms.serializer.MapMessageSerializer.deserialize(SourceFile:60)
at com.tibco.cep.runtime.service.cluster.ClusterTaskController.executeTask(ClusterTaskController.java:55)
at com.tibco.cep.runtime.scheduler.impl.WorkerBasedControllerV2$WorkerTask.run(WorkerBasedControllerV2.java:466)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at com.tibco.cep.runtime.util.CustomBEManagedThread.run(CustomBEManagedThread.java:24)
Cause:
======
Ask for the full debug enabled log to ensure that the log contains the namespace (_ns_) and BusinessEvent Event type (_nm_) entries. The reason this error occurred was due to the difference between the namespace setting in the BusinessEvent project and what the logfile was reporting. Check both the BE project and another BW project to send the JMS Queue Send (as an example). The URL and Name of Event must exist in the project.
Resolution:
==========
_nm_="incomingEvent"
_ns_="www.tibco.com/be/ontology/<BusinessEventFolder>/<incomingEventName>"
Confirm that the name in your project exists and what has been defined in the namespace also exists.