在过去的几天里,我一直在使用worklight,现在我正在尝试制作连接到数据库的应用程序。以下是以下的屏幕截图:
1) Worklight\server\conf\worklight.properties

2) mySQLAdapter-impl.js

3) mySQLAdapter.xml!

每当我尝试部署mySQLAdpater文件时,它都会显示“适配器部署失败:适配器'mySQLadapter‘包含错误”。我对此一无所知。
发布于 2014-03-30 11:27:23
我还没有试过,但在worklight.properties中,也许你应该更改以下内容,使它们匹配?
- training-jndi-name=${custom-db.1.jndi-name}
- custom-db.1.relative-jndi-name=jdbc/worklight-training
+ training-jndi-name=${custom-db.1.relative-jndi-name}
+ custom-db.1.relative-jndi-name=jdbc/worklight-traininghttps://stackoverflow.com/questions/22726525
复制相似问题