我的程序使用jndi来连接数据库,在网上查了很多文章,发现jb里面启动tomcat不会调用server.xml,而是在工程目录下的tomcat/conf/ 产生server808X.xml临时文件,配置要写在这里,
文章上面说删除了那段<!--This comment s this file as generated, so it may be deleted and regenerated at any time. To preserve manual changes to this file, delete this comment.-->这样就不自动产生了,也不会删除这个临时文件了。
    我照着做了,但server808X.xml文件还是会被删除,还有其他方法配置吗???