Web Service访问Tomcat数据源的问题
现在由于工作的原因,在用Java写Web Service让delphi来调用,但是现在发现Tomcat下配置的数据源不能让Web Service 调用,以下是我配置的数据源,我是在</Host之前加入的>,我用Jsp来调用JavaBean访问能正常得到数据,但是,用Web Service来调用时就找不到连接.请问这是什么原因,是Web Service本身的原因嘛?
2、有时提示:javax.naming.NameNotFoundException: Name jdbc is not bound in this Context 请问这又是什么回事?
3、哪位用Resin发布过Web Service的,如果发布过的,请详细的说一下布薯的方法?
<Context path="/mysql" docBase="/mysql" reloadable="true"
crossContext="true" debug="0" >
<Resource name="jdbc/mysql"
auth="Container"
type="javax.sql.DataSource"
maxActive="100"
maxIdle="30"
maxWait="10000"
username="root"
password="root"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/test?useUnicode=true"/>
</Context>