从 tomcat 7 迁移到 weblogic 11g 时对 JDBC 数据源进行的更改
我已将 JSF 应用程序从 Apache Tomcat 7.0.14 移植到 Weblogic 11g。我使用的是 JSF 1.2
和 Apache Trinidad 1.2。 14.
.
正如预期的那样,我在 Weblogic 11g 中查找 JNDI
时遇到问题。
我已经从 此处。
我的要求是我不想创建系统范围的 JDBC 数据源。我希望它是特定于应用程序的。
我的应用程序已经有一个 context.xml
。我必须如何更改它才能让 weblogic 理解?
或者我是否必须有另一个文件才能让 weblogic 理解?
有什么想法吗?
提前致谢
I have ported my JSF application from Apache Tomcat 7.0.14 to Weblogic 11g.I am using JSF 1.2
and Apache Trinidad 1.2.14
.
As expected i am having problems with my JNDI
look up in the Weblogic 11g.
I have seen how to configure a JDBC
data source in weblogic from here.
My requirement is i don't want to make System wide JDBC data source.I want it to be application specific.
I already have a context.xml
for my application.How i have to change it for weblogic to understand?
or do i have to have another file all together for weblogic to understand?
Any ideas?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下链接说明了如何配置系统与应用程序特定的 JDBC 模块。它甚至包含应用程序 JDBC 模块的命名约束。您需要创建一个具有特定名称(以 -jdbc.xml 结尾)的 xml 文件并将其嵌入到您的应用程序描述符中。
The following link explains how to configure system vs. application specific JDBC modules. It even contains naming constraints for application JDBC modules. You need to create a xml file with a specific name (ending with -jdbc.xml) and embed it into your application descriptor.