No,I created it and place it in the "TOMCAT-HOME\conf\Catalina\localhost"
directory.

<Context path="/roller" docBase="D:/apache-tomcat-5.5.17/webapps/roller"
debug="99" workDir="work/Catalina/localhost/roller">
        
    <Realm className="org.apache.catalina.realm.JDBCRealm"      
      driverName="com.mysql.jdbc.Driver"
      connectionURL=
       
"jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
     
connectionName="scott"
      connectionPassword="tiger"
      userTable="rolleruser" 
      userNameCol="username" 
      userCredCol="passphrase" 
      userRoleTable="userrole" 
      roleNameCol="rolename" debug="99" />

    <Resource name="jdbc/rollerdb" auth="Container"
type="javax.sql.DataSource"
      driverClassName="com.mysql.jdbc.Driver"
     
url="jdbc:mysql://localhost:3306/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
      username="scott"
      password="tiger"
      maxActive="20"
      maxIdle="3"
      removeAbandoned="true"
      maxWait="3000" />

    <!--
      To enable email notification of comments: uncomment the resouce below, 
      set your mailhost, and make sure you have mail.jar and activation.jar 
      in <tomcat>/common/lib.
    -->
    <!--
    <Resource name="mail/Session" auth="Container" type="javax.mail.Session"
      mail.smtp.host="mailhost.example.com" />
    -->

</Context>
-- 
View this message in context: 
http://www.nabble.com/problem-during-startup-tf1893175s12275.html#a5178536
Sent from the Roller - User forum at Nabble.com.

Reply via email to