Hi, I am a novice to tomcat. I created WAR project in Eclipse called "Repromed". Inside I specified META-INF/context.xml as following:
<?xml version="1.0" encoding="UTF-8"?> <Context docBase="Repromed" path="/Repromed" reloadable="true" source="org.eclipse.jst.j2ee.server:Repromed"> <Resource name="jdbc/rpsDB" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true" testOnBorrow="true" validationQuery="/* ping */ SELECT 1" username="tomcat_user" password="web01" driverClassName="org.gjt.mm.mysql.Driver" url="jdbc:mysql://localhost:3306/repromed_master"/> <Realm className="org.apache.catalina.realm.DataSourceRealm" dataSourceName="jdbc/rpsDB" userTable="users" userNameCol="user_name" userCredCol="user_pass" userRoleTable="user_roles" roleNameCol="role_name" digest="MD5" localDataSource="true"/> <WatchedResource>WEB-INF/web.xml</WatchedResource> <WatchedResource>META-INF/context.xml</WatchedResource> </Context> During the implementation, I was requested to deploy this Repromed.war as the ROOT application to the localhost. I don't know how to convert Repromed.war to ROOT.war. How to change the META-INF/context.xml? In addition, do I need to change anything in the web.xml. Thank you for the help in advance. run -- View this message in context: http://old.nabble.com/Question-on-META-INF-context.xml-tp26700904p26700904.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org