You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by Stanley Zou <zo...@yahoo.com.cn> on 2005/04/09 17:33:50 UTC
Data Source configuration failed!
Hi,i am using the weblogic 8.1 as the application server.
I first create the juddi data base using the sql script for MySQL contained in juddi,and the database was property created.
Then,I created the connection pool which is tested working well,and then created a datasource with the jndi name "jdbc/juddiDB" as specified in the user guide of juddi.After adding required jar files to classpath and deploy juddi to weblogic server,i tested it with happyjuddi.jsp.Everything was correctly configured except the Data Source.In the jUDDI Data source validation part of the happyjuddi.jsp,the error message is like this:
+Got a JNDI Context!
-No 'java:comp/env/jdbc/juddiDB' DataSource Located()
-DB connection was not aquired. (null)
-SELECT COUNT(*) FROM PUBLISHER failed (null)
The red part indicate that the data source is not property bounded,so i changed the jndi name from "jdbc/juddiDB" to "java:comp/env/jdbc/juddiDB",but i got the same error message!What should i do then,how could i configure the datasource properly?
Thanks for your help in advance!
---------------------------------
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
美女明星应有尽有,搜遍美图、艳图和酷图
1G就是1000兆,雅虎电邮自助扩容!