`
dyllove98
  • 浏览: 1382030 次
  • 性别: Icon_minigender_1
  • 来自: 济南
博客专栏
73a48ce3-d397-3b94-9f5d-49eb2ab017ab
Eclipse Rcp/R...
浏览量:38323
4322ac12-0ba9-3ac3-a3cf-b2f587fdfd3f
项目管理checkList...
浏览量:78628
4fb6ad91-52a6-307a-9e4f-816b4a7ce416
哲理故事与管理之道
浏览量:131762
社区版块
存档分类
最新评论

webSphere下面报警告"GenericDataStoreHelper 正被使用" 解决方法

阅读更多
     因为业务需要程序中重写了jdbc Driver类.com.jdbc.JlinsDriver又因为需要数据库连接发布成数据源部署到websphere上面,所以不得不以Driver Vendor  的角色开发和实现ConnectionPoolDateSource 
原理可以见如下我转载别人的文章
http://jlins.iteye.com/blog/1319824

    自定义数据源 ConnectionPoolDateSource 完成之后, 在配置websphere后点击测试链接,websphere提示警告"GenericDataStoreHelper 正被使用".

   GenericDataStoreHelper 类是websphere对数据源进行管理的辅助类,一般的数据库比如 oracle  sqlserver等 websphere已经提供了相应的实现,因为我这里是重新作为Driver Vendor  的角色开发和实现 ConnectionPoolDateSource  ,websphere并没有提供什么特定的支持,需要自己继承 GenericDataStoreHelper类配置到相应的数据源   Helper中

实现方式如下:
1、依赖的包
websphere_home/lib/rsahelpers.jar;
websphere_home/runtime/com.ibm.ws.ejb.thinclient_7.0.0.jar;
websphere_home/plugins/com.ibm.ws.runtime.jar"

2、
public class xxxDataStoreHelper extends GenericDataStoreHelper {
    public SecondryLoginDataStoreHelper(Properties arg0){
        super(arg0);
    }
}


   希望有同样问题的朋友不要走弯路。
2
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics