Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Description:
============
When I'm trying to start a TIBCO BusinessEvents engine, the following error is seen:
>>>>>>>>>>>>>>>>>>>>>>
2012 Apr 27 19:29:53:722 GMT -5 bbaloi.vm.com Info [main] - [runtime.session] Loading the project from: C:\tibco_projects\workspaces\be50\MSSS_BE_Project.ear
2012 Apr 27 19:29:56:409 GMT -5 bbaloi.vm.com Info [main] - [runtime.session] Loaded the project successfully
2012 Apr 27 19:29:56:425 GMT -5 bbaloi.vm.com Info [main] - [runtime.session] Registering Ontology Classes...
2012 Apr 27 19:29:57:817 GMT -5 bbaloi.vm.com Error [main] - [root] Exception in thread "main"
2012 Apr 27 19:29:57:817 GMT -5 bbaloi.vm.com Error [main] - [root] java.lang.NoClassDefFoundError: javax/resource/spi/ManagedConnectionFactory
<<<<<<<<<<<<<<<<<<<<<<
Environment:
============
TIBCO BusinessEvents 5.0.0
Cause:
======
Inside the customer's MSSS_BE_Project.ear file, it includes an ojdbc6.jar file under /lib.
On engine startup, be-engine registers ontology classes from the jar file embeded in the ear file. When there is any external classes/jar included in the ear file, the register might fail because external classes are not compatible with BE ontology definitions and cannot be registered as ontology classes.
Resolution:
===========
Move any of the jar files(ojdbc6.jar in this case) out of the project and rebuild the ear file.