在jboss中configurationoracle-ds.xml文件

我怎样才能连接jboss数据库,我怎样才能configurationoracle-ds.xml

你只需要做几件事情:

  1. 转到目录docs/examples/jca (在JBoss中),在那里你可以findoracle-ds.xml文件,你可以使用该文件作为你的configuration模板。
  2. oracle-ds.xml复制到您的configuration文件目录(例如, default )。
  3. 编辑该文件并设置您的JDBC连接string。
  4. 使用Oracle瘦数据库驱动程序复制jar库以分析lib目录。
  5. 启动你的JBoss服务器。

你可以在JBoss社区Wiki上find关于这个主题的更多信息: http : //community.jboss.org/wiki/configdatasources 。