简体   繁体   English

TIBCO BW 未能成功调试 REST 服务。我创建了一个 jdbc 资源并测试连接成功,但我有这个错误

[英]TIBCO BW failing to debug successfully a REST service .I have created a jdbc resource and tested the connection was a success but i have this error

<>@BWEclipseAppNode> 12:12:32.545 INFO  [main] com.tibco.thor.frwk.Deployer - Started by BusinessStudio.
12:12:34.970 INFO  [main] com.tibco.bw.frwk.engine.BWEngine - TIBCO-BW-FRWK-300002: BW Engine [Main] started successfully.
12:12:35.355 INFO  [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Deployer - TIBCO-THOR-FRWK-300001: Started OSGi Framework of AppNode [BWEclipseAppNode] in AppSpace [BWEclipseAppSpace] of Domain [BWEclipseDomain]
12:12:35.483 INFO  [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300018: Deploying BW Application [RESTservice2.application:1.0].
12:12:40.067 INFO  [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300021: All Application dependencies are resolved for Application [RESTservice2.application:1.0]
12:12:41.431 INFO  [Thread-28] com.tibco.thor.frwk.Application - TIBCO-THOR-FRWK-300019: BW Application [RESTservice2.application:1.0] is impaired.
12:12:41.435 INFO  [Framework Event Dispatcher: Equinox Container: 80edabb3-8e47-001c-18c5-90bdbc610de0] com.tibco.thor.frwk.Application - Started by BusinessStudio, ignoring .enabled settings.
12:12:41.438 ERROR [CM Configuration Updater (Update: pid=bw.resource.jdbc.916120c9-fbcb-45de-a13c-b22e3edf76ec)] com.tibco.bw.sharedresource.runtime.dependency.ReferenceDependency - TIBCO-BW-SR-FRWK-503000: Unable to start SharedResource [restservice2.JDBCConnectionResource] from Module [RESTservice2:1.0.0.qualifier], DeploymentUnit [RESTservice2.application:1.0]. <Reason>: TIBCO-BW-SR-JDBC-500003: The database driver [com.mysql.jdbc.Driver] is not found.  Ensure that DataSourceFactory bundle providing this driver is available in the environment.

so this is the error i am getting as a result i cant run OSGi commands to request endpoint urls and for my rest service even though my code has no errors before debug,i am getting this during debug,please help.所以这是我得到的错误,因为我无法运行 OSGi 命令来请求端点 url 和我的 rest 服务,即使我的代码在调试之前没有错误,我在调试期间得到这个,请帮助。

In order to use the MySql JDBC driver you need to install it in the BusinessWorks environment of your machine.为了使用 MySql JDBC 驱动程序,您需要在您机器的 BusinessWorks 环境中安装它。

This is done by running the command 'bwinstall mysql-driver' from the <TIBCO_HOME>bw/6.X/bin folder.这是通过从 <TIBCO_HOME>bw/6.X/bin 文件夹运行命令“bwinstall mysql-driver”来完成的。

As Emmanuel suggested, according to the error, you probably missed the required JDBC driver installation.正如 Emmanuel 所建议的,根据错误,您可能错过了所需的 JDBC 驱动程序安装。

Once you execute the command, it will start successfully.执行命令后,它将成功启动。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM