Jump to content

TIBCO-BW-SR-FRWK-502000: Failed to create SharedResource


Ben Warrick

Recommended Posts

I'm having an error after creating a shared module and trying to share it with a most-simple test application module. No errors appear when I build the project, only when I try to run the application module. Below is a screenshot of my project. TibWS_Project_Template_BW6 is dependent on SOA_CommonSchemas -- this seems to be working fine. Test simply calls SubmitLogThin.bwp, which calls SubmitLog.bwp. Also below is the output when I try to run Test in debug mode.

Can anyone give a hint as to what's going wrong here Thanks.

 

14:54:17.445 INFO [main] com.tibco.thor.frwk - TIBCO ActiveMatrix BusinessWorks version 6.3.2, build V30, 2016-04-28

14:54:22.449 INFO [main] com.tibco.thor.frwk.Deployer - Started by BusinessStudio.

@BWEclipseAppNode> Oct 27, 2016 2:54:23 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor

WARNING: PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

Oct 27, 2016 2:54:23 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor

WARNING: PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

Oct 27, 2016 2:54:23 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor

WARNING: PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

Oct 27, 2016 2:54:23 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor

WARNING: PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

Oct 27, 2016 2:54:23 PM org.springframework.beans.TypeConverterDelegate findDefaultEditor

WARNING: PropertyEditor [com.sun.beans.editors.EnumEditor] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

14:54:23.843 INFO [main] com.tibco.bw.frwk.engine.BWEngine - TIBCO-BW-FRWK-300002: BW Engine [Main] started successfully.

14:54:26.200 INFO [Framework Event Dispatcher: Equinox Container: 60321fc1-769c-0016-1d9d-ad37344a683a] com.tibco.thor.frwk.Deployer - TIBCO-THOR-FRWK-300001: Started OSGi Framework of AppNode [bWEclipseAppNode] in AppSpace [bWEclipseAppSpace] of Domain [bWEclipseDomain]

14:54:26.300 INFO [Framework Event Dispatcher: Equinox Container: 60321fc1-769c-0016-1d9d-ad37344a683a] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300018: Deploying BW Application [Test.application:1.0].

14:54:26.367 INFO [Thread-30] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300019: BW Application [Test.application:1.0] is impaired.

14:54:26.369 INFO [Framework Event Dispatcher: Equinox Container: 60321fc1-769c-0016-1d9d-ad37344a683a] com.tibco.thor.frwk.Application - Started by BusinessStudio, ignoring .enabled settings.

14:54:27.862 INFO [Job_Executor0] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300021: All Application dependencies are resolved for Application [Test.application:1.0]

14:54:29.141 ERROR [CM Configuration Updater (Update: pid={http://xsd.tns.tibco.com/bw/models/sharedresource/jms}JMSConnectionFactory.8ae456d0-07cf-4e12-8c4a-6e6e8dc89ce1)] c.t.b.s.r.c.SharedResourceModulePropertyTracker - TIBCO-BW-SR-FRWK-502000: Failed to create SharedResource [Connections.JMS.JMSConnection_CLE_Log_bw6] for Module [TibWS_Project_Template_BW6:1.0.0.qualifier], DeploymentUnit [Test.application:1.0].

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException.

java.lang.reflect.InvocationTargetException.

java.lang.NullPointerException

 

14:54:29.276 ERROR [CM Configuration Updater (Update: pid={http://xsd.tns.tibco.com/bw/models/sharedresource/jms}JMSConnectionFactory.741a3b41-87be-4441-9d32-e3a76d73ff63)] c.t.b.s.r.c.SharedResourceModulePropertyTracker - TIBCO-BW-SR-FRWK-502000: Failed to create SharedResource [Connections.JMS.JMSConnection_TibWS_bw6] for Module [TibWS_Project_Template_BW6:1.0.0.qualifier], DeploymentUnit [Test.application:1.0].

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException.

java.lang.reflect.InvocationTargetException.

java.lang.NullPointerException

 

14:54:33.511 ERROR [Job_Executor0] com.tibco.bw.frwk.BWSharedModuleImpl - TIBCO-BW-FRWK-600026: Failed to start BW Module [TibWS_Project_Template_BW6:1.0.0.qualifier], TIBCO-BW-CORE-500102: Failed to install BW Module [TibWS_Project_Template_BW6:1.0.0.qualifier], DeploymentUnit [Test.application:1.0].

com.tibco.bx.core.faults.BxException: BX-600025: Create module failed for module [TibWS_Project_Template_BW6] version [1.0.0.qualifier] application [Test.application 1.0].

com.tibco.bx.core.faults.BxException: BX-600028: Adding definition failed for process [tibws_project_template_bw6.SubmitLog].

com.tibco.bw.core.runtime.schemaresolver.SchemaNotFoundException: TIBCO-BW-SCHEMA-RESOLVER-500101: Schema not found. Schema [namespace=http://www.tibco.com/pe/EngineTypes, location=null, baseURI=bundleentry://138.fwk1468177767/Processes/tibws_project_template_bw6/SubmitLog.bwp] not found in cache for the BW Module [TibWS_Project_Template_BW6:1.0.0.qualifier]. The SchemaCacheService operation [LocXsdCacheService.getCache] returned "null".

 

14:54:34.144 INFO [Thread-26] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300019: BW Application [Test.application:1.0] is impaired.

Link to comment
Share on other sites

  • 2 years later...

The issue is simple, most of the time culprit is the URL. The test connection may work with other drivers but when running the application it will start throwing this error. So try to change the URL. This one worked for me.

 

failed URL: jdbc:tibcosoftwareinc:sqlserver://hostname:port;DatabaseName=sample

passed URL : jdbc:sqlserver://hostname:port;databaseName=sample;

 

Regards,

Prashanth M Eachalakaranji

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...