Adding a third party jar in TIBCO BusinessEvents (BE) Studio causes org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'nativeLibraryLocation' not found when the Enterprise Archive (EAR) is run.

Adding a third party jar in TIBCO BusinessEvents (BE) Studio causes org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'nativeLibraryLocation' not found when the Enterprise Archive (EAR) is run.

book

Article ID: KB0090582

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============

Full stack:

2012 Dec 18 14:59:44:468 GMT -5 guy-T400.na.tibco.com Error [main] - [root] org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'nativeLibraryLocation' not found. (archive:jar:file:/C:/Logs/SR_1-E5XXKY/jmldTester.ear!/Shared%20Archive.sar!/.beproject, 11, 29)
2012 Dec 18 14:59:44:468 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
2012 Dec 18 14:59:44:468 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
2012 Dec 18 14:59:44:468 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
2012 Dec 18 14:59:44:468 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1445)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.studio.core.repo.emf.DeployedEMFProject.loadProjectConfiguration(Unknown Source)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.studio.core.repo.emf.DeployedEMFProject.preload(Unknown Source)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.studio.core.repo.emf.EMFProject.load(Unknown Source)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.studio.core.repo.emf.DeployedEMFProject.load(Unknown Source)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.initProject(RuleServiceProviderImpl.java:1120)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.jumpStart(BEMain.java:130)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root]     at com.tibco.cep.container.standalone.BEMain.main(BEMain.java:57)
2012 Dec 18 14:59:44:484 GMT -5 guy-T400.na.tibco.com Error [main] - [root] Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'nativeLibraryLocation' not found. (archive:jar:file:/C:/Logs/SR_1-E5XXKY/jmldTester.ear!/Shared%20Archive.sar!/.beproject, 11, 29)

Environment:
==========
OS: All; BE 4.0.x

Cause:
======
The problem is caused by multiple versions of com.tibco.cep.studio.common_4.0.*.jar
in BE_HOME\be\4.0\hotfix\lib\eclipse\plugins.  The runtime jar file does not know how to correctly execute the EAR file.

Resolution:
=========
Remove all except the last version of com.tibco.cep.studio.common_4.0.*.jar from BE_HOME\be\4.0\hotfix\lib\eclipse\plugins

Issue/Introduction

Adding a third party jar in TIBCO BusinessEvents (BE) Studio causes org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'nativeLibraryLocation' not found when the Enterprise Archive (EAR) is run.