Weblogic javax.naming.NameNotFoundException while running application

℡╲_俬逩灬. 提交于 2019-12-01 18:12:33

when looking up the DS the full JNDI structure maps to java:jdbc/appsmsDS.

Please use it for lookup.

Rodrigo Klein

The problem in this case is probably that the datasource is not deployed in the "server" inside weblogic domain.

Please see this link: http://www.technicalconfessions.com/posts.php?post_id=178&title=Caused%20by:%20javax.naming.NameNotFoundException:%20Unable%20to%20resolve

Joas Flores

This exception happens when the property provider.url is pointing at the AdminServer (localhost:7001, in my case) and JDBC is not installed.

You may have other instances where it is installed, check your JNDI TREE to verify this.

Greetings, JFM

user2858116

javax.naming.NameNotFoundException: This will generally occur if any of the xml files like ejb-jar.xml and weblogic-ejbjar.xml are missing in the ear file deployed. The only workaround is to generate a fresh ear file with all the xml files included.

Make sure you have clicked on the "Activate Changes" button on the left top corner and also check your xxxxxxDataSource-nnnn-jdbc.xml file is created under config/jdbc directory.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!