Kwa Kil On Swa

Wednesday, November 15, 2006

appfuse tomcat setup

C:\apps\apache-tomcat-5.5.20\conf\tomcat-users.xml

new bits in red

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<role rolename="manager"/>
<user username="tomcat" password="tomcat" roles="tomcat,manager"/>
<user username="role1" password="tomcat" roles="role1"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
</tomcat-users>


In appfuse properties.xml

<!-- Application options that will likely vary between applications -->
<property name="http.port" value="80"/>
<property name="dao.type" value="ibatis"/>
<property name="jsp.precompile" value="false"/>

<!-- Properties for running unit tests with tomcat -->
<property name="tomcat.server" value="localhost"/>
<property name="tomcat.manager.url" value="http://${tomcat.server}:${http.port}/manager"/>
<property name="tomcat.username" value="tomcat"/>
<property name="tomcat.password" value="tomcat"/>

0 Comments:

Post a Comment

<< Home