我菜固我在

博客园 首页 新随笔 联系 订阅 管理
http://www.javalobby.org/java/forums/m91839066.html

Hi Guys,

I am trying out appfuse 1.8.1 and successfully deployed into Tomcat 5.5.9 and using MySQL 4.1.12.

The default database connection username and password is test/test in appfuse\WEB-INF\geronimo-jetty.xml and appfuse\META-INF\context.xml files. But when I tried to change the username and password to something else then stop and start tomcat, and still can connect to database. Is there some others file I need to modify the password again?
Pls help, Thanks !

regards,
Mark

Re: Database username and password connection problem

If you deployed to Tomcat, then the context.xml file has probably been copied to $CATALINA_HOME/conf/Catalina/localhost. You can change it there, or change it in metadata/conf and run "ant setup-tomcat" again.

HTH,

Matt


========================================

dist\webapps\context.xml

metadata\conf\tomcat-context.xml
 
posted on 2005-09-12 11:56  大侠(cer)  阅读(415)  评论(1编辑  收藏  举报